From 083ba629028b15373d54f1338b1236bc3f0e8272 Mon Sep 17 00:00:00 2001 From: George Lee Date: Thu, 13 Oct 2022 12:52:20 -0700 Subject: [PATCH] bcl: Remove unused brownout boot reason sepolicy vendor_brownout_boot_reason was added under previous change. It should be added as part of follow on change to enable metric collection. Bug: 246817058 Test: Confirm brownout_boot_reason non existent Signed-off-by: George Lee Change-Id: I1fed12e851750314f53a0d6517a9eff92c44e247 --- whitechapel_pro/property.te | 1 - whitechapel_pro/property_contexts | 1 - whitechapel_pro/vendor_init.te | 1 - 3 files changed, 3 deletions(-) diff --git a/whitechapel_pro/property.te b/whitechapel_pro/property.te index 151cefc3..1bca1a73 100644 --- a/whitechapel_pro/property.te +++ b/whitechapel_pro/property.te @@ -39,5 +39,4 @@ vendor_internal_prop(vendor_telephony_app_prop) # Battery Mitigation vendor_internal_prop(vendor_mitigation_ready_prop) -vendor_internal_prop(vendor_brownout_boot_reason_prop) vendor_internal_prop(vendor_startup_bugreport_requested_prop) diff --git a/whitechapel_pro/property_contexts b/whitechapel_pro/property_contexts index 02b9ce80..814d0184 100644 --- a/whitechapel_pro/property_contexts +++ b/whitechapel_pro/property_contexts @@ -109,5 +109,4 @@ vendor.config.debug. u:object_r:vendor_telephony_app_prop: # Battery Mitigation vendor.brownout.mitigation.ready u:object_r:vendor_mitigation_ready_prop:s0 -vendor.brownout_boot_reason u:object_r:vendor_brownout_boot_reason_prop:s0 vendor.startup_bugreport_requested u:object_r:vendor_startup_bugreport_requested_prop:s0 diff --git a/whitechapel_pro/vendor_init.te b/whitechapel_pro/vendor_init.te index 0dedd097..a82ad9f1 100644 --- a/whitechapel_pro/vendor_init.te +++ b/whitechapel_pro/vendor_init.te @@ -37,5 +37,4 @@ set_prop(vendor_init, vendor_battery_defender_prop) set_prop(vendor_init, vendor_display_prop) # Battery Mitigation -set_prop(vendor_init, vendor_brownout_boot_reason_prop) set_prop(vendor_init, vendor_startup_bugreport_requested_prop)