Commit Graph

53 Commits

Author SHA1 Message Date
Richard Newman
d8d650a7ee Bug 1060536 - Move LocaleAware into Fennec to allow for easier reuse from Search. r=nalexander
--HG--
rename : mobile/android/base/sync/setup/activities/LocaleAware.java => mobile/android/base/LocaleAware.java
2014-08-29 16:14:54 -07:00
Richard Newman
e7723d3dd4 Bug 1058146. r=nalexander 2014-08-29 09:27:56 -07:00
Nick Alexander
2f89b3cf6d Bug 1026005 - Create Loader for querying/updating Accounts status. r=mcomella
========

3cd96669bc
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Aug 18 17:43:24 2014 -0700

    Bug 1026005 - Review comments.

========

5aefe1f716
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Jun 16 11:16:16 2014 -0700

    Bug 1026005 - Part 2: Add AccountLoader.

========

61bc36bd7d
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Jun 16 11:12:37 2014 -0700

    Bug 1026005 - Part 1: Add and broadcast ACCOUNT_STATE_CHANGED_ACTION.

========

9d80df0aa7
Author: Nick Alexander <nalexander@mozilla.com>
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
87da4b8c44 Bug 1045085 - Remove main Product Announcements code. r=mcomella 2014-07-31 11:24:02 -07:00
Michael Comella
450e0dfa4f Bug 958889 - Part 2.7: Provide public read-only access to FXAccount state and resend verification code. r=nalexander 2014-05-22 18:38:02 -07:00
Richard Newman
9cf7154a60 Bug 965371 - Part 1: introduce v3 environment format. r=mcomella 2014-05-09 19:19:13 -07:00
Nick Alexander
086431af3b Bug 996749 - Kill PrefsSource. r=rnewman
========

6ced7b05cd
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 996749 - Part 3: Finally kill PrefsSource.

========

b37547fbd8
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Apr 15 10:47:11 2014 -0700

    Bug 996749 - Part 2: Remove storageEndpoint from FxAccountGlobalSession constructor.

    This is just a separation of concerns: let's inject our dependency as
    configured as possible.

========

42e8fe761f
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Mon Apr 14 12:30:21 2014 -0700

    Bug 996749 - Part 1: Remove debugAssertion.

    This is no longer valuable, since we're not getting timestamp HAWK
    errors from the server.
