Commit Graph

98 Commits

Author SHA1 Message Date
Petru Lingurar
b904c98455 Bug 1465053 - Remove confusing README files from /mobile/android/; r=jchen
Their outdated text,
"These files are managed in the android-sync repo.
Do not modify directly, or your changes will be lost"
could have cause confusion.

MozReview-Commit-ID: 1DUwyXDVY5B

--HG--
extra : rebase_source : 65d77cbcfb944a54c38bedc3624a2f281d1149ce
2018-06-19 16:15:00 +03:00
Jim Chen
cdd3e5ab7e Bug 1457255 - 2. Fix Java warnings; r=me
Fix all Java warnings in the Android codebase except deprecation and
serial warnings, and warnings in third-party code.

There is one required change to exoplayer2 code under thirdparty,
because that code is included directly in the geckoview project, instead
of the thirdparty project. I think I'll just make a pull-request to
upstream the change, instead of separating exoplayer2 into a
gv-thirdparty project.

--HG--
extra : amend_source : 29419a24db9b956a7f3ee573a63f7a055ed90636
2018-05-01 00:22:54 -04:00
Noemi Erli
5b7edf8bba Backed out 4 changesets (bug 1457255) for kotlin warnings/errors are not being parsed by Treeherder a=backout
Backed out changeset 9c42ce50a911 (bug 1457255)
Backed out changeset 524a0f9fb978 (bug 1457255)
Backed out changeset a49833bfd519 (bug 1457255)
Backed out changeset 4eccde5dfbef (bug 1457255)
2018-05-02 01:16:57 +03:00
Jim Chen
225b0afd64 Bug 1457255 - 4. Fix remaining Java warnings; r=me on CLOSED TREE 2018-05-01 01:01:00 -04:00
Eitan Isaacson
f5f21328b5 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-12 13:46:47 -07:00
Margareta Eliza Balazs
d4e35cf8f7 Backed out 2 changesets (bug 1449364, bug 1453278) for rc4 and 42 perma failures in layout/base/tests/test_bug332655-2.html and testInputConnection on a CLOSED TREE
Backed out changeset 7149139c60d9 (bug 1449364)
Backed out changeset bcfee006ebaa (bug 1453278)
2018-04-12 15:30:20 +03:00
Eitan Isaacson
29d6c7e5d5 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-11 15:21:00 +03:00
Vlad Baicu
db0adee9a1 Bug 1429386 Added missing functionalities from a newer LP SDK version r=nechen
MozReview-Commit-ID: EWGABsN3Diu

--HG--
extra : rebase_source : 629883d12d11aeb7afbc3750b245fc7399275639
2018-04-05 19:09:45 +03:00
James Willcox
6e2788b633 Bug 1447734 - Specify Google Play Services library version in Gradle r=nalexander
MozReview-Commit-ID: KXcYJTlG2UC
2018-03-22 14:35:38 -05:00
James Willcox
dd28aadd33 Bug 1447729 - Specify Android Support library version in Gradle r=nalexander
MozReview-Commit-ID: 6r8tI1v2SeC
2018-03-22 14:35:37 -05:00
Nick Alexander
edf219ba3b Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Ryan VanderMeulen
ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Nick Alexander
47c107e74f Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 38a9781c472d858f3300cbbcbdc6d2311c465713
2017-10-26 11:00:36 -07:00
Dorel Luca
ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Nick Alexander
e820c8ca18 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 5a5730b4b9ce84af40a7c73c4f1abba017103f02
2017-10-26 11:00:36 -07:00
Nevin Chen
3eb6a885c1 Bug 1390454 - Apply Banner fix for Leanplum SDK. r=maliu
Since we want to update our fork of Leanplum SDK as minimum as possible, this patch only pick the patch from Leanplum repo:
https://github.com/Leanplum/Leanplum-Android-SDK/pull/41

MozReview-Commit-ID: 5qFgH9xhHfy

--HG--
extra : rebase_source : 411dbdb11f4b9c826118bc39f9f137ec65836b4e
2017-11-15 14:53:55 +08:00
Nevin Chen
3952fdd772 Bug 1390454 - Make Banner dialog status bar transparent. r=maliu
I didn't check if currently the app is using dark theme(LightweightTheme) or not.
Cause that requires some hacky injection to let Leanplum SDK knows the status bar corlor or dark theme or not.

MozReview-Commit-ID: 4Twe59Gw6mS

