mirror of
http://galexander.org/git/simplesshd.git
synced 2025-03-01 15:31:59 +00:00
and now it works, even will create a new ssh directory from scratch
This commit is contained in:
parent
31fd0b37d0
commit
4eecabf241
@ -67,12 +67,14 @@ public class AuthKeys extends Activity {
|
|||||||
|
|
||||||
private void save_authtext() {
|
private void save_authtext() {
|
||||||
String s = get_authtext();
|
String s = get_authtext();
|
||||||
if ((authtext_orig != null) && (s != null) &&
|
if ((s != null) && ((authtext_orig != null) ||
|
||||||
!s.equals(authtext_orig)) {
|
!s.equals(authtext_orig))) {
|
||||||
Intent i = new Intent(this, AuthKeysSave.class);
|
Intent i = new Intent(this, AuthKeysSave.class);
|
||||||
i.putExtra("s", s);
|
i.putExtra("s", s);
|
||||||
startService(i);
|
startService(i);
|
||||||
}
|
}
|
||||||
|
/* so that we won't save it again */
|
||||||
|
authtext_orig = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String get_authtext() {
|
private String get_authtext() {
|
||||||
|
Loading…
Reference in New Issue
Block a user