File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -466,6 +466,34 @@ public String getMenuTitle() {
466466 "WRITE_SYNC_SETTINGS" , "Allows applications to write the sync settings."
467467 };
468468
469+ // Dangerous permissions that need runtime approval:
470+ // https://developer.android.com/guide/topics/security/permissions.html#normal-dangerous
471+ public static final String [] dangerous = {
472+ "READ_CALENDAR" ,
473+ "WRITE_CALENDAR" ,
474+ "CAMERA" ,
475+ "READ_CONTACTS" ,
476+ "WRITE_CONTACTS" ,
477+ "GET_ACCOUNTS" ,
478+ "ACCESS_FINE_LOCATION" ,
479+ "ACCESS_COARSE_LOCATION" ,
480+ "RECORD_AUDIO" ,
481+ "READ_PHONE_STATE" ,
482+ "CALL_PHONE" ,
483+ "READ_CALL_LOG" ,
484+ "WRITE_CALL_LOG" ,
485+ "ADD_VOICEMAIL" ,
486+ "USE_SIP" ,
487+ "PROCESS_OUTGOING_CALLS" ,
488+ "SEND_SMS" ,
489+ "RECEIVE_SMS" ,
490+ "READ_SMS" ,
491+ "RECEIVE_WAP_PUSH" ,
492+ "RECEIVE_MMS" ,
493+ "READ_EXTERNAL_STORAGE" ,
494+ "WRITE_EXTERNAL_STORAGE"
495+ };
496+
469497 static String [] title ;
470498 static String [] description ;
471499 static int count ;
You can’t perform that action at this time.
0 commit comments