Add update_engine to media_rw group
Allow update_engine to access the OTA package in removable storage.
Test: can access OTA package file from removable storage
in Local System Update
Fixes: 117863326
Change-Id: Idc44627bae93c17fadfa347a916e461302d36074
diff --git a/update_engine.rc b/update_engine.rc
index a7d6235..90ca4c6 100644
--- a/update_engine.rc
+++ b/update_engine.rc
@@ -1,7 +1,7 @@
service update_engine /system/bin/update_engine --logtostderr --logtofile --foreground
class late_start
user root
- group root system wakelock inet cache
+ group root system wakelock inet cache media_rw
writepid /dev/cpuset/system-background/tasks
disabled