Skip to content

Commit 27c633f

Browse files
committed
Added permission for read/write to external storage
1 parent 7db987a commit 27c633f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2121
package="com.sample">
2222

23+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
24+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
25+
2326
<application
2427
android:allowBackup="true"
2528
android:icon="@mipmap/ic_launcher"

debug-db/src/main/java/com/amitshekhar/server/ClientServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void run() {
8484
} catch (IOException e) {
8585
Log.e(TAG, "Web server error.", e);
8686
} catch (Exception ignore) {
87-
87+
Log.e(TAG, "Exception.", ignore);
8888
}
8989
}
9090

0 commit comments

Comments
 (0)