Remove runtime check to fix passphrase service

This commit is contained in:
Dominik Schürmann 2014-08-01 00:18:46 +02:00
parent a86b1d92f8
commit f7cbf39555

View File

@ -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