2014-04-15 10:59:00 -07:00
Richard Newman
e6442bfb8d Bug 970176 - Part 2: invoke LocaleManager locale switching code prior to handling strings or Locale in background services. r=nalexander 2014-04-15 15:07:15 -07:00
Nick Alexander
57c47e042f Bug 966104 - Add Sync status listener to Android FxA activities. r=rnewman 2014-04-04 16:24:00 -07:00
Nick Alexander
fc8d68521b Bug 988571 - Migrate Android Firefox Accounts from Doghouse to Separated state on application upgrade. r=rnewman 2014-03-28 00:32:59 -07:00
Michael Comella
dd0219ba2f Bug 957894: Update account pickling code for Firefox Accounts. r=nalexander 2014-03-26 11:31:43 -07:00
Michael Comella
372f083b66 Bug 915312 - Part 3: Add NativeCrypto Java interface. r=nalexander 2014-03-06 12:10:54 -08:00
Nick Alexander
5b9b66af56 Bug 972051 - Dismiss 'Tap to sign in' notification when a sync succeeds. r=rnewman 2014-03-03 15:20:19 -08:00
Nick Alexander
62718468ec Bug 974134 - Improve FxAccountStatusActivity layout. r=rnewman 2014-03-03 15:20:19 -08:00
Richard Newman
c22b8f5467 Bug 958900 - Backoff handling and periodic syncing for FxAccountSyncAdapter. r=nalexander 2014-02-13 19:46:23 -08:00
Richard Newman
e835f2949d Bug 962644 - Part 0: extract firefoxAccountsExist and friends. r=nalexander 2014-01-31 16:02:42 -08:00
Richard Newman
51af941cf3 Bug 963424 - Use token server-provided cluster URL. r=nalexander 2014-01-28 16:20:50 -08:00
Nick Alexander
37687c1b9f Bug 963160 - Use server provided alternate email address. r=rnewman 2014-01-25 18:06:55 -08:00
Nick Alexander
a0122f5dd6 Bug 956839 - Implement Android native Firefox Account status UI. r=rnewman 2014-01-23 13:54:24 -08:00
Nick Alexander
4d5c12bf34 Bug 961184 - Show activity after signing in to account. r=rnewman
Also (partially) implements resending verification codes, but doesn't
yet implement resending after account creation.
2014-01-20 21:26:57 -08:00
Nick Alexander
73e4ce9303 Bug 951264 - COPPA support for Firefox Accounts on Android. r=rnewman 2014-01-20 21:26:53 -08:00
Richard Newman
ac232563d5 Bug 929066 - Handle skew in HAWK requests. r=nalexander 2014-01-18 19:49:25 -08:00
Richard Newman
b58dfe9884 Bug 951304 - Part 3: first version of FxAccountUpdateCredentialsActivity. r=rnewman 2014-01-16 18:51:46 -08:00
Nick Alexander
5c122344ed Bug 951304 - Part 2: first cut at native UI for Firefox Accounts on Android. r=rnewman 2014-01-16 18:35:09 -08:00
Richard Newman
a60fb79516 Bug 956844 - Part 2: rework FxA state machine. r=rnewman 2014-01-16 18:35:08 -08:00
Nick Alexander
e0478d222e Bug 956844 - Part 1: update Android FxSyncAdapter to use new onepw protocol login flow. r=rnewman 2014-01-16 18:35:08 -08:00
Nick Alexander
2527cd875e Bug 957872 - Remove SyncAdapters for all but the main Fennec ContentProvider. r=nalexander
--HG--
rename : mobile/android/base/resources/xml/fxaccount_bookmarks_syncadapter.xml => mobile/android/base/resources/xml/fxaccount_syncadapter.xml
2014-01-15 10:18:18 -08:00
Nick Alexander
9c5c84788c Bug 955808 - Implement Android Firefox Account client that speaks "onepw" protocol. r=rnewman 2014-01-07 18:27:47 -08:00
Nick Alexander
8eb86798e0 Bug 918012 - Sync with FxAccount and token server. r=rnewman 2013-12-17 15:13:43 -08:00
Nick Alexander
163b1929e5 Merge m-c to elm 2013-12-16 09:13:10 -08:00
Nick Alexander
67783ac649 Bug 949880 - Refactor Android Sync's SyncAdapter for FxAccount use. r=rnewman
--HG--
extra : rebase_source : 28937855c499bb621458b15424ac67378e43f9db
2013-12-15 15:53:59 -08:00
Nick Alexander
03c9e15f08 Merge m-c to elm
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
2013-12-12 08:21:15 -08:00
Nick Alexander
7760713d9e Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Nick Alexander
003967689a Merge b-i to elm 2013-11-13 21:16:19 -08:00
Nick Alexander
784e81a440 Bug 922147 - Abstract password out of Android Sync auth flow. r=rnewman
--HG--
extra : amend_source : 785ee7294bce83665caa3d79ee2144644fc7b9b5
extra : histedit_source : b4b47d0903d6f94b8bd08b78654b4538d18e220f%2Cf89a9d672b5ac4e13481abfcc0f937182680eddd
2013-11-13 19:36:02 -08:00
Nick Alexander
30c7e2173f Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium 2013-11-13 19:32:55 -08:00
Nick Alexander
355f92582f Backed out changeset ba9c8fcf76e6 (bug 933300) 2013-11-13 17:11:58 -08:00
Nick Alexander
bb285d9ecf Backed out changeset 569d58c88da3 (bug 922147) 2013-11-13 17:03:18 -08:00
Nick Alexander
233b15cf3b Backed out changeset 1bef02988eb7 (bug 922147) 2013-11-13 17:03:17 -08:00
Nick Alexander
1beccd1a26 Merge b-i to elm 2013-11-13 15:48:47 -08:00
Nick Alexander
73a1b1e6d7 Bug 922147 - Follow-up: Fix build bustage on a CLOSED TREE.
--HG--
extra : amend_source : 20b3c088b9bfe11ca4a187fe1d96334f4196f323
2013-11-13 15:43:20 -08:00
Nick Alexander
02cc7b7f31 Bug 892025 - Implement Android client for FxAccount auth server. r=rnewman 2013-11-13 15:27:13 -08:00
Nick Alexander
c01daad066 Merge b-i to elm
--HG--
rename : b2g/chrome/content/forms.js => dom/inputmethod/forms.js
2013-11-13 15:16:51 -08:00
Nick Alexander
341cdd3040 Bug 922147 - Abstract password out of Android Sync auth flow. r=rnewman 2013-11-13 15:11:16 -08:00
Nick Alexander
c24481562d Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
This writes source with preprocessed package names into
generated/org/mozilla/{firefox,firefox_beta,fennec,fennec_$USERID},
and the other preprocessed source into generated/org/mozilla/gecko.

This layout matches the Java package hierarchy and is what IDEs expect
when including $OBJDIR/generated as a source directory.

--HG--
extra : rebase_source : 5cc397e6808d21a662c1f718ef49ee148c15e465
2013-11-11 23:39:16 -05:00
Nick Alexander
b8855f3156 Fix merge. 2013-10-26 17:24:09 -07:00
Nick Alexander
e3f1e90097 Merge m-c to elm 2013-10-26 17:23:11 -07:00
Nick Alexander
32b00064f5 Bug 925185 - Part 2: Use add_java_jar and restrict JAVA_JAR_TARGETS to moz.build. r=gps 2013-10-24 15:38:22 -07:00
Nick Alexander
801f0cc55a Fix merge. r=me 2013-10-18 11:51:05 -07:00
Nick Alexander
84cf3a924a Bug 900522 - Follow up: Rename sync resources. r=me 2013-10-17 17:42:57 -07:00