Commit graph

89 commits

Author SHA1 Message Date
Randall Barker
c1e108f7ad Bug 1291373 - [geckoview] part 1, Remove JavaPanZoomController (JPZ) from mobile/android r=snorp 2016-08-16 14:33:43 -07:00
Andrzej Hunt
7233b62257 Bug 1288103 - Add experimental MOZ_ANDROID_ACTIVITY_STREAM build flag r=chmanchester
This will be used to enable the activity stream panel in place of the HomePager. We are
likely to migrate this to a switchboard flag in future once the new panel becomes
shippable (we are still investigating other distribution mechanisms, so it is entirely
possible this will completely change in future).

MozReview-Commit-ID: I9VSliO0IXE

--HG--
extra : rebase_source : 5c6578e41d7bc4849a7aa4a74c4be6cebc966231
2016-07-22 16:16:41 -07:00
Michael Comella
81175bdafe 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

--HG--
extra : rebase_source : 106d15f29db183387a77eb3cbc6968a7cac34286
2016-07-20 13:06:40 -07:00
Sebastian Kaspari
42d21c59e5 Bug 1276696 - Put custom tabs support behind a build flag. r=mcomella
MozReview-Commit-ID: 44wtCsZWZv2

--HG--
extra : rebase_source : 2ab062e4f5155225d6f5fcd686cd7a0b974679f1
2016-05-30 16:48:45 +02:00
Chris Manchester
44e4ff1fb6 Bug 1275721 - Remove --enable-android-resource-constrained. r=mshal
MozReview-Commit-ID: DqL0KCkbj9r

--HG--
extra : rebase_source : 18ed93ef68ecdfbd85fb4c13c39283932c38290c
2016-05-26 11:13:58 -07:00
Michael Comella
029b25ac6a Bug 1266820 - Disable Screenshot in Bookmarks feature. r=grisha r=grisha
See code comment (and related bug) for details.

MozReview-Commit-ID: EDzIBftjJRU

--HG--
extra : rebase_source : 94721323a4372010941dcce034093d3f0d1ac95c
2016-04-22 11:23:36 -07:00
Jorick Caberio
0da17b30e1 Bug 1261040 - Remove code code guarded by AppConstants.Versions.preICS. r=sebastian
MozReview-Commit-ID: Jmwl6sfEdx0

--HG--
extra : rebase_source : 84cb774e4a2414db9f921141c253b2ec93c4e8ee
2016-04-07 17:17:21 +08:00
Jorick Caberio
37e0f76dd7 Bug 1261039 - Remove Honeycomb code guarded by AppConstants.Versions.preHCMR1 / preHCMR2. r=sebastian
MozReview-Commit-ID: LdULUXl2kba

--HG--
extra : rebase_source : 6c5b06298592b30dacf3f10de14d180e04d18e38
2016-04-08 16:52:57 +08:00
Sebastian Kaspari
92c5613dac Bug 1258289 - Remove code guarded by Versions.preHC. r=ahunt,grisha
MozReview-Commit-ID: 6H84v5g5PQo

--HG--
extra : rebase_source : 333e5361f0d3ec7965083b4360c6713d219b49f1
2016-03-18 21:09:31 +01:00
Michael Comella
9c298fe44b Bug 1243558 - Add nightly flags to screenshots in bookmarks feature. r=sebastian
MozReview-Commit-ID: F3ljXZGNKlJ

--HG--
extra : rebase_source : 4aca60b2b4df4357191768302a82118d42657c08
2016-02-29 17:22:55 -08:00
cijo
1cf47b8f45 Bug 1187382 - Revise AppConstants.Versions after release of Android M. The assignment logic has also been changed appropriately. r=sebastian 2016-03-07 04:18:00 +01:00
Nick Alexander
8dcc601b5e Bug 1248160 - Part 2: Inline MOZ_ANDROID_SHARED_FXACCOUNT_TYPE. r=ted.mielczarek
This is per-package, so there's no cross-package definition needed.

MozReview-Commit-ID: 8qy2SGJtCh1

--HG--
extra : rebase_source : 5e3cb1959ac560137487d5d0c12002820212aed7
extra : histedit_source : ac2404805e7afc2776c02414ab464d24d3057063
2016-02-13 10:13:10 -08:00
Nick Alexander
a369f9a410 Bug 1248160 - Part 1: Remove MOZ_ANDROID_SHARED_ACCOUNT_TYPE. r=ted.mielczarek
This is cleaning up after Bug 1220906, which removed Old Sync.

MozReview-Commit-ID: EmP4RTMIZ9

