commit | 79fcc721bdbd0ef44b4c7a8b735b8f15e0faffb6 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Oct 03 11:02:16 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Thu Oct 03 11:11:55 2013 -0700 |
tree | 2c48b82a08a532ae539a681f8a6e9ea556c43eb7 | |
parent | 85fb765e613f03b51203a1384f5343394fb21d98 [diff] |
Only primary external storage is writable. Verify that mount points not representing primary external storage do not allow writing. Apps are still allowed to write to package- specific directories on secondary storage devices, as verified by testAllPackageDirsWritable(). More tests to verify getStorageState() behavior. Handle missing secondary external storage devices with null checks. Bug: 10577541 Change-Id: I8ffb024c83cd79156c764c667812b850a57781a3