From e960030f75d2b510706c4623d94ad71aba427fb8 Mon Sep 17 00:00:00 2001 From: Adam Powell Date: Wed, 6 May 2015 18:13:09 -0700 Subject: Add Build.VERSION.PREVIEW_SDK_INT Add a constant to the SDK that apps may use to detect incremental API changes across prerelease preview builds. APIs newer than the latest official API level are not guaranteed to be stable or even present across preview revisions. Change-Id: I14341e55a3ebc3d872977970b9440c400e71f588 --- api/current.txt | 1 + api/system-current.txt | 1 + 2 files changed, 2 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index 0ef4766..4ee1c51 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22906,6 +22906,7 @@ package android.os { ctor public Build.VERSION(); field public static final java.lang.String CODENAME; field public static final java.lang.String INCREMENTAL; + field public static final int PREVIEW_SDK_INT; field public static final java.lang.String RELEASE; field public static final deprecated java.lang.String SDK; field public static final int SDK_INT; diff --git a/api/system-current.txt b/api/system-current.txt index 3aa6ca0..4563edc 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -24805,6 +24805,7 @@ package android.os { ctor public Build.VERSION(); field public static final java.lang.String CODENAME; field public static final java.lang.String INCREMENTAL; + field public static final int PREVIEW_SDK_INT; field public static final java.lang.String RELEASE; field public static final deprecated java.lang.String SDK; field public static final int SDK_INT; -- cgit v1.1