summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-16 18:22:25 +0400
committerAndrew Dolgov <[email protected]>2012-10-16 18:22:25 +0400
commit96f27f4896e7445bacffc296bd2d0e32aa063832 (patch)
tree4e353e5b38a89bdaa9987d4e298390b177ce27d5
parentdaa2a64ed2fa7ac2f41b9e19e27180e4057e6b5b (diff)
fix storage not detected as writable
-rw-r--r--src/org/fox/ttcomics/CommonActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/fox/ttcomics/CommonActivity.java b/src/org/fox/ttcomics/CommonActivity.java
index 7590f9e..fb6b8ee 100644
--- a/src/org/fox/ttcomics/CommonActivity.java
+++ b/src/org/fox/ttcomics/CommonActivity.java
@@ -60,6 +60,7 @@ public class CommonActivity extends FragmentActivity {
if (Environment.MEDIA_MOUNTED.equals(state)) {
m_storageAvailable = true;
+ m_storageWritable = true;
} else if (Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {
m_storageAvailable = true;
m_storageWritable = false;