summaryrefslogtreecommitdiffstats
path: root/prebuilt/common/bin
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-09-01 16:07:57 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-09-01 16:29:16 +0700
commit04ffabe3dd0893d377e166a1c89925584c2a5924 (patch)
tree1a45cf89358346575ee711f2892234a26417a7dc /prebuilt/common/bin
parent0d6d3e692e3c81ac32c9488d73ac9fa6403feb7d (diff)
downloadvendor_replicant-04ffabe3dd0893d377e166a1c89925584c2a5924.zip
vendor_replicant-04ffabe3dd0893d377e166a1c89925584c2a5924.tar.gz
vendor_replicant-04ffabe3dd0893d377e166a1c89925584c2a5924.tar.bz2
Use Package Manager to disable stock OTA
This reverts commit ea14a88a2ac567104f267fda5a4507d0ae48040c. Using the Package Manager prevents any danling wakelock from killed service/receiver. Change-Id: Ie3162ca4b18a7bc9c55613af39e88ea980407e5f
Diffstat (limited to 'prebuilt/common/bin')
-rw-r--r--prebuilt/common/bin/otablock10
1 files changed, 0 insertions, 10 deletions
diff --git a/prebuilt/common/bin/otablock b/prebuilt/common/bin/otablock
deleted file mode 100644
index 62dbd1b..0000000
--- a/prebuilt/common/bin/otablock
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/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