From 7d53332195ebe6a634e031f3d0cdf89b505cb428 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 3 May 2023 01:05:57 +0000 Subject: [PATCH] init.usb.rc: specify user manually Merging as a separate CL due to a log showing up related to this on hwasan (is a prebuilt pulling this in?) Bug: 276813155 Test: boot cf Change-Id: I19f7fc51c937d0eb1ee17781fc5d201a0972c4b0 --- rootdir/init.usb.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.usb.rc b/rootdir/init.usb.rc index 0730ccecf..dde784e25 100644 --- a/rootdir/init.usb.rc +++ b/rootdir/init.usb.rc @@ -18,6 +18,7 @@ service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 disabled updatable seclabel u:r:adbd:s0 + user root on property:vendor.sys.usb.adb.disabled=* setprop sys.usb.adb.disabled ${vendor.sys.usb.adb.disabled}