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

Commit 1206e776 authored by Winson's avatar Winson
Browse files

Expose ApplicationInfo compileSdkVersion

Bug: 178116560

Test: none, move to public API

Change-Id: I321feec49f7c9d1a94f5a2140e0c4244ab776ce8
parent db9ef8e7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11782,6 +11782,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;
+1 −5
Original line number Diff line number Diff line
@@ -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;