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

Commit a5988c03 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Add java prop to enable verbose log

Bug: 421180076
Test: atest RavenwoodMinimumTest
w/ the following in the test config xml
    <option name="java-flags" value="-Dravenwood.verbose=1"/>

Flag: TEST_ONLY
Change-Id: Idc26e637c7ecb2d4cbf11370bd598af4daa1723e
parent 8cfa9f97
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -45,8 +45,9 @@ public class RavenwoodInternalUtils {
     *
     * (See also InitLogging() in http://ac/system/libbase/logging.cpp)
     */
    public static final boolean RAVENWOOD_VERBOSE_LOGGING = "1".equals(System.getenv(
            "RAVENWOOD_VERBOSE"));
    public static final boolean RAVENWOOD_VERBOSE_LOGGING =
            "1".equals(System.getenv("RAVENWOOD_VERBOSE"))
            || "1".equals(System.getProperty("ravenwood.verbose"));

    private static boolean sEnableExtraRuntimeCheck =
            "1".equals(System.getenv("RAVENWOOD_ENABLE_EXTRA_RUNTIME_CHECK"));