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

Commit 86f26d94 authored by Adam Lesinski's avatar Adam Lesinski Committed by android-build-merger
Browse files

Merge "Resources: fix race with creating theme" into oc-dev am: 5f70bc89

am: 006a6fa8

Change-Id: Iab03f37f7e63cb23401b27b8d54ea042e7f63df3
parents 60839eb5 006a6fa8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1760,7 +1760,9 @@ public class Resources {
    public final Theme newTheme() {
        Theme theme = new Theme();
        theme.setImpl(mResourcesImpl.newThemeImpl());
        synchronized (mThemeRefs) {
            mThemeRefs.add(new WeakReference<>(theme));
        }
        return theme;
    }