fix: add SDK_Q (test) value of 10,000

This commit is contained in:
Connor Tumbleson 2019-04-24 18:04:24 -04:00
parent d1b0025c4e
commit f3f634f010
2 changed files with 6 additions and 0 deletions

View File

@ -633,6 +633,8 @@ final public class AndrolibResources {
return ResConfigFlags.SDK_OREO;
case "P":
return ResConfigFlags.SDK_P;
case "Q":
return ResConfigFlags.SDK_Q;
default:
return Integer.parseInt(sdkVersion);
}

View File

@ -538,6 +538,10 @@ public class ResConfigFlags {
public final static byte SDK_OREO_MR1 = 27;
public final static byte SDK_P = 28;
// AOSP has this as 10,000 for dev purposes.
// platform_frameworks_base/commit/ad5b4ba2a2dda066dbefec4195b86747e3d7d225#diff-b2b93844110603a7b050476c83c1ee3a
public final static int SDK_Q = 10000;
public final static byte ORIENTATION_ANY = 0;
public final static byte ORIENTATION_PORT = 1;
public final static byte ORIENTATION_LAND = 2;