Adding RECEIVER_EXPORTED flag to BroadcastReceiver
We currently won't be able to run test locally on Android 14 devices as the flag is required for all braodcast recievers, so the change here. Test: Presubmit Bug: 292118103 Flag: not needed Change-Id: I85f9d1b9717b85b30a15e825ebd500508dd3ca5d
This commit is contained in:
@@ -69,7 +69,10 @@ public class BaseTestingActivity extends Activity implements View.OnClickListene
|
||||
mView.setBackgroundColor(Color.BLUE);
|
||||
setContentView(mView);
|
||||
|
||||
registerReceiver(mCommandReceiver, new IntentFilter(mAction + SUFFIX_COMMAND));
|
||||
registerReceiver(
|
||||
mCommandReceiver,
|
||||
new IntentFilter(mAction + SUFFIX_COMMAND),
|
||||
RECEIVER_EXPORTED);
|
||||
}
|
||||
|
||||
protected void addButton(String title, String method) {
|
||||
|
||||
Reference in New Issue
Block a user