Merge "Logging of setting ro.device_owner property" into nyc-dev am: 44aca78d45
am: b8c98a542c
* commit 'b8c98a542ccf8addce1cb541525419edc481f8b6':
Logging of setting ro.device_owner property
This commit is contained in:
@@ -1664,12 +1664,14 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
} else {
|
||||
if (mOwners.hasDeviceOwner()) {
|
||||
mInjector.systemPropertiesSet(PROPERTY_DEVICE_OWNER_PRESENT, "true");
|
||||
Slog.i(LOG_TAG, "Set ro.device_owner property to true");
|
||||
disableDeviceLoggingIfNotCompliant();
|
||||
if (mInjector.securityLogGetLoggingEnabledProperty()) {
|
||||
mSecurityLogMonitor.start();
|
||||
}
|
||||
} else {
|
||||
mInjector.systemPropertiesSet(PROPERTY_DEVICE_OWNER_PRESENT, "false");
|
||||
Slog.i(LOG_TAG, "Set ro.device_owner property to false");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user