Tuning down wtf to warning for setting ro.device_owner property

This was logged to often, especially while running CTS hostside tests
and looked too scary to people.

Bug: 27230864
Change-Id: I9e81d9efe87b4aed18aa473be647c560ff9cfa0d
This commit is contained in:
Michal Karpinski
2016-03-09 17:01:14 +00:00
parent cb1b27b6f8
commit 2f79ae98af

View File

@@ -1642,7 +1642,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
}
if (!TextUtils.isEmpty(mInjector.systemPropertiesGet(PROPERTY_DEVICE_OWNER_PRESENT))) {
Slog.wtf(LOG_TAG, "Trying to set ro.device_owner, but it has already been set?");
Slog.w(LOG_TAG, "Trying to set ro.device_owner, but it has already been set?");
} else {
if (mOwners.hasDeviceOwner()) {
mInjector.systemPropertiesSet(PROPERTY_DEVICE_OWNER_PRESENT, "true");