Without this, BrowserProvder crashes with:
E/AndroidRuntime( 875): java.lang.RuntimeException: Unable to get provider com.android.browser.BrowserProvider: java.lang.NullPointerException
E/AndroidRuntime( 875): at android.app.ActivityThread.installProvider(ActivityThread.java:4269)
E/AndroidRuntime( 875): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4041)
E/AndroidRuntime( 875): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4000)
E/AndroidRuntime( 875): at android.app.ActivityThread.access$2900(ActivityThread.java:118)
E/AndroidRuntime( 875): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1900)
E/AndroidRuntime( 875): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 875): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 875): at android.app.ActivityThread.main(ActivityThread.java:4360)
E/AndroidRuntime( 875): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 875): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 875): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 875): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 875): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 875): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 875): at android.os.Parcel.readException(Parcel.java:1224)
E/AndroidRuntime( 875): at android.os.Parcel.readException(Parcel.java:1206)
E/AndroidRuntime( 875): at android.app.ISearchManager$Stub$Proxy.getSearchableInfo(ISearchManager.java:220)
E/AndroidRuntime( 875): at android.app.SearchManager.getSearchableInfo(SearchManager.java:2056)
E/AndroidRuntime( 875): at com.android.browser.BrowserProvider.updateShowWebSuggestions(BrowserProvider.java:410)
E/AndroidRuntime( 875): at com.android.browser.BrowserProvider.onCreate(BrowserProvider.java:363)
E/AndroidRuntime( 875): at android.content.ContentProvider.attachInfo(ContentProvider.java:725)
E/AndroidRuntime( 875): at android.app.ActivityThread.installProvider(ActivityThread.java:4266)
E/AndroidRuntime( 875): ... 12 more
which is a result of an earlier problem in Searchables:
01-19 11:58:46.317 E/AndroidRuntime( 416): java.lang.RuntimeException: Unable to start receiver com.android.quicksearchbox.SearchWidgetProvider: java.lang.SecurityException: Neither user 10033 nor current process has android.permission.SET_PREFERRED_APPLICATIONS.
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2645)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ActivityThread.access$3100(ActivityThread.java:118)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1912)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.os.Handler.dispatchMessage(Handler.java:99)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.os.Looper.loop(Looper.java:123)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ActivityThread.main(ActivityThread.java:4360)
01-19 11:58:46.317 E/AndroidRuntime( 416): at java.lang.reflect.Method.invokeNative(Native Method)
01-19 11:58:46.317 E/AndroidRuntime( 416): at java.lang.reflect.Method.invoke(Method.java:521)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
01-19 11:58:46.317 E/AndroidRuntime( 416): at dalvik.system.NativeStart.main(Native Method)
01-19 11:58:46.317 E/AndroidRuntime( 416): Caused by: java.lang.SecurityException: Neither user 10033 nor current process has android.permission.SET_PREFERRED_APPLICATIONS.
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.os.Parcel.readException(Parcel.java:1218)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.os.Parcel.readException(Parcel.java:1206)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ISearchManager$Stub$Proxy.getSearchablesInGlobalSearch(ISearchManager.java:242)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.SearchManager.getSearchablesInGlobalSearch(SearchManager.java:2152)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.Sources.addExternalSources(Sources.java:275)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.Sources.updateSources(Sources.java:266)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.Sources.load(Sources.java:235)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.QsbApplication.createSources(QsbApplication.java:96)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.QsbApplication.getSources(QsbApplication.java:89)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.SearchWidgetProvider.getSources(SearchWidgetProvider.java:222)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.SearchWidgetProvider.bindSourceSelector(SearchWidgetProvider.java:162)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.SearchWidgetProvider.updateSearchWidgets(SearchWidgetProvider.java:105)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.SearchWidgetProvider.onUpdate(SearchWidgetProvider.java:90)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.appwidget.AppWidgetProvider.onReceive(AppWidgetProvider.java:61)
01-19 11:58:46.317 E/AndroidRuntime( 416): at com.android.quicksearchbox.SearchWidgetProvider.onReceive(SearchWidgetProvider.java:84)
01-19 11:58:46.317 E/AndroidRuntime( 416): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2636)
01-19 11:58:46.317 E/AndroidRuntime( 416): ... 10 more
Change-Id: I66eff8d571a40a6d724c49c258a49ba9d5c18f9f
commit b03d5f537dee393affddf89663ae6977a5512d98
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 17 14:00:37 2009 -0800
Update cleanspec to facilitate incremental building with full stagefright lib.
commit b92560a1989f8b9cb27a8772cec5346d3d90dc84
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 17 13:31:48 2009 -0800
Enable building stagefright in all builds, make stagefright the default player.
Merge commit 'b16659533e55476bbe2c0b177943ef8f4129e34a'
* commit 'b16659533e55476bbe2c0b177943ef8f4129e34a':
Add clean step for switching GPS API from pdapi to loc_api
Merge commit 'fe8ab167caa0fb93d068a6f93932f9ce3115c327'
* commit 'fe8ab167caa0fb93d068a6f93932f9ce3115c327':
Clean step for the move of SearchableInfo to android.app
Merge commit 'b72e28f991b21535bfcb2ed59ead6ea9a318181c'
* commit 'b72e28f991b21535bfcb2ed59ead6ea9a318181c':
Add cleanspec to remove an old, historical package which
Merge commit '06c3a04ef4a14fb8943c759a6d67cf5c46f5da33'
* commit '06c3a04ef4a14fb8943c759a6d67cf5c46f5da33':
WebKit clean required by move of V8 to external/v8.
IDropBoxService.aidl, which causes some build confusion
with dependencies and Parcelables and so on.
(Will be checked in immediately after the change in question)
Merge commit '2d20f686638400ab6f954572d9a7e6e5b969beef'
* commit '2d20f686638400ab6f954572d9a7e6e5b969beef':
WebKit clean required by merge with new WebKit version.
Merge commit 'ce017f01d006d3e953f3a38f9489360ecd5d0695'
* commit 'ce017f01d006d3e953f3a38f9489360ecd5d0695':
Add a cleanspec rule for the change to bump the API version to 5.