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

Commit 98febfd3 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Clarified docs for ACTION_QS_TILE_PREFERENCES

SystemUI is the process launching the intent, so it can launch
activities that are not exported. This documents how to protect
activities from being launched by other uid.

Test: no test
Fixes: 80284344

Change-Id: Iaad0107a071ece50cb14571859e7b01e500d6051
parent 6f59ef8a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -87,6 +87,10 @@ public class TileService extends Service {
     * This intent may also define a {@link Intent#EXTRA_COMPONENT_NAME} value
     * to indicate the {@link ComponentName} that caused the preferences to be
     * opened.
     * <p>
     * To ensure that the activity can only be launched through quick settings
     * UI provided by this service, apps can protect it with the
     * BIND_QUICK_SETTINGS_TILE permission.
     */
    @SdkConstant(SdkConstantType.INTENT_CATEGORY)
    public static final String ACTION_QS_TILE_PREFERENCES