Merge "Expose forceUpdateUserSetupComplete as a TestAPI"

This commit is contained in:
TreeHugger Robot
2021-01-08 20:16:54 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -368,6 +368,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();

View File

@@ -11241,6 +11241,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();