summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-04-22 15:57:34 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-22 15:57:34 -0700
commitdb2e6159dd2991da3944a67b90c4d25af24273d4 (patch)
tree45a93fd7c723ba1aecbeab4b9b730bfafdc22ae8 /packages
parent39837c5a5ee5e568eaf1a7d7a0aaeeabae0cfc37 (diff)
parenta298d6fd2a920e8ff2dfd5fd03a2f95cbce5451f (diff)
downloadframeworks_base-db2e6159dd2991da3944a67b90c4d25af24273d4.zip
frameworks_base-db2e6159dd2991da3944a67b90c4d25af24273d4.tar.gz
frameworks_base-db2e6159dd2991da3944a67b90c4d25af24273d4.tar.bz2
am a298d6fd: am a2a568e5: Merge "Fix error code when media is filled up." into froyo
Merge commit 'a298d6fd2a920e8ff2dfd5fd03a2f95cbce5451f' into kraken * commit 'a298d6fd2a920e8ff2dfd5fd03a2f95cbce5451f': Fix error code when media is filled up.
Diffstat (limited to 'packages')
-rw-r--r--packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
index 79c8f9a..6eaf0cc 100644
--- a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
+++ b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
@@ -416,7 +416,7 @@ public class DefaultContainerService extends IntentService {
return PackageHelper.RECOMMEND_INSTALL_EXTERNAL;
}
}
- if (checkExt || checkBoth && !mediaAvailable) {
+ if ((checkExt || checkBoth) && !mediaAvailable) {
return PackageHelper.RECOMMEND_MEDIA_UNAVAILABLE;
}
return PackageHelper.RECOMMEND_FAILED_INSUFFICIENT_STORAGE;