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

Commit 4d32b192 authored by Shanthanu Bhardwaj's avatar Shanthanu Bhardwaj
Browse files

Fix minor error in documentation of isLoggable

The change which removed the IllegalArgumentException was released in O (API level 26) (https://android.googlesource.com/platform/frameworks/base/+/8143fa57adfbb4a5cc253e4ef68663525a8f81eb), so the exception is thrown till API level 25, NOT 23 as the documentation currently states.

Bug: 124593220

Change-Id: Ia4c094cd7ae68f978bd5f49a9b294286dbe5bb61
parent b0424a35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ public final class Log {
     * @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
     *         for Nougat (7.0) releases (API <= 23) and prior, there is no
     *         for Nougat (7.0) and prior releases (API <= 25), there is no
     *         tag limit of concern after this API level.
     */
    @FastNative