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

Commit 9575ebf2 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 4575f2a9: Merge "Use foreground broadcast to get device admin msg." into lmp-dev

* commit '4575f2a9a51d704113deeab2ea3c87e134074e1d':
  Use foreground broadcast to get device admin msg.
parents 47509fe1 db0f364c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2575,6 +2575,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
                return;
            }
            Intent intent = new Intent(DeviceAdminReceiver.ACTION_DEVICE_ADMIN_DISABLE_REQUESTED);
            intent.setFlags(Intent.FLAG_RECEIVER_FOREGROUND);
            intent.setComponent(admin.info.getComponent());
            mContext.sendOrderedBroadcastAsUser(intent, new UserHandle(userHandle),
                    null, new BroadcastReceiver() {