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

Commit db950993 authored by Hall Liu's avatar Hall Liu
Browse files

Add docs clarifying permissions of setSystemAppState

Fixes: 184568177
Test: NA, docs only
Change-Id: Ie5c9b8b4ba5ff4b5d206b7c64b3d29c0fc5bbffa
parent 61ce1506
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7775,6 +7775,9 @@ public abstract class PackageManager {
     * {@link #SYSTEM_APP_STATE_HIDDEN_UNTIL_INSTALLED_VISIBLE} or its installation state (via
     * {@link #SYSTEM_APP_STATE_INSTALLED} and {@link #SYSTEM_APP_STATE_UNINSTALLED}.
     *
     * This API may only be called from {@link android.os.Process#SYSTEM_UID} or
     * {@link android.os.Process#PHONE_UID}.
     *
     * @param packageName Package name of the app.
     * @param state State of the app.
     * @hide