Commit Graph

56 Commits

Author SHA1 Message Date
Mark Finkle
696c6c54af Bug 1208240 - Move the Adjust initialization to BrowserApp and observe FHR opt-out r=nalexander 2015-09-26 15:12:22 -04:00
Liang-Heng Chen
796c887456 Bug 1158029 - Part 1: JavaScript module of NsdManager. r=rnewman 2015-07-14 23:23:00 -04:00
Jim Chen
2275d2a50e Bug 1166309 - Move mozglue loading to GeckoThread; r=snorp 2015-06-10 00:25:01 -04:00
Richard Newman
2cd7fed4ae Bug 1169393 - Move Adjust-related stuff to AdjustConstants. r=nalexander 2015-05-29 15:52:42 -07:00
Mark Finkle
c057f857cf Bug 1143888 - Integrate the Adjust install tracking SDK. r=mfinkle 2015-04-08 22:49:16 -07:00
Richard Newman
e03ea96bcf Bug 1123688 - Set BrowserDB factory in application startup, not only for GeckoApp subclasses. r=bnicholson
The issue: only by launching GeckoApp (or a subclass) did we specify what kind of DB we wanted. If we don't specify, we get a StubBrowserDB.

The search activity is not a GeckoApp, but it does implicitly access a profile.

The same is true for Sync: a background Sync would eventually cause the CP to touch GeckoProfile to get the profile directory.

Both of these avenues will poison the GeckoProfile cache, storing a profile with a database member that's a StubBrowserDB.

If you subsequently launched the browser you'd get that GeckoProfile instance from the profile cache. StubBrowserDB deliberately returns null for some queries -- such as getTopSites. That causes us to throw here.

The solution I chose: have *GeckoApplication* specify which kind of DB to use, and then have WebappImpl (the only subclass for which we want different behavior) override it.

