Merge "Add actions to binding Intent" into tm-qpr-dev am: 7ddbfe3543
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21609016 Change-Id: Ica6893782bf984c1e40bcc49d9c3e823189cb144 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -84,7 +84,7 @@ class ControlsProviderLifecycleManager(
|
|||||||
private val BIND_FLAGS_PANEL = Context.BIND_AUTO_CREATE or Context.BIND_NOT_PERCEPTIBLE
|
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
|
component = componentName
|
||||||
putExtra(CALLBACK_BUNDLE, Bundle().apply {
|
putExtra(CALLBACK_BUNDLE, Bundle().apply {
|
||||||
putBinder(CALLBACK_TOKEN, token)
|
putBinder(CALLBACK_TOKEN, token)
|
||||||
|
|||||||
@@ -76,7 +76,8 @@ public class TileServiceManager {
|
|||||||
this(tileServices, handler, userTracker, new TileLifecycleManager(handler,
|
this(tileServices, handler, userTracker, new TileLifecycleManager(handler,
|
||||||
tileServices.getContext(), tileServices,
|
tileServices.getContext(), tileServices,
|
||||||
new PackageManagerAdapter(tileServices.getContext()), broadcastDispatcher,
|
new PackageManagerAdapter(tileServices.getContext()), broadcastDispatcher,
|
||||||
new Intent().setComponent(component), userTracker.getUserHandle()));
|
new Intent(TileService.ACTION_QS_TILE).setComponent(component),
|
||||||
|
userTracker.getUserHandle()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|||||||
Reference in New Issue
Block a user