Merge "Allow scrolling in landscape" into rvc-dev am: acf1151d11 am: 7a640e94a7
Change-Id: I4124f7a78cae72144f06ae34fded90380345c95d
This commit is contained in:
@@ -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.
|
* Set a listener to be notified of bubble expand events.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -70,6 +70,9 @@ public class BubbleOverflowActivity extends Activity {
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public boolean canScrollVertically() {
|
public boolean canScrollVertically() {
|
||||||
|
if (mBubbleController.inLandscape()) {
|
||||||
|
return super.canScrollVertically();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user