Skip to content

Commit

Permalink
Permission WRITE_CONTACTS instead of WRITE_CALL_LOG (for API < 16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliturin committed May 13, 2017
1 parent ab4f673 commit 29cf111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
<uses-permission android:name="android.permission.READ_SMS" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class Permissions {
public static final String CALL_PHONE = "android.permission.CALL_PHONE";
public static final String READ_PHONE_STATE = "android.permission.READ_PHONE_STATE";
public static final String READ_CONTACTS = "android.permission.READ_CONTACTS";
public static final String WRITE_CONTACTS = "android.permission.WRITE_CONTACTS";
public static final String READ_CALL_LOG = "android.permission.READ_CALL_LOG";
public static final String WRITE_CALL_LOG = "android.permission.WRITE_CALL_LOG";
public static final String VIBRATE = "android.permission.VIBRATE";
Expand All @@ -65,6 +66,7 @@ public class Permissions {
CALL_PHONE,
READ_PHONE_STATE,
READ_CONTACTS,
WRITE_CONTACTS,
READ_CALL_LOG,
WRITE_CALL_LOG,
VIBRATE
Expand Down

0 comments on commit 29cf111

Please sign in to comment.