Commit Graph
1254 Commits
Author SHA1 Message Date
Jing-wei Wu d05cfc3d9e Bug 1402882 - Update firstrun welcome image for nightly/beta/release. r=nechen
MozReview-Commit-ID: AzV4Sl8iGc5
2017-10-03 15:18:04 +08:00
Michael Comella 142347f994 Bug 1404460: Hide Pocket preference if Pocket not available in locale. r=liuche
When changing locales, an open dialog will not refresh but clicking on the
"Top sites" preference again (to display the dialog) will show the correct
dialog for the current locale.

MozReview-Commit-ID: 6UJvDIJZJtc
2017-10-02 17:35:03 -07:00
Wes Kocher 4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Hugh Wu ced2b1fd15 Bug 1381747 - Removed browser.display.history.maxresults from mobile.js. r=JanH
MozReview-Commit-ID: EBfNr65hiaR
2017-09-15 18:23:11 -04:00
Francois Marier f2a43428ea Bug 1394017 - Default to Safe Browsing V4 on Fennec.r=dimi
MozReview-Commit-ID: 5SPHH82pJBE
2017-09-25 16:44:27 -07:00
James Willcox 0d502a6fe0 Bug 1372926 - Revert bug 1394356, allowing "add to homescreen" again on Android O r=nechen
MozReview-Commit-ID: B7cYUu1Wa6c
2017-09-28 09:09:52 -05:00
Jing-wei Wu e0b9cdf34a Bug 1388679 - Replace Fennec Nightly icons. r=nechen
MozReview-Commit-ID: 9btxIijjZz2
2017-09-26 13:27:15 +08:00
Michael Comella 247a30dc7d Bug 1402005: Add a learn more link to Top Sites. r=liuche
Explanation of our motivations are added in code comments.

In testing locally, the link I was sent to was:
- https://support.mozilla.org/1/mobile/58.0a1/Android/en-US/activity-stream

Existing code does not use a referrer so I didn't add one:
http://searchfox.org/mozilla-central/rev/56ad02e34d0d36ca4d5ccaa885d26aff270b8ff7/mobile/android/base/java/org/mozilla/gecko/preferences/LinkPreference.java#44

MozReview-Commit-ID: GTY1ku07uWy
2017-09-22 17:04:53 -07:00
Jim Chen 6cb1d852a2 Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF
2017-09-22 14:35:22 -04:00
Sebastian Hengst 8b34bd4818 Backed out changeset 5e5ce5633017 (bug 1396951) for frequently failing robocop's testSettingsPages. r=backout a=backout
MozReview-Commit-ID: AGZMQKL3eft
2017-09-22 11:49:14 +02:00
Michael Comella d3d46964a3 Bug 1401743: Disable importance for accessibility of pocket MORE arrow. r=liuche
The proper solution here is to put MORE and the arrow in a single focusable
container but this needs to get uplifted so I went with the simpler change.

For non-visual users, there is no difference. For visual users, the only "more"
is focused, rather than "more" and the arrow in one container. The code as it
is slightly more complex because we have to hide and add click listeners to
multiple objects.

MozReview-Commit-ID: JZFLc8jvXII
2017-09-21 13:20:18 -07:00
Jim Chen b7adf526fc Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF
2017-09-21 17:36:02 -04:00
Andrew Swan e462e601e7 Bug 1392176 Implement prompts for browser.permissions.request() on Android r=kmag,sebastian
MozReview-Commit-ID: Dufy1pRFtgK
2017-09-12 19:06:45 -07:00
Julian_Chu d75223fcf0 Bug 1329152 - Enable custom tabs by default r=sebastian
Remove related options, just use CustomTabs directly.

MozReview-Commit-ID: DdcMHnsfAU1
2017-04-10 17:32:16 +08:00
Michael Comella b6dd1975c1 Bug 1401394: Add missing gecko:itemType to non-phone configurations. r=liuche
I don't know the greater context of this code and if this will cause any problems: I'm just following the patterns in Android menus to fix this code.

