Loading services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +4 −2 Original line number Diff line number Diff line Loading @@ -8989,10 +8989,12 @@ 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."); if (mOwners.hasDeviceOwner()) { setBackupServiceEnabledInternal(false); Slog.w(LOG_TAG, "Backup is off as it's a managed device that has more that one user."); } } } @Override public void setSecurityLoggingEnabled(ComponentName admin, boolean enabled) { Loading Loading
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +4 −2 Original line number Diff line number Diff line Loading @@ -8989,10 +8989,12 @@ 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."); if (mOwners.hasDeviceOwner()) { setBackupServiceEnabledInternal(false); Slog.w(LOG_TAG, "Backup is off as it's a managed device that has more that one user."); } } } @Override public void setSecurityLoggingEnabled(ComponentName admin, boolean enabled) { Loading