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

Commit f024f048 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Cleanup: rename loadDeviceOwner() to loadOwners()

Change-Id: I68e3367b1e70022f9501cf998e1860a6ce7d496b
parent 3403b744
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1134,7 +1134,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
        updateScreenCaptureDisabledInWindowManager(userHandle, false /* default value */);
    }

    void loadDeviceOwner() {
    void loadOwners() {
        synchronized (this) {
            mOwners.load();
            updateDeviceOwnerLocked();
@@ -1781,7 +1781,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
            return;
        }
        getUserData(UserHandle.USER_OWNER);
        loadDeviceOwner();
        loadOwners();
        cleanUpOldUsers();
        // Register an observer for watching for user setup complete.
        new SetupContentObserver(mHandler).register(mContext.getContentResolver());