Merge "Add unaudited exported flag to exposed runtime receivers"
This commit is contained in:
committed by
Android (Google) Code Review
commit
563aaedf74
@@ -145,7 +145,8 @@ public class ConnectivityManagerTestBase extends InstrumentationTestCase {
|
||||
mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
|
||||
mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION);
|
||||
mIntentFilter.addAction(TetheringManager.ACTION_TETHER_STATE_CHANGED);
|
||||
mContext.registerReceiver(mWifiReceiver, mIntentFilter);
|
||||
mContext.registerReceiver(mWifiReceiver, mIntentFilter,
|
||||
Context.RECEIVER_EXPORTED_UNAUDITED);
|
||||
|
||||
logv("Clear Wifi before we start the test.");
|
||||
removeConfiguredNetworksAndDisableWifi();
|
||||
|
||||
Reference in New Issue
Block a user