Home
last modified time | relevance | path

Searched refs:REQUEST_CONTACTS (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java96 private static final int REQUEST_CONTACTS = 1; field in MainActivity
224 REQUEST_CONTACTS); in requestContactsPermissions()
230 ActivityCompat.requestPermissions(this, PERMISSIONS_CONTACT, REQUEST_CONTACTS); in requestContactsPermissions()
286 } else if (requestCode == REQUEST_CONTACTS) { in onRequestPermissionsResult()