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

Commit 304ec2f2 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Remove unused DPM.getGuestUserDisabled

This function was never actually implemented (it always just returned false).
Its callers were removed in ag/11573771, so it is now unused.

Test: compiles
parent 1e2d91f5
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -5944,17 +5944,6 @@ public class DevicePolicyManager {
        return false;
    }
    /**
     * Determine whether or not creating a guest user has been disabled for the device
     *
     * @hide
     */
    public boolean getGuestUserDisabled(@Nullable ComponentName admin) {
        // Currently guest users can always be created if multi-user is enabled
        // TODO introduce a policy for guest user creation
        return false;
    }
    /**
     * Called by a device/profile owner to set whether the screen capture is disabled. Disabling
     * screen capture also prevents the content from being shown on display devices that do not have