--HG--
extra : rebase_source : a4fd4db28ccb9b210a547b328af72c6390a038d0
2017-11-14 15:06:18 +08:00
Jim Chen
e8b3470987 Bug 1412872 - 5. Move GeckoAccessibility out of gecko-view; r=snorp
Move GeckoAccessibility out of gecko-view and into gecko-browser.
GeckoAccessibility as-is is currently only good for Fennec and is not
suitable for generic GeckoView use.

MozReview-Commit-ID: Fek8fLJNC6F

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAccessibility.java => mobile/android/base/java/org/mozilla/gecko/GeckoAccessibility.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java
rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/WriteData.java
2017-11-01 14:54:03 -04:00
Thom Chiovoloni
b367ef8b16 Bug 1404044 - Prevent android sync from failing on overlarge timestamps in password sync r=Grisha
This was done by way of hacking our vendored version of org.simple.json.

MozReview-Commit-ID: GpTFpmeevVN

--HG--
extra : rebase_source : 2a29b53919a617e2ea89d776a53a43257959bc22
2017-10-20 15:46:05 -04:00
Jan Henning
bf6a3ea142 Bug 1385695 - Propagate "app" debug/release build type to dependencies. r=sebastian
Even when building the "app" module in debug mode, by default Gradle still chooses to build all dependencies in release mode, which means that all of our own source files that reside in such a library (geckoview, respectively thirdparty) will e.g. be missing debug info for local variables.

MozReview-Commit-ID: owZr9yKtYI

--HG--
extra : rebase_source : ae09795ebe70bf4213cd3d145efa355712c702a0
2017-07-30 13:55:11 +02:00
Nevin Chen
a873a62c28 Bug 1392224 - Make Fennec the default handler for Leanplum Push Notification. r=maliu
MozReview-Commit-ID: GiXHPvcPhgp

--HG--
extra : rebase_source : f0ca0874c693bccd98b23f0dc83567309d9dfcc1
2017-08-22 13:40:17 +08:00
Nevin Chen
70ea6dc5d3 Bug 1386151 - Enable Push Notification feature for Leanplum. r=maliu
MozReview-Commit-ID: HR86F3T0KsY

--HG--
extra : rebase_source : 679f3d43764a9e6e21d8a59d4ac267d65a8221f4
2017-07-31 17:32:35 +08:00
Nick Alexander
bd230aea82 Bug 1352602 - Part 2: Use build system SDK versions in Gradle configurations. r=maliu
This patch does two things:

- add a Gradle-only ANDROID_COMPILE_SDK_VERSION substitution;
- uses it while uniformizing all of the Gradle Android SDK version
  configurations.

The approach is fairly standard (and we were using it already); see,
for example
https://medium.com/@ali.muzaffar/gradle-configure-variables-for-all-android-project-modules-in-one-place-5a6e56cd384e

This will make bumping the Gradle configuration versions forward
easier.

MozReview-Commit-ID: 1j5siCvR5qt

--HG--
extra : rebase_source : 07afb00de0e4a72af4026eb19ff4f2530c119336
2017-06-21 10:52:30 -07:00
Wes Kocher
26f08e883b Backed out 2 changesets (bug 1355625) for causing bustage a=backout
Backed out changeset 0b7af9b62aff (bug 1355625)
Backed out changeset b44a1a078e64 (bug 1355625)

MozReview-Commit-ID: JRmf8nbLFPP
2017-06-22 12:05:56 -07:00
Nick Alexander
35e03ae50f Bug 1374832 - Don't depend on com.google.android.gms:play-services-ads when MMA/Leanplum is enabled. r=maliu
MozReview-Commit-ID: Hf4ZikszNey

--HG--
extra : rebase_source : 90a2b1b50172199f550d357980ef17cf3e8eb792
2017-06-20 15:26:14 -07:00
Nick Alexander
2f879ff1af Bug 1355625 - Part 2: Tweak the Gradle build to agree more with moz.build. r=nalexander
MozReview-Commit-ID: DMoxPnla3Ij

