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

Commit 927f5c68 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Add meta data for panel

Test: build
Bug: 257283506
Change-Id: I656b81fe3faef442c5780985495dad900a1dab57
parent 60194445
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,20 @@ public abstract class ControlsProviderService extends Service {
    public static final String SERVICE_CONTROLS =
    public static final String SERVICE_CONTROLS =
            "android.service.controls.ControlsProviderService";
            "android.service.controls.ControlsProviderService";


    /**
     * Manifest metadata to show a custom embedded activity as part of device controls.
     *
     * The value of this metadata must be the {@link ComponentName} as a string of an activity in
     * the same package that will be launched as part of a TaskView.
     *
     * The activity must be exported, enabled and protected by
     * {@link Manifest.permission.BIND_CONTROLS}.
     *
     * @hide
     */
    public static final String META_DATA_PANEL_ACTIVITY =
            "android.service.controls.META_DATA_PANEL_ACTIVITY";

    /**
    /**
     * @hide
     * @hide
     */
     */