2.And I see the following exception,it seems it is not related with the
crash.And I don't know what it is. Why it need the permission related
with the Fennec?
E/DatabaseUtils(13655): Writing exception to parcel
E/DatabaseUtils(13655): java.lang.SecurityException: Permission Denial:
writing org.mozilla.gecko.db.BrowserProvider uri
content://org.mozilla.fennec_pengjianqing.db.browser/thumbnails?profile=default
from pid=29916, uid=10138 requires
org.mozilla.fennec_pengjianqing.permissions.BROWSER_PROVIDER, or
grantUriPermission()
E/DatabaseUtils(13655): at
android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:393)
E/DatabaseUtils(13655): at
android.content.ContentProvider$Transport.update(ContentProvider.java:234)
E/DatabaseUtils(13655): at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:203)
E/DatabaseUtils(13655): at android.os.Binder.execTransact(Binder.java:367)
E/DatabaseUtils(13655): at dalvik.system.NativeStart.run(Native Method)
You need to declare a number of permissions in your project's
AndroidManifest.xml. See
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#295.
It is possible that you will need to declare a sharedUserId, but I doubt
it and we can investigate that if and when it happens.
Nick
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev