Commit Graph
107 Commits
Author SHA1 Message Date
Sebastian Kaspari 0388d5178e Bug 1235347 - Add Permissions helper class for checking and requesting runtime permissions. r=nalexander 2016-01-11 12:05:08 +01:00
Mark Finkle ce064fa8d4 Bug 1239935 - Remove unused TelemetryRecorder and tests r=nalexander 2016-01-16 16:25:44 -05:00
Sebastian Kaspari 39c2d41b79 Bug 1237576 - DownloadAction: Remove canWrite() check. r=rnewman
We can't use File.canWrite() on files that do not exist yet. After all we are
going to create the file in a folder that we just created. So it is very
unlikely that writing to that folder is going to fail.
2016-01-11 17:51:31 +01:00
Sebastian Kaspari 5196a0b482 Bug 1237576 - DownloadAction.getDestinationFile(): Create directory if needed. r=rnewman 2016-01-11 17:44:30 +01:00
Mark Finkle c6798c70e6 Bug 1183320 - Remove FHR from android/services r=rnewman 2016-01-11 23:08:12 -05:00
Sebastian Kaspari d84fd8f1a6 Bug 1236507 - DownloadContentService: Skip download if file system is not writable. r=rnewman 2015-12-22 10:28:10 +01:00
Sebastian Kaspari f91baf7945 Bug 1215106 - DownloadContentService: Mark content as permanently failed after multiple errors of the same type. r=rnewman 2015-12-21 09:49:57 +01:00
Sebastian Kaspari 919fa92365 Bug 1220145 - DownloadContentService: Check space on disk before downloading content. r=rnewman 2015-12-19 23:01:11 +01:00
Sebastian Kaspari e7aa62020a Bug 1233785 - DownloadContentService: Skip DownloadAction if no network is available. r=rnewman 2015-12-18 20:10:26 +01:00
Sebastian Kaspari 549d8b71fd Bug 1209513 - DownloadContentService: Add support for resuming downloads. r=rnewman 2015-12-17 11:36:16 +01:00
Sebastian Kaspari dc5b7aa391 Bug 1232984 - Add basic set of tests for downloadable content. r=rnewman 2015-12-16 13:16:23 +01:00
Nick Alexander aa59d57a9e Bug 1229681 - Don't export any content providers. r=rnewman
We don't expect to access any providers cross-package.  (At one time
the android-sync repository did, but those days are long past.)  Not
exporting these content providers may also avoid some bugs we've seen
that look like content providers from Aurora being loaded into
Nightly's process or vice versa.
2015-12-17 15:26:35 -08:00
Nick Alexander 691901dad8 Bug 1230781 - Remove obsolete TestFxAccountAgeLockoutHelper. r=me 2015-12-05 17:46:58 -08:00
Nick Alexander af9f207524 Bug 1222120 - Part 2: Use custom Robolectric test runner. r=vivek
DONTBUILD NPOTB on a CLOSED TREE

