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

Commit a63ea718 authored by Danny Baumann's avatar Danny Baumann
Browse files

Check themes of current user, not user 0.

Change-Id: I5d685a04289b434a12e460b4fdacc43a41ff2be1
JIRA:CYAN-1303
parent 4ed6fd0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1796,7 +1796,8 @@ public final class ActivityThread {
        }
        PackageInfo pi = null;
        try {
            pi = getPackageManager().getPackageInfo(theme.getThemePackageName(), 0, 0);
            pi = getPackageManager().getPackageInfo(theme.getThemePackageName(),
                    0, UserHandle.myUserId());
        } catch (RemoteException e) {
        }
        if (pi != null && pi.applicationInfo != null && pi.themeInfos != null) {