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

Skip to content
Commit 01266f58 authored by Bruno Martins's avatar Bruno Martins Committed by Rashed Abdel-Tawab
Browse files

liblog: Always report as debuggable when building userdebug/eng

This doesn't affect the normal behavior of our builds, because
ro.debuggable is set to 1 on userdebug/eng anyway.

However, it's helpful because making __android_log_is_debuggable
return a compile time value rather than the value of runtime prop
lets us pass checks that'd otherwise prevent us from using adb root
when Magisk is installed.

Change-Id: I36f53976162e652a38008ced459ca02fd6c0af51
parent cb2391df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment