summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Makoto Onuki <omakoto@google.com> 2024-09-05 09:27:57 -0700
committer Makoto Onuki <omakoto@google.com> 2024-09-05 15:34:46 -0700
commite5136a6d5c5c74f6c01d458081c08a9c2b7662e5 (patch)
treefdb8ccb87b1657c8031be8556b4f525a7dc21807 /libs/androidfw/misc.cpp
parent02aebb4226738a3fe74fa96bd3d94c56e08c9f17 (diff)
Clean up log initialization
- Make sure RuntimeInit.redirectLogStreams() is always called even without RavenwoodRule is used. - In RuntimeInit.redirectLogStreams(), make sure the Log class is initialized properly before setting up the redirect. Otherwise, we'd end up trying to use the Log APIs before the Log native code is loaded, which would cause an UnsatisfiedLinkError. - Use $RAVENWOOD_VERBOSE_LOGGING to force enable verbose logging. If it's not set, the normal $ANDROID_LOG_TAGS would be used. Fix: 363315644 Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Flag: EXEMPT host test change only Change-Id: Ifa4e4859c39380ebb3500cfb6570dfb78f839c0a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions