commit | cbe71f0eff3d669291e68aa2344518b311ece252 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Sat Jul 10 16:24:08 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Jul 10 16:24:08 2021 +0000 |
tree | edb1f805f42e23875493f283ca0b2f5cd6110b48 | |
parent | 37a87fd6c183afc2088f56d680a4be1a22acafc4 [diff] | |
parent | e23157bbb02de64ac7e1cf751e33a59c912e906f [diff] |
End live tile for overview actions in Android Go am: e23157bbb0 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15249978 Change-Id: I710a00ff8bda43467c0310f42978e4635eff6434
diff --git a/go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java b/go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java index f3c7a02..fc07162 100644 --- a/go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java +++ b/go/quickstep/src/com/android/quickstep/TaskOverlayFactoryGo.java
@@ -243,7 +243,7 @@ @SuppressLint("NewApi") public void onListen() { if (mIsAllowedByPolicy) { - sendNIUIntent(ACTION_LISTEN); + endLiveTileMode(() -> sendNIUIntent(ACTION_LISTEN)); } else { showBlockedByPolicyMessage(); } @@ -252,7 +252,7 @@ @SuppressLint("NewApi") public void onTranslate() { if (mIsAllowedByPolicy) { - sendNIUIntent(ACTION_TRANSLATE); + endLiveTileMode(() -> sendNIUIntent(ACTION_TRANSLATE)); } else { showBlockedByPolicyMessage(); } @@ -261,7 +261,7 @@ @SuppressLint("NewApi") public void onSearch() { if (mIsAllowedByPolicy) { - sendNIUIntent(ACTION_SEARCH); + endLiveTileMode(() -> sendNIUIntent(ACTION_SEARCH)); } else { showBlockedByPolicyMessage(); }