From 667b71010a9f7c6023fbadbd5de556f371537730 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 7 Nov 2019 14:48:48 -0800 Subject: [PATCH] snapshotctl: talk to bootcontrol HAL Test: OTA then merge Change-Id: Ifdb23070de4e7d8ae4a7ef7d5a6435f101c8b410 --- private/snapshotctl.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/private/snapshotctl.te b/private/snapshotctl.te index d07af3bf4..0f0313c9f 100644 --- a/private/snapshotctl.te +++ b/private/snapshotctl.te @@ -30,3 +30,7 @@ allow snapshotctl dm_device:chr_file rw_file_perms; # Needed to mutate device-mapper nodes. allow snapshotctl self:global_capability_class_set sys_admin; + +# Snapshotctl talk to boot control HAL to set merge status. +hwbinder_use(snapshotctl) +hal_client_domain(snapshotctl, hal_bootctl)