Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ce4625a authored by Ricky Wai's avatar Ricky Wai
Browse files

Fix ApplicationPackageManager.getDrawable() should drawable result

Bug: 20247312
Change-Id: I6cec3bac794006e41ca85035c572843c92938517
parent 7526611f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -771,10 +771,12 @@ final class ApplicationPackageManager extends PackageManager {
                                    .getCompatibilityInfo().applicationScale,
                            e);
                }
                if (DEBUG_ICONS)
                if (DEBUG_ICONS) {
                    Log.v(TAG, "Getting drawable 0x"
                            + Integer.toHexString(resId) + " from " + r
                            + ": " + dr);
                }
                return dr;
            } catch (NameNotFoundException e) {
                Log.w("PackageManager", "Failure retrieving resources for "
                        + appInfo.packageName);