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

Commit 505353d6 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: Ia27a0675ea8621bf0e0a29ff77ff2db13611da27
parents 4ba967ae 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}