Jim Chen
3e3643da35
Bug 1337053 - Fix optString conversions; r=sebastian
...
JSONObject.optString defaults to empty string ("") if the key doesn't
exist, whereas GeckoBundle.getString defaults to null if the key doesn't
exist. So the correct conversion for `json.optString("foo")` should be
`bundle.getString("foo", "")`. This patch fixes the wrong conversions
from before. In case we did default to null, this patch gets rid of the
redundant null second argument to GeckoBundle.getString.
2017-02-08 19:50:33 -05:00
Jim Chen
4dcb146035
Bug 1333581 - Convert IntentHelper events to bundle events; r=sebastian
...
Convert events used in IntentHelper to bundle events. UI thread events
are used for most events because the listeners perform operations on
Intent objects, which is best done on the UI thread. For
"Intent:GetHandlers", use a Gecko thread event because it's possible we
want a synchronous callback response.
2017-01-25 18:57:31 -05:00
Tushar Saini (:shatur)
75462f42df
Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian
...
MozReview-Commit-ID: J4uXtUrjuKr
2016-09-22 21:20:23 +05:30
Phil Ringnalda
31ed29be45
Bug 1278581 followup, placate checkstyle
...
CLOSED TREE
MozReview-Commit-ID: Apt89thqPfX
2016-09-30 08:21:55 -07:00
James Willcox
5ad003924d
Bug 1278581 - Show neterror page if you enter an unknown URI scheme into urlbar on Android r=sebastian
2016-09-29 08:27:54 -05:00
Makoto Kato
e86bf6d5e0
Bug 1299400 - Remove WebActivities Android Backend. r=sebastian
...
WebActivities API has removed by bug 1284455, so we should remove Android backend.
MozReview-Commit-ID: IOYs1bM2u06
2016-08-31 17:16:22 +09:00
dragoslav.mlakar
b24f9f39ba
Bug 1282289 - Avoid crash when using Android add-on/HelperApps. r=nalexander
2016-07-28 07:19:57 +02:00
Nick Alexander
0a3cdcf4b5
Bug 1258450 - Automated (mostly) refactorings moving GeckoAppShell static methods into IntentHelper. r=snorp
...
MozReview-Commit-ID: JbfR3pVFxDK
2016-03-30 10:21:29 -07:00
Carsten "Tomcat" Book
5e3b0cfdc2
Backed out changeset 462e9e4314ef (bug 1258450)
2016-03-30 14:02:12 +02:00
Nick Alexander
6b140ee6ba
Bug 1258450 - Automated (mostly) refactorings moving GeckoAppShell static methods into IntentHelper. r=snorp
...
MozReview-Commit-ID: JbfR3pVFxDK
2016-03-20 20:14:07 -07:00
Michael Comella
547ec8d580
Bug 1258605 - Don't show about:neterror when intents fail to load. r=margaret
...
Motivations are in the added comment.
MozReview-Commit-ID: 1EymB8rXzT5
2016-03-25 17:36:37 -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