The patch is horrific, but it's just find-and-replace of the test
runner class name, followed by organizing the imports (in the way that
IntelliJ likes them.)
2015-11-05 14:01:41 -08:00
Nick Alexander c30538bfc5 Bug 1222120 - Part 1: Add custom Robolectric test runner. r=vivek
This exports the buildDir to Robolectric via an Android-Gradle
buildConfigField, and then lightly massages the existing test runner
to use the exported value.
2015-11-06 10:58:18 -08:00
Nick Alexander 33c753c51a Bug 773050 - Build services.jar to consume in gecko-browser.jar. r=rnewman 2015-10-26 14:19:35 -07:00
Nick Alexander 300e8296b9 Bug 1218935 - Normalize background JUnit3 source layout. r=me,rnewman 2015-10-27 11:56:06 -07:00
Nick Alexander 45aef78229 Bug 1025128 - Part 2: Fix JUnit 3 tests. r=me,vivek 2015-10-27 14:28:20 -07:00
vivek 21f6fab7bd Bug 1213688 : Update password store logic for deleted local records r=nalexander,rnewman 2015-10-20 20:03:55 +03:00
Carsten "Tomcat" Book b77f30ccd4 Merge mozilla-central to mozilla-inbound 2015-09-23 12:47:04 +02:00
Chris Peterson 752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nick Alexander b4b941fa98 Bug 1108782 - Part 2: Explode AAR files at configure time. r=glandium
This gets us a limited version of AAR support: we can consume static
AAR libraries, where here static does not refer to linking, but to
static assets that are fixed at build-backend time and not modified
(or produced) during the build.  This lets us pin our dependencies
(and move to Google's versioned Maven repository packages, away from
Google's unversioned ad-hoc packages).

By restricting to static AAR libraries, we avoid having to handle
truly complicated dependency trees, as changing parts of generated AAR
files require delicate rebuilding of the APKs (and internal libraries)
that depend on the AAR files.

It is possible that we will generate AARs in the tree at some time.
Right now, we don't do that, even for GeckoView: the AARs produced are
assembled as artifacts at package time and are intended for external
consumption.  We might want this for GeckoView and Fennec at some
time; we should consider using Gradle everywhere at that point.

The patch itself does the simplest possible thing (which has precedent
from Gradle and other build systems): it simply "explodes" the AAR
into the object directory and uses existing mechanisms to refer to the
exploded pieces.

AARs have both required and optional components.  Each component is
defined with an expected and required flag. If a component is expected
and not present, or not expected and is present, an error is raised.
If the component is expected and present, autoconf's ifelse() macro is
used to define the relevant AAR_* component variables.  If the
component is not expected and not present, no action is taken.  A
consuming build backend therefore can guard all AAR_* component
variables with just the top-level AAR variable.

Many AAR files have empty assets/ directories.  This patch doesn't
explode empty assets/ directories, protecting against trivial changes
to AAR files that don't impact the build.

There's a lot not to like in this approach, including:

* We need to manually reference internal AAR libs;
* I haven't separated the pinned version numbers out of configure.in.

However, it's closer to what we want than what we have!
2015-09-22 10:04:26 -07:00
Nick Alexander 54c3e9fe77 Bug 1108782 - Part 1: straighten out Java classpaths. r=glandium
This commit is us getting out of our own way.  We were specifying
-classpath twice, once in $(JAVAC) and once in java-build.mk.  Only
the latter of these is active.  This a problem for ANDROID_EXTRA_JARS
-- those JARs should be on the classpath and input to $(DX) -- and
JARs that should be on the classpath but *not* input to $(DX).  This
commit removes the global flags to $(JAVAC) and adds
JAVA_{BOOT}CLASSPATH_JARS.  This required some hijinkery moving
wildcards to moz.build files, but everything seems to work.

As well as clarifying some parts of the build, part 2 uses this work
to modify the classpath.
2015-08-31 13:35:05 -07:00
vivek dfca9013c8 Bug 1182193 - Part 3: Added runwith annotations for unittest with gradle r=nalexander 2015-09-04 00:50:42 +03:00
vivek 422a175229 Bug 1182193 - Part 2: Copy the tests from android-sync project. r=nalexander 2015-09-03 21:31:14 +03:00
vivek d13983c269 Bug 1182193 - Part 1: Add Gradle-based Robolectric JUnit 4 tests r=nalexander 2015-08-29 00:26:36 +03:00
Nick Alexander c1c9a1046e Bug 1195388 - Part 1: Make ANDROID_APK_{NAME,PACKAGE} moz.build variables. r=gps
This paves the way for defining additional Android packages in
moz.build, which is a step toward moving the special
mobile/android/base/Makefile.in aapt invocations into the generic
java-build.mk framework.

The new variables are both passthru variables for now: in the future,
we'll roll them into some aggregate Android APK definition.

It's worth noting that references to the variables in Makefile.in
files are only defined after including rules.mk (and thereby
backend.mk).  This only required a few changes in the tree but it
confused me for some time.
2015-08-19 12:34:58 -07:00
Nick Alexander 5e064bd7f4 Bug 1195388 - Pre: Remove Eclipse definitions. r=gps
This is just cruft; I didn't want to think about it when working on
the other parts.  Bug 1196367 tracks removing the AndroidEclipse build
backend that consumed these definitions entirely.
2015-08-10 16:33:27 -07:00
vivek f6c04dbfa1 Bug 1171141 : Fetch profile data for FxAccount -r=nalexander. 2015-06-14 15:30:25 +03:00
Georg Fritzsche f1b09b984d Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Michael Comella 6ac4bec05c Bug 1150974 - Run trimage on all png assets in mobile/. r=rnewman
The command I ran was:
  for i in `find mobile -name "*.png" | sed "s/\(.*\)\/.*\.png/\1/" | sort | uniq`; do trimage -d ${i}; done
2015-04-03 11:26:06 -07:00
Nick Alexander 9502b5edf0 Bug 1123107 - Include Reading List checkbox during account creation. r=rnewman
This is a reasonable-sized refactoring underneath a small feature-patch.
The refactor reworks what information we maintain (and pickle) about
"enabled" services.  We've moved from a boolean "Sync enabled" flag to a
map of Android authorities (which map to services like Firefox Sync and
reading list) and boolean flags indicating whether each authority is
"automatically synced".  The checkboxes in the status activity
correspond directly to whether the authority (service) is automatically
synced.

The set of authorities we care about is determined by the DEFAULT_* map.
Said map is interrogated and written to the pickle file at Sync time.
When the pickle file is un-pickled, only the set of known authorities is
acted upon.  What that means is that both writing and reading a pickle
file with different sets of authorities should work across upgrades: if
a known authority is missing, the default value will be used; if an
unknown authority is present, it will be ignored.  This lets us alter
the set of known authorities via the build flag.

I have tested and Android maintains the "sync automatically" state for
an authority even when the authority is not present in the list of sync
checkboxes.

All in all, I'm not concerned about toggling the build flag multiple
times in the future.  (If we backed out the updated pickling code, we
would need to handle pickle downgrades, but we already needed to handle
that.)

========

https://github.com/mozilla-services/android-sync/commit/fc8936549a7ae77213736540f8701a561f73de4f
Author: Nick Alexander <[email protected]>
Date:   Wed Feb 11 10:37:34 2015 -0800

    Bug 1123107 - Part 3: Include Reading List checkbox during account creation.

    We are careful to show the checkbox only when the reading list service
    is enabled.

========

https://github.com/mozilla-services/android-sync/commit/c90ea353cc4e4426ba5ba24b3dda21e0032c4b01
Author: Nick Alexander <[email protected]>
Date:   Wed Feb 11 10:31:15 2015 -0800

    Bug 1123107 - Part 2: Thread authorities to sync automatically through sign up/sign in flow.

========

https://github.com/mozilla-services/android-sync/commit/e0c4d2074431ef1647ed9ae6ea5578316a1e5707
Author: Nick Alexander <[email protected]>
Date:   Mon Feb 9 12:35:15 2015 -0800

    Bug 1123107 - Part 1: Manage map of automatically synced authorities.

========

https://github.com/mozilla-services/android-sync/commit/7f7e308190f792a47dbb640dd6e0acdb0b08212e
Author: Nick Alexander <[email protected]>
Date:   Mon Feb 9 11:54:54 2015 -0800

    Bug 1123107 - Part 0: Remove "account needs to be enabled" warning in status activity.

    As we move Sync to a model where a status checkbox sets whether a single
    ContentProvider is synced, it no longer makes sense to message when the
    "account" is not automatically syncing.
2015-02-11 12:12:31 -08:00
Nick Alexander 7417a119cb Bug 956444 - Migrate from Old Sync to Firefox Accounts based on meta/fxa_credentials migration sentinel. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/5dec5a7929c418153846ea1dce3dc00a4ef75cb6
Author: Nick Alexander <[email protected]>
Date:   Wed Dec 17 18:03:44 2014 -0800

    Bug 956444 - Post: Persist fetch timestamp on 404.

    I imported and modified your old code; this looks like an oversight from
    there, but I want to call it out.  If we don't persist the timestamp,
    then the stamp persisted to config is always -1, meaning we GET (and
    404) the credentials on every sync.  You have code to compare
    info/collections against the fetched timestamp so I think we should
    persist even on 404.

========

https://github.com/mozilla-services/android-sync/commit/520341ce660c332626064087c0d8a6de0f36b8ce
Author: Richard Newman <[email protected]>
Date:   Thu Jan 2 20:44:58 2014 -0800

    Bug 956444 - Part 2: Fetch and process meta/fxa_credentials migration sentinel.

    This adds a Sync stage that tries to create a new Firefox Account in the
    MigratedFromSync11 state when a known migration sentinel is seen.

========

https://github.com/mozilla-services/android-sync/commit/2f4ea5c14b96c95564f0cc4a0d7241767bf0c15b
Author: Nick Alexander <[email protected]>
Date:   Fri Dec 12 16:44:25 2014 -0800

    Bug 956444 - Part 1: Add informMigrated callback.

    GlobalSession and Sync stages don't have access to the Android Account
    object.  This callback maintains the existing information hiding.

========

https://github.com/mozilla-services/android-sync/commit/11a8f6c1ef23580e6a61759bda909e86b588c040
Author: Nick Alexander <[email protected]>
Date:   Fri Dec 12 16:26:02 2014 -0800

    Bug 956444 - Pre: Unpickle accounts during package upgrade.

    This makes it a little easier to test: you can |adb push| or |adb shell
    echo ''| a known sync.accounts.json file onto device and then re-install
    the package to restore a known Sync Account.
2015-01-05 13:50:08 -08:00
Richard Newman 9b77f87f3c Bug 1109361 - Handle empty files when loading ProfileInformationCache. r=mcomella 2014-12-23 14:28:46 -08:00
Chris Kitching f0e367ab62 Bug 947018: Delete large amounts of database migration code. r=wesj 2014-09-08 06:43:20 -07:00
Richard Newman 05fb52d128 Bug 1097220 - Extend client record format on Android. r=nalexander 2014-11-18 18:40:29 -08:00
Nick Alexander 51a5d2dac0 Bug 1069648 - Add instrumentation manifests to moz.build. r=ted
These manifests are special in that they don't package their test files
into the test package.  Each test listed in an instrumentation manifest
serves as an identifier rather than a file.
2014-09-26 11:44:58 -07:00
Nick Alexander d06ffadcc7 Bug 1026005 - Bustage follow-up: Include support library v4 in background JUnit 3 tests. r=bustage
CLOSED TREE
2014-08-22 11:40:16 -07:00
Nick Alexander b59dd2bae7 Bug 1026005 - Create Loader for querying/updating Accounts status. r=mcomella
========

https://github.com/mozilla-services/android-sync/commit/3cd96669bc109c0e381dd52e3e289b251d3eef31
Author: Nick Alexander <[email protected]>
Date:   Mon Aug 18 17:43:24 2014 -0700

    Bug 1026005 - Review comments.

========

https://github.com/mozilla-services/android-sync/commit/5aefe1f716fdc54155c121beb4aa0d3da6196c0e
Author: Nick Alexander <[email protected]>
Date:   Mon Jun 16 11:16:16 2014 -0700

    Bug 1026005 - Part 2: Add AccountLoader.

========

https://github.com/mozilla-services/android-sync/commit/61bc36bd7df7342b04bc21eb388c46345cf1ee0e
Author: Nick Alexander <[email protected]>
Date:   Mon Jun 16 11:12:37 2014 -0700

    Bug 1026005 - Part 1: Add and broadcast ACCOUNT_STATE_CHANGED_ACTION.

========

https://github.com/mozilla-services/android-sync/commit/9d80df0aa74c8c9ec0e107e41696f8af6273938d
Author: Nick Alexander <[email protected]>
Date:   Mon Aug 18 17:42:11 2014 -0700

    Bug 1026005 - Pre: Allow testing with |mvn integration-test|.

    This avoids errors like:

    W dalvikvm(24082)             Class resolved by unexpected DEX: Lorg/mozilla/gecko/fxa/AccountLoader;(0x42c13358):0x75440000 ref [Landroid/support/v4/content/AsyncTaskLoader;] Landroid/support/v4/content/AsyncTaskLoader;(0x42c13358):0x74a71000
    W dalvikvm(24082)             (Lorg/mozilla/gecko/fxa/AccountLoader; had used a different Landroid/support/v4/content/AsyncTaskLoader; during pre-verification)
    W dalvikvm(24082)             Unable to resolve superclass of Lorg/mozilla/gecko/fxa/AccountLoader; (247)
    W dalvikvm(24082)             Link of class 'Lorg/mozilla/gecko/fxa/AccountLoader;' failed
    E dalvikvm(24082)             Could not find class 'org.mozilla.gecko.fxa.AccountLoader', referenced from method org.mozilla.gecko.background.fxa.TestAccountLoader.testInitialLoad
    W dalvikvm(24082)             VFY: unable to resolve new-instance 1299 (Lorg/mozilla/gecko/fxa/AccountLoader;) in Lorg/mozilla/gecko/background/fxa/TestAccountLoader;
    D dalvikvm(24082)             VFY: replacing opcode 0x22 at 0x0005
    W dalvikvm(24082)             Class resolved by unexpected DEX: Lorg/mozilla/gecko/fxa/AccountLoader;(0x42c13358):0x75440000 ref [Landroid/support/v4/content/AsyncTaskLoader;] Landroid/support/v4/content/AsyncTaskLoader;(0x42c13358):0x74a71000
    W dalvikvm(24082)             (Lorg/mozilla/gecko/fxa/AccountLoader; had used a different Landroid/support/v4/content/AsyncTaskLoader; during pre-verification)
    W dalvikvm(24082)             Unable to resolve superclass of Lorg/mozilla/gecko/fxa/AccountLoader; (247)
    W dalvikvm(24082)             Link of class 'Lorg/mozilla/gecko/fxa/AccountLoader;' failed
    D dalvikvm(24082)             DexOpt: unable to opt direct call 0x1df8 at 0x07 in Lorg/mozilla/gecko/background/fxa/TestAccountLoader;.testInitialLoad
    I TestRunner(24082)           started: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
    I TestRunner(24082)           failed: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
    I TestRunner(24082)           ----- begin exception -----
    I TestRunner(24082)
    I TestRunner(24082)           java.lang.NoClassDefFoundError: org.mozilla.gecko.fxa.AccountLoader
    I TestRunner(24082)           	at org.mozilla.gecko.background.fxa.TestAccountLoader.testInitialLoad(TestAccountLoader.java:145)
    I TestRunner(24082)           	at java.lang.reflect.Method.invokeNative(Native Method)
    I TestRunner(24082)           	at java.lang.reflect.Method.invoke(Method.java:525)
    I TestRunner(24082)           	at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
    I TestRunner(24082)           	at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
    I TestRunner(24082)           	at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
    I TestRunner(24082)           	at junit.framework.TestCase.runBare(TestCase.java:134)
    I TestRunner(24082)           	at junit.framework.TestResult$1.protect(TestResult.java:115)
    I TestRunner(24082)           	at junit.framework.TestResult.runProtected(TestResult.java:133)
    I TestRunner(24082)           	at junit.framework.TestResult.run(TestResult.java:118)
    I TestRunner(24082)           	at junit.framework.TestCase.run(TestCase.java:124)
    I TestRunner(24082)           	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
    I TestRunner(24082)           	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
    I TestRunner(24082)           	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
    I TestRunner(24082)           	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1738)
    I TestRunner(24082)           ----- end exception -----
    I TestRunner(24082)           finished: testInitialLoad(org.mozilla.gecko.background.fxa.TestAccountLoader)
