Commit Graph
20 Commits
Author SHA1 Message Date
Broderick Stadden 587ef6788c Bug 1279301 - Move notification classes to notification folder. r=jonalmeida
Moved notification classes to notification folder.  Refactored uses which added
imports to some Gecko classes as well as the Notification classes.  Added getter
to GeckoAppShell for access to static NotificationClient. Changed paths in
AndroidManifest.xml.in to reflect changes.

MozReview-Commit-ID: 2CUJa0YsV1V
2016-07-27 13:57:22 -10:00
Grigory Kruglov b473f8a4ef Bug 1277333 - Keep track of a reference to GeckoApplication to eliminate "no context NPE" crashes r=sebastian
MozReview-Commit-ID: 7jzOflrIcLZ
2016-07-26 10:40:57 -07:00
Michael Comella 9d83dd72a4 Bug 1285511 - Add multidex support to automation builds. r=sebastian
I initially tested my code with a branch around the multidex dependency:

if (mozconfig.substs.MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE) {
  compile ...multidex...
}

I removed it because it seemed unnecessary - the code shouldn't be
included if it's not referenced.

I tested:
 * Locally with a build that did not exceed the method limit, pre-Lollipop
 * On try, with fx-team
 * On try, with beta

MozReview-Commit-ID: APaOdlKd3QF
2016-07-20 13:06:40 -07:00
Kannan Vijayan afe71cc3f0 Bug 1272101 - Fix nsINetworkInfoService implementation on Android to use Linux C APIs instead of Android Java APIs. r=snorp 2016-06-02 16:42:36 -04:00
Kannan Vijayan 8ce9202ed6 Bug 1272101 - Changes in preparation for FlyWeb landing. Add nsINetworkInfoService and implementation for various platforms. r=hurley 2016-06-01 16:16:40 -04:00
Jim Chen bbdd84d17d Bug 1272557 - Delay initializing PushService and DLC; r=snorp
Delay initialization of PushService and DLC in GeckoApplication to after
the Gecko:Ready message. That way, hopefully they give up some CPU time
to other initialization tasks.
2016-05-27 14:29:46 -04:00
Grigory Kruglov 3196212ad2 Bug 1271318 - Don't keep context in GeckoNetworkManager, and get it from GeckoAppShell r=mcomella
MozReview-Commit-ID: DX4GOca5IoO
2016-05-16 14:41:09 -07:00
Shatur 723ff2e162 Bug 1250387 - Kill GckoConnectivityReceiver.java and improve GeckoNetworkManager.java r=grisha 2016-04-19 06:31:17 +05:30
Michael Comella fb562480f3 Bug 1258794 - Add trailing whitespace checkstyle check & fix issues. r=nalexander
MozReview-Commit-ID: IUslNabcTHO
2016-04-06 10:08:46 -07:00
Jim Chen f9326bedaf Bug 1260243 - Convert backgrounding/foregrounding GeckoEvent to native calls; r=snorp
Convert APP_BACKGROUNDING and APP_FOREGROUNDING events in GeckoEvent to
native calls onPause and onResume in GeckoThread, respectively.
2016-04-05 21:43:41 -04:00
Sebastian Kaspari 34635b0d34 Bug 1257941 - Use LeakCanary to watch for fragment leaks. r=ahunt
MozReview-Commit-ID: GhqcSH1SML
2016-03-18 20:00:49 +01:00
Andrzej Hunt 50b9514eb0 Bug 1257667 - Pre: Allow retrieving GeckoApplication's RefWatcher for leak-spotting r=sebastian
MozReview-Commit-ID: GmGxDt72ljq
2016-03-18 11:33:27 -07:00
Nick Alexander eee789a5df Bug 1252666 - Part 2: Use reflection to start PushService. r=margaret
The alternative is to define an interface and two conditional
implementations, and then build only one depending on MOZ_ANDROID_GCM.
That's what we did for Adjust, and it works; but it's awkward here
because the the PushService code is truly part of the browser, and the
conditional code is compiled very early (much earlier than the
browser).  (The Adjust library was built even earlier than the
existing conditional code, so this wasn't an issue.)  To work around
this, we'd want to add conditional code to the main browser, which
complicates the build.  This is expedient until we get to a proper
dependency injection scheme (for example, Dagger).

MozReview-Commit-ID: 18usWz8oC3B
2016-03-07 14:37:57 -08:00
Nick Alexander 52d47336a1 Bug 1253876 - Back out PushService integration to not burn aurora. r=me
Sadly, this needs to be conditional to not burn builds where
MOZ_ANDROID_GCM is not defined -- such as aurora.  As uplift is soon,
this will have to be relanded behind a conditional abstraction (just
like Adjust).

MozReview-Commit-ID: 80gBojadDic
2016-03-06 20:43:22 -08:00
Nick Alexander 58afa5ce22 Bug 1214338 - Implement Android GCM-based PushService protocol. r=rnewman r=kitcambridge
MozReview-Commit-ID: 1KV7CZBuosx
2016-03-04 15:48:09 -08:00
Nick Alexander 44b9523c00 Bug 1207714 - Part 4: Add singleton PushService. r=rnewman
MozReview-Commit-ID: CFSINSP7uFp
2016-03-02 16:44:23 -08:00
Brendan Dahl 7707991b68 Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
Sebastian Kaspari 6b54d9dcbf Bug 1238066 - Add LeakCanary to local (gradle) builds. r=nalexander
This patch adds LeakCanary to gradle builds and the no-op library to
mach-based builds.
2016-01-21 12:35:21 +01:00
James Willcox f09f1577e3 Bug 1214810 - Print a timestamp when Fennec is started r=esawin 2015-12-18 13:45:42 -06:00
Nick Alexander c682759005 Bug 1107811 - Part 1: Move Java code. r=mfinkle
#!/bin/bash
set -x
pushd mobile/android/base
# Can't be present in glob below.
rm -rf java/org/mozilla/gecko
for i in */ ; do
# But is necessary to copy into.
mkdir -p java/org/mozilla/gecko
hg mv $i java/org/mozilla/gecko ;
done
hg mv *.java java/org/mozilla/gecko
# Move back stuff we didn't want to move.
hg mv java/org/mozilla/gecko/crashreporter crashreporter
hg mv java/org/mozilla/gecko/docs docs
hg mv java/org/mozilla/gecko/locales locales
hg mv java/org/mozilla/gecko/resources resources
popd
2015-12-04 11:51:34 -08:00