summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/XLargeUi.java
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-06-01 14:50:42 -0400
committerDerek Sollenberger <djsollen@google.com>2011-06-02 08:42:20 -0400
commit2d4f1e2553dee6bce5a12162ff6d4459babe2512 (patch)
treef2c65cc84593c1f198067024808c4022ba22bc7b /src/com/android/browser/XLargeUi.java
parentaed9c54d8e67bb683a5a415b3775525a3ac00508 (diff)
downloadpackages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.zip
packages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.tar.gz
packages_apps_Browser-2d4f1e2553dee6bce5a12162ff6d4459babe2512.tar.bz2
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
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
-rw-r--r--src/com/android/browser/XLargeUi.java5
1 files changed, 3 insertions, 2 deletions
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 @@ public class XLargeUi extends BaseUi implements ScrollListener {
}
@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();
}