Permalink
Browse files

Fix SuggestionProvider permissions

Bug 2513623

Change-Id: I906d6c548a82568572fc5b5eb852ba4c81fa2bdb
  • Loading branch information...
Tom Taylor
Tom Taylor committed Mar 15, 2010
1 parent 11fddba commit 6e7f8088ac1595ebed8cff0cd7a1189e7899751a
Showing with 10 additions and 2 deletions.
  1. +10 −2 AndroidManifest.xml
View
@@ -253,7 +253,15 @@
<!-- Search Suggestions Provider -->
<provider android:name="SuggestionsProvider"
- android:authorities="com.android.mms.SuggestionsProvider" />
-
+ android:readPermission="android.permission.READ_SMS"
+ android:authorities="com.android.mms.SuggestionsProvider" >
+ <path-permission
+ android:pathPrefix="/search_suggest_query"
+ android:readPermission="android.permission.GLOBAL_SEARCH" />
+ <path-permission
+ android:pathPrefix="/search_suggest_shortcut"
+ android:readPermission="android.permission.GLOBAL_SEARCH" />
+ </provider>
+
</application>
</manifest>

0 comments on commit 6e7f808

Please sign in to comment.