mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-05 08:45:08 -05:00
Remove runtime check to fix passphrase service
This commit is contained in:
parent
a86b1d92f8
commit
f7cbf39555
@ -233,12 +233,6 @@ public class ProviderHelper {
|
||||
}
|
||||
|
||||
private KeyRing getCanonicalizedKeyRing(Uri queryUri, boolean secret) throws NotFoundException {
|
||||
|
||||
// if this is not a unified query, we /will/ get hard to trace errors below!
|
||||
if ( ! queryUri.getPath().contains("unified")) {
|
||||
throw new RuntimeException("only unified uris can be passed to getCanonicalizedKeyRing!");
|
||||
}
|
||||
|
||||
Cursor cursor = mContentResolver.query(queryUri,
|
||||
new String[]{
|
||||
// we pick from cache only information that is not easily available from keyrings
|
||||
|
Loading…
Reference in New Issue
Block a user