Expose forceUpdateUserSetupComplete as a TestAPI
This is needed to allow the new DPM#provisionFullyManagedDevice API to work from CTS tests. Bug: 175392542 Test: N/A Change-Id: I79a18ef97deab1aa36b3f3d68e8f74b72794aab5
This commit is contained in:
@@ -371,6 +371,7 @@ package android.app {
|
||||
package android.app.admin {
|
||||
|
||||
public class DevicePolicyManager {
|
||||
method public void forceUpdateUserSetupComplete();
|
||||
method public long getLastBugReportRequestTime();
|
||||
method public long getLastNetworkLogRetrievalTime();
|
||||
method public long getLastSecurityLogRetrievalTime();
|
||||
|
||||
@@ -11134,6 +11134,7 @@ public class DevicePolicyManager {
|
||||
* {@code android.Manifest.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS} or the caller is
|
||||
* not {@link UserHandle#SYSTEM_USER}
|
||||
*/
|
||||
@TestApi
|
||||
public void forceUpdateUserSetupComplete() {
|
||||
try {
|
||||
mService.forceUpdateUserSetupComplete();
|
||||
|
||||
Reference in New Issue
Block a user