2014-08-22 11:15:38 -07:00
Richard Newman 306439584b Bug 1045085 - Remove main Product Announcements code. r=mcomella 2014-07-31 11:24:02 -07:00
Nick Alexander 72164c84f3 Bug 1033481 - Use a .mozbuild file rather than a .mk in m/a/tests/background/junit3. r=rnewman 2014-07-07 21:49:34 -07:00
Nick Alexander 5868b93c0b Bug 1019793 - Avoid UnsupportedOperationException in TestHealthReportPruneService. r=mcomella
========

https://github.com/mozilla-services/android-sync/commit/ce21e7f19a045a4bf45c5746962cd01a81b02549
Author: Nick Alexander <[email protected]>
Date:   Wed Jun 4 14:15:09 2014 -0700

    Bug 1019793 - Always upload in TestHealthReportUploadService.

========

https://github.com/mozilla-services/android-sync/commit/e4c7393c6f2717329612405385fa20c4833cda64
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:47:33 2014 -0700

    Bug 1019793 - Don't create storage in TestHealthReportPruneService.

    Creating real storage requires a valid Context, and in this test, we
    only have MockContext.
2014-06-21 15:42:44 -07:00
Nick Alexander 23f03c8bb9 Bug 993134 - Make TestAccountPickler tolerate multiple accounts. r=mcomella
========

