OSDN Git Service

Improve protection against malicious admins.
authorDianne Hackborn <hackbod@google.com>
Tue, 22 Jul 2014 23:23:36 +0000 (16:23 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 23 Jul 2014 01:30:26 +0000 (18:30 -0700)
commitb763e34210e3947b46ef7c9bf396579f17ab0daf
treed920944115e1a3483310c2d81efdead5980be428
parent7e974f4c8428b889a45e46aa32832e68c5173f3d
Improve protection against malicious admins.

- 2 second timeout until we give up on displaying a message,
  keeping us within the 5 second activity launch block time.
- Restart the activity launch block when we show the dialog.
- Use app ops to prevent the app of the currently displayed
  admin from putting windows on top while the settings screen
  is running.

Change-Id: I631e8896ec7539c2de3ff36f183e67e36bcc37ca
src/com/android/settings/DeviceAdminAdd.java