Exclude dynamic shortcuts from being force themed
Test: Manual Bug: 397501448 Flag: com.android.launcher3.force_monochrome_app_icons Change-Id: Iff1010e268c99ce192e1445ec124229c84420b23
This commit is contained in:
@@ -216,6 +216,13 @@ public class ApiWrapper {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the shortcut is using an icon with file or URI source
|
||||
*/
|
||||
public boolean isFileDrawable(@NonNull ShortcutInfo shortcutInfo) {
|
||||
return false;
|
||||
}
|
||||
|
||||
private static class NoopDrawable extends ColorDrawable {
|
||||
@Override
|
||||
public int getIntrinsicHeight() {
|
||||
|
||||
Reference in New Issue
Block a user