commit | cca2d3498089c3b478f802f9061b52c083bdd205 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Sat Jul 10 16:33:25 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Jul 10 16:33:25 2021 +0000 |
tree | f8c026b7cdf4b1614ddacecbc6538bb911d99cb6 | |
parent | a388452fe97e8b7c0b7141123456a14caef3a84f [diff] | |
parent | d81e77f889051e48272784bdc246d38d1173eae7 [diff] |
End live tile for overview actions in Android Go am: e23157bbb0 am: d81e77f889 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15249978 Change-Id: I1b448a2f3b315fb6123627ac0380fc566fd84e31
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(); }