tachiyomi/app
nicki fdf384b809
Add Cancel button to App Update Notification (#7309)
* Add cancel button in app update download notif

Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)

Based on commit
4dea924337

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>

* Linting by Android Studio

* commit PR Review Suggestion

Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>

* Use `launchIO`

copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient

* Clear previous actions before adding `Cancel`

Otherwise, it led to two identical Cancel buttons

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-06-15 18:07:01 -04:00
..
src Add Cancel button to App Update Notification (#7309) 2022-06-15 18:07:01 -04:00
.gitignore
build.gradle.kts Replace history query with actual upsert 2022-05-29 12:12:06 -04:00
proguard-android-optimize.txt Adjust R8 optimization configs to fix extension issues 2022-05-26 19:41:43 -04:00
proguard-rules.pro Downgrade R8 to avoid extension issues 2022-05-26 22:33:18 -04:00
shortcuts.xml