Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 563aaedf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add unaudited exported flag to exposed runtime receivers"

parents 6ed0411f f0f7d72b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();