diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-03-09 11:08:22 +0100 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-03-09 11:08:22 +0100 |
commit | 781f089ee1730f596015145706f2302218efeaed (patch) | |
tree | 4dc61e290f4f90ae59f236b50235dbd787b32a6c /src/org/thialfihar/android/apg/MainActivity.java | |
parent | 5ede7d475617257656bf894d39b5eed1853a7231 (diff) | |
parent | debb90409a0a90ce9351c83e42cb72f8935bacb1 (diff) | |
download | open-keychain-781f089ee1730f596015145706f2302218efeaed.tar.gz open-keychain-781f089ee1730f596015145706f2302218efeaed.tar.bz2 open-keychain-781f089ee1730f596015145706f2302218efeaed.zip |
merged senecasos repo
Diffstat (limited to 'src/org/thialfihar/android/apg/MainActivity.java')
-rw-r--r-- | src/org/thialfihar/android/apg/MainActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/thialfihar/android/apg/MainActivity.java b/src/org/thialfihar/android/apg/MainActivity.java index e7f2d5199..1d4ca37ff 100644 --- a/src/org/thialfihar/android/apg/MainActivity.java +++ b/src/org/thialfihar/android/apg/MainActivity.java @@ -16,9 +16,11 @@ package org.thialfihar.android.apg; +import java.security.Security; import java.util.regex.Matcher; import java.util.regex.Pattern; +import org.spongycastle.jce.provider.BouncyCastleProvider; import org.thialfihar.android.apg.provider.Accounts; import android.app.AlertDialog; @@ -51,6 +53,10 @@ import android.widget.TextView; import android.widget.Toast; public class MainActivity extends BaseActivity { + static { + Security.addProvider(new BouncyCastleProvider()); + } + private ListView mAccounts = null; private AccountListAdapter mListAdapter = null; private Cursor mAccountCursor; |