OSDN Git Service

Lock top task if whitelisting arrives after start.
authorCraig Mautner <cmautner@google.com>
Wed, 13 May 2015 20:06:11 +0000 (13:06 -0700)
committerCraig Mautner <cmautner@google.com>
Thu, 14 May 2015 19:54:23 +0000 (12:54 -0700)
commite0570201f59342ef02412ece2f179ef42441a032
treef98d7c5b6790d91515832387f5d98932b74a38a1
parent0125d76fa37d26a29f06371ff349546e21cd3f4d
Lock top task if whitelisting arrives after start.

If the DevicePolicyManagerService updates the whitelist after a task
in the whitelist has started then the task won't have started locked.

When the updated whitelist arrives this change automatically locks the
topmost task if it is in the whitelist.

Also more locktask debugging.

Fixes bug 21031298.

Change-Id: I2494af6f2819ca91bc01abc5decb3d1adc088226
services/core/java/com/android/server/am/ActivityManagerDebugConfig.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java
services/core/java/com/android/server/am/TaskRecord.java