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

Commit a43f755a authored by Helen Cheuk's avatar Helen Cheuk Committed by Android (Google) Code Review
Browse files

Merge "Return null when resource not found for key glyph" into main

parents 9a977deb 85e8f3e5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -170,6 +170,8 @@ public final class KeyGlyphMap implements Parcelable {
            return resources.getDrawable(drawableRes, null);
        } catch (PackageManager.NameNotFoundException ignored) {
            Log.e(TAG, "Package name not found for " + mComponentName);
        } catch (Resources.NotFoundException ignored) {
            Log.e(TAG, "Resource not found for " + mComponentName);
        }
        return null;
    }