replicant-vendor_replicant/prebuilt/common/bin/otablock
Pawit Pornkitprasan 41b862ca20 otablock: also disable BroadcastReceiver
otherwise it'll prevent the device from going to sleep

Change-Id: I56e20c4b3e33c78f30e095f38240d6663c9d74f5
2013-08-29 22:03:29 +07:00

11 lines
406 B
Bash

#!/system/bin/sh
## If these activities are installed, get rid of them. We don't want updates
## coming in from outside CM
exec 2>/dev/null
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService\$Receiver