From 8273f1915f7a483770267cb8eeee55f994a4428c Mon Sep 17 00:00:00 2001 From: Benjamin Schwartz Date: Tue, 18 Jun 2019 17:56:47 -0700 Subject: [PATCH] Add power stats HAL to ANR list Bug: 135111122 Test: Ran "adb shell am hang" and verified that power.stats HAL information is in /data/anr/ Change-Id: I60a6191626a20c737124033e8ad453fa91425e39 --- prebuilts/api/29.0/private/system_server.te | 1 + private/system_server.te | 1 + 2 files changed, 2 insertions(+) diff --git a/prebuilts/api/29.0/private/system_server.te b/prebuilts/api/29.0/private/system_server.te index f551780ce..e88e195af 100644 --- a/prebuilts/api/29.0/private/system_server.te +++ b/prebuilts/api/29.0/private/system_server.te @@ -282,6 +282,7 @@ allow system_server { hal_graphics_composer_server hal_health_server hal_omx_server + hal_power_stats_server hal_sensors_server hal_vr_server }:process { signal }; diff --git a/private/system_server.te b/private/system_server.te index f551780ce..e88e195af 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -282,6 +282,7 @@ allow system_server { hal_graphics_composer_server hal_health_server hal_omx_server + hal_power_stats_server hal_sensors_server hal_vr_server }:process { signal };