Merge "Expose ApplicationInfo compileSdkVersion" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3d187a3ff5
@@ -11786,6 +11786,8 @@ package android.content.pm {
|
||||
field public int category;
|
||||
field public String className;
|
||||
field public int compatibleWidthLimitDp;
|
||||
field public int compileSdkVersion;
|
||||
field @Nullable public String compileSdkVersionCodename;
|
||||
field public String dataDir;
|
||||
field public int descriptionRes;
|
||||
field public String deviceProtectedDataDir;
|
||||
|
||||
@@ -1105,19 +1105,15 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
||||
* <p>
|
||||
* This property is the compile-time equivalent of
|
||||
* {@link android.os.Build.VERSION#CODENAME Build.VERSION.SDK_INT}.
|
||||
*
|
||||
* @hide For platform use only; we don't expect developers to need to read this value.
|
||||
*/
|
||||
public int compileSdkVersion;
|
||||
|
||||
/**
|
||||
* The development codename (ex. "O", "REL") of the framework against which the application
|
||||
* The development codename (ex. "S", "REL") of the framework against which the application
|
||||
* claims to have been compiled, or {@code null} if not specified.
|
||||
* <p>
|
||||
* This property is the compile-time equivalent of
|
||||
* {@link android.os.Build.VERSION#CODENAME Build.VERSION.CODENAME}.
|
||||
*
|
||||
* @hide For platform use only; we don't expect developers to need to read this value.
|
||||
*/
|
||||
@Nullable
|
||||
public String compileSdkVersionCodename;
|
||||
|
||||
Reference in New Issue
Block a user