question: public String [ ] grantedPermissions ( ) { List < String > list = new ArrayList ( ) ; for ( int i = 0 ; i < mPerms . size ( ) ; i ++ ) { if ( mPerms . get ( mUserPermission . get ( i ) ) == PackageManager . PERMISSION_GRANTED ) list . add ( mUserPermission . get ( i ) ) ; } return list . toArray ( new String [ list . size ( ) ] ) ; }
target:  Granted permissions string [ ].