https://github.com/mozilla-services/android-sync/commit/872d926e32e1cd43f25cf3c477bdc529aaef3f97
Author: Nick Alexander <[email protected]>
Date:   Wed Jun 4 14:21:17 2014 -0700

    Bug 993134 - Part 5: Work around Android intermittent issue.

========

https://github.com/mozilla-services/android-sync/commit/c76bb539017f80d5310d2a6cf69a43baa877bcbb
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 17:02:15 2014 -0700

    Bug 993134 - Part 4: Make fxa.TestAccountPickler robust.

    This tested extracting data from an AndroidFxAccount before, and another
    after, backed by different Android Accounts.  Unfortunately, one Account
    replaced the other, but had the same name, leading to a race
    condition (between reading and deleting the first account).  To address
    this, we extract all the data before deleting, and then compare it to
    the data from the newly pickled account.

========

https://github.com/mozilla-services/android-sync/commit/bd32978f7b2626c74b9c0863e5f5fb8a01710440
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:34:09 2014 -0700

    Bug 993134 - Part 3: Use AndroidSyncTestCaseWithAccounts to make fxa.TestAccountPickler when accounts exist.

========

https://github.com/mozilla-services/android-sync/commit/ec7d910187694dbb834ce128c78cac7243bdacc1
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:33:29 2014 -0700

    Bug 993134 - Part 2: Extract AndroidSyncTestCaseWithAccounts.

