public void requestPasswordForShareViaLink(boolean createShare){
  SharePasswordDialogFragment dialog=SharePasswordDialogFragment.newInstance(mFile,createShare);
  dialog.show(getFragmentManager(),SharePasswordDialogFragment.PASSWORD_FRAGMENT);
}

public void requestPasswordForShareViaLink ( boolean createShare ) { SharePasswordDialogFragment dialog = SharePasswordDialogFragment . newInstance ( mFile , createShare ) ; dialog . show ( getFragmentManager ( ) , SharePasswordDialogFragment . PASSWORD_FRAGMENT ) ; }
starts a dialog that requests a password to the user to protect a share link .
