Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebcd9c8d authored by Michal Karpinski's avatar Michal Karpinski Committed by android-build-merger
Browse files

Tuning down wtf to warning for setting ro.device_owner property

am: 2f79ae98

* commit '2f79ae98':
  Tuning down wtf to warning for setting ro.device_owner property
parents 2db4ef3a 2f79ae98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");