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

Skip to content
Commit 1ada35c6 authored by Philip Chen's avatar Philip Chen
Browse files

Enable/Disable debug features based on build type

Currently we use `ro.debuggable` sysprop to proxy the build type and
enable the debug features only for userdebug & eng builds (i.e.
non-user builds).

Since some non-production devices (e.g. Cuttlefish) could set
`ro.debuggable` even for user build, let's not rely on `ro.debuggable`
but directly detect the build type via `ro.build.type`.

Bug: 375056207
Test: m com.android.bt
Change-Id: I9c6a2e41786863315bfb89617ec914e06de4bab5
parent b222cc48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment