Skip to content

Commit

Permalink
DO NOT MERGE: debug commit
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed Jun 24, 2024
1 parent 3061dcc commit b8c329c
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,12 @@ internal class NotificationBackupObserver(
*/
override fun backupFinished(status: Int) {
// cancel ongoing notification as first thing because system may kill us any millisecond
if (!backupRequester.hasNext()) nm.cancelObserverNotification()
if (!backupRequester.hasNext()) {
Log.e(TAG, "CANCELLING NOTIFICATION")
nm.cancelObserverNotification()
} else {
Log.e(TAG, "NOT CANCELLING NOTIFICATION, BECAUSE HAS MORE PACKAGES")
}

if (status == ERROR_BACKUP_CANCELLED) {
val packageName = errorPackageName
Expand Down

0 comments on commit b8c329c

Please sign in to comment.