Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java +4 −1 Original line number Diff line number Diff line Loading @@ -464,7 +464,10 @@ public class NavigationBarFragment extends Fragment implements Callbacks { private void onRotationSuggestionsDisabled() { // Immediately hide the rotate button and clear any planned removal setRotateSuggestionButtonState(false, true); getView().removeCallbacks(mRemoveRotationProposal); // This method can be called before view setup is done, ensure getView isn't null final View v = getView(); if (v != null) v.removeCallbacks(mRemoveRotationProposal); } private void showAndLogRotationSuggestion() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java +4 −1 Original line number Diff line number Diff line Loading @@ -464,7 +464,10 @@ public class NavigationBarFragment extends Fragment implements Callbacks { private void onRotationSuggestionsDisabled() { // Immediately hide the rotate button and clear any planned removal setRotateSuggestionButtonState(false, true); getView().removeCallbacks(mRemoveRotationProposal); // This method can be called before view setup is done, ensure getView isn't null final View v = getView(); if (v != null) v.removeCallbacks(mRemoveRotationProposal); } private void showAndLogRotationSuggestion() { Loading