From 4060a75d8f2ef1aebe0944f05e4a1c8198edfeea Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Mon, 8 Apr 2019 15:49:37 -0700 Subject: [PATCH] Add state callback in launcher Bug: 129785904 Test: Manual, change states and verify state is sent Change-Id: Ia1f69494a6cbae68085fb09670ffa309ce147430 (cherry picked from commit c4b88c3dfb662318dc5c318c7a4b34889c1295bc) --- .../src/com/android/quickstep/TouchInteractionService.java | 4 ++++ .../src/com/android/quickstep/TouchInteractionService.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/go/quickstep/src/com/android/quickstep/TouchInteractionService.java b/go/quickstep/src/com/android/quickstep/TouchInteractionService.java index 734425ee4c..39f8448d1f 100644 --- a/go/quickstep/src/com/android/quickstep/TouchInteractionService.java +++ b/go/quickstep/src/com/android/quickstep/TouchInteractionService.java @@ -88,6 +88,10 @@ public class TouchInteractionService extends Service { boolean gestureSwipeLeft) { } + public void onSystemUiStateChanged(int stateFlags) { + // To be implemented + } + /** Deprecated methods **/ public void onQuickStep(MotionEvent motionEvent) { } diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java index 3ea8de0ce3..e591177404 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java @@ -159,6 +159,10 @@ public class TouchInteractionService extends Service implements isButton, gestureSwipeLeft, activityControl.getContainerType()); } + public void onSystemUiStateChanged(int stateFlags) { + // To be implemented + } + /** Deprecated methods **/ public void onQuickStep(MotionEvent motionEvent) { }