Merge "Add a loading progress timeout mechanism to Internet Settings" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0781c52dfe
@@ -267,9 +267,8 @@ public class NetworkProviderSettings extends RestrictedSettingsFragment
|
||||
if (mWifiManager != null) {
|
||||
setLoading(true, false);
|
||||
mIsViewLoading = true;
|
||||
if (!mWifiManager.isWifiEnabled()) {
|
||||
getView().postDelayed(mRemoveLoadingRunnable, 100);
|
||||
}
|
||||
getView().postDelayed(mRemoveLoadingRunnable,
|
||||
mWifiManager.isWifiEnabled() ? 1000 : 100);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user