diff options
author | Adam Powell <adamp@google.com> | 2011-08-05 20:48:30 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-08-07 14:17:30 -0700 |
commit | dfee59afb3e4cdcde38f6338f9360655de76da92 (patch) | |
tree | 9581ba1b0c6d7c0034e7ff69fcf85071a9244a1c /core/java/android/view/IWindowManager.aidl | |
parent | 5d4967884132647a75d05bcc2ca1f9ce490b372f (diff) | |
download | frameworks_base-dfee59afb3e4cdcde38f6338f9360655de76da92.zip frameworks_base-dfee59afb3e4cdcde38f6338f9360655de76da92.tar.gz frameworks_base-dfee59afb3e4cdcde38f6338f9360655de76da92.tar.bz2 |
Fix bug 5011824 - New Holo overflow menu for physical menu key devices
The new Holo-style overflow menu now appears from the edge of the screen
where the device's physical menu key can be found. The policy determining
this lives in getPreferredOptionsPanelGravity() in WindowManagerService.
Change-Id: I8851a2265547156591e82044e50b5cfc58d3eefa
Diffstat (limited to 'core/java/android/view/IWindowManager.aidl')
-rw-r--r-- | core/java/android/view/IWindowManager.aidl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl index 81cd798..c7bf8e3 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. |