Merge "Send ACTION_REMOTE_BUGREPORT_DISPATCH braodcast to the SYSTEM user" into udc-dev

This commit is contained in:
Nikhil Kumar
2023-04-05 18:42:29 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}
/**