<BUG>private boolean isMarshmallow() {return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;</BUG><CONTEXT>mCtx.startActivity(intent);}public boolean isGranted(String... permissions) {return !isMarshmallow() || hasPermission_(permissions);}<extra_id_0>}@TargetApi(Build.VERSION_CODES.M)private boolean hasPermission_(String... permissions) {</CONTEXT>
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;