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

Commit 39be7faa authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Merge "Set flags on the correct Intent, please" into oc-mr1-dev am: 33894b29

am: a80316da

Change-Id: I486096da329ccfed44ba6e5e9f6e14af47db8932
parents b71ec00c a80316da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1315,7 +1315,7 @@ public class BackupManagerService implements BackupManagerServiceInterface {
        mRunBackupIntent = PendingIntent.getBroadcast(context, MSG_RUN_BACKUP, backupIntent, 0);
        Intent initIntent = new Intent(RUN_INITIALIZE_ACTION);
        backupIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
        initIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
        mRunInitIntent = PendingIntent.getBroadcast(context, 0, initIntent, 0);
        // Set up the backup-request journaling
+1 −1
Original line number Diff line number Diff line
@@ -745,7 +745,7 @@ public class RefactoredBackupManagerService implements BackupManagerServiceInter
        mRunBackupIntent = PendingIntent.getBroadcast(context, 0, backupIntent, 0);

        Intent initIntent = new Intent(RUN_INITIALIZE_ACTION);
        backupIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
        initIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
        mRunInitIntent = PendingIntent.getBroadcast(context, 0, initIntent, 0);

        // Set up the backup-request journaling