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

Commit 3def94e8 authored by Nikhil Kumar's avatar Nikhil Kumar
Browse files

Send ACTION_REMOTE_BUGREPORT_DISPATCH braodcast to the SYSTEM user

Test: manually tested remote bug report flow on retail demo mode.
Bug: 274543518
Change-Id: I67cf87abe8f8ae51222cc6aa774dc45478060888
parent 10f7c412
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -455,7 +455,8 @@ public class BugreportProgressService extends Service {
        intent.putExtra(DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_HASH, bugreportHash);
        intent.putExtra(DevicePolicyManager.EXTRA_REMOTE_BUGREPORT_NONCE, nonce);
        intent.putExtra(EXTRA_BUGREPORT, bugreportFileName);
        context.sendBroadcast(intent, android.Manifest.permission.DUMP);
        context.sendBroadcastAsUser(intent, UserHandle.SYSTEM,
                android.Manifest.permission.DUMP);
    }

    /**