Merge "Fix logic in disabling BackupTransport in DO mode." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cd339f211a
@@ -8987,8 +8987,10 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
if (!isDeviceOwnerManagedSingleUserDevice()) {
|
||||
mInjector.securityLogSetLoggingEnabledProperty(false);
|
||||
Slog.w(LOG_TAG, "Security logging turned off as it's no longer a single user device.");
|
||||
setBackupServiceEnabledInternal(false);
|
||||
Slog.w(LOG_TAG, "Backup is off as it's a managed device that has more that one user.");
|
||||
if (mOwners.hasDeviceOwner()) {
|
||||
setBackupServiceEnabledInternal(false);
|
||||
Slog.w(LOG_TAG, "Backup is off as it's a managed device that has more that one user.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user