GeckoView consumers remain unaffected, because they have their own Application class, and so the usual GeckoProfile fallback applies.
2015-01-22 20:23:38 -08:00
Richard Newman
62fa7b6eee Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.
2015-01-11 20:45:09 -08:00
Michael Comella
d60fd2f075 Bug 1105053 - Move LightweightTheme* to lwt/. r=vivek 2014-12-05 12:21:42 -08:00
wesj
8e6d5d9e57 Bug 1070086 - When files are deleted from Firefox's DownloadManager, also remove them from Android's. r=bnicholson 2014-09-30 11:59:00 -07:00
Richard Newman
41d84e3e79 Bug 1042984 - Add extensive logging and descriptive crash data for library load errors. r=mfinkle 2014-07-24 09:39:48 -07:00
Wes Johnston
4edd9ce5cd Bug 1004495 - Revamp notification handlers to work when Gecko is not running. r=bnicholson 2014-06-27 13:25:00 -07:00
Brad Lassey
26ad678b4e back out bug 1025931 r=backout a=backout 2014-07-03 11:55:48 -04:00
Brad Lassey
306e0e68bb bug 1025931 - Crash java.lang.NullPointerException in in org.mozilla.gecko.GeckoAppShell.getContext r=snorp 2014-06-26 09:37:47 -04:00
Ed Morley
f7456e3888 Backed out changeset fd8d40d26de8 (bug 1025931) for robocop-1 failures 2014-06-27 15:40:12 +01:00
Brad Lassey
23c3945ede bug 1025931 - Crash java.lang.NullPointerException in in org.mozilla.gecko.GeckoAppShell.getContext r=snorp 2014-06-26 09:37:47 -04:00
Lucas Rocha
bc2b3882a7 Bug 994734 - Rename HomeConfigInvalidator to HomePanelsManager (r=margaret) 2014-04-23 15:22:34 +01:00
Richard Newman
0a50eb7678 Bug 970176 - Part 1: rework LocaleManager to simplify use from android-sync. r=nalexander 2014-04-15 15:07:14 -07:00
Richard Newman
bd939abf26 Bug 949495 - Rework context handling. r=mfinkle 2014-04-02 18:33:24 -07:00
Richard Newman
dd3dd366fe Bug 969637 - NullPointerException in org.mozilla.gecko.GeckoConnectivityReceiver.start. r=wesj 2014-02-27 12:32:34 -08:00
Lucas Rocha
7214727e9d Bug 975357 - Initialize HomeConfigInvalidator in GeckoApplication.onCreate() (r=margaret) 2014-02-24 10:19:13 +00:00
Wes Johnston
5ee1ac3819 Bug 970506 - Break up FilePicker and ActivityHandlerHelper. r=lucasr 2014-02-14 12:02:05 -08:00
Lucas Rocha
05366419f9 Bug 949174/964375/952311 - Introduce HomeConfigInvalidator to handle install/invalidation (r=margaret) 2014-02-05 14:14:53 +00:00
Richard Newman
c25d72415e Bug 945832 - java.lang.IllegalStateException: No ContextGetter; cannot fetch prefs. on rotation or system locale change. r=wesj 2013-12-03 15:05:43 -08:00
Richard Newman
b677ff964c Bug 936756 - Switch locales via pref, not via system locale setting. r=mfinkle,sriram (relanded as one patch) 2013-12-03 15:05:43 -08:00
Mark Finkle
92472d585d Backout 9ebed437d78f, 606c4b4ab77f, 686b4b5a5be3, c46514ce6886, 9cbe6533c480 due to critical breakage in bug 945723 2013-12-03 10:15:26 -05:00
Richard Newman
c11f4eadfa Bug 936756 - Part 2: implement loading of locale from prefs. r=mfinkle 2013-12-01 21:53:17 -08:00
Wes Kocher
13e3b3fd0b Merge fx-team to m-c 2013-11-11 16:11:16 -08:00
Federico Paolinelli
b4f89e1d79 Bug 934345 - Move NotificationHelper initialization to GeckoApp since it was being initialized twice when more than one process were active. r=wesj 2013-11-11 11:17:02 -05:00
Lucas Rocha
932ef66c1a Bug 936522 - Move preference-related to the preferences package (r=liuche) 2013-11-11 18:41:16 +00:00
Federico Paolinelli
e8977b6d8e Bug 815202 - Add Pause and Cancel actions to download notifications. r=wesj 2013-09-24 13:53:55 -07:00
Mike Hommey
c293dad640 Bug 889236 - Cleanup GeckoLoader.loadMozGlue after bug 850875. r=kats 2013-07-04 10:31:10 +09:00
Brian Nicholson
1ad919d27b Bug 886123 - Handle locale changes with BroadcastReceiver instead of getLastCustomNonConfigurationInstance(). r=sriram 2013-07-02 11:36:33 -07:00
Federico Paolinelli
bb58986a88 Bug 876485 - Moved clipboard code from GeckoAppShell to a separate Clipboard class. Changed jni calls to new methods. r=cpeterson 2013-06-07 13:39:37 -07:00
Chris Peterson
e4b56d7c7f Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Mark Finkle
d5d9a79288 Bug 858561 - Move BrowserDB.expireHistory from GeckoApp.onPause to GeckoApplication.onActivityPause r=kats 2013-04-05 11:37:28 -04:00
Kartikaya Gupta
8f5db7977f Bug 856756 - Extract a HardwareUtils class. r=mfinkle 2013-04-02 10:03:39 -04:00
Kartikaya Gupta
1fc0d9bfd9 Bug 853366 - Clean up activity/app lifecycle events. r=mfinkle,cpeterson 2013-03-26 14:05:10 -04:00
Brian Nicholson
d69b242eaf Bug 850693 - Create a NotificationHandler for each Fennec instance. r=kats 2013-03-21 13:32:11 -07:00
Brian Nicholson
dd3434be8a Bug 823285 - Use foreground notification service for downloads. r=kats 2013-03-11 11:59:23 -07:00
Mike Hommey
9f1e51d20e Bug 842681 - Call GeckoLoader.loadMozGlue from GeckoApplication.onCreate instead of GeckoApp.onCreate. r=kats 2013-03-08 09:27:46 +01:00
Geoff Brown
92c5a4a8d8 Bug 826385 - Reduce pause/resume notifications to gecko; r=mfinkle 2013-01-29 14:59:42 -07:00
Kartikaya Gupta
24603fda3a Bug 832987 - Make sure the launch state is updated on Gecko:Ready even if GeckoApp isn't around at the time. r=cpeterson 2013-01-23 09:38:57 -05:00
Chris Peterson
f7eecfb60e Bug 828594 - Part 2: Remove unused Java imports. r=kats 2013-01-09 10:32:50 -08:00
Sriram Ramasubramanian
4d1b2907e0 Bug 783092: LightweightTheme support in Fennec. [r=mfinkle] 2012-10-31 22:10:59 -07:00
Ed Morley
e878f44e88 Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE 2012-11-01 00:16:35 +00:00
Sriram Ramasubramanian
ea59fd1da0 Bug 783092: LightweightTheme support in Fennec. [r=mfinkle] 2012-10-31 11:03:44 -07:00
James Willcox
cce034d2d1 Bug 794642 - Avoid unnecessary GeckoApplication initialization in services r=kats 2012-09-27 10:52:59 -04:00
Kartikaya Gupta
9e713cc5d5 Bug 713032 - Add a MemoryMonitor class that will be the brains behind low-memory condition handling. r=snorp 2012-09-19 15:21:19 -04:00
Kartikaya Gupta
6febf281b4 Bug 761706 - Move application-level receiver objects from GeckoApp to GeckoApplication. r=mfinkle 2012-09-14 11:19:40 -04:00
Chris Peterson
885e571e16 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00