diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-11-16 02:34:21 +0100 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-11-16 02:34:21 +0100 |
commit | bbddc4c56dbb71c536aac736d197bcc8e49f6769 (patch) | |
tree | b4f255f9108495e754baee5e1ebe6ce5d2c40109 /org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java | |
parent | 0f3164c5b58f1f368a2710e0c653bb911d74df6d (diff) | |
download | open-keychain-bbddc4c56dbb71c536aac736d197bcc8e49f6769.tar.gz open-keychain-bbddc4c56dbb71c536aac736d197bcc8e49f6769.tar.bz2 open-keychain-bbddc4c56dbb71c536aac736d197bcc8e49f6769.zip |
implemented security model
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java b/org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java new file mode 100644 index 000000000..61cca8bed --- /dev/null +++ b/org_apg/src/org/thialfihar/android/apg/provider/ApgProviderExternal.java @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2012 Dominik Schürmann <dominik@dominikschuermann.de> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.thialfihar.android.apg.provider; + +/** + * The same content provider as ApgProviderInternal except that it does not give out keyRing and key + * blob data when querying. + * + * This provider is exported with a readPermission in AndroidManifest.xml + */ +public class ApgProviderExternal extends ApgProvider { + + static { + sInternalProvider = false; + sUriMatcher = buildUriMatcher(sInternalProvider); + } + +} |