public ChooserIntentBuilder priority(String... packageNames){
  mIntent.putExtra(BottomSheetChooserActivity.EXTRA_PRIORITY_PACKAGES,new ArrayList<>(Arrays.asList(packageNames)));
  return this;
}

public ChooserIntentBuilder priority ( String ... packageNames ) { mIntent . putExtra ( BottomSheetChooserActivity . EXTRA_PRIORITY_PACKAGES , new ArrayList < > ( Arrays . asList ( packageNames ) ) ) ; return this ; }
sets the items which should be listed first in the chooser . first item in the list will be shown first . if history is enabled , history items will appear before the priority items .
