1. The following manifest code, you can throw into one of your activity, and then run the app to see the effect
<intent-filter> <action android:name= "Android.intent.action.VIEW"/> <data android: Mimetype= "*/*"/> <data android:host= "*"/> <data android:scheme= ""/> </ Intent-filter>
2. Analysis:
(1) The phenomenon you see should be that the Android framework stops running, and Google + stops running and so on.
(2) for what? The following is no basis for the scrutiny, has not thought about the source, but after testing, probably almost.
First mimetype,host the two global match, in addition to a scheme= "", the system must be resolved when the resolution is not good, as long as these three conditions coexist, will parse the error.
Error entry: Through any of the above three data startactivity will crash, using any of the above data as a filter Packagemanager queryintent will also collapse, In fact, whenever Packagemanager to read the information about the packet that exists in the filter, it throws a parcel parsing exception, and the type is a null pointer.
Interested apes can go to see the implementation of the source code, the use of this bug with root permissions may affect the normal function of all apps on the phone, so hurry to Google bug ah.
BTW, who grilled the real reason, trouble to share with me ha.
New Android Bug, error parsing app config file