Commit Graph
97 Commits
Author SHA1 Message Date
brainbreaker 2774e87870 Bug 1312686 - Link "default browser" setting to app info screen on Android 7+; r=sebastian
Added support for changing default browser by opening settings screen in API Levels >=24.

MozReview-Commit-ID: 5rxJm6hQQ4A
2017-02-15 02:27:26 +05:30
Nick Alexander f25850a582 Bug 1291366 - Part 1: Use GENERATED_FILES to produce AppConstants.java. r=gps
This patch lays the groundwork for two things.  First, it paves the
way for splitting AppConstants.java into two parts, a GeckoView part
and a Fennec part.  This is necessary because the Makefile.in
preprocessing is not flexible enough to write two separate GeckoView
and Fennec constants files into different directories.

Second, this allows us to more flexibly generate the file contents.
Gradle has a way to get compile-time constants into Java code, which
we want to migrate to.  The details don't matter right here, but this
paves the way to move from preprocessing to generating the
Gradle-style BuildConfig files while we continue to support both build
systems.

MozReview-Commit-ID: 2o8X99uLoaM
2016-11-14 20:06:31 -08:00
Nick Alexander cc437a6158 Bug 1255914 - Part 2: mostly back out multiDex (changeset 6972bef6693c). r=sebastian
Since we're Proguarding the automation build now, we shouldn't need to
multiDex anymore -- even in beta.

MozReview-Commit-ID: 6Yc73Vi9Fhd
2016-11-13 14:43:00 -08:00
Andrzej Hunt b67f251c48 Bug 1314546 - Always putenv(MOZ_LINKER_EXTRACT) for Android r=esawin,glandium
This allows artifact builds to load the new compressed native libraries correctly,
without requiring build config changes.

MozReview-Commit-ID: 3xZzoV3wFda
2016-11-04 15:48:58 +01:00
Michelangelo De Simone 74c25bed4b Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA
2016-10-17 17:26:51 -07:00
Sebastian Hengst faa4e03c25 Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02: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
Andrzej Hunt 7e9db63b89 Bug 1304688 - Pre: add Versions.preN to AppConstants r=sebastian
MozReview-Commit-ID: Awh9db04xW
2016-09-27 09:06:26 -07:00
Randall Barker 91a74382de Bug 1291373 - [geckoview] part 1, Remove JavaPanZoomController (JPZ) from mobile/android r=snorp 2016-08-16 14:33:43 -07:00
Andrzej Hunt 4dff79007c 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
2016-07-22 16:16:41 -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
Sebastian Kaspari 425b940022 Bug 1276696 - Put custom tabs support behind a build flag. r=mcomella
MozReview-Commit-ID: 44wtCsZWZv2
2016-05-30 16:48:45 +02:00
Chris Manchester 447060c3fa Bug 1275721 - Remove --enable-android-resource-constrained. r=mshal
MozReview-Commit-ID: DqL0KCkbj9r
2016-05-26 11:13:58 -07:00
Michael Comella 420961641f Bug 1266820 - Disable Screenshot in Bookmarks feature. r=grisha r=grisha
See code comment (and related bug) for details.

