mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 04:22:18 -05:00
get signature result only when not null
This commit is contained in:
parent
94a81dd8ae
commit
59c0948fa8
@ -103,9 +103,11 @@ public class CryptoProviderDemoActivity extends Activity {
|
||||
@Override
|
||||
public void run() {
|
||||
mMessage.setText(new String(outputBytes));
|
||||
Toast.makeText(CryptoProviderDemoActivity.this,
|
||||
"signature result:\n" + signatureResult.toString(), Toast.LENGTH_LONG)
|
||||
.show();
|
||||
if (signatureResult != null) {
|
||||
Toast.makeText(CryptoProviderDemoActivity.this,
|
||||
"signature result:\n" + signatureResult.toString(),
|
||||
Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user