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

Commit 80177940 authored by Xia Wang's avatar Xia Wang
Browse files

Remove sleep from test acitivity to avoid ANR when key event is injected

bug#: 5737922

Change-Id: I7871713c5000d122e63127b30d0151b8f5a29bcf
parent 8f04ae36
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -249,8 +249,6 @@ public class ConnectivityManagerTestActivity extends Activity {
        sleep(SHORT_TIMEOUT);
        removeConfiguredNetworksAndDisableWifi();
        mWifiRegexs = mCM.getTetherableWifiRegexs();
        // after wifi is shutdown, wait for 2 minute to enable wifi
        sleep(WIFI_STOP_START_INTERVAL);
     }

    public List<WifiConfiguration> loadNetworkConfigurations() throws Exception {