--HG--
extra : rebase_source : 6496fba8609b58b68038439ef9188bf6cc4c54e1
2017-06-20 11:19:32 -07:00
Nevin Chen
41b293dfc2 Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : 6441ed54f9e19b6c384281084699e5247ec5d3f6
2017-05-24 11:23:10 +08:00
Nevin Chen
3558f2df91 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : fb968097e7722ebcfb1245c366f9224c5a57857f
2017-05-18 19:27:13 +08:00
Sebastian Hengst
0d62851e61 Backed out changeset 08b93bba921c (bug 1358117) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: IgiZGwOZ3tD
2017-05-27 14:01:55 +02:00
Sebastian Hengst
97eca2b15c Backed out changeset 44e144a782e1 (bug 1361664) for Android Nightly bustage. r=backout a=backout
MozReview-Commit-ID: L3hDVLxBkoJ
2017-05-27 14:01:07 +02:00
Nevin Chen
9e40576357 Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : fc000e03cfed84129d30734493539b6f3784ad68
2017-05-24 11:23:10 +08:00
Nevin Chen
054b372b44 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : fb968097e7722ebcfb1245c366f9224c5a57857f
2017-05-18 19:27:13 +08:00
Sebastian Hengst
dc3b84b5f1 Backed out changeset c77265a29cc7 (bug 1358117) for mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java:25: error: cannot find symbol, e.g. in findbugs job. r=backout on a CLOSED TREE 2017-05-26 20:24:18 +02:00
Nevin Chen
0b488bfce3 Bug 1358117 - Add pref to turn on/off leanplum. r=maliu,sebastian
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : c2cf440acceb5f8bbc34546c51e58444adf4b846
2017-05-18 19:27:13 +08:00
Sebastian Hengst
5f1b61f2b5 Backed out changeset fba7b035a4f9 (bug 1358117) for bustage at mobile/android/base/java/org/mozilla/gecko/mma/MmaDelegate.java:25: symbol not found. r=backout 2017-05-26 13:42:06 +02:00
Sebastian Hengst
e3a6904ac7 Backed out changeset f54fb8956671 (bug 1361664) so bug 1358117 can be backed out. r=backout 2017-05-26 13:41:23 +02:00
Nevin Chen
91af5e978d Bug 1361664 - Part1. Udate MMA API, make init() accept activity. r=maliu
MozReview-Commit-ID: AcfoeCPV8SV

--HG--
extra : rebase_source : 05d3ed2665e7ad12870a0a9aa129dabeca34c995
2017-05-24 11:23:10 +08:00
Nevin Chen
72aa826e9e Bug 1358117 - Add pref to turn on/off leanplum. r=maliu
MozReview-Commit-ID: 8LHvMPSxAdl

--HG--
extra : rebase_source : 69799f182bd6c95856503324e93ceae991dc9bec
2017-05-18 19:27:13 +08:00
cnevinc
bd3cffad0a Bug 1351585 - Part 1. Add Leanplum SDK source code to thirdparty module r=maliu
MozReview-Commit-ID: 6r7ZGpAww2n

--HG--
extra : rebase_source : 66659717f9e5815f9f4ea0f1e5534b5ae2cc93ed
2017-05-13 14:05:09 -07:00
Nick Alexander
f0ae8d607b Bug 1353055 - Strip 'vars' debugging information when building Fennec --with-gradle. r=ahunt
To observe the difference, use `javap -l`.  For example, for
automationRelease and automationDebug built with `./mach gradle clean
app:assembleAutomationRelease app:assembleAutomationDebug`, I see
locally:

$ javap -l objdir-droid/gradle/build/mobile/android/app/intermediates/classes/automation/release/org/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu\$1.class
Compiled from "ActivityStreamContextMenu.java"
class org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1 extends org.mozilla.gecko.util.UIAsyncTask$WithoutParams<java.lang.Boolean> {
  final android.view.MenuItem val$bookmarkItem;

  final org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu this$0;

  org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1(org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu, android.os.Handler, android.view.MenuItem);
    LineNumberTable:
      line 103: 0

  <snip>
}

$ javap -l objdir-droid/gradle/build/mobile/android/app/intermediates/classes/automation/debug/org/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu\$1.class
Compiled from "ActivityStreamContextMenu.java"
class org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1 extends org.mozilla.gecko.util.UIAsyncTask$WithoutParams<java.lang.Boolean> {
  final android.view.MenuItem val$bookmarkItem;

  final org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu this$0;

  org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1(org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu, android.os.Handler, android.view.MenuItem);
    LineNumberTable:
      line 103: 0
    LocalVariableTable:
      Start  Length  Slot  Name   Signature
          0      16     0  this   Lorg/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu$1;
          0      16     1 this$0   Lorg/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu;
          0      16     2    x0   Landroid/os/Handler;

  <snip>
}

MozReview-Commit-ID: 3HmiGkHhowQ

