On Monday, 24 March 2014 15:20:14 UTC+5:30, Julien Wajsberg  wrote:
> Le 20/03/2014 01:59, Ernesto Acosta a écrit :
> 
> > El martes, 18 de marzo de 2014 09:22:35 UTC-4, Aravind srinivas  escribió:
> 
> >> I have prepared custom Rom with Gecko1.3.I see call is not working with qc 
> >> ril.if i remove bundles folder,call works fine with moz ril.Have I missed 
> >> some code or patch in Gecko?if needed i can share logs
> 
> > I updated my ZTE Open eBay (American Edition) using this guide 
> > https://hacks.mozilla.org/2014/01/upgrading-your-zte-open-to-firefox-1-1-or-1-2-fastboot-enabled/
> >   and as that version has problems with notifications, I made another 
> > update using this method 
> > http://sl.edujose.org/2013/11/enabling-nightly-updates-of-b2g-on.html 
> 
> >
> 
> > Ok. Everything worked perfect, I was having the bugs were corrected. So I 
> > said why not upgrade to version 1.3, 1.4 or 1.5 that are on 
> > http://update.boot2gecko.org/inari/  
> 
> >
> 
> > I went to dip into this guide and voila, I upgraded to version 1.3 and it 
> > turns out that RIL was off. Same with the 1.4 version of the link 
> > http://sl.edujose.org/2013/11/enabling-nightly-updates-of-b2g-on.html. To 
> > make matters worse, the 1.4 does not allow me to manage my device using 
> > ADB, so I had to revert to version 1.1 that offers ZTE and then upgrade to 
> > version 1.2.
> 
> >
> 
> > Not only that, but the supposed version 1.4 was identical to version 1.3 
> > and version 1.2 in terms of interface. So I wonder what that place really 
> > used to update any version after 1.2?
> 
> >
> 
> 
> 
> I didn't know this place but don't forget we don't change the whole user
> 
> interface for each version ;)
> 
> 
> 
> About ADB, you should have a look to the Settings' Developer menu. (BTW
> 
> you'll notice that in 1.4 it's been moved in another location, which is
> 
> a hint you're using 1.4).
> 
> 
> 
> 1.4 is still in a stabilizing era so be prepared to report bugs if you
> 
> find some :)
> 
> 
> 
> -- 
> 
> Julien

I have found out issue .
My code was using below code  in gecko\toolkit\xre\nsXREDirProvider.cpp:
nsXREDirProvider::LoadAppBundleDirs()
{
nsCOMPtr<nsIFile> dir;
  
  //Revert this below modification because of regression by Bug 842334
  nsresult rv = mXULAppDir->Clone(getter_AddRefs(dir));
  if (NS_FAILED(rv))
    return;
...
...
...
...

I commented above code and used code as below (referring to 
https://bugzilla.mozilla.org/show_bug.cgi?id=842334)

  bool persistent = false;
  nsresult rv = GetFile(XRE_EXECUTABLE_FILE, &persistent, getter_AddRefs(dir));
  if (NS_FAILED(rv))
    return;

  dir->SetNativeLeafName(NS_LITERAL_CSTRING("distribution"));

  dir->AppendNative(NS_LITERAL_CSTRING("distribution"));

Honestly I don't know what is happening here. I found this fix by luck. I will 
be grateful if somebody help me to understand this bug. I have read the bug 
history and got some idea of this issue

Regards,
Aravind
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to