diff options
| author | 2019-08-02 10:48:46 -0700 | |
|---|---|---|
| committer | 2019-08-02 10:48:46 -0700 | |
| commit | 1c5bf3a772c8a7b4581cf222dfe0eb38cc62b0a8 (patch) | |
| tree | 2c005f0233f66530cb7425cfff7f2529d7c6e2af | |
| parent | ded6d5d3bcd4fe2b529a793ccfc06a4367b321d8 (diff) | |
| parent | 1e7ebab8b488d8140f1d305ff92102ab3e132eb7 (diff) | |
Merge "Don't tell Assistant to hide on gesture completion or cancel" into qt-r1-dev am: bea597d404
am: 1e7ebab8b4
Change-Id: Ic0f790d41ce80f8a16a90a7978f31523a08644ff
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/assist/AssistManager.java | 2 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java b/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java index 0b00b919f4f2..4a4feada3c65 100644 --- a/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java +++ b/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java @@ -82,7 +82,7 @@ public class AssistManager implements ConfigurationChangedReceiver { void processBundle(Bundle hints); /** - * Hides the UI. + * Hides any SysUI for the assistant, but _does not_ close the assistant itself. */ void hide(); } diff --git a/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java b/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java index 662de3a5b5f5..0c4f05123c79 100644 --- a/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java +++ b/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java @@ -118,7 +118,6 @@ public class DefaultUiController implements AssistManager.UiController { @Override // AssistManager.UiController public void hide() { - Dependency.get(AssistManager.class).hideAssist(); detach(); if (mInvocationAnimator.isRunning()) { mInvocationAnimator.cancel(); |