--HG--
extra : rebase_source : c84d8d4b8ac813e49db0c61a30c7098ff2eae3f4
2017-04-03 13:41:11 -07:00
maliu
3fc1180e7a Bug 1321981 - [RTL] ViewPager Support - part 3. Skip set current item if adapter is empty, r=sebastian
MozReview-Commit-ID: L82yxhdG5bd

--HG--
extra : rebase_source : 71615c37c4e5b4abc67d2eb92a6e4662dc59b149
2017-03-21 14:58:03 +08:00
maliu
a699dea057 Bug 1321981 - [RTL] ViewPager Support - part 2. Notify dataset change with calling super, r=sebastian
MozReview-Commit-ID: LUvWH3Sq8IJ

--HG--
extra : rebase_source : 3a9a8d657619f877f0d17e8f5870113dfd87da0e
2017-03-21 14:49:40 +08:00
maliu
2f076a0ebd Bug 1321981 - [RTL] ViewPager Support - part 1. Import thirdparty RtlViewPager, r=sebastian
MozReview-Commit-ID: E3VP2SoRKTt

--HG--
extra : rebase_source : 975e73220f66ff00265082f28e1de247bf0ab3e7
2017-03-21 13:47:23 +08:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Swaroop Rao
7e12d23496 Bug 1328837 - Move 'Switchboard' code into our module/package. Refactored SwitchBoard component to pull it into the app module. r=sebastian
MozReview-Commit-ID: HfypfVFdPwP

--HG--
rename : mobile/android/thirdparty/com/keepsafe/switchboard/AsyncConfigLoader.java => mobile/android/base/java/org/mozilla/gecko/switchboard/AsyncConfigLoader.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/DeviceUuidFactory.java => mobile/android/base/java/org/mozilla/gecko/switchboard/DeviceUuidFactory.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/Preferences.java => mobile/android/base/java/org/mozilla/gecko/switchboard/Preferences.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/Switch.java => mobile/android/base/java/org/mozilla/gecko/switchboard/Switch.java
rename : mobile/android/thirdparty/com/keepsafe/switchboard/SwitchBoard.java => mobile/android/base/java/org/mozilla/gecko/switchboard/SwitchBoard.java
extra : rebase_source : 696e6169c616f7a7540d452b27318c9647f620ee
2017-01-28 16:26:13 -05:00
Nick Alexander
b4c52f8bca Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6

--HG--
extra : rebase_source : 0c80117fb58e43f9c857027941f0a14f03b97f13
2016-10-05 20:23:38 -07:00
Nick Alexander
b316681623 Bug 1303468 - Follow-up: Unbust Gradle lint. r=me
MozReview-Commit-ID: IWB0CMVuNPr
2016-09-19 14:54:24 -07:00
Nick Alexander
94886d9a99 Bug 1303468 - Part 1: Move more things into GeckoView. r=jchen
MozReview-Commit-ID: CEjyq0TFn6j

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/SysInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/SysInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/JNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/JNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/ReflectionTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/ReflectionTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/RobocopTarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/RobocopTarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WebRTCJNITarget.java
rename : mobile/android/base/java/org/mozilla/gecko/annotation/WrapForJNI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/annotation/WrapForJNI.java
extra : rebase_source : aa34c4b5333ed1db01ae5437946e9e48e136c9e4
extra : histedit_source : 75cc1703f895894c1a5a55f1c5cb94d4cbde5b8e
2016-09-16 15:53:39 -07:00
Sebastian Kaspari
6e8d16fcc6 Bug 1290014 - Add DiskLruCache library. r=ahunt,Grisha
This patch adds the known and widely used disk LRU cache library by Jake Wharton [1].
It's a standalone version of the disk LRU cache found in the AOSP tree.

The goal is to use a flat file disk cache to avoid the overhead of storing blobs
in a database [2] (and some bugs like bug 1108084).

[1] https://github.com/JakeWharton/DiskLruCache
[2] https://wiki.mozilla.org/Performance/Avoid_SQLite_In_Your_Next_Firefox_Feature

MozReview-Commit-ID: 2ayN7SYVe4W

--HG--
extra : rebase_source : d24907e9ab5563999754bb1f554ed31e5c90d47d
2016-07-27 16:20:00 +02:00
Andrzej Hunt
4b9284487d Bug 1280382 - Catch ClassCastException that may occur on return from generic method r=mcomella
MozReview-Commit-ID: BfiAMAEY1jY

--HG--
extra : rebase_source : d7fde4380e232a19880b896234d658f60a84965d
2016-07-05 09:29:30 -07:00