========

https://github.com/mozilla-services/android-sync/commit/6563ad7bd8367518862560747f4f9651514a0b59
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:30:15 2014 -0700

    Bug 993134 - Part 1: Make getApplicationContext return getTargetContext.

    I was finding that repeated instrumentation-test runs were returning a
    null application context, indicating a race between test start-up and
    target instantiation.  This works well for me on two test devices.
2014-06-21 15:42:38 -07:00
Nick Alexander 2b049ad12c Bug 993136 - Fix TestSyncConfiguration. r=mcomella
========

https://github.com/mozilla-services/android-sync/commit/306fb330a9a2d1e5c87196135868c234108dbc80
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:29:55 2014 -0700

    Bug 993136 - Fix TestSyncConfiguration.
2014-06-21 15:42:31 -07:00
Hathibelagal A 6997365fe1 Bug 1027831 - Switch from deprecated FILL_PARENT to MATCH_PARENT in Java and XML. r=bnicholson 2014-06-20 09:21:31 -07:00
Richard Newman 70eb851db0 Bug 1025937 - Silently drop null intents in background IntentServices. r=mcomella 2014-06-16 16:18:59 -07:00
Nick Alexander 1faf8c6336 Bug 1021055 - Add Sync client device type to Fennec's tabs provider. r=rnewman
This is the expedient thing to do.  The right thing to do is to
deprecate Sync's clients database in favour of Fennec's clients table,
but that's a good chunk of work for a small gain.
2014-06-11 14:20:24 -07:00
Nick Alexander 5680daa86a Bug 788688 - Allow setting client's device name in FxAccountStatusActivity. r=rnewman
========

