George Lee 66547716ae gs-common: Add BrownoutDetection app
This app files bugreport for user-debug build with reboot reason = ocp
or uvlo.  Removed the dependency on BetterBug.

Bug: 237287659
Test: Ensure bugreport is generated under user-debug build with reboot
reason = ocp or uvlo.
Change-Id: Ieaa4d02ea10413b3b7c0e314b5deb07d38d98a80
Signed-off-by: George Lee <geolee@google.com>
2022-11-15 02:57:48 +00:00

10 lines
351 B
Plaintext

type brownout_detection_app, domain, coredomain;
userdebug_or_eng(`
app_domain(brownout_detection_app)
net_domain(brownout_detection_app)
allow brownout_detection_app app_api_service:service_manager find;
allow brownout_detection_app system_api_service:service_manager find;
get_prop(brownout_detection_app, vendor_brownout_reason_prop)
')