Merge "Don't tell Assistant to hide on gesture completion or cancel" into qt-r1-dev

am: bea597d404

Change-Id: I51fe118677fdfb8fd88c64c66738bd99afeaf680
This commit is contained in:
James O'Leary
2019-08-02 10:38:19 -07:00
committed by android-build-merger
2 changed files with 1 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ public class AssistManager implements ConfigurationChangedReceiver {
void processBundle(Bundle hints); void processBundle(Bundle hints);
/** /**
* Hides the UI. * Hides any SysUI for the assistant, but _does not_ close the assistant itself.
*/ */
void hide(); void hide();
} }

View File

@@ -118,7 +118,6 @@ public class DefaultUiController implements AssistManager.UiController {
@Override // AssistManager.UiController @Override // AssistManager.UiController
public void hide() { public void hide() {
Dependency.get(AssistManager.class).hideAssist();
detach(); detach();
if (mInvocationAnimator.isRunning()) { if (mInvocationAnimator.isRunning()) {
mInvocationAnimator.cancel(); mInvocationAnimator.cancel();