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

Commit 4f872ac5 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Allow scrolling in landscape" into rvc-dev am: acf1151d am:...

Merge "Merge "Allow scrolling in landscape" into rvc-dev am: acf1151d am: 7a640e94" into rvc-d1-dev-plus-aosp
parents a4e2440c d4bf8000
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -776,6 +776,10 @@ public class BubbleController implements ConfigurationController.ConfigurationLi
        }
    }

    boolean inLandscape() {
        return mOrientation == Configuration.ORIENTATION_LANDSCAPE;
    }

    /**
     * Set a listener to be notified of bubble expand events.
     */
+3 −0
Original line number Diff line number Diff line
@@ -70,6 +70,9 @@ public class BubbleOverflowActivity extends Activity {
        }
        @Override
        public boolean canScrollVertically() {
            if (mBubbleController.inLandscape()) {
                return super.canScrollVertically();
            }
            return false;
        }
    }