Change Icon for app icon dismiss action
Bug: 145556909 Test: Manual Change-Id: Icb55f813c76b4cc8e6052b1f6eb6586230727bb9
This commit is contained in:
parent
766a5d1337
commit
3351fd60f6
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue