Merge "Add a loading progress timeout mechanism to Internet Settings" into sc-dev am: 0781c52dfe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15016144 Change-Id: Ieb5db408bea40602e72924dfc35869c6681ff87a
This commit is contained in:
@@ -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