sdm845-common: Redefine ss_ramdump
* For some reason Xiaomi decided to start the service unconditionally with an unknown arg, thus causing it to crash everytime. * Match it with CAF and start it if persist.sys.ssr.enable_ramdumps is set. Change-Id: I27496f7b65f9d7217a97f3738140056fcbf0e149
This commit is contained in:
parent
34c15fd597
commit
2d10e5df06
@ -7,3 +7,16 @@ on init
|
||||
on boot
|
||||
chown system system /proc/touchpanel/wake_gesture
|
||||
chmod 0660 /proc/touchpanel/wake_gesture
|
||||
|
||||
service vendor.ss_ramdump_local /vendor/bin/subsystem_ramdump
|
||||
class late_start
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
on property:persist.vendor.sys.ssr.enable_ramdumps=1
|
||||
start vendor.ss_ramdump_local
|
||||
|
||||
on property:persist.vendor.sys.ssr.enable_ramdumps=0
|
||||
stop vendor.ss_ramdump
|
||||
stop vendor.ss_ramdump_local
|
||||
|
Loading…
Reference in New Issue
Block a user