Home | History | Annotate | Download | only in com.example.android.system.runtimepermissions

Lines Matching full:contacts

24 import com.example.android.system.runtimepermissions.contacts.ContactsFragment;
49 * Contacts permissions (({@link android.Manifest.permission#READ_CONTACTS} and ({@link
50 * android.Manifest.permission#WRITE_CONTACTS})) are requested when the 'Show and Add Contacts'
52 * clicked to display the first contact in the contacts database and to add a dummy contact
78 * For example the camera cannot be opened or an empty list of contacts is returned. No special
94 * Id to identify a contacts permission request.
99 * Permissions required to read and write contacts. Used by the {@link ContactsFragment}.
178 Log.i(TAG, "Show contacts button pressed. Checking permissions.");
185 // Contacts permissions have not been granted.
191 // Contact permissions have been granted. Show the contacts fragment.
199 * Requests the Contacts permissions.
214 "Displaying contacts permission rationale to provide additional context.");
243 .addToBackStack("contacts")
248 * Display the {@link ContactsFragment} in the content area if the required contacts
255 .addToBackStack("contacts")
289 // We have requested multiple permissions for contacts, so all of them need to be
292 // All required permissions have been granted, display contacts fragment.
297 Log.i(TAG, "Contacts permissions were NOT granted.");