Loading core/java/android/app/admin/flags/flags.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -238,16 +238,6 @@ flag { bug: "322777918" } flag { name: "copy_account_with_retry_enabled" namespace: "enterprise" description: "Retry copy and remove account from personal to work profile in case of failure" bug: "329424312" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "disallow_user_control_stopped_state_fix" namespace: "enterprise" Loading services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +8 −11 Original line number Diff line number Diff line Loading @@ -21867,7 +21867,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { return; } if (Flags.copyAccountWithRetryEnabled()) { boolean copySucceeded = false; int retryAttemptsLeft = RETRY_COPY_ACCOUNT_ATTEMPTS; while (!copySucceeded && (retryAttemptsLeft > 0)) { Loading @@ -21876,9 +21875,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { copyAccount(targetUser, sourceUser, accountToMigrate, callerPackage); retryAttemptsLeft--; } } else { copyAccount(targetUser, sourceUser, accountToMigrate, callerPackage); } if (!keepAccountMigrated) { removeAccount(accountToMigrate, sourceUserId); } Loading
core/java/android/app/admin/flags/flags.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -238,16 +238,6 @@ flag { bug: "322777918" } flag { name: "copy_account_with_retry_enabled" namespace: "enterprise" description: "Retry copy and remove account from personal to work profile in case of failure" bug: "329424312" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "disallow_user_control_stopped_state_fix" namespace: "enterprise" Loading
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +8 −11 Original line number Diff line number Diff line Loading @@ -21867,7 +21867,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { return; } if (Flags.copyAccountWithRetryEnabled()) { boolean copySucceeded = false; int retryAttemptsLeft = RETRY_COPY_ACCOUNT_ATTEMPTS; while (!copySucceeded && (retryAttemptsLeft > 0)) { Loading @@ -21876,9 +21875,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { copyAccount(targetUser, sourceUser, accountToMigrate, callerPackage); retryAttemptsLeft--; } } else { copyAccount(targetUser, sourceUser, accountToMigrate, callerPackage); } if (!keepAccountMigrated) { removeAccount(accountToMigrate, sourceUserId); }