Fix shortcut icon in launcher
When building icon for shortcut, check if the icon is LayerDrawable. - If yes, only take the second layer (foreground). Also move the class to shortcut package Change-Id: I3513dbeb6509f11aa70ab3230d441e268ca9356d Fixes: 72553870 Test: atest
This commit is contained in:
@@ -34,7 +34,7 @@ import android.widget.CompoundButton;
|
||||
import com.android.internal.app.LocalePicker;
|
||||
import com.android.internal.app.LocaleStore;
|
||||
|
||||
import com.android.settings.CreateShortcut;
|
||||
import com.android.settings.shortcut.CreateShortcut;
|
||||
import com.android.settings.R;
|
||||
|
||||
import java.text.NumberFormat;
|
||||
|
Reference in New Issue
Block a user