/** Opens import keys from another device wizard. */
private void importKey() {
checkInput(true, new ParameterRunnable<Boolean>() {
@Override
public void run(Boolean result) {
if (result) {
// import keys -- number verification with server is still needed
// though because of key rollback protection
// TODO allow for manual validation too
// do not wait for the generated key
stopKeyReceiver();
new FileChooserDialog.Builder(NumberValidation.this)
.initialPath(PersonalKeyPack.DEFAULT_KEYPACK.getParent())
.mimeType(PersonalKeyPack.KEYPACK_MIME)
.show(getSupportFragmentManager());
}
}
});
}
NumberValidation.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:androidclient
作者:
评论列表
文章目录