--HG--
extra : rebase_source : d97e09ca50dbd2c214c0618d50b7418378697dde
extra : histedit_source : 5148e7d8f5c8f10c36f1fa319ac04fea28432450
2016-02-13 10:00:58 -08:00
Mike Hommey
5554e09add Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Nick Alexander
e11f7d3873 Bug 1237880 - Remove code for syncing Reading List. r=rnewman
--HG--
extra : commitid : 6IDWYzgCMUt
extra : rebase_source : 89a938e4430bd16f4a0df68c0ac831fbb4b3170a
2016-01-19 15:06:28 -08:00
Swaroop Rao
1ae80adb05 Bug 1222607 - Remove MOZ_ANDROID_TAB_QUEUE build flag. r=sebastian 2015-12-17 08:58:00 +01:00
Sebastian Kaspari
cea7faa939 Bug 1197720 - Introduce background service for downloadable content. r=rnewman
This patch introduces a background service for downloading content from a
catalog (bug 1200291). This catalog ships with the application and contains
only fonts in this first version (MOZ_ANDROID_EXCLUDE_FONTS).

For now this service is disabled by default (MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE).

--HG--
extra : commitid : 7v0q886zR9q
extra : rebase_source : cf877b0ab7d286d1f973daebc8c004b320e426c7
2015-12-02 20:28:00 +01:00
Nick Alexander
3e1c5ea1e5 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella
--HG--
extra : commitid : 3drJfjq0uyX
extra : rebase_source : 67a2e524b90f78e8f719e1f8efc9a84a6f9a19dd
extra : histedit_source : 68805f753e785e2d935ee221ba5243597ec24f92
2015-11-30 14:32:17 -08:00
Sebastian Kaspari
b541b6faee Bug 1222925 - Escape hatch improvement: Detect ABI mismatches (ARM vs. x86). r=rnewman
--HG--
extra : commitid : 3x3AUCBXnlT
extra : rebase_source : 2ad35d4de323cbfc09e6850d9ba738d469466e72
2015-11-10 14:33:07 +01:00
Kalpesh Krishna
bd454774aa Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander
--HG--
extra : commitid : EDAzygqNz9I
extra : rebase_source : 39b977fddd43906b15024efce1e34362cf0e3259
2015-11-09 10:57:01 -08:00
Kalpesh Krishna
e688976ffe Bug 1188550 - Don't directly use MOZ_APP_DISPLAYNAME in User-Agent headers. r=vivek,nalexander.
It is possible for the display name to contain Unicode characters,
which not all Mozilla service endpoints handle gracefully.  This
avoids that issue.

--HG--
extra : commitid : JhI3YFLj4Ho
extra : rebase_source : 7f60fb1dfdb70b3e25aa5220f61d553895294c8c
2015-11-09 10:53:37 -08:00
Nick Alexander
28cbcc16f5 Bug 1207708 - Part 1: Add MOZ_ANDROID_GCM{_SENDERID} build flags. r=sebastian
These flags are not intended to be feature specific.  On day one, we
intend to support a single GCM-backed feature -- Push Notifications --
but the set of GCM-consuming features is potentially large (e.g.,
possibly Firefox Sync tickles and Send Tab to Device alerts).  Such
features can and will have their own build flags.

Note that GCM sender IDs are not sensitive -- see link in code
comment.  Since this is something custom branding will almost always
want to set, I don't want to bury the default value in confvars.sh.

--HG--
extra : commitid : HBHDBk2tC6S
extra : source : d4e39587c87c16564eeac6d1f8568814b63e5325
2015-10-27 17:42:35 -07:00
Jonathan Almeida [:jonalmeida]
42e1dd6a60 Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander
--HG--
extra : transplant_source : %D5%D7J9NH%9D%26%3E%96P%96%B2%BF%F9y%7B%2C%D0%CB
2015-09-23 22:28:59 -04:00
Mike Hommey
f4de6bfe91 Bug 1210642 - s/APP_BUILDID/MOZ_APP_BUILDID/ to use the same variable name across products. r=gps 2015-10-06 11:15:05 +09:00
Mark Finkle
7ba2bb4f8b Bug 1196897 - Add flags to control using Switchboard in Fennec r=nalexander 2015-08-27 13:49:48 -04:00
Nick Alexander
39f4c891ef Bug 1191067 - Pre: Add MOZ_ANDROID_NATIVE_ACCOUNT_UI build flag. r=glandium
Currently, all versions of Firefox run with the existing native
Firefox Account UI.  This flag will opt-in to maintaining that
experience while we transition to a web account UI.  Once we're stable
on the web, we'll remove this flag entirely.

