Device management info: Refer to current user, not primary user
The device management info page should show information about the current user's policies, not the primary user's. Bug: 32692748 Test: m RunSettingsRoboTests Change-Id: I5d8afa7fae1c0f3a4da78b085365882827e6721b
This commit is contained in:
@@ -51,13 +51,6 @@ public interface DevicePolicyManagerWrapper {
|
||||
*/
|
||||
ComponentName getDeviceOwnerComponentOnAnyUser();
|
||||
|
||||
/**
|
||||
* Calls {@code DevicePolicyManager.getDeviceOwnerUserId()}.
|
||||
*
|
||||
* @see android.app.admin.DevicePolicyManager#getDeviceOwnerUserId
|
||||
*/
|
||||
int getDeviceOwnerUserId();
|
||||
|
||||
/**
|
||||
* Calls {@code DevicePolicyManager.getProfileOwnerAsUser()}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user