[core] createWithAdaptiveBitmap

This commit is contained in:
RikkaW 2021-11-08 21:49:37 +08:00 committed by Wang Han
parent a68dd71fda
commit 984373e500
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ public class LSPManagerService extends ILSPManagerService.Stub {
try (var zip = new ZipFile(ConfigFileManager.managerApkPath.toString())) {
var entry = zip.getEntry("assets/ic_launcher-playstore.png");
try (var is = zip.getInputStream(entry)) {
return Icon.createWithBitmap(BitmapFactory.decodeStream(is));
return Icon.createWithAdaptiveBitmap(BitmapFactory.decodeStream(is));
}
} catch (Throwable e) {
Log.e(TAG, "load icon", e);