Commit Graph
2909 Commits
Author SHA1 Message Date
Andrzej Hunt 25ea52d31a Bug 1269001 - Temporarily add string resources to UnusedResourcesUtil to satisfy lint r=me
MozReview-Commit-ID: CE7RTiG2SOz
2016-05-06 14:59:23 -07:00
Andrzej Hunt ab0c4351a5 Bug 1251340 - Add probes for entering / exiting bookmark folders r=margaret
MozReview-Commit-ID: 202wvJHy6Qn
2016-05-06 14:57:54 -07:00
Michael Comella 6f21771865 Bug 1270963 - Fix NPE in UploadTelemetryCorePingCallback. r=ahunt
MozReview-Commit-ID: HgdZvuuiGDT
2016-05-06 14:17:24 -07:00
Chenxia Liu 48c7f95491 Bug 1270958 - Include string for "1 device" instead of "1 devices" for Synced devices. r=ahunt
MozReview-Commit-ID: 6zkDuGlBsmz
2016-05-06 14:06:01 -07:00
Carsten "Tomcat" Book 9abf6905e6 merge mozilla-inbound to mozilla-central a=merge 2016-05-06 14:18:17 +02:00
Grigory Kruglov 277da42d36 Bug 1236130 - Part 1: Use an explicit state machine to control GeckoNetworkManager r=mcomella
- specifying states, events and transition side-effects explicitely makes this code easier to read/maintain
- move bunch of network state helper methods into NetworkUtils
- ensure to update both network state (up/down/unknown), as well as connection type/subtype every time we need to update network state
-- this should fix the buggy behaviour when we'd miss certain network state transitions
- tests for the FSM transition matrix, and everything in the NetworkUtils

MozReview-Commit-ID: LvrfHyFdkpB
2016-05-05 01:27:35 -07:00
Ryan VanderMeulen c2fe6b1ac3 Merge m-c to fx-team. a=merge 2016-05-05 14:58:24 -04:00
Ryan VanderMeulen 5ed22bae81 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-05 10:06:54 -04:00
Andrzej Hunt 9839131450 Bug 1269481 - Update suggestClient if suggestTemplate changes r=mkaply
MozReview-Commit-ID: LmsgSFda6Nv
2016-05-04 11:25:59 -07:00
Chenxia Liu cb5f9b760c Bug 1269914 - Add probe for reaching end of History list. r=margaret
MozReview-Commit-ID: E7eXsF8Voc9
2016-05-03 17:23:58 -07:00
Eitan Isaacson 39ede82610 Bug 1019425 - Activate accessibility when both accessibilty and explore by touch are enabled. r=mfinkle
This simplifies some old code. We get rid of a whitelist of services, and rely on the face that accessibility and explore by touch is enabled to enter our internal accessibility mode.

The whitelist methode held 2 assumptions that are not true anymore:

1. There are some non-accessibility accessibility service apps in the wild that read notifications.
In later Android versions this has been made into a non-a11y use case with NotificationListenerService. So the cases of non-a11y accessibility services has shrunk.

2. Not all screen readers (Gingerbread TalkBack, for example) supported explore by touch. Today, we
exclusively support accessibility services that use explore by touch, and we should not activate our
accessibility mode in any other case.

MozReview-Commit-ID: LMeCedoIGbb
2016-05-06 09:35:36 -07:00
Chenxia Liu 088b18daaf Bug 1269909 - Add telemetry probe for clicking "Set up Sync" from History empty state. r=mfinkle
MozReview-Commit-ID: A24qXyNpWwk
2016-05-03 16:19:49 -07:00
Andrzej Hunt e1ddbca9b4 Bug 1265004 - Try to save in-memory reader view article instead of downloading r=margaret
This should guarantee that any reader view page will also be successfully saved offline.

MozReview-Commit-ID: 4J8cY6hYeyU
2016-05-02 15:47:46 -07:00
Chenxia Liu 16203933c4 Bug 1270197 - Crash when long-pressing History section header. r=sebastian
MozReview-Commit-ID: Fkna2jgTevD
2016-05-04 10:23:37 -07:00
Andrzej Hunt 3b81b0fbc4 Bug 1269406 - Upgrade delegates needing BrowserApp references to use BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: CV4uA2N8q8e
2016-05-02 11:08:16 -07:00
Andrzej Hunt f93445502d Bug 1269406 - Implement BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: Jk5Wl8h6qka
2016-05-04 08:40:45 -07:00
Andrzej Hunt fb202de89b Bug 1269406 - Pre: move BrowserAppDelegates into their own package r=sebastian
Note: some delegates might live in other packages, e.g. our HelperUI
related promotions (HomeScreenPromotion, ReaderViewBookmarkPromotion)
live in org.mozilla.gecko.promotions.

