Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a75c6e7d authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Automerger Merge Worker
Browse files

Merge "Add actions to binding Intent" into tm-qpr-dev am: 7ddbfe35 am: 1f2f7a09

parents 601e484a 1f2f7a09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+2 −1
Original line number Diff line number Diff line
@@ -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