Merge "Add actions to binding Intent" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7ddbfe3543
@@ -84,7 +84,7 @@ class ControlsProviderLifecycleManager(
|
||||
private val BIND_FLAGS_PANEL = Context.BIND_AUTO_CREATE or Context.BIND_NOT_PERCEPTIBLE
|
||||
}
|
||||
|
||||
private val intent = Intent().apply {
|
||||
private val intent = Intent(ControlsProviderService.SERVICE_CONTROLS).apply {
|
||||
component = componentName
|
||||
putExtra(CALLBACK_BUNDLE, Bundle().apply {
|
||||
putBinder(CALLBACK_TOKEN, token)
|
||||
|
||||
@@ -76,7 +76,8 @@ public class TileServiceManager {
|
||||
this(tileServices, handler, userTracker, new TileLifecycleManager(handler,
|
||||
tileServices.getContext(), tileServices,
|
||||
new PackageManagerAdapter(tileServices.getContext()), broadcastDispatcher,
|
||||
new Intent().setComponent(component), userTracker.getUserHandle()));
|
||||
new Intent(TileService.ACTION_QS_TILE).setComponent(component),
|
||||
userTracker.getUserHandle()));
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user