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

Commit 0b067458 authored by d34d's avatar d34d Committed by Steve Kondik
Browse files

Themes: Change themeChange config value to 0x300000

This value is ActivityInfo.CONFIG_THEME_RESOURCE and
ActivityInfo.CONFIG_THEME_FONT ORed together.  Any future theme
config flags that are added should be ORed with this value so that
any app that declares themeChange as a configuration change it will
handle will not be restarted when only one theme change flag is
set.

Change-Id: I620ab62a54f97c20e03369adf01ba817fada51de
parent b9b8daf5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -754,8 +754,8 @@
        <flag name="smallestScreenSize" value="0x0800" />
        <!-- The layout direction has changed. For example going from LTR to RTL. -->
        <flag name="layoutDirection" value="0x2000" />
        <!-- Theme has changed -->
        <flag name="themeChange" value="0x100000" />
        <!-- Theme has changed, This should be an ORed value of all ActivityInfo.CONFIG_THEME_* -->
        <flag name="themeChange" value="0x300000" />
        <!-- The font scaling factor has changed, that is the user has
             selected a new global font size. -->
        <flag name="fontScale" value="0x40000000" />