Merge "cm: Look at ro.compcache.default too" into froyo
This commit is contained in:
commit
a0d85e2179
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,12 @@
|
|||
# Decides whether or not Compcache is enabled
|
||||
#
|
||||
|
||||
PROP=$(cat /data/property/persist.service.compcache)
|
||||
if [ -e /data/property/persist.service.compcache ];
|
||||
then
|
||||
PROP=`getprop persist.service.compcache`
|
||||
else
|
||||
PROP=`getprop ro.compcache.default`
|
||||
fi
|
||||
|
||||
if [ $PROP == 1 ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue