Mercurial > 510Connectbot
comparison app/src/main/java/com/five_ten_sg/connectbot/PubkeyListActivity.java @ 497:73fa7329dc87
updates for android10+
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 06 Jun 2022 13:01:45 -0700 |
parents | d29cce60f393 |
children |
comparison
equal
deleted
inserted
replaced
496:f698820bffdf | 497:73fa7329dc87 |
---|---|
541 errorId = R.string.pubkey_public_export_problem; | 541 errorId = R.string.pubkey_public_export_problem; |
542 successId = R.string.pubkey_public_export_success; | 542 successId = R.string.pubkey_public_export_success; |
543 errorString = "Error exporting public key"; | 543 errorString = "Error exporting public key"; |
544 } | 544 } |
545 | 545 |
546 final String sdcard = Environment.getExternalStorageDirectory().getAbsolutePath(); | 546 final String sdcard = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath(); |
547 final EditText fileName = new EditText(PubkeyListActivity.this); | 547 final EditText fileName = new EditText(PubkeyListActivity.this); |
548 fileName.setSingleLine(); | 548 fileName.setSingleLine(); |
549 | 549 |
550 if (nickName != null) { | 550 if (nickName != null) { |
551 if (keyType == KEYTYPE_PRIVATE) | 551 if (keyType == KEYTYPE_PRIVATE) |