diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2022-02-20 22:50:06 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-02 12:00:45 +0800 |
commit | 5936b4ce1cb121cffe64a76e7313a8208dc99038 (patch) | |
tree | 046f7e6bf926df1abbfe77c6fe21fb9093908888 | |
parent | d53ccefe1270307c78ac8f833c82abcaa262cc3a (diff) |
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
-rw-r--r-- | llkd/Android.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llkd/Android.bp b/llkd/Android.bp index 1c0e0f0a0..54a0d9b9c 100644 --- a/llkd/Android.bp +++ b/llkd/Android.bp @@ -50,8 +50,8 @@ cc_binary { init_rc: ["llkd.rc"], product_variables: { - debuggable: { + eng: { init_rc: ["llkd-debuggable.rc"], - }, + }, }, } |