MozReview-Commit-ID: EDzIBftjJRU
2016-04-22 11:23:36 -07:00
Jorick Caberio 386ee165ef Bug 1261040 - Remove code code guarded by AppConstants.Versions.preICS. r=sebastian
MozReview-Commit-ID: Jmwl6sfEdx0
2016-04-07 17:17:21 +08:00
Jorick Caberio b0b34cd5a5 Bug 1261039 - Remove Honeycomb code guarded by AppConstants.Versions.preHCMR1 / preHCMR2. r=sebastian
MozReview-Commit-ID: LdULUXl2kba
2016-04-08 16:52:57 +08:00
Sebastian Kaspari 7a5f539906 Bug 1258289 - Remove code guarded by Versions.preHC. r=ahunt,grisha
MozReview-Commit-ID: 6H84v5g5PQo
2016-03-18 21:09:31 +01:00
Michael Comella e497438a6a Bug 1243558 - Add nightly flags to screenshots in bookmarks feature. r=sebastian
MozReview-Commit-ID: F3ljXZGNKlJ
2016-02-29 17:22:55 -08:00
cijo eca1b3a26f 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 00c97ce3b9 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
2016-02-13 10:13:10 -08:00
Nick Alexander 943ac18c2b 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
2016-02-13 10:00:58 -08:00
Mike Hommey b68e7fa556 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 c333c8a628 Bug 1237880 - Remove code for syncing Reading List. r=rnewman 2016-01-19 15:06:28 -08:00
Swaroop Rao e28e7bc3f9 Bug 1222607 - Remove MOZ_ANDROID_TAB_QUEUE build flag. r=sebastian 2015-12-17 08:58:00 +01:00
Sebastian Kaspari 0270d0eb3a 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).
2015-12-02 20:28:00 +01:00
Nick Alexander e3afc5c0d1 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella 2015-11-30 14:32:17 -08:00
Sebastian Kaspari ea8ea93d7c Bug 1222925 - Escape hatch improvement: Detect ABI mismatches (ARM vs. x86). r=rnewman 2015-11-10 14:33:07 +01:00
Kalpesh Krishna fa438af45a Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander 2015-11-09 10:57:01 -08:00
Kalpesh Krishna 34ebd1c2ca 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.
2015-11-09 10:53:37 -08:00
Nick Alexander efc1177297 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.
2015-10-27 17:42:35 -07:00
Jonathan Almeida [:jonalmeida] c41495c8f8 Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander 2015-09-23 22:28:59 -04:00
Mike Hommey 22342db97d 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 b86a94d0d8 Bug 1196897 - Add flags to control using Switchboard in Fennec r=nalexander 2015-08-27 13:49:48 -04:00
Nick Alexander 6dab64b954 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.
2015-08-04 16:54:00 -07:00
Sebastian Kaspari 32f5a974fe 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").
2015-07-24 14:04:30 +02:00
Mike Taylor 76bbd33aa3 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 839e67cb6a Bug 1055264 : Build flags added for firefox account profile -r=nalexander. 2015-06-10 21:22:00 -07:00
Richard Newman 2cd7fed4ae Bug 1169393 - Move Adjust-related stuff to AdjustConstants. r=nalexander 2015-05-29 15:52:42 -07:00
Richard Newman 3b87e33941 Bug 1061273 - Pre: add 20+ to Versions. DONTBUILD 2015-05-28 15:22:08 -07:00
Nathan Toone 55b9d2c2a4 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 6fd8225c14 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 c057f857cf Bug 1143888 - Integrate the Adjust install tracking SDK. r=mfinkle 2015-04-08 22:49:16 -07:00
Jim Chen d3b4ff35a7 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Martyn Haigh 80e024a10c Bug 1132185 - Put the tab queue UI behind a build flag (r=nalexander) 2015-02-16 14:55:52 +00:00
Mark Finkle 9c6f1f75aa Bug 1129576 - Rename the stumbler API key to the generic mozilla API key r=nalexander 2015-02-06 17:08:35 -05:00
wesj 5a09cb8548 Bug 909434 - Add ability to drag urlbar, preffed off. r=wesj 2015-01-29 10:43:40 -08:00
Richard Newman e43addf8a5 Bug 1123377 - Create build flag for reading list service on Android. r=nalexander 2015-01-22 08:27:43 -08:00
Nick Alexander b414875050 Bug 1124052 - Part 2: Don't preprocess Java in background services. r=rnewman 2015-01-21 11:15:24 -08:00
Margaret Leibovic 771dbcb154 Bug 1107133 - Expose tracking protection in Fennec privacy preferences. r=liuche 2014-12-08 15:17:32 -08:00
Nick Alexander 14e156328d 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.
2014-11-20 14:39:10 -08:00