[DO NOT MERGE] Fix extra constant value AGAIN
Test: no test Bug: 261990872 Change-Id: I238a7b3b8676e392565d66e4bae3ee5ac48981d5
This commit is contained in:
@@ -58,19 +58,24 @@ public abstract class ControlsProviderService extends Service {
|
|||||||
* Manifest metadata to show a custom embedded activity as part of device controls.
|
* 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 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 same package that will be launched embedded in the device controls space.
|
||||||
*
|
*
|
||||||
* The activity must be exported, enabled and protected by
|
* The activity must be exported, enabled and protected by
|
||||||
* {@link Manifest.permission.BIND_CONTROLS}.
|
* {@link Manifest.permission.BIND_CONTROLS}.
|
||||||
*
|
*
|
||||||
|
* It is recommended that the activity is declared {@code android:resizeableActivity="true"}.
|
||||||
|
*
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public static final String META_DATA_PANEL_ACTIVITY =
|
public static final String META_DATA_PANEL_ACTIVITY =
|
||||||
"android.service.controls.META_DATA_PANEL_ACTIVITY";
|
"android.service.controls.META_DATA_PANEL_ACTIVITY";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Boolean extra containing the value of
|
* Boolean extra containing the value of the setting allowing actions on a locked device.
|
||||||
* {@link android.provider.Settings.Secure#LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS}.
|
*
|
||||||
|
* This corresponds to the setting that indicates whether the user has
|
||||||
|
* consented to allow actions on devices that declare {@link Control#isAuthRequired()} as
|
||||||
|
* {@code false} when the device is locked.
|
||||||
*
|
*
|
||||||
* This is passed with the intent when the panel specified by {@link #META_DATA_PANEL_ACTIVITY}
|
* This is passed with the intent when the panel specified by {@link #META_DATA_PANEL_ACTIVITY}
|
||||||
* is launched.
|
* is launched.
|
||||||
@@ -78,7 +83,7 @@ public abstract class ControlsProviderService extends Service {
|
|||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS =
|
public static final String EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS =
|
||||||
"android.service.controls.extra.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS";
|
"android.service.controls.extra.LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @hide
|
* @hide
|
||||||
|
|||||||
Reference in New Issue
Block a user