diff --git a/tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java b/tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java index d3ce67c81c..81a59b9a45 100644 --- a/tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java +++ b/tests/src/com/android/launcher3/testcomponent/BaseTestingActivity.java @@ -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) {