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

Commit d30b020a authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Remove check for custom themes

All CLs are in to support one custom theme, so enable them
again by default

Fixes: 124796742
Change-Id: I7beacd764726b897d96d21cbcedf8d2198a21bc1
parent 025e1681
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -71,8 +71,6 @@ import java.util.function.Consumer;
public class DefaultThemeProvider extends ResourcesApkProvider implements ThemeBundleProvider {

    private static final String TAG = "DefaultThemeProvider";
    // TODO(b/124796742): remove once custom theme picker is ready to merge
    private static final boolean SHOW_CUSTOM_THEME_OPTION = true;

    private static final String THEMES_ARRAY = "themes";
    private static final String TITLE_PREFIX = "theme_title_";
@@ -197,10 +195,8 @@ public class DefaultThemeProvider extends ResourcesApkProvider implements ThemeB
            }
        }

        if (SHOW_CUSTOM_THEME_OPTION) {
        addCustomTheme();
    }
    }

    private void addColorOverlay(Builder builder, String colorOverlayPackage)
            throws NameNotFoundException {