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

Commit 64625e97 authored by Paul Hu's avatar Paul Hu Committed by Gerrit Code Review
Browse files

Merge "Expose Build.VERSION.FIRST_SDK_INT as module-lib API"

parents 984e3764 69f79b0a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -52,6 +52,10 @@ package android.os {
    method public final void markVintfStability();
  }

  public static class Build.VERSION {
    field public static final int FIRST_SDK_INT;
  }

  public interface Parcelable {
    method public default int getStability();
  }
+1 −0
Original line number Diff line number Diff line
@@ -317,6 +317,7 @@ public class Build {
         * @see #SDK_INT
         * @hide
         */
        @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
        @TestApi
        public static final int FIRST_SDK_INT = SystemProperties
                .getInt("ro.product.first_api_level", 0);