--HG--
extra : commitid : CmokCKcYNJQ
extra : rebase_source : eb7e8f136f9a5134f84c8dbe111841b72827146a
2015-08-04 16:54:00 -07:00
Sebastian Kaspari
549bd2bd55 Bug 1183559 - Hide "Import from Android" feature on devices running Android M+. r=rnewman
This patch assumes that Android M is going to be API level 23 (very likely) and additionally
checks for Android M Preview builds (Build.VERSION.RELEASE set to "M").

--HG--
extra : commitid : Bt1sQw4h4rC
extra : rebase_source : f2d4c0c062b41c67db9a6819665734621c0b2229
2015-07-24 14:04:30 +02:00
Mike Taylor
d22a598539 Bug 1169772 - Add Android version to platform identifier of Fennec's UA string. r=mfinkle, r=gerv 2015-06-11 09:38:00 -04:00
vivek
441e18b628 Bug 1055264 : Build flags added for firefox account profile -r=nalexander.
--HG--
extra : commitid : CB7Oe2LjdWO
extra : rebase_source : e914a08754618a5a44ad620afa422985bd09fdc7
2015-06-10 21:22:00 -07:00
Richard Newman
d1cbd8b4e6 Bug 1169393 - Move Adjust-related stuff to AdjustConstants. r=nalexander 2015-05-29 15:52:42 -07:00
Richard Newman
94b4232195 Bug 1061273 - Pre: add 20+ to Versions. DONTBUILD 2015-05-28 15:22:08 -07:00
Nathan Toone
0f9afa9766 Bug 1161195 - Part 2: Rename variables. r=nalexander
Rename variables to be consistent with the name used in confvars.sh.
2015-05-05 20:11:15 -06:00
Nathan Toone
79c3b4b7be Bug 1161195 - Part 1: Set java class names at compile time. r=nalexander
Rather than hardcoding the following classes in AppConstants.java.in and AndroidManifest.xml, they are set in
confvars.sh:
   org.mozilla.gecko.GeckoApplication (Specified using MOZ_ANDROID_APPLICATION_CLASS)
   org.mozilla.gecko.BrowserApp       (Specified using MOZ_ANDROID_BROWSER_INTENT_CLASS)
   org.mozilla.search.SearchActivity  (Specified using MOZ_ANDROID_SEARCH_INTENT_CLASS)
2015-05-05 20:10:50 -06:00
Mark Finkle
6dbb5ad52e Bug 1143888 - Integrate the Adjust install tracking SDK. r=mfinkle
--HG--
extra : rebase_source : d4a41c1193d93aa7774e68b302e9f9b13b5ec28c
2015-04-08 22:49:16 -07:00
Jim Chen
fb6da03291 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Martyn Haigh
f2ad138f7e Bug 1132185 - Put the tab queue UI behind a build flag (r=nalexander) 2015-02-16 14:55:52 +00:00
Mark Finkle
7e23895133 Bug 1129576 - Rename the stumbler API key to the generic mozilla API key r=nalexander 2015-02-06 17:08:35 -05:00
wesj
fd68aa8780 Bug 909434 - Add ability to drag urlbar, preffed off. r=wesj 2015-01-29 10:43:40 -08:00
Richard Newman
9d1f5b902f Bug 1123377 - Create build flag for reading list service on Android. r=nalexander 2015-01-22 08:27:43 -08:00
Nick Alexander
058f960cde Bug 1124052 - Part 2: Don't preprocess Java in background services. r=rnewman
--HG--
rename : mobile/android/base/background/common/GlobalConstants.java.in => mobile/android/base/background/common/GlobalConstants.java
rename : mobile/android/base/background/healthreport/HealthReportConstants.java.in => mobile/android/base/background/healthreport/HealthReportConstants.java
rename : mobile/android/base/fxa/FxAccountConstants.java.in => mobile/android/base/fxa/FxAccountConstants.java
rename : mobile/android/base/sync/SyncConstants.java.in => mobile/android/base/sync/SyncConstants.java
extra : rebase_source : 833561a9970bd2705d81c094a2d62a510c3484e0
2015-01-21 11:15:24 -08:00
Margaret Leibovic
c599adcd28 Bug 1107133 - Expose tracking protection in Fennec privacy preferences. r=liuche
--HG--
extra : rebase_source : c871a80ba90ed7f5b4d626d4d04f64a7e6e74a4c
2014-12-08 15:17:32 -08:00
Nick Alexander
fc649a2992 Bug 1102488 - Part 2: Don't preprocess GeckoLoader. r=rnewman
I replaced the compile-time ANDROID_PACKAGE_NAME with the run-time
context.getPackageName() for two reasons:

