summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/IWindowManager.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/view/IWindowManager.aidl')
-rw-r--r--core/java/android/view/IWindowManager.aidl7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/java/android/view/IWindowManager.aidl b/core/java/android/view/IWindowManager.aidl
index 45f9da2..fe32a5f 100644
--- a/core/java/android/view/IWindowManager.aidl
+++ b/core/java/android/view/IWindowManager.aidl
@@ -192,11 +192,12 @@ interface IWindowManager
int getPreferredOptionsPanelGravity();
/**
- * Lock the device orientation to the current rotation. Sensor input will
- * be ignored until thawRotation() is called.
+ * Lock the device orientation to the specified rotation, or to the
+ * current rotation if -1. Sensor input will be ignored until
+ * thawRotation() is called.
* @hide
*/
- void freezeRotation();
+ void freezeRotation(int rotation);
/**
* Release the orientation lock imposed by freezeRotation().