From e07773175a55807e68aba6cd8a69b2401b748883 Mon Sep 17 00:00:00 2001 From: Mike Digman Date: Fri, 19 Jan 2018 12:41:51 -0800 Subject: 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 --- core/java/com/android/internal/statusbar/IStatusBar.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java') 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. -- cgit v1.2.3