Add API to allow plugins to lock their orientation in full-screen
This CL has companion changes in the framework and webkit.
bug: 3398386
Change-Id: Iea198ae6b74c68506e605ca8c401f199e2455416
diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java
index 4bfd3cf..1530ed3 100644
--- a/src/com/android/browser/XLargeUi.java
+++ b/src/com/android/browser/XLargeUi.java
@@ -353,8 +353,9 @@
}
@Override
- public void showCustomView(View view, CustomViewCallback callback) {
- super.showCustomView(view, callback);
+ public void showCustomView(View view, int requestedOrientation,
+ CustomViewCallback callback) {
+ super.showCustomView(view, requestedOrientation, callback);
mActivity.getActionBar().hide();
}