Philip P. Moltmann
477666d963
No need for getProfileOwnerForUser as SystemApi
...
Rather use
context.createPackageContextAsUser(context.getPackageName(), 0, user)
.getSystemService(DevicePolicyManager.class).getProfileOwner();
Test: Looked at permission restricted by device owner in UI
Fixes: 126699845
Change-Id: I3dc16fbe360aaeb416c526cacf5f55ce2c3a1b20
2019-03-18 18:43:40 +00:00
..
2019-02-28 23:29:04 -07:00
2019-03-06 15:46:04 +00:00
2019-02-14 09:48:06 -08:00
2019-02-18 13:04:25 -07:00
2019-03-18 18:43:40 +00:00
2019-02-28 23:29:04 -07:00
2019-03-14 16:04:41 -07:00
2019-03-02 02:49:54 +00:00
2019-03-15 12:31:06 +00:00
2019-03-08 06:18:00 -08:00
2019-02-08 12:38:08 -08:00
2019-02-28 23:29:04 -07:00
2019-03-14 21:53:31 +00:00
2019-02-14 09:48:06 -08:00
2019-02-21 20:15:56 -08:00
2019-03-15 01:19:55 -07:00
2019-03-08 06:42:19 -08:00
2019-03-15 16:15:41 +00:00
2019-03-08 15:42:56 -08:00
2019-03-13 09:49:57 -07:00
2019-02-28 23:29:04 -07:00
2019-02-28 23:29:04 -07:00
2019-03-14 20:08:38 +00:00
2019-03-05 14:50:16 -08:00
2019-03-15 01:49:11 +00:00
2019-03-06 15:43:49 +00:00
2019-03-13 23:00:28 +00:00
2019-03-14 05:54:04 +00:00
2019-03-15 17:12:47 +00:00
2019-03-13 12:33:29 -04:00
2019-03-14 16:16:38 +00:00