Commit Graph
6 Commits
Author SHA1 Message Date
Makoto Kato 3a9b61bbf4 Bug 1469495 - Java Sampler never stops profiling. r=njn,snorp
Since GeckoJavaSampler::Stop() isn't called from locked_profiler_stop, Java
sampler is never stopped after stopping profiler.

And when calling GeckoJavaSampler::Stop(), it causes dead lock since stop()
is acquiring lock.  So when calling join method, we should release this lock.

MozReview-Commit-ID: BLREo0lH6DS
2018-06-22 15:27:45 +09:00
Makoto Kato 5fd02eae77 Bug 1455006 - Use Looper to get main thread instead of main thread name. r=jchen
Actually, Gecko uses thread name "main" to find main thread.  But Android
has Looper object to get main loop.  So we should use it instead.

MozReview-Commit-ID: 9oVqftqLZmh
2018-05-24 20:46:18 +09:00
Jim Chen 10f0f77fda Bug 1303806 - 1. Move classes from geckoview to Fennec; r=nalexander
ANRReporter is a telemetry tool that belongs in Fennec code.

GeckoJavaSampler is a developer tool that belongs in Fennec code.

SwipeDismissListViewTouchListener is only used in FormAssistPopup, which
is no longer referenced in geckoview code.
2016-09-20 17:42:08 -04:00
Nick Alexander dce7dd3520 Bug 1291811 - Move GeckoView Java sources into mobile/android/geckoview. r=sebastian
This is the first step only.  It moves Experiments out of util (just
for convenience) -- I would have liked to have moved WhatsNewReceiver
out of notifications as well, but it's referenced in
AndroidManifest.xml.in and I don't want to break that.

The set of files in GeckoView is slightly larger than what we really
want, but it's close to correct.  Future tickets will get things
compiling and trim the set of files down to size.  Hopefully we can
move notifications/, permissions/, and restrictions/ back to Fennec.

This is not technically required, but it's best to bulk move the files
up front and patch later, rather than jump through hoops to
distinguish the set of files in Gradle (and moz.build).

MozReview-Commit-ID: EWaAeswFoeG
2016-08-02 16:34:32 -07:00
Michael Comella a046b02bac Bug 1258789 - Add plus operator to WhitespaceAround and fix. r=grisha
MozReview-Commit-ID: 419NkkMHWCG
2016-04-12 18:42:40 -07: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