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

Commit 98d9b440 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add information about requestAddControl" into rvc-dev am: c139a007

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11973250

Change-Id: Iae182389d84530fddce58d0f3dfa04de4c925357
parents b2b89a34 c139a007
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -296,6 +296,10 @@ public abstract class ControlsProviderService extends Service {


    /**
    /**
     * Request SystemUI to prompt the user to add a control to favorites.
     * Request SystemUI to prompt the user to add a control to favorites.
     * <br>
     * SystemUI may not honor this request in some cases, for example if the requested
     * {@link Control} is already a favorite, or the requesting package is not currently in the
     * foreground.
     *
     *
     * @param context A context
     * @param context A context
     * @param componentName Component name of the {@link ControlsProviderService}
     * @param componentName Component name of the {@link ControlsProviderService}