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

Commit 84e001a9 authored by Alan Viverette's avatar Alan Viverette
Browse files

Pass explicit null theme when preloading drawables

Prevents "unresolved theme attributes" warning.

BUG: 17589490
Change-Id: I5217d85b1d5ce8b551315ee8b1ca79eccfac3f10
parent ee3ef2b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -458,7 +458,7 @@ public class ZygoteInit {
                Log.v(TAG, "Preloading resource #" + Integer.toHexString(id));
            }
            if (id != 0) {
                if (mResources.getDrawable(id) == null) {
                if (mResources.getDrawable(id, null) == null) {
                    throw new IllegalArgumentException(
                            "Unable to find preloaded drawable resource #0x"
                            + Integer.toHexString(id)