1) I claim this is more correct.  It's hard to imagine Fennec working
with ANDROID_PACKAGE_NAME != context.getPackageName(), but right here
we should use the run-time, not the build-time state.

2) GeckoLoader is part of GeckoView, and as such it shouldn't assume
anything about the package it's running as.

GeckoView consumers may ship for multiple architectures, so we
shouldn't assume anything about the build-time architecture, but the
reference to MOZ_CPU_ABI is purely diagnostic.  There are substantive
changes to make here; we'll cross that bridge some other time.

--HG--
extra : source : 48fc328377d41596900fa924b21378ba65a0df1f
2014-11-20 14:39:10 -08:00
Nick Alexander
e2afa5c3c1 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Carsten "Tomcat" Book
7403af97fc Backed out changeset ae7b2705bfa7 (bug 1102488) 2014-11-25 08:42:55 +01:00
Carsten "Tomcat" Book
ea9a36b40f Backed out changeset 51e6a0c2187b (bug 1102488) 2014-11-25 08:42:54 +01:00
Nick Alexander
6c9336e2a8 Bug 1102488 - Part 2: Don't preprocess GeckoLoader. r=rnewman
I replaced the compile-time ANDROID_PACKAGE_NAME with the run-time
context.getPackageName() for two reasons:

1) I claim this is more correct.  It's hard to imagine Fennec working
with ANDROID_PACKAGE_NAME != context.getPackageName(), but right here
we should use the run-time, not the build-time state.

2) GeckoLoader is part of GeckoView, and as such it shouldn't assume
anything about the package it's running as.

GeckoView consumers may ship for multiple architectures, so we
shouldn't assume anything about the build-time architecture, but the
reference to MOZ_CPU_ABI is purely diagnostic.  There are substantive
changes to make here; we'll cross that bridge some other time.

--HG--
extra : rebase_source : 65b374746f1630fd7c7c201a50bc2ff9dd29090d
extra : source : 48fc328377d41596900fa924b21378ba65a0df1f
2014-11-20 14:39:10 -08:00
Nick Alexander
cdd980f480 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : rebase_source : cdba5f056a41ec28f190dd7ebf82213a358cb3a8
extra : source : d2c14599cbab6c476465a6ba142c7c2501895cb3
2014-11-24 15:37:30 -08:00
Wes Kocher
992d48417f Backed out 5 changesets (bug 1102488) for stumbler-related robocop failures
Backed out changeset 05cf424592e6 (bug 1102488)
Backed out changeset 48fc328377d4 (bug 1102488)
Backed out changeset d2c14599cbab (bug 1102488)
Backed out changeset 8d1d39582e49 (bug 1102488)
Backed out changeset fa85f8d8b182 (bug 1102488)
2014-11-21 15:54:21 -08:00
Nick Alexander
c1192b1b65 Bug 1102488 - Part 2: Don't preprocess GeckoLoader. r=rnewman
I replaced the compile-time ANDROID_PACKAGE_NAME with the run-time
context.getPackageName() for two reasons:

1) I claim this is more correct.  It's hard to imagine Fennec working
with ANDROID_PACKAGE_NAME != context.getPackageName(), but right here
we should use the run-time, not the build-time state.

2) GeckoLoader is part of GeckoView, and as such it shouldn't assume
anything about the package it's running as.

GeckoView consumers may ship for multiple architectures, so we
shouldn't assume anything about the build-time architecture, but the
reference to MOZ_CPU_ABI is purely diagnostic.  There are substantive
changes to make here; we'll cross that bridge some other time.

--HG--
extra : rebase_source : 485cc43e525fd3de63c186bd20fcb049d29129ca
2014-11-20 14:39:10 -08:00
Nick Alexander
99428106d2 Bug 1102488 - Part 1: Factor out constants JAR. r=rnewman
The constants JAR contains AppConstants and SysInfo.  SysInfo depended
on HardwareUtils for one function, which can (should?) be in SysInfo
anyway, so I moved it.

Both SysInfo and AppConstants should be available to Robocop tests,
but they are compiled too early to access RobocopTarget.  Since
nothing in GeckoView should know about GeckoView, I moved the
annotation to the Fennec-level proguard.cfg.

--HG--
extra : rebase_source : 6504b2324fb7534217163e21218c194df0505a75
2014-11-21 11:20:01 -08:00