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

Commit 47da2501 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Ensure setRequestedOrientation is called when unfolding the device"

parents 98414351 d6bc1292
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -76,7 +76,8 @@ public class RotationHelper implements OnSharedPreferenceChangeListener {
    private boolean mInitialized;
    private boolean mDestroyed;

    private int mLastActivityFlags = -1;
    // Initialize mLastActivityFlags to a value not used by SCREEN_ORIENTATION flags
    private int mLastActivityFlags = -999;

    public RotationHelper(Activity activity) {
        mActivity = activity;