summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-08-07 16:59:02 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-07 16:59:02 -0700
commit8868f9797c39e5fc7c9612fbb69d53f34f03f6a2 (patch)
treef22c6fa79912db1664c4dd78ce99404376b046d4 /core/java
parent30a6e38762769bc3e230c40520c1ac6a594188a0 (diff)
parentdfee59afb3e4cdcde38f6338f9360655de76da92 (diff)
Merge "Fix bug 5011824 - New Holo overflow menu for physical menu key devices"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/IWindowManager.aidl7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl
index 81cd7983c079..c7bf8e3aa3d8 100644
--- a/core/java/android/view/IWindowManager.aidl
+++ b/core/java/android/view/IWindowManager.aidl
@@ -184,6 +184,13 @@ interface IWindowManager
*/
int watchRotation(IRotationWatcher watcher);
+ /**
+ * Determine the preferred edge of the screen to pin the compact options menu against.
+ * @return a Gravity value for the options menu panel
+ * @hide
+ */
+ int getPreferredOptionsPanelGravity();
+
/**
* Lock the device orientation to the current rotation. Sensor input will
* be ignored until thawRotation() is called.