summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorMike Digman <digman@google.com>2018-01-19 12:41:51 -0800
committerMike Digman <digman@google.com>2018-01-19 12:41:51 -0800
commite07773175a55807e68aba6cd8a69b2401b748883 (patch)
tree323c86b76cbb73ebf48ec0a2633395eeb386da48 /core/java
parent0137f81fafb77ed553d301a23f23e2ec2091069d (diff)
Send valid and invalid rotation proposal changes to SysUI
SysUI needs a signal to remove active proposals if the proposal changes to an invalid one. Test: manual, visual
Diffstat (limited to 'core/java')
-rw-r--r--core/java/com/android/internal/statusbar/IStatusBar.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/statusbar/IStatusBar.aidl b/core/java/com/android/internal/statusbar/IStatusBar.aidl
index 5ec90941aa88..e1c7aaeab852 100644
--- a/core/java/com/android/internal/statusbar/IStatusBar.aidl
+++ b/core/java/com/android/internal/statusbar/IStatusBar.aidl
@@ -115,7 +115,7 @@ oneway interface IStatusBar
/**
* Notifies the status bar that a new rotation suggestion is available.
*/
- void onProposedRotationChanged(int rotation);
+ void onProposedRotationChanged(int rotation, boolean isValid);
/**
* Set whether the top app currently hides the statusbar.