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

Unverified Commit 65b51aa5 authored by Michael Bestas's avatar Michael Bestas Committed by Michael Bestas
Browse files

Don't skip theme application if it's already current

This fixes black theme and font/icon shape customizations.

Change-Id: I8c3d3b4634e1ac60d28e4d5ef20bf9c2015e2e18
parent c8aeee84
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -665,11 +665,6 @@ public class ThemeOverlayController extends CoreStartable implements Dumpable {
            }
        }

        if (colorSchemeIsApplied(managedProfiles)) {
            Log.d(TAG, "Skipping overlay creation. Theme was already: " + mColorScheme);
            return;
        }

        if (DEBUG) {
            Log.d(TAG, "Applying overlays: " + categoryToPackage.keySet().stream()
                    .map(key -> key + " -> " + categoryToPackage.get(key)).collect(