diff options
author | Steve Kondik <shade@chemlab.org> | 2010-08-20 13:42:40 -0400 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-08-20 13:42:40 -0400 |
commit | 4630e944fda644957d8c5ddb79d9b19ae493d928 (patch) | |
tree | cd13165c3fe7258ad127f46947e777c961b24166 /prebuilt/common | |
parent | fe18fc31a6046fdb90dc97ca0ed4075bf198f32e (diff) | |
download | vendor_replicant-4630e944fda644957d8c5ddb79d9b19ae493d928.zip vendor_replicant-4630e944fda644957d8c5ddb79d9b19ae493d928.tar.gz vendor_replicant-4630e944fda644957d8c5ddb79d9b19ae493d928.tar.bz2 |
cm: Look at ro.compcache.default too
Diffstat (limited to 'prebuilt/common')
-rwxr-xr-x | prebuilt/common/bin/handle_compcache | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/prebuilt/common/bin/handle_compcache b/prebuilt/common/bin/handle_compcache index 52b84d9..527e6ec 100755 --- a/prebuilt/common/bin/handle_compcache +++ b/prebuilt/common/bin/handle_compcache @@ -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 |