Merge "Expose ApplicationInfo compileSdkVersion" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-22 23:41:15 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;