summaryrefslogtreecommitdiff
path: root/core/java/android/os/Debug.java
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-05-11 11:02:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-11 11:02:49 +0000
commit19e9c30ca46c9c49b51e023b1bbdbc448914adbb (patch)
treeacc3931cc89de55458b9aba10dc698abe8b70a13 /core/java/android/os/Debug.java
parentc925228169ad8fdf8829943ef3417e8b7e8c8b62 (diff)
parent822d0ac2ba3cf42ebb4abb498707f5c3fdccf190 (diff)
Merge "Inline two constants from CorePlatform" am: dbf1544b68 am: e3eefd6d2e am: 833e374197 am: 822d0ac2ba
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699727 Change-Id: I2faa672e8c01056e5fe276dc871bae3211312c0c
Diffstat (limited to 'core/java/android/os/Debug.java')
-rw-r--r--core/java/android/os/Debug.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/os/Debug.java b/core/java/android/os/Debug.java
index b8bb353a1c2f..d90e129d36f7 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