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
Loading
Please register or sign in to comment