From 15e432d8eed062a9289815db64c1a30409dde335 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Thu, 30 Apr 2015 17:15:11 -0500 Subject: [PATCH] init: stop ril daemons if ro.radio.noril is set * no reason to leave these spinning if the noril prop is enabled Change-Id: If52381962282f2c2955a743b57fbec10edb8199e --- prebuilt/common/etc/init.local.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index f0331ff6..099e212c 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -116,6 +116,12 @@ on property:service.adb.tcp.port=-1 stop adbd start adbd +# Disable ril services if noril prop is set +on property:ro.radio.noril=1 + stop ril-daemon + stop qmuxd + stop netmgrd + on property:persist.radio.noril=1 setprop ro.radio.noril 1