PERMISSIONS GRANTED BY DEFAULT • EMPTY DATA WHEN USERS EXPLICITLY DENY PERMISSIONS • PRE23 PROTECTION • WRITE_SETTINGS IS NO MORE • SYSTEM_ALERT_WINDOW IS GRANTABLE • 6.0: GET_ACCOUNTS NOT NEEDED FOR YOUR OWN ACCOUNT
context.getPackageName())); List<ResolveInfo> handlers = context.getPackageManager().queryIntentActivities( appSettings, 0); if (handlers.isEmpty()) { // We can't go to Settings. return; } context.startActivity(appSettings);