Loading src/com/android/settings/network/NetworkProviderSettings.java +6 −1 Original line number Diff line number Diff line Loading @@ -416,9 +416,14 @@ public class NetworkProviderSettings extends RestrictedSettingsFragment @Override public void onResume() { final Activity activity = getActivity(); super.onResume(); // Disable the animation of the preference list final RecyclerView prefListView = getListView(); if (prefListView != null) { prefListView.setItemAnimator(null); } // Because RestrictedSettingsFragment's onResume potentially requests authorization, // which changes the restriction state, recalculate it. final boolean alreadyImmutablyRestricted = mIsRestricted; Loading Loading
src/com/android/settings/network/NetworkProviderSettings.java +6 −1 Original line number Diff line number Diff line Loading @@ -416,9 +416,14 @@ public class NetworkProviderSettings extends RestrictedSettingsFragment @Override public void onResume() { final Activity activity = getActivity(); super.onResume(); // Disable the animation of the preference list final RecyclerView prefListView = getListView(); if (prefListView != null) { prefListView.setItemAnimator(null); } // Because RestrictedSettingsFragment's onResume potentially requests authorization, // which changes the restriction state, recalculate it. final boolean alreadyImmutablyRestricted = mIsRestricted; Loading