Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13aa4db2 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Ensure rotate disable2 flag can be set on boot" into pi-dev am:...

Merge "Merge "Ensure rotate disable2 flag can be set on boot" into pi-dev am: 65808f32 am: 5a435bf0"
parents c97cd147 e57a86a4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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() {