diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2017-04-07 11:26:26 -0700 |
|---|---|---|
| committer | Mark Salyzyn <salyzyn@google.com> | 2017-04-11 07:31:40 -0700 |
| commit | 8143fa57adfbb4a5cc253e4ef68663525a8f81eb (patch) | |
| tree | ca1b74f94f6780e5743f32aa86d40424af538f67 /core/java/android/util/Log.java | |
| parent | 763765b1b11dfd2e83ba738c0e3aad8196240714 (diff) | |
jni: isLoggable: adapt to removal of property name size limit
There is no longer a name size limit to the properties, remove
illegalArgumentException if tag length is too large.
Test: build
Bug: 36696208
Change-Id: I4b4329c8c951082ed0d777cdd70ee3e773bed16c
Diffstat (limited to 'core/java/android/util/Log.java')
| -rw-r--r-- | core/java/android/util/Log.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/util/Log.java b/core/java/android/util/Log.java index 5bc6c9480025..d857bf712bfe 100644 --- a/core/java/android/util/Log.java +++ b/core/java/android/util/Log.java @@ -212,7 +212,9 @@ public final class Log { * @param tag The tag to check. * @param level The level to check. * @return Whether or not that this is allowed to be logged. - * @throws IllegalArgumentException is thrown if the tag.length() > 23. + * @throws IllegalArgumentException is thrown if the tag.length() > 23 + * for Nougat (7.0) releases (API <= 23) and prior, there is no + * tag limit of concern after this API level. */ public static native boolean isLoggable(String tag, int level); |
