Using roundIconRes for loading appInfo icon if launcher's icon is round
Bug: 392145015 Flag: EXEMPT not-supported during overlay change Test: Verified manually on device Change-Id: I7aa571e12318c28f8ff373c19a84d4856c57d6c5
This commit is contained in:
@@ -171,6 +171,13 @@ public class ApiWrapper {
|
||||
return appInfo.sourceDir;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the round icon resource Id if defined by the app
|
||||
*/
|
||||
public int getRoundIconRes(@NonNull ApplicationInfo appInfo) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private static class NoopDrawable extends ColorDrawable {
|
||||
@Override
|
||||
public int getIntrinsicHeight() {
|
||||
|
||||
Reference in New Issue
Block a user