https://github.com/mozilla-services/android-sync/commit/8c7b2531420892398d6b86eef52b0b472908e53e
Author: Nick Alexander <[email protected]>
Date:   Tue Jun 3 15:48:40 2014 -0700

    Bug 788688 - Review comment: Include timestamp in setClientName.

========

https://github.com/mozilla-services/android-sync/commit/b53b9092c20a317b0ebb4eef0d3618c12d4c6407
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 16:05:25 2014 -0700

    Bug 788688 - Post: PII client data to ease debugging.

========

https://github.com/mozilla-services/android-sync/commit/fd59f3c984b4a6c480cf045ca810e298ced826d5
Author: Nick Alexander <[email protected]>
Date:   Wed Jun 4 15:01:12 2014 -0700

    Bug 788688 - Part 4: Work around Android DialogPreference caching bug.

========

https://github.com/mozilla-services/android-sync/commit/87d10bc16aaf59d463e187bb5879728152367cfc
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 14:44:24 2014 -0700

    Bug 788688 - Part 3: Add "Device name" pref to Status activity.

    In the edge case where what the user has entered (empty text) and what
    is persisted (default client name) differ, Android does not update the
    contents of the dialog's EditText correctly.  Removing and re-creating
    all preferences is the only way I found to work around this; that's in
    the next commit.

========

https://github.com/mozilla-services/android-sync/commit/7af72f6c2ff9099b957cc562cc3f71ee3cb1f49b
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 16:05:59 2014 -0700

    Bug 788688 - Part 2: Upload clients and tabs records when client name changes.

========

https://github.com/mozilla-services/android-sync/commit/0e99eae1b5fe5e79dd3a8030bfca4aef64e22703
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 15:28:36 2014 -0700

    Bug 788688 - Part 1: Add setClientName with timestamp to ClientsDataDelegate.

========

https://github.com/mozilla-services/android-sync/commit/1999e263dbee7340c1f2ad312813561520805700
Author: Nick Alexander <[email protected]>
Date:   Thu May 29 14:10:40 2014 -0700

    Bug 788688 - Pre: Clean some imports.
2014-06-04 16:37:25 -07:00
Richard Newman b39c8356d9 Bug 965371 - Follow-up: test and misc fixes. r=me 2014-05-09 21:25:51 -07:00
Richard Newman e79c601d2a Bug 965371 - Part 1: introduce v3 environment format. r=mcomella 2014-05-09 19:19:13 -07:00