aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2016-04-17 20:07:01 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-04-19 00:24:41 -0700
commit1242e7a9eba45daf24e0fb0173ed595b9561ddaf (patch)
tree666e909e5368219476c53951713ef3f4ec38e7df
parent8f9d6bd93fa8f59f86fc287c742ebda0e3d19ee6 (diff)
downloaddevice_samsung_espressowifi-1242e7a9eba45daf24e0fb0173ed595b9561ddaf.zip
device_samsung_espressowifi-1242e7a9eba45daf24e0fb0173ed595b9561ddaf.tar.gz
device_samsung_espressowifi-1242e7a9eba45daf24e0fb0173ed595b9561ddaf.tar.bz2
espresso: update charger service
- follow google and get rid of using /charger symlink - add seclabel to fix offline charging Change-Id: Id0920f93ba44ef3990c7b7cea84cc42c55d0190a
-rw-r--r--rootdir/etc/init.tab2.rc5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index 40efd2c..cc5866c 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -388,6 +388,7 @@ on property:ro.bootmode=charger
on property:ro.bootmode=charger
class_start charger
-service charger /charger
+service charger /sbin/healthd -c
class charger
- user root
+ critical
+ seclabel u:r:healthd:s0