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

Commit 4ac6ce15 authored by Gareth Vaughan's avatar Gareth Vaughan
Browse files

Correcting javadoc for setPersonalAppsSuspended

Documentation for setPersonalAppsSuspended was incorrectly stating that
a persistent notifcation would be shown when the apps are suspended. No
such notification is shown, so removing this from the documentation.

BUG: 171477008
Change-Id: Ib52be890f17b59b3880f057f8e089410d569c277
Test: documentation-only change, no testing
Merged-in: Ib52be890f17b59b3880f057f8e089410d569c277
parent 0c175e28
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -16111,11 +16111,6 @@ public class DevicePolicyManager {
     * Called by a profile owner of an organization-owned managed profile to suspend personal
     * Called by a profile owner of an organization-owned managed profile to suspend personal
     * apps on the device. When personal apps are suspended the device can only be used for calls.
     * apps on the device. When personal apps are suspended the device can only be used for calls.
     *
     *
     * <p>When personal apps are suspended, an ongoing notification about that is shown to the user.
     * When the user taps the notification, system invokes {@link #ACTION_CHECK_POLICY_COMPLIANCE}
     * in the profile owner package. Profile owner implementation that uses personal apps suspension
     * must handle this intent.
     *
     * @param admin Which {@link DeviceAdminReceiver} this request is associated with
     * @param admin Which {@link DeviceAdminReceiver} this request is associated with
     * @param suspended Whether personal apps should be suspended.
     * @param suspended Whether personal apps should be suspended.
     * @throws IllegalStateException if the profile owner doesn't have an activity that handles
     * @throws IllegalStateException if the profile owner doesn't have an activity that handles