diff options
author | Christopher Tate <ctate@google.com> | 2014-09-20 00:33:14 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-20 00:33:14 +0000 |
commit | 604de349568611423412d8b2d5af8db889fab0da (patch) | |
tree | 0d9cf75b3786f2f3efd1d036b992b9305a8560fd /packages/SettingsProvider | |
parent | 89de053753a3cb2badd32035c4938134dc192aca (diff) | |
parent | 4c45b649c36d6c28d22a98d979fbda3b7c36677a (diff) | |
download | frameworks_base-604de349568611423412d8b2d5af8db889fab0da.zip frameworks_base-604de349568611423412d8b2d5af8db889fab0da.tar.gz frameworks_base-604de349568611423412d8b2d5af8db889fab0da.tar.bz2 |
am c9a016dd: Merge "Always give wifi a chance to quiet down during restore" into lmp-dev
* commit 'c9a016dd4eefd01ab6acc916d2a1bad854933e58':
Always give wifi a chance to quiet down during restore
Diffstat (limited to 'packages/SettingsProvider')
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java b/packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java index 45957a4..78af785 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java @@ -352,9 +352,9 @@ public class SettingsBackupAgent extends BackupAgentHelper { if (scanAlways != 0) { Settings.Global.putInt(cr, Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0); - // !!! Give the wifi stack a moment to quiesce - try { Thread.sleep(1000); } catch (InterruptedException e) {} } + // !!! Give the wifi stack a moment to quiesce + try { Thread.sleep(1500); } catch (InterruptedException e) {} if (restoredSupplicantData != null) { restoreWifiSupplicant(FILE_WIFI_SUPPLICANT, restoredSupplicantData, restoredSupplicantData.length); |