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

Commit 38993d8d authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Fix issue #3122240: Expose xlarge in GB." into gingerbread

parents 40763914 5383f502
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -18536,17 +18536,6 @@
 visibility="public"
>
</field>
<field name="IMPORTANCE_HEAVY_WEIGHT"
 type="int"
 transient="false"
 volatile="false"
 value="170"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="IMPORTANCE_PERCEPTIBLE"
 type="int"
 transient="false"
@@ -49296,6 +49285,17 @@
 visibility="public"
>
</field>
<field name="SCREENLAYOUT_SIZE_XLARGE"
 type="int"
 transient="false"
 volatile="false"
 value="4"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="TOUCHSCREEN_FINGER"
 type="int"
 transient="false"
+5 −3
Original line number Diff line number Diff line
@@ -797,10 +797,12 @@ public class ActivityManager {
        public static final int IMPORTANCE_PERCEPTIBLE = 130;
        
        /**
         * Constant for {@link #importance}: this process is running a
         * heavy-weight application and thus should not be killed.
         * Constant for {@link #importance}: this process is running an
         * application that can not save its state, and thus can't be killed
         * while in the background.
         * @hide
         */
        public static final int IMPORTANCE_HEAVY_WEIGHT = 170;
        public static final int IMPORTANCE_CANT_SAVE_STATE = 170;
        
        /**
         * Constant for {@link #importance}: this process is contains services
+0 −1
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ public final class Configuration implements Parcelable, Comparable<Configuration
    public static final int SCREENLAYOUT_SIZE_SMALL = 0x01;
    public static final int SCREENLAYOUT_SIZE_NORMAL = 0x02;
    public static final int SCREENLAYOUT_SIZE_LARGE = 0x03;
    /** @hide */
    public static final int SCREENLAYOUT_SIZE_XLARGE = 0x04;
    
    public static final int SCREENLAYOUT_LONG_MASK = 0x30;
+1 −9
Original line number Diff line number Diff line
@@ -188,15 +188,7 @@ public class Build {
        public static final int FROYO = 8;
        
        /**
         * Next version of Android.
         * 
         * <p>Applications targeting this or a later release will get these
         * new changes in behavior:</p>
         * <ul>
         * <li> The status bar is now dark.  Targeting this version allows
         * the platform to perform performing compatibility on status bar
         * graphics to ensure they look okay on a dark background.
         * </ul>
         * Newest version of Android, version 2.3.
         */
        public static final int GINGERBREAD = 9;
    }
+1 −1
Original line number Diff line number Diff line
@@ -7051,7 +7051,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                    } else if (adj >= SECONDARY_SERVER_ADJ) {
                        currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE;
                    } else if (adj >= HEAVY_WEIGHT_APP_ADJ) {
                        currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_HEAVY_WEIGHT;
                        currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE;
                    } else if (adj >= PERCEPTIBLE_APP_ADJ) {
                        currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE;
                    } else if (adj >= VISIBLE_APP_ADJ) {