Hi all,

As part of geckoview refactoring, bug 1291384 added BrowserDB.from() to replace GeckoProfile.getDB(). Everything else should work as before. So, instead of

> final BrowserDB db = profile.getDB();

You'd write

> final BrowserDB db = BrowserDB.from(profile);


BrowserDB.from also has an overload that accepts a Context; instead of

> final BrowserDB db = GeckoProfile.get(context).getDB();

You'd write

> final BrowserDB db = BrowserDB.from(context);


Cheers,
Jim

_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to