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:
Jason Monk
2017-03-27 10:42:51 -04:00
parent 7ec7ef2ba3
commit 609edbeb86

View File

@@ -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);
}
}