Add meta data for panel
Test: build Bug: 257283506 Change-Id: I656b81fe3faef442c5780985495dad900a1dab57
This commit is contained in:
@@ -54,6 +54,20 @@ public abstract class ControlsProviderService extends Service {
|
||||
public static final String SERVICE_CONTROLS =
|
||||
"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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user