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

Commit 2f43c1a9 authored by Tue Le's avatar Tue Le
Browse files

Fix UserManager.getApplicationRestrictions JavaDoc

Test: No logic changes

Change-Id: I6c9d4d3ccb7aee8ccf3ed8c13100813f667be9f0
Flag: DOCS_ONLY
Bug: 281996152
parent b3721dcc
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -6718,12 +6718,6 @@ public class UserManager {
     *
     * <p>NOTE: The method performs disk I/O and shouldn't be called on the main thread
     *
     * @param packageName the package name of the calling application
     * @return a {@link Bundle} with the restrictions for that package, or an empty {@link Bundle}
     * if there are no saved restrictions.
     *
     * @see #KEY_RESTRICTIONS_PENDING
     *
     * <p>Starting from Android version {@link android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE},
     * it is possible for there to be multiple managing apps on the device with the ability to set
     * restrictions, e.g. an Enterprise Device Policy Controller (DPC) and a Supervision admin.
@@ -6731,7 +6725,12 @@ public class UserManager {
     * set by all managing apps, use
     * {@link android.content.RestrictionsManager#getApplicationRestrictionsPerAdmin} instead.
     *
     * @see DevicePolicyManager
     * @param packageName the package name of the calling application
     * @return a {@link Bundle} with the restrictions for that package, or an empty {@link Bundle}
     * if there are no saved restrictions.
     *
     * @see #KEY_RESTRICTIONS_PENDING
     * @see DevicePolicyManager#getApplicationRestrictions
     */
    @WorkerThread
    @UserHandleAware(enabledSinceTargetSdkVersion = Build.VERSION_CODES.TIRAMISU)