Merge "Add information about requestAddControl" into rvc-dev am: c139a0071a am: 7bbfde8105
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11973250 Change-Id: I2b61ff49f2da92376fa5ff8a95fe06deaca64960
This commit is contained in:
@@ -296,6 +296,10 @@ public abstract class ControlsProviderService extends Service {
|
||||
|
||||
/**
|
||||
* 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 componentName Component name of the {@link ControlsProviderService}
|
||||
|
||||
Reference in New Issue
Block a user