boolean function ( Context arg0 , String arg1 ) { final PackageManager loc0 = arg0 . getPackageManager ( ) ; final Intent loc1 = new Intent ( arg1 ) ; List < ResolveInfo > loc2 = loc0 . queryIntentActivities ( loc1 , PackageManager . MATCH_DEFAULT_ONLY ) ; return loc2 . size ( ) > 0 ; }
indicates whether the specified action can be used as an intent . this method queries the package manager for installed packages that can respond to an intent with the specified action . if no suitable package is found , this method returns false . concode_field_sep PlaceHolder placeHolder concode_field_sep void setThemeFromPreferences concode_elem_sep int getAppVersionCode concode_elem_sep String getAppVersionName