Hi,
1. I have integrated the GeckoView[1] to our StepActivity.When I press back
and start the StepActivity again,it will crash.
But if I call the geckoview.destroy() in onDestroy,and start the
StepActivity again,it will not crash,but just blank
if (null != geckoView){
((ViewGroup)geckoView.getParent()).removeView(geckoView);
geckoView.removeAllViews();
geckoView.destroy();
geckoView = null;
}
[1] GeckoView already patched the following files,based on the commit(The
latest GeckoView just show the blank.)
commit 6bd56ecf96af5261029a3d0334501ac02376c33e
Author: Mark Finkle <[email protected]>
Date: Wed Oct 16 17:02:39 2013 -0400
Bug 927451 - GeckoView profile folder is not created r=blassey r=wesj
patch -p1 <../patch/geckoview-chrome-a.txt
patch -p1 <../patch/geckoview-browser-api.txt
patch -p1 <../patch/geckoview-content-a.txt
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)
On Tue, Oct 22, 2013 at 10:26 PM, Jianqing Peng <[email protected]>wrote:
> The Moto XOOM, 4.0
>
>
>
>
> On Tue, Oct 22, 2013 at 6:47 PM, Mark Finkle <[email protected]> wrote:
>
>>
>>
>> ------------------------------
>>
>>
>> I try to build the latest GeckoView,but it can not show the web page,just
>> blank.
>> Anyone have meet the same problem?
>>
>> What devices and version of Android are you using?
>>
>>
>
>
> --
> http://pjq.me
>
--
http://pjq.me
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev