Annotation based simple API flavored with AOP to handle new Android runtime permission model
530
stars
40
forks
source link
Fixing possible IllegalArgumentException: can only use lower 8 bits for requestCode #10
Closed
renaudcerrato closed 8 years ago
Even if that's unlikely to happen,
requestPermissions()
only accept values from 0 to 255. This is a quick fix to avoid any IllegalArgumentException.