diff options
author | Xia Wang <xiaw@google.com> | 2011-12-19 17:20:04 -0800 |
---|---|---|
committer | Xia Wang <xiaw@google.com> | 2011-12-19 17:20:04 -0800 |
commit | 80177940911a143fe61b10b9244e6426f4026e01 (patch) | |
tree | 142af707176a6353f3ff231e5fb439267de48292 | |
parent | 8f04ae361cd34fdaea41fbedefb85cff2c684e36 (diff) | |
download | frameworks_base-80177940911a143fe61b10b9244e6426f4026e01.zip frameworks_base-80177940911a143fe61b10b9244e6426f4026e01.tar.gz frameworks_base-80177940911a143fe61b10b9244e6426f4026e01.tar.bz2 |
Remove sleep from test acitivity to avoid ANR when key event is injected
bug#: 5737922
Change-Id: I7871713c5000d122e63127b30d0151b8f5a29bcf
-rw-r--r-- | core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java index 0580ebc..d375d4c 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java @@ -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 { |