Compare commits
No commits in common. "8f9728cd60ccb7c9902453a6ce37a38d5154a3aa" and "a1bf8b4fba3c61e63e5a062d09e0eb019b8d2e99" have entirely different histories.
8f9728cd60
...
a1bf8b4fba
3 changed files with 5 additions and 23 deletions
|
@ -331,18 +331,12 @@ public class SecurityTokenOperationActivity extends BaseSecurityTokenActivity {
|
||||||
protected Void doInBackground(Void... params) {
|
protected Void doInBackground(Void... params) {
|
||||||
// check all 200ms if Security Token has been taken away
|
// check all 200ms if Security Token has been taken away
|
||||||
while (true) {
|
while (true) {
|
||||||
try {
|
if (stConnection.isConnected()) {
|
||||||
if (stConnection.isConnected()) {
|
try {
|
||||||
Thread.sleep(200);
|
Thread.sleep(200);
|
||||||
} else {
|
} catch (InterruptedException ignored) {
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
} catch (InterruptedException ignored) {
|
} else {
|
||||||
// Sleep interrupted; ignore
|
|
||||||
} catch (SecurityException ignored) {
|
|
||||||
// In newer version of Android, isConnected() can throw an SecurityException
|
|
||||||
// when the Tag object becomes "stale"; this simply means the tag has been removed
|
|
||||||
// (and possibly rediscovered), so we can safely break from here.
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,12 +130,4 @@ public class SplitUserIdTest {
|
||||||
Assert.assertEquals("this is a comment", info.comment);
|
Assert.assertEquals("this is a comment", info.comment);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
}
|
||||||
public void splitUserIdWithEmailWithoutTldShouldReturnNameAndEmail() {
|
|
||||||
OpenPgpUtils.UserId info = KeyRing.splitUserId("Max Mustermann <max@localhost>");
|
|
||||||
Assert.assertEquals("Max Mustermann", info.name);
|
|
||||||
Assert.assertEquals("max@localhost", info.email);
|
|
||||||
Assert.assertNull(info.comment);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,7 +1,3 @@
|
||||||
**WARNING: This software is no longer actively developed.**
|
|
||||||
We will still apply security fixes where reported, and do basic maintenance work, but no new features or will be worked on.
|
|
||||||
We will try to consider and merge contributions where possible.
|
|
||||||
|
|
||||||
# OpenKeychain (for Android)
|
# OpenKeychain (for Android)
|
||||||
|
|
||||||
OpenKeychain is an OpenPGP implementation for Android.
|
OpenKeychain is an OpenPGP implementation for Android.
|
||||||
|
|
Loading…
Add table
Reference in a new issue