IKE logger #wtf() should never crash "userdebug" builds
This commit updates the IKE logger to avoid crashing
"userdebug" builds.
Previously the IKE logger #wtf() would always call
"android.util.Log.wtf" and would crash "userdebug" and "eng" builds.
Since there is no Android API to diffrentiate a "userdebug" build
from an "eng" build, this commit updates IKE logger to check logging
configuration before calling "android.util.Log.wtf" to avoid
crashing "userdebug".
Bug: 234793068
Test: atest FrameworksIkeTests, CtsIkeTestCases
Change-Id: I93858f13627bca0a9930d45c2e918f92b966da81
(cherry picked from commit 39a02c0f21fe1e155736cfa36bbfa49099c20e1d)
Merged-In: I93858f13627bca0a9930d45c2e918f92b966da81
2 files changed