Speculative fix for QS CTS test
Explicitly send broadcasts to systemui, because thats where they are
going.
Test: cts
Change-Id: I2fdc74f2cf874e818ef52f37a58adf7cd38ca455
Fixes: 35704517
(cherry picked from commit c7f7111095)
This commit is contained in:
@@ -433,6 +433,7 @@ public class TileService extends Service {
|
||||
public static final void requestListeningState(Context context, ComponentName component) {
|
||||
Intent intent = new Intent(ACTION_REQUEST_LISTENING);
|
||||
intent.putExtra(EXTRA_COMPONENT, component);
|
||||
intent.setPackage("com.android.systemui");
|
||||
context.sendBroadcast(intent, Manifest.permission.BIND_QUICK_SETTINGS_TILE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user