BookmarkStateChangeDelegate previously lived in promotions, however
it isn't really a promotion (we're just showing snackbars, and showing
one helper UI to explain offline reader view bookmarks _after_ such
a bookmark has been created), hence it seems a better fit for delegates.

MozReview-Commit-ID: 6fQD3FWzqnm
2016-05-04 08:33:32 -07:00
Andrzej Hunt 94a930049c Bug 1269406 - Pre: remove unnecessary imports r=me
MozReview-Commit-ID: DREY4UqM48H
2016-05-04 08:32:47 -07:00
Chenxia Liu f1d312aeb3 Bug 1269661 - Checkstyle violations in history panel code. r=mcomella
MozReview-Commit-ID: CHuVsqhDuUw
2016-05-03 12:55:38 -07:00
Michael Comella 2480946630 Bug 1243585 - review: Address comments. r=me
MozReview-Commit-ID: FrPLa7U57B7
2016-05-03 16:37:42 -07:00
Michael Comella 32fcf7e532 Bug 1243585 - Move ping builders -> pingbuilders/. r=sebastian
This overwrites a commit I did at the beginning, but fixing the version control
would have been a waste of time.

MozReview-Commit-ID: Ry9WRpTf8s
2016-04-29 15:31:56 -07:00
Michael Comella 98540f493e Bug 1243585 - Stop IntentService if there is a connection failure. r=sebastian
I would have folded this but I screwed up but the version control is getting
messy.

MozReview-Commit-ID: 3LaYkrao4dD
2016-04-29 15:18:07 -07:00
Michael Comella 129105b968 Bug 1243585 - Add short-circuits when there are no pings. r=sebastian
Ideally, we'd just not run the service but skimming, I see no clean way to do
that with the existing code.

MozReview-Commit-ID: HRU1PAmYoil
2016-04-29 15:21:10 -07:00
Michael Comella c338316498 Bug 1243585 - Rename JSONFilePingStore -> TelemetryJSONFilePingStore. r=sebastian
I would have done this sooner but it's a version control nightmare.

I made the change because it's harder to grep for logs when the logtag doesn't
include "Telemetry".

MozReview-Commit-ID: GD8Cb8D5CRy
2016-04-28 17:10:19 -07:00
Michael Comella 4fde2a3302 Bug 1243585 - Get server url from prefs at upload time. r=sebastian
There is less to store on disk and it's probably more correct.

MozReview-Commit-ID: KAJAE1M7Fzv
2016-04-28 16:23:18 -07:00
Michael Comella c022c6cf81 Bug 1243585 - Create CorePingBuilder in BrowserApp. r=sebastian
Note: this is the first commit expected to compile.

MozReview-Commit-ID: Fc8uRkJAXgB
2016-04-28 16:01:15 -07:00
Michael Comella 4b6c920881 Bug 1243585 - Add methods to CorePingBuilder to generate a builder. r=sebastian
Thoughts:
  * An alternative design put this code in a CorePingUtil but I decided these
methods are tied closely to the TelemetryCorePingBuilder.
  * Adding these methods makes it less clear what the class is about (without
filtering on public methods that is).

I'm not sure what the best trade-off is.

Note: this is not yet expected to compile.

MozReview-Commit-ID: FQYFP3ioewN
2016-04-28 16:01:07 -07:00
Michael Comella 3fd5fd4b5d Bug 1243585 - Revise TelemetryUploadService for new store. r=sebastian
Note: this is still not expected to compile.

MozReview-Commit-ID: nadP0VfCG7
2016-04-28 17:51:47 -07:00
Michael Comella c2794810d1 Bug 1243585 - Add JSONFilePingStore with tests. r=sebastian
Note: not expected to compile.

MozReview-Commit-ID: 5RTQk5m3zTx
2016-04-28 17:05:25 -07:00
Michael Comella d37168867d Bug 1243585 - Add UploadAllPingsImmediatelyScheduler and tests. r=sebastian
Note: still does not compile.

MozReview-Commit-ID: 7NuLecUSTVa
2016-04-28 14:57:00 -07:00
Michael Comella c6dad61b8b Bug 1243585 - Add TelemetryDispatcher. r=sebastian
Note: for version control and review simplicity, this does not yet compile.

