Merge "Fix NullPointerException in NetworkProviderSettings" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
90bc26f66d
@@ -190,7 +190,10 @@ public class NetworkProviderSettings extends RestrictedSettingsFragment
|
|||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
final Runnable mUpdateWifiEntryPreferencesRunnable = () -> {
|
final Runnable mUpdateWifiEntryPreferencesRunnable = () -> {
|
||||||
updateWifiEntryPreferences();
|
updateWifiEntryPreferences();
|
||||||
getView().postDelayed(mRemoveLoadingRunnable, 10);
|
View view = getView();
|
||||||
|
if (view != null) {
|
||||||
|
view.postDelayed(mRemoveLoadingRunnable, 10);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
final Runnable mHideProgressBarRunnable = () -> {
|
final Runnable mHideProgressBarRunnable = () -> {
|
||||||
|
Reference in New Issue
Block a user