Merge "Allow scrolling in landscape" into rvc-dev am: acf1151d11 am: 9268372d45

Change-Id: I9c35a568b14e97ac81777384a2ce90929fab4900
This commit is contained in:
TreeHugger Robot
2020-05-26 17:23:06 +00:00
committed by Automerger Merge Worker
2 changed files with 7 additions and 0 deletions

View File

@@ -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.
*/

View File

@@ -70,6 +70,9 @@ public class BubbleOverflowActivity extends Activity {
}
@Override
public boolean canScrollVertically() {
if (mBubbleController.inLandscape()) {
return super.canScrollVertically();
}
return false;
}
}