Remove request for permission that doesn't exist < O

This commit is contained in:
Moxie Marlinspike 2017-11-30 13:04:11 -08:00
parent 7b2b5742c7
commit c58d5c32bb

View File

@ -239,7 +239,7 @@ public class RegistrationActivity extends BaseActionBarActivity implements Verif
.request(Manifest.permission.WRITE_CONTACTS, Manifest.permission.READ_CONTACTS, .request(Manifest.permission.WRITE_CONTACTS, Manifest.permission.READ_CONTACTS,
Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE,
Manifest.permission.READ_PHONE_STATE, Manifest.permission.READ_CALL_LOG, Manifest.permission.READ_PHONE_STATE, Manifest.permission.READ_CALL_LOG,
Manifest.permission.PROCESS_OUTGOING_CALLS, Manifest.permission.ANSWER_PHONE_CALLS) Manifest.permission.PROCESS_OUTGOING_CALLS)
.ifNecessary() .ifNecessary()
.withRationaleDialog(getString(R.string.RegistrationActivity_signal_needs_access_to_your_contacts_and_media_in_order_to_connect_with_friends), .withRationaleDialog(getString(R.string.RegistrationActivity_signal_needs_access_to_your_contacts_and_media_in_order_to_connect_with_friends),
R.drawable.ic_contacts_white_48dp, R.drawable.ic_folder_white_48dp) R.drawable.ic_contacts_white_48dp, R.drawable.ic_folder_white_48dp)