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) {
|
if (mWifiManager != null) {
|
||||||
setLoading(true, false);
|
setLoading(true, false);
|
||||||
mIsViewLoading = true;
|
mIsViewLoading = true;
|
||||||
if (!mWifiManager.isWifiEnabled()) {
|
getView().postDelayed(mRemoveLoadingRunnable,
|
||||||
getView().postDelayed(mRemoveLoadingRunnable, 100);
|
mWifiManager.isWifiEnabled() ? 1000 : 100);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user