diff options
| author | 2021-05-11 09:25:17 +0000 | |
|---|---|---|
| committer | 2021-05-11 09:25:17 +0000 | |
| commit | e3eefd6d2e83fab50dd41fae19d4fca783d6f1a3 (patch) | |
| tree | 271d5981a458f0e9d42348f3469de2505c0fbf4d | |
| parent | 6edf32bd8e3139df4b6e499a355e53cdfc04491d (diff) | |
| parent | dbf1544b681f2f8587322b61b5d2387f05181292 (diff) | |
Merge "Inline two constants from CorePlatform" am: dbf1544b68
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699727
Change-Id: I9888625f7e797b23b1a860cb6f076a6860428f27
| -rw-r--r-- | Android.bp | 2 | ||||
| -rwxr-xr-x | core/java/android/os/Build.java | 3 | ||||
| -rw-r--r-- | core/java/android/os/Debug.java | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp index c916f5d4eb79..c632ff608d13 100644 --- a/Android.bp +++ b/Android.bp @@ -484,7 +484,7 @@ stubs_defaults { "android.hardware.usb.gadget-V1.0-java", "android.hardware.vibrator-V1.3-java", "framework-protos", - "stable.core.platform.api.stubs", + "art.module.public.api", // There are a few classes from modules used by the core that // need to be resolved by metalava. We use a prebuilt stub of the // full sdk to ensure we can resolve them. If a new class gets added, diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index 966291b0891c..5017d9e8d905 100755 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -424,7 +424,8 @@ public class Build { * Magic version number for a current development build, which has * not yet turned into an official release. */ - public static final int CUR_DEVELOPMENT = VMRuntime.SDK_VERSION_CUR_DEVELOPMENT; + // This must match VMRuntime.SDK_VERSION_CUR_DEVELOPMENT. + public static final int CUR_DEVELOPMENT = 10000; /** * October 2008: The original, first, version of Android. Yay! diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java index 1e60f74dd3d3..a7516a428ff0 100644 --- a/core/java/android/os/Debug.java +++ b/core/java/android/os/Debug.java @@ -74,8 +74,9 @@ public final class Debug * * @deprecated Accurate counting is a burden on the runtime and may be removed. */ + // This must match VMDebug.TRACE_COUNT_ALLOCS. @Deprecated - public static final int TRACE_COUNT_ALLOCS = VMDebug.TRACE_COUNT_ALLOCS; + public static final int TRACE_COUNT_ALLOCS = 1; /** * Flags for printLoadedClasses(). Default behavior is to only show |