From 3351fd60f63409753e4fed3e2d5dbd99803f5135 Mon Sep 17 00:00:00 2001 From: Samuel Fufa Date: Fri, 31 Jan 2020 16:35:47 -0800 Subject: [PATCH] Change Icon for app icon dismiss action Bug: 145556909 Test: Manual Change-Id: Icb55f813c76b4cc8e6052b1f6eb6586230727bb9 --- res/drawable/ic_block.xml | 27 +++++++++++++++++++ .../launcher3/popup/SystemShortcut.java | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 res/drawable/ic_block.xml diff --git a/res/drawable/ic_block.xml b/res/drawable/ic_block.xml new file mode 100644 index 0000000000..edeb4c63ec --- /dev/null +++ b/res/drawable/ic_block.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/src/com/android/launcher3/popup/SystemShortcut.java b/src/com/android/launcher3/popup/SystemShortcut.java index 48f1c4929e..b1529546b2 100644 --- a/src/com/android/launcher3/popup/SystemShortcut.java +++ b/src/com/android/launcher3/popup/SystemShortcut.java @@ -187,7 +187,7 @@ public abstract class SystemShortcut extends Ite public static class DismissPrediction extends SystemShortcut { public DismissPrediction(Launcher launcher, ItemInfo itemInfo) { - super(R.drawable.ic_remove_no_shadow, R.string.dismiss_prediction_label, launcher, + super(R.drawable.ic_block, R.string.dismiss_prediction_label, launcher, itemInfo); }