Merge "Fix error code when media is filled up." into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
a2a568e58d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user