Loading core/java/android/content/pm/ActivityInfo.java +3 −3 Original line number Diff line number Diff line Loading @@ -627,9 +627,9 @@ public class ActivityInfo extends ComponentInfo * {@link #CONFIG_MCC}, {@link #CONFIG_MNC}, * {@link #CONFIG_LOCALE}, {@link #CONFIG_TOUCHSCREEN}, * {@link #CONFIG_KEYBOARD}, {@link #CONFIG_NAVIGATION}, * {@link #CONFIG_ORIENTATION}, {@link #CONFIG_SCREEN_LAYOUT} and * {@link #CONFIG_LAYOUT_DIRECTION}. Set from the {@link android.R.attr#configChanges} * attribute. * {@link #CONFIG_ORIENTATION}, {@link #CONFIG_SCREEN_LAYOUT}, * {@link #CONFIG_DENSITY}, and {@link #CONFIG_LAYOUT_DIRECTION}. * Set from the {@link android.R.attr#configChanges} attribute. */ public int configChanges; Loading core/res/res/values/attrs_manifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -793,6 +793,10 @@ physical screen size has changed such as switching to an external display. --> <flag name="smallestScreenSize" value="0x0800" /> <!-- The display density has changed. This might be caused by the user specifying a different display scale, or it might be caused by a different display being activated. --> <flag name="density" value="0x1000" /> <!-- The layout direction has changed. For example going from LTR to RTL. --> <flag name="layoutDirection" value="0x2000" /> <!-- The font scaling factor has changed, that is the user has Loading Loading
core/java/android/content/pm/ActivityInfo.java +3 −3 Original line number Diff line number Diff line Loading @@ -627,9 +627,9 @@ public class ActivityInfo extends ComponentInfo * {@link #CONFIG_MCC}, {@link #CONFIG_MNC}, * {@link #CONFIG_LOCALE}, {@link #CONFIG_TOUCHSCREEN}, * {@link #CONFIG_KEYBOARD}, {@link #CONFIG_NAVIGATION}, * {@link #CONFIG_ORIENTATION}, {@link #CONFIG_SCREEN_LAYOUT} and * {@link #CONFIG_LAYOUT_DIRECTION}. Set from the {@link android.R.attr#configChanges} * attribute. * {@link #CONFIG_ORIENTATION}, {@link #CONFIG_SCREEN_LAYOUT}, * {@link #CONFIG_DENSITY}, and {@link #CONFIG_LAYOUT_DIRECTION}. * Set from the {@link android.R.attr#configChanges} attribute. */ public int configChanges; Loading
core/res/res/values/attrs_manifest.xml +4 −0 Original line number Diff line number Diff line Loading @@ -793,6 +793,10 @@ physical screen size has changed such as switching to an external display. --> <flag name="smallestScreenSize" value="0x0800" /> <!-- The display density has changed. This might be caused by the user specifying a different display scale, or it might be caused by a different display being activated. --> <flag name="density" value="0x1000" /> <!-- The layout direction has changed. For example going from LTR to RTL. --> <flag name="layoutDirection" value="0x2000" /> <!-- The font scaling factor has changed, that is the user has Loading