OSDN Git Service

Fix testApplicationRestrictionsManagingApp unit test
authorRubin Xu <rubinxu@google.com>
Thu, 11 Feb 2016 17:23:06 +0000 (17:23 +0000)
committerRubin Xu <rubinxu@google.com>
Thu, 11 Feb 2016 17:23:06 +0000 (17:23 +0000)
commited1928a981cbff9a67b5c1786ded8cbdf848056b
tree132ed9014f8145c3f8a6072f610bbf5c41cc4cae
parented5c8f0216bf97e896936e2a2e24fc3fb18303a1
Fix testApplicationRestrictionsManagingApp unit test

The API now requires the app restriction manager app to exist
on the current user when it is called.

Change-Id: I809816d4f5d73378c23b18d7b74ebb282b7dc444
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java