llkd: Include llkd-debuggable.rc in eng builds only

* Some (poorly written?) apps are continuously detected as Z state and
   killed by llkd even though they work just fine, leading to extremely
   bad UX and false positive bug reports.
 * llkd is disabled by default but enabled by llkd-debuggable.rc on
   ro.debuggable=1. Exclude it on userdebug builds to replicate user
   build behavior.

Change-Id: I8365149e7896e03e58808bbead208b8d4fca6a8c
This commit is contained in:
dianlujitao 2022-02-20 22:50:06 +08:00 committed by Michael Bestas
parent c39de1d50f
commit 3b78dba3f1
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -50,7 +50,7 @@ cc_binary {
init_rc: ["llkd.rc"],
product_variables: {
debuggable: {
eng: {
init_rc: ["llkd-debuggable.rc"],
},
},