Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent stock OTA activities from running in CM
Change-Id: I3f586cd246fc351afb82c94f41329bf930f6f41a
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters