Merge "Change Icon for app icon dismiss action" into ub-launcher3-master

This commit is contained in:
Samuel Fufa
2020-02-03 01:44:04 +00:00
committed by Android (Google) Code Review
2 changed files with 28 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="24.0"
android:viewportWidth="24.0"
android:tint="?android:attr/textColorPrimary">
<path
android:fillColor="@android:color/white"
android:pathData="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z M4,12c0-4.42,3.58-8,8-8c1.85,0,3.55,0.63,4.9,1.69
L5.69,16.9C4.63,15.55,4,13.85,4,12z M12,20c-1.85,0-3.55-0.63-4.9-1.69L18.31,7.1C19.37,8.45,20,10.15,20,12
C20,16.42,16.42,20,12,20z" />
</vector>
@@ -187,7 +187,7 @@ public abstract class SystemShortcut<T extends BaseDraggingActivity> extends Ite
public static class DismissPrediction extends SystemShortcut<Launcher> {
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);
}