public boolean hasDeniedPermission(){
  for (int i=0; i < mPerms.size(); i++) {
    if (mPerms.get(mUserPermission.get(i)) == PackageManager.PERMISSION_DENIED)     return true;
  }
  return false;
}

public boolean hasDeniedPermission ( ) { for ( int i = 0 ; i < mPerms . size ( ) ; i ++ ) { if ( mPerms . get ( mUserPermission . get ( i ) ) == PackageManager . PERMISSION_DENIED ) return true ; } return false ; }
has denied permission boolean .
