commit | d81e77f889051e48272784bdc246d38d1173eae7 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Sat Jul 10 16:24:04 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Jul 10 16:24:04 2021 +0000 |
tree | b27c636fb363c8217bdab6cdc8eb7365e5449b88 | |
parent | 757c26b88be484e38bf4d54214776c2cbe0ae9bc [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: I1cb98c8036d02d2e43cf761836c608a8d48880d7
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(); }