MozReview-Commit-ID: EvccGtseOKT
2016-04-28 15:36:56 -07:00
Michael Comella 4ccc8d3a02 Bug 1243585 - Add interfaces to be used by dispatcher. r=sebastian
MozReview-Commit-ID: B4evdPj5Jsl
2016-04-28 14:38:21 -07:00
Michael Comella 408665a5eb Bug 1243585 - Move Intent constants into UploadService. r=sebastian
I'm thinking it's better to have constants with the classes they're most
closely associated with rather than one giant constants file because it becomes
hard to find anything in a large constants file.

MozReview-Commit-ID: D3SCkW3vbRM
2016-04-19 08:49:07 -07:00
Michael Comella 03da189eb7 Bug 1243585 - Create telemtry/core/ pkg and move files accordingly. r=sebastian
MozReview-Commit-ID: 8cqtwzPbvHp
2016-04-28 14:24:26 -07:00
Sebastian Kaspari 202e57d436 Bug 1259127 - Content notifications: Add "Read now" action. r=grisha
This patch adds a "Read now" action to content notifications. Clicking the button
will behave like clicking the notification. However it will send a different telemetry
extra ("content_update_read_now" instead of "content_update").

MozReview-Commit-ID: 4O24xBhjVF4
2016-04-26 14:42:51 +02:00
Sebastian Kaspari 61f2317a22 Bug 1267639 - Use BrowserAppDelegate implementation as single point for handling content notifications intents. r=grisha
This patch will create a single Intent action for all content notifications. The intent will be handled by
ContentNotificationsDelegate exclusively.

MozReview-Commit-ID: 5UVVanLLd32
2016-04-28 11:12:01 +02:00
Sebastian Kaspari 84ea5b543e Bug 1267639 - (Pre) Add onNewIntent() method to BrowserAppDelegate. r=grisha
MozReview-Commit-ID: KGBLTTPwVV1
2016-04-28 11:04:33 +02:00
Grigory Kruglov daeee5cfea Bug 1265525 - Part 2: Frecency calculation and top sites query updates r=sebastian
MozReview-Commit-ID: 7tqr4IT9635
2016-05-02 14:10:23 -07:00
Grigory Kruglov 3043ec0205 Bug 1265525 - Part 1: Combined view migration, add local/remote visit aggregates r=sebastian
MozReview-Commit-ID: 211xyvAJbtd
2016-04-27 18:04:20 -07:00
Chenxia Liu 88cd834ee9 Bug 1261993 - [infer] Errors in DefaultDoorHanger. r=mcomella
MozReview-Commit-ID: AemVFuiMNjo
2016-04-21 16:24:39 -07:00
Chenxia Liu 99decd5828 Bug 1269027 - Add empty state for no synced devices. r=sebastian
MozReview-Commit-ID: 2STg7zSgXF9
2016-04-29 15:38:19 -07:00
Chenxia Liu 01f51d2b0b Bug 1261527 - Clean up RecyclerView animations. r=sebastian
MozReview-Commit-ID: KIdXTmalwKv
2016-04-29 17:48:50 -07:00
Chenxia Liu 967ec9d0e8 Bug 1261527 - Long-press on smartfolder. r=sebastian
MozReview-Commit-ID: JPkELM3mtWW
2016-04-29 15:59:40 -07:00
Chenxia Liu a6669ff345 Bug 1261527 - Update textsize and layout. r=sebastian
MozReview-Commit-ID: EEzquvd7Zyf
2016-04-28 14:28:37 -07:00
Chenxia Liu 2e7c24e479 Bug 1261527 - Add refresh layout. r=sebastian
MozReview-Commit-ID: 5uDpe3OQAjG
2016-04-27 17:54:29 -07:00
Chenxia Liu ec9754e0d7 Bug 1261527 - Remove RemoteTabsExpandableListAdapter after extracting static methods. r=sebastian
MozReview-Commit-ID: Ae5oEbK2QYn
2016-04-27 17:38:07 -07:00
Chenxia Liu e43b95853d Bug 1261527 - Add active/inactive client state. r=sebastian
MozReview-Commit-ID: 39Qy3cYE6ro
2016-04-27 16:43:53 -07:00
Chenxia Liu c1f3e38b6e Bug 1261527 - Empty state for history only. r=sebastian
MozReview-Commit-ID: AUFwPl2Yllz
2016-04-27 11:53:59 -07:00
Chenxia Liu 90f95e4064 Bug 1261527 - Handle Configuration changes. r=sebastian
MozReview-Commit-ID: H6shTUlXkZv
2016-04-25 13:56:12 -07:00
Chenxia Liu eebbc92ba2 Bug 1261527 - Add clear history button. r=sebastian
MozReview-Commit-ID: DnRZYtIjqbE
2016-04-22 18:00:03 -07:00