summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James O'Leary <jamesoleary@google.com> 2019-08-02 10:48:46 -0700
committer android-build-merger <android-build-merger@google.com> 2019-08-02 10:48:46 -0700
commit1c5bf3a772c8a7b4581cf222dfe0eb38cc62b0a8 (patch)
tree2c005f0233f66530cb7425cfff7f2529d7c6e2af
parentded6d5d3bcd4fe2b529a793ccfc06a4367b321d8 (diff)
parent1e7ebab8b488d8140f1d305ff92102ab3e132eb7 (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.java2
-rw-r--r--packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java1
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();