fix openpgp4fpr demo

This commit is contained in:
Dominik Schürmann 2014-02-21 16:34:14 +01:00
parent e12598028f
commit d1e8acd302

View File

@ -159,7 +159,7 @@ public class IntentActivity extends PreferenceActivity {
public boolean onPreferenceClick(Preference preference) { public boolean onPreferenceClick(Preference preference) {
try { try {
Intent intent = new Intent(Intent.ACTION_VIEW); Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("mOpenpgp4fpr:73EE2314F65FA92EC2390D3A718C070100012282")); intent.setData(Uri.parse("openpgp4fpr:73EE2314F65FA92EC2390D3A718C070100012282"));
startActivity(intent); startActivity(intent);
} catch (ActivityNotFoundException e) { } catch (ActivityNotFoundException e) {
Toast.makeText(IntentActivity.this, "Activity not found!", Toast.LENGTH_LONG).show(); Toast.makeText(IntentActivity.this, "Activity not found!", Toast.LENGTH_LONG).show();