:aswan is expected to test this patch for me (or provide me steps to test
whether or not it's working correctly).

MozReview-Commit-ID: 9WrqUokwmXT
2017-09-19 16:10:14 -07:00
Chenxia Liu 72cdb6fff7 Bug 1400950 - Update title font size and spacing. r=mcomella
MozReview-Commit-ID: Ajd5fhI0Y0y
2017-09-19 18:10:50 -07:00
Chenxia Liu 86cab77839 Bug 1395792 - Hide Highlights empty state when Highlights are disabled. r=mcomella
MozReview-Commit-ID: FMFTAFuWLqh
2017-09-19 17:49:41 -07:00
Chenxia Liu 07feefeded Bug 1395792 - Add show/hide to onBindVH. r=mcomella
MozReview-Commit-ID: H4bAlcaVCld
2017-09-18 19:55:41 -07:00
Nevin Chen c1939d0df1 Bug 1400804 - First run tour - the Sync button is not visible. r=jwu
MozReview-Commit-ID: 65OnlR8MgnM
2017-09-18 18:02:50 +08:00
Jing-wei Wu 0b6c1960fb Bug 1400858 - Introduce class CheckableFadedSingleColorTextView for supporting 'Checkable' status. r=nechen
MozReview-Commit-ID: ILGByeZdyV8
2017-09-20 17:09:34 +08:00
Jing-wei Wu 065148a8c6 Bug 1401457 - Update the logo icon for search activity. r=nechen
MozReview-Commit-ID: J9gGwCyFvOw
2017-09-20 14:20:08 +08:00
Michael Comella bc26deb656 Bug 1401385: Add Pin to Top Sites to missing configurations. r=liuche
When I implemented this, I forgot to add it to non-phone configurations.

MozReview-Commit-ID: 4zTrYZm5tXR
2017-09-19 15:53:44 -07:00
Jing-wei Wu c01dfb9832 Bug 1400159 - Part 2: Update the QR code icons. r=nechen
MozReview-Commit-ID: 9SGKZDsto5g
2017-09-19 14:11:05 +08:00
Jing-wei Wu aaa79d7f58 Bug 1400159 - Part 1: Update the notification icons. r=nechen
MozReview-Commit-ID: A7kX27auv1j
2017-09-19 13:58:53 +08:00
Botond Ballo 7010a8ccdb Bug 1400440 - Re-enable apz.frame_delay.enabled on Fennec Nightly. r=kats
MozReview-Commit-ID: E7Ukb76vMep
2017-09-15 19:48:03 -04:00
Sebastian Hengst 027dab5938 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Chenxia Liu 25ef2749c2 Bug 1393174 - Rename FirstrunRegular.Link to Link. r=mcomella
MozReview-Commit-ID: 6UEGfBcdB1M
2017-09-14 17:59:28 -07:00
Chenxia Liu 5cbd0b4cd8 Bug 1393174 - Add "More" link to Pocket AS title. r=mcomella
MozReview-Commit-ID: kromR87f43
2017-09-14 17:54:50 -07:00
Ethan 990ca8bcb2 Bug 1397938 - Download protection whitelist and blacklist are not available for the Android platform. r=francois 2017-09-14 14:26:18 +08:00
Sebastian Hengst 1c36da9196 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Sebastian Hengst f3b4b34c71 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-09-15 00:18:43 +02:00
Jim Chen e059d20e24 Bug 1398409 - 3. Add FormAssistPopup to custom tabs; r=snorp
Add and use FormAssistPopup in custom tabs to show autocomplete lists
and form validation messages.

MozReview-Commit-ID: AvK70MLQNVN
2017-09-14 17:50:57 -04:00
Andrew Swan ac101386e8 Bug 1391579 Part 3: Add update indicator to top-level Add-ons menu entry r=jwu,sebastian
MozReview-Commit-ID: 937Zsd6yfBO
2017-09-11 10:31:51 -07:00
Michael Comella 0b8555e97c Bug 1397888 - review: Rename topsite_pin -> as_pin_with_background. r=mcomella
MozReview-Commit-ID: 60KvwxhSmKN
2017-09-14 12:33:52 -07:00
Michael Comella c95f28d5a5 Bug 1397888: Display pin icon in top-left of top sites card if pinned. r=liuche
I don't scale the pin size/margins based on the dynamic tile size. This could
mean we get into situations where the pin crowds out the top site tile but I
don't know if this would happen in practice.

MozReview-Commit-ID: Ct8EP3dPr6N
2017-09-13 17:16:40 -07:00
Michael Comella 70215342e2 Bug 1397888: Add top site pin assets. r=liuche
MozReview-Commit-ID: IeBj25W9Jde
2017-09-13 17:04:15 -07:00
Julian_Chu bb01530657 Bug 1391579 Part 2: Add MenuItemIcon r=jwu,sebastian
GeckoMenu always create view from MenuItemDefault. Now lets adding a
new type for MenuItem which will display a Drawable in right side.

MozReview-Commit-ID: F7zVDze0RaP
2017-08-24 01:15:22 -07:00
Julian_Chu acfd820112 Bug 1391579 Part 1: add attribute itemType to GeckoMenuItem r=jwu,sebastian
MozReview-Commit-ID: CelYcXveCvO
2017-08-24 01:15:04 -07:00
Nevin Chen 556e5c06b0 Bug 1399014 - Allow 'enable tracking protection in normal browsing' for release and beta channel. r=maliu
In Android,  "privacy.trackingprotection.state" is not a "real" pref name, but it's used in the setting menu and browser.js.
 "privacy.trackingprotection.state" and "privacy.trackingprotection.pbmode.enabled"(deleted) in Android is init in Helper.getPrefs and  passed to browser.js when changed.
The real pref for tacking protection are two Gecko pref in browser.js. They are:
           "privacy.trackingprotection.pbmode.enabled"
           "privacy.trackingprotection.enabled"
All prefs in Android are delegated to them. The Android setting UI simply reflects the single source of truth (Gecko pref).
That's the reason why the two Android perfs use android:persistent="false"

MozReview-Commit-ID: 5ehBhtNM2Tx
2017-09-14 15:16:55 +08:00
Sebastian Hengst f4108d27b6 Backed out changeset 1bc5e32dd5f6 (bug 1399014) for failing android lint. r=backout 2017-09-14 12:29:35 +02:00
Nevin Chen 10e4129e4d Bug 1399014 - Alow 'enable tracking protection in normal browsing' for release and beta channel. r=maliu
In Android,  "privacy.trackingprotection.state" is not a "real" pref name, but it's used in the setting menu and browser.js.
 "privacy.trackingprotection.state" and "privacy.trackingprotection.pbmode.enabled"(deleted) in Android is init in Helper.getPrefs and  passed to browser.js when changed.
The real pref for tacking protection are two Gecko pref in browser.js. They are:
           "privacy.trackingprotection.pbmode.enabled"
           "privacy.trackingprotection.enabled"
All prefs in Android are delegated to them. The Android setting UI simply reflects the single source of truth (Gecko pref).
That's the reason why the two Android perfs use android:persistent="false"

MozReview-Commit-ID: 5ehBhtNM2Tx
2017-09-14 15:16:55 +08:00
Sebastian Hengst e420b2b8c0 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6nttXoSo3Fh
2017-09-14 11:04:14 +02:00
Wes Kocher 44c4ae360e Merge inbound to central, a=merge
MozReview-Commit-ID: ClVRh99eIUo
2017-09-14 00:03:28 -07:00
James Willcox e6b2be91c7 Bug 1393504 - Ellipsize URL in Custom Tabs in the middle r=nechen
MozReview-Commit-ID: B6SqqP0TAE8
2017-09-13 15:36:41 -05:00
Jing-wei Wu 0929a198a5 Bug 1399384 - Part 3: Adjust edit layout padding and move values from layout to different styles.xml. r=nechen
MozReview-Commit-ID: BgSPLIrMpdT
2017-09-13 17:25:30 +08:00
Jing-wei Wu 8a98e91562 Bug 1399384 - Part 2: Status bar color refinements. r=nechen
We would like to change the status bar color based on different situation:

- For mobile, the status bar color is
  #F7FAFC in normal mode,
  #38383D in private mode, and
  #272727 in tabs tray page

- For tablet, the status bar color is always #272727

MozReview-Commit-ID: Ala5ZOYJ8Ad
2017-09-13 17:17:25 +08:00
Jing-wei Wu 77e80b2d09 Bug 1399384 - Part 1: Change placeholder text color from #737373 to #B2B2B2. r=nechen
MozReview-Commit-ID: 2tnxN3Jp6ZQ
2017-08-29 13:57:53 +08:00
Andrew Swan bc06284241 Bug 1391401 Disable legacy extensions by default on Android r=kmag
MozReview-Commit-ID: 9InGShBHQag
2017-09-13 13:26:59 -07:00
sajattack 0daec4065e Bug 1397005 - Set size of panel text r=liuche
MozReview-Commit-ID: Ik6PFbF5Loc
2017-09-11 17:33:53 -07:00
Francois Marier 6add256932 Bug 1397930 - Use the same Safe Browsing client ID on all official builds. r=gcp
MozReview-Commit-ID: 5der4PiHWyv
2017-09-13 14:04:26 -07:00