Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c77bb380 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Send backup success notification to background apps as well"

parents eee29f64 9fcc8ffd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1424,6 +1424,8 @@ public class RefactoredBackupManagerService implements BackupManagerServiceInter
            final Intent notification = new Intent();
            notification.setAction(BACKUP_FINISHED_ACTION);
            notification.setPackage(receiver);
            notification.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES |
                    Intent.FLAG_RECEIVER_FOREGROUND);
            notification.putExtra(BACKUP_FINISHED_PACKAGE_EXTRA, packageName);
            mContext.sendBroadcastAsUser(notification, UserHandle.OWNER);
        }