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

Skip to content

Allow disabling debugging for production devices

Jonathan Klee requested to merge jklee-disable-debug-r into v1-r

Description

Some 3rd party apps are using the RootBeer lib to detect a ro.debuggable equal to 1 and consider that the device might be rooted, so won't run.

Allow the possibility to disable target debugging with the DISABLE_TARGET_DEBUGGING variable that will be used for stable builds.

Test environment

Same test as there: !86 (merged)

But with build: https://gitlab.e.foundation/e/priv/os/build/-/pipelines/166922

Issue(s)

https://gitlab.e.foundation/e/backlog/-/issues/3646

Edited by Jonathan Klee

Merge request reports

Loading