Yes, but this only works because the orientation platform version (11) is a number in this case. So this method doesn't work if you want to request (for example) storage permissions for the ASD for devices with API < 19 (< Android 4.4). Or API 14 (Android 4.0.1 - 4.0.2).