add support for Google Battery HAL
And grant access to it from Settings, SystemUI, and Turbo Adapter.
Bug: 150239363
Test: verified Google Battery HAL use cases function as expected; no denials
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Idb3d2af52d13dd8c1fd26eefeaa9852c94358981
diff --git a/googlebattery/file_contexts b/googlebattery/file_contexts
new file mode 100644
index 0000000..f4fc712
--- /dev/null
+++ b/googlebattery/file_contexts
@@ -0,0 +1 @@
+/vendor/bin/hw/vendor\.google\.google_battery@1\.0-service-vendor u:object_r:hal_googlebattery_exec:s0