1
0
Fork 0
Commit Graph

380 Commits (324fe642134a85b1a4a1df2d8a9f6bcfdef11670)

Author SHA1 Message Date
mcarare 788e52be0c For #5873 Added on/off indicator for delete browsing data on exit pref 2019-10-09 11:55:37 +03:00
Tiger Oakes d5c3433041 Use the new fragment constructor 2019-10-07 11:07:48 -07:00
mcarare 22eb207cef For #5784: Fix hiding default browser preference in sdk<=23 2019-10-04 12:41:12 -07:00
Sawyer Blatz 371e2ac3d8
For #514 & #5742: Updates "launch links in private tab" functionality (#5721)
* For #514 & #5742: Updates "launch links in private tab" functionality

* Fixes comments
2019-10-03 12:43:33 -07:00
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00
Sawyer Blatz 2896b36d14
No issue: Updates naming of launch links privately var (#5701)
The previous name was pretty confusing
2019-10-02 12:11:21 -07:00
Sawyer Blatz eb3c9f86e2
No issue: Removes feature flags for delete data (#5738) 2019-10-02 10:43:37 -07:00
Sawyer Blatz 669e694af9 For #5672: Fixes broken send tab link 2019-09-30 16:13:40 -07:00
Sawyer Blatz c8af16bd47
For #5679: Hides autoplay behind feature flag (#5685) 2019-09-30 12:01:04 -07:00
ekager ef29fe2584 Update BackgroundServicesTest, Suppress Complex Method 2019-09-30 10:33:56 -07:00
Grisha Kruglov a4097cd380 FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-09-30 10:33:56 -07:00
Emily Kager 3f41a4e9c6 No issue: Update navigation library 2019-09-26 17:01:13 -07:00
Emily Kager c3287b17ac Closes #5624 - Fix crash on preference change listener 2019-09-26 16:56:54 -07:00
ekager 44bb592b43 For #5312 - Send ETP Strict/Standard event 2019-09-25 15:23:30 -07:00
Tiger Oakes 8c30200ced Only use Context.settings() function (not getter) (#5335)
Remove unused String extensions
2019-09-24 10:33:46 -07:00
Emily Kager 9d9ff959b5 For #5312 - Add Telemetry for Tracking Protection 2019-09-23 08:29:45 -07:00
Tiger Oakes 6c30a94081 Move settings classes to packages 2019-09-20 12:36:15 -07:00
Sawyer Blatz 6f3d7b4ee8 For #5396: Adds "always launch in private mode" to settings 2019-09-20 08:33:07 -07:00
Tiger Oakes 05a4faec78 Add tryGetHostFromUrl and update ExceptionDomains 2019-09-19 22:40:35 -04:00
Colin Lee 1aa4f5a519 For #255: Toggle Media Autoplay 2019-09-19 15:13:04 -07:00
Tiger Oakes 1777b5a830 Use enum to simplify delete on quit code 2019-09-18 20:20:08 -07:00
Jeff Boek 976c840047 For #3077 - Replaces connect another device dialog with a scree 2019-09-18 17:24:43 -07:00
Sawyer Blatz 50cd2920d3
For #5371: Updates search engine settings string (#5393) 2019-09-18 11:26:44 -07:00
Emily Kager 3e132f102c No issue: Update androidx libraries Sept 5 2019 2019-09-17 09:50:31 -07:00
Emily Kager 2b71af4087 For #5258 - Pop AccountProblemFragment if signed out 2019-09-16 21:26:01 -07:00
mawen7 9ebd4efe70 Pass app name to delete browsing data prompt 2019-09-16 09:59:42 -07:00
Sawyer Blatz e247870b9f
For #5277: Updates string for delete browsing data (#5309) 2019-09-13 10:18:25 -07:00
Emily Kager a5859e0028 For #5178 - Polish delete browsing data item layout 2019-09-11 18:11:26 -07:00
Emily Kager e3209dcc84 For #3700 - Add Setting to Delete Data on "Quit" menu action 2019-09-11 16:06:18 -07:00
Yeon Taek Jeong ddc1b2e648 For #4658: Add private browsing mode shortcut telemetry 2019-09-11 16:03:22 -07:00
Emily Kager 418b1ba890 For #1749 - Use Strict ETP by default, use Feature Flag for Settings 2019-09-11 16:03:01 -07:00
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Emily Kager 4485b7f647 Add Tracking Protection Info Panel 2019-09-11 07:47:13 -07:00
Sawyer Blatz f7dde41b3b For #5021: Adds telemetry for what's new button 2019-09-10 14:15:34 -07:00
Tiger Oakes 3c07cacf4d Use A-C preferences property delegates 2019-09-10 13:19:00 -07:00
Tiger Oakes b77c4d2e2e Clean up SupportUtils 2019-09-10 10:16:04 -07:00
Mihai Adrian a31eb1f371 Code Health #4883: Refactored accessing settings by using Context extensions (#4973) 2019-09-10 10:11:58 -07:00
Colin Lee 4c2a7ac10e Delete AUTH_SESSIONS with COOKIES 2019-09-09 12:32:28 -07:00
Colin Lee 758f4c13ec Updates per UX and PR feedback 2019-09-09 12:32:28 -07:00
Colin Lee 2b9efccfca For #3106: Granular options for clearing user data 2019-09-09 12:32:28 -07:00
Sawyer Blatz 2653b5966e
For #964: Adds ability to disable each suggestion provider (#5096)
* For #964: Adds ability to disable each suggestion provider

* Fix nit
2019-09-05 14:45:44 -07:00
Grisha Kruglov 231924f5eb Fix breaking services APIs changes 2019-09-05 13:38:15 +02:00
Sawyer Blatz 09dcdb079d For #4474: Adds what's new button to home screen menu (#5088)
* For #4474: Adds what's new button to home screen menu

* For #4474: Adds tests for what's new button
2019-09-03 15:16:29 -05:00
Sebastian Kaspari ba05d21657 Fix ktlint MaxLineLength issues. 2019-09-03 10:09:06 -07:00
Sebastian Kaspari f3d8a89c63 Rename AccountSettingsStore/State/Action to AccountSettingsFragmentStore/State/Action. 2019-09-03 10:09:06 -07:00
Sawyer Blatz cea18f31c4
For #3892: Fixes help link on nightly (#4956) 2019-08-29 13:27:50 -07:00
Emily Kager 1cf8a40059 For #4295 - Adds Experiments Pref to Data Collection Settings (#4915) 2019-08-27 12:56:16 -07:00
Tiger Oakes c475bc87cf Move classes out of top-level package 2019-08-21 13:52:30 -07:00
Tiger Oakes aab357845b No issue: Clean up preferences code (#4699) 2019-08-21 08:38:14 -07:00
Jonathan Almeida 71a2478f4d Use Mozilla Android Components 10.0.0 2019-08-21 10:06:05 -04:00
Tiger Oakes 33f3b14c29 Adds setters and property delegates in `Settings` (#4809)
* Change Settings to use setters

* Add delegate for shared preferences
2019-08-20 10:47:55 -07:00
Tiger Oakes 9ee8c00928 For #4774 - Use vector drawable compat (#4811) 2019-08-20 10:43:02 -07:00
Arturo Mejia 210868f5bc Use Mozilla Android Components 9.0.0-SNAPSHOT. (#4750) 2019-08-19 10:29:10 -07:00
Suraj Shah 806961094b Fixes #4704 (#4728)
* Fixes #4704. Overrides `setEnabled` for DeleteBrowsingDataItem to change view alpha when disabled and to toggle the checkbox `isEnabled` behavior based on the value provided.

* Updates CHANGELOG.md

* Removes unnecessary disabling of checkbox in DeleteBrowsingDataItem.kt
Updates CHANGELOG.md to reflect the component changed.
2019-08-19 09:23:12 -07:00
Sawyer Blatz b7ca520787 For #4421: Adds Leanplum events and attributes (#4626)
* For #4421: Adds Leanplum events and attributes

* For #4421: Adds Leanplum deep links
2019-08-14 13:48:45 -07:00
Christian Sadilek 5fe05e919a For #4125: Suppress coroutine warning to fix release build 2019-08-09 17:30:27 -04:00
Yeon Taek Jeong 6c9ce784b1 Fix, add some tests 2019-08-09 13:39:51 -07:00
Yeon Taek Jeong 2a6069bfb7 Fix rest of issues 2019-08-09 13:39:51 -07:00
Yeon Taek Jeong 69434a765f Fix most issues 2019-08-09 13:39:51 -07:00
Yeon Taek Jeong faf0ecbcc0 For #4125: Migrate Sign in to Sync to Libstate 2019-08-09 13:39:51 -07:00
Tiger Oakes 52542708aa Consodilate private browsing code 2019-08-09 11:00:41 -07:00
Colin Lee ef97173cd9
For #4529, #4427: Resuming after restoring instance state breaks UI (#4571)
* For #4529, #4427: Resuming after restoring instance state breaks UI

* Clear up warnings
2019-08-08 11:05:01 -05:00
Hakkı Kaan Çalışkan 0ea595743d Fixes #4562: Add a-c git hash to about page 2019-08-07 16:59:11 -07:00
Colin Lee a514cb3f8c No issue: Add OSS licenses link to About page 2019-08-07 12:40:10 -07:00
Emily Kager 0604e9858d Closes #3939 - Adds strings for delete browsing history 2019-08-06 16:06:56 -07:00
ekager 5edc9d0b4e For #2021 - Update custom preferences' views with email/account changes 2019-08-05 09:53:27 -07:00
Nikit Bhandari 8aecc2b850 For #4530 Reduce build warnings (#4531) 2019-08-05 11:10:57 -05:00
Nikit Bhandari 671727c3e8 For #4341 use camelCase for views referenced from code 2019-08-03 09:25:55 -07:00
Nikit Bhandari 1cb9f88787 For #4199 make checkbox disabled when there is no data (#4200)
* For #4199 make checkbox unclickable when there is no data
2019-08-02 17:42:39 -07:00
Jonathan Almeida ec96d134ff No issue: Fix breaking AccountObserver API 2019-08-02 13:40:50 -04:00
Grisha Kruglov 210864186b Reflect current sync status when opening account settings 2019-08-01 17:03:45 -07:00
Nikit Bhandari 46de06d132 For #4339 reduce build warnings (#4340) 2019-07-31 11:43:49 -07:00
ekager 0703fdc91f Closes #4240 - Exclude custom tabs from displayed tab count 2019-07-30 13:28:50 -04:00
Tiger Oakes d1651ecf71 Closes #4012 - Animate quick settings (#4047) 2019-07-30 09:50:50 -07:00
Mugurell bf44c50dfd Fix #4372 - Set SitePermissionsDetailsExceptionsFragment toolbar title in onResume
The flow we are currently using involves setting a new title for the containing
Activity when the user navigates to a new Fragment.
This happened for SitePermissionsDetailsExceptionsFragment in it's onCreate().
Opening a permission (SitePermissionsManageExceptionsPhoneFeatureFragment) will
set a new title in it's onCreate() but going back from this new Fragment will
not create again a new SitePermissionsDetailsExceptionsFragment.
As a workaround I moved the call to set Activity's title in onResume().
2019-07-30 11:56:44 -04:00
Nikit Bhandari 5e52fc46b8 For #3443 - convert textPercentageSeekBar to Kotlin (#4081)
* convert textPercentageSeekBar to Kotlin

* fix test

* fix test again

* fix test again

* conflicts resolved

* merge multiple kdocs into one
2019-07-30 10:17:41 -05:00
Tiger Oakes 87d8f3b037 Remove redundant super calls 2019-07-29 10:22:53 -07:00
Tiger Oakes 88c05a5f43 Use glide-like image loading function 2019-07-29 10:22:23 -07:00
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 2019-07-26 16:44:11 -04:00
Colin Lee 3dc20543e3
For #4128: Migrate Bookmarks to LibState (#4254) 2019-07-25 21:55:51 -05:00
Emily Kager 9b5baa2358 For #3360 - Adds empty state for TP Exceptions 2019-07-22 17:21:06 -04:00
Nikit Bhandari f110ba2861 use synthetic binding instead of findviewbyid 2019-07-19 16:51:26 -04:00
Jeff Boek 5630904f93
For#3278 - Updates strings in preferences (#4184) 2019-07-19 12:31:55 -07:00
Sawyer Blatz e25ceafd1f No issue: Removes unnecessary fragment transitions from accounts
Co-authored-by: ekager <emilykager@gmail.com>
2019-07-18 19:56:25 -04:00
Emily Kager 95367c2b50 For #3521 - Show Quick Settings Dialog Entirely in Landscape 2019-07-17 09:52:01 -07:00
Emily Kager 13b7e64c9b For #3134 - Add confirmation dialog to sign out of FxA (#3959) 2019-07-15 16:21:13 -07:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Grisha Kruglov fe51bbcf7b Update FxA integration to new APIs 2019-07-11 13:19:37 +02:00
Emily Kager c81dd0a4a8 For #3772 - Update FXA sign in UI (#3933) 2019-07-10 21:20:06 -05:00
ekager c6c9818751 For #3240 - Create AuthCustomTabActivity to fix dead end on auth 2019-07-10 12:23:01 -04:00
afr30010 c92eabdd64 Modify the order of Privacy Policy and About in Settings (#2760) 2019-07-08 12:16:18 -05:00
Emily Kager d168d52516 For #3772 - Remove Create an Account Option on TurnOnSyncFragment (#3928) 2019-07-08 12:07:09 -05:00
ekager 003837eb4f Closes #3879 - Remove attributeSetId from AccountPreference 2019-07-07 18:06:17 -07:00
Yeon Taek Jeong 29402a297e For #3317: Prepopulate FxA device name field with existing name (#3733) 2019-07-03 08:38:09 -07:00
Weverson Nascimento 887102d215 For #3645: Fix search engine selection (#3665)
* Remove RadioButton drawable applied in runtime

* Add default RadioButton layout
2019-07-01 11:08:58 -05:00
Emily Kager 654c2b12df No issue: Remove attributeSetId from DefaultBrowserPreference (#3712) 2019-07-01 09:02:40 -07:00
Tiger Oakes d42052079a No issue: Remove duplicate wordmark and update about page (#3590) 2019-07-01 08:54:16 -07:00
Yeon Taek Jeong 219b5f3d01 For #3381: Fix 'Remove account' returning app to home screen (#3778)
* For #3381: Fix 'Remove account' returning app to home screen

* Remove unused import

* Move popBackStack() outside lifecycleScope instead
2019-07-01 08:32:06 -07:00
Arturo Mejia b82340bf1f For #3750: Crash when tapping "Blocked" on Google Maps after disabling
location requests.
2019-06-29 18:39:19 -07:00
Yeon Taek Jeong 2cafd5bba6 For #3678: Fix crash when tapping on your account (#3688) 2019-06-26 13:33:27 -07:00
Tiger Oakes a78d36354a Switch RadioButtonPreference to ConstraintLayout
Also ensure that RTL works properly.
2019-06-26 09:45:55 -07:00
Tiger Oakes 30930cdc88 Import variables referred to by path 2019-06-25 13:57:34 -07:00
Tiger Oakes 55f5c5d049 Use lifecycleScope for settings fragments 2019-06-25 13:56:33 -07:00
Tiger Oakes 6bf8d6be34 Use @JvmOverloads instead of multiple constructors 2019-06-25 13:55:31 -07:00
Emily Kager 74111c75de For #3639 - Remove fontInflationEnabled (#3640) 2019-06-25 10:24:32 -05:00
Sawyer Blatz 721908ade6
For #3055: Adds android components version to about page (#3596) 2019-06-24 12:52:04 -07:00
Emily Kager b1102c2e76 For #3544 - Set SearchSuggestions preference value from settings 2019-06-18 16:56:34 -07:00
Tiger Oakes b70dced16e Fixes #3538 - Fix ic_tabs icon path (#3540) 2019-06-18 16:38:42 -07:00
Jeff Boek 7ebdfcc87b For #1116 - Uses alias link for help 2019-06-14 15:33:34 -07:00
Jeff Boek 5540230e3d For #1116 - Changes help link (#3491) 2019-06-14 15:29:10 -05:00
vladikoff dfe181aa0a Add application-services fretboard feature flags 2019-06-13 15:29:59 -07:00
Jeff Boek 227a80957e For #382 - Include Marshmellow in the guard.. 2019-06-12 15:45:58 -07:00
Jeff Boek dad671ca3c For #382 - Hides default browser switch for older versions of Android 2019-06-12 15:07:58 -07:00
Jonathan Almeida 1b7a9817e2 For #2905: Remove device name during sync logout 2019-06-12 17:07:56 -04:00
Jonathan Almeida f71bdcfd10 For #3388: Set max length for device name (#3397) 2019-06-12 15:35:06 -05:00
Jeff Boek 332b4c4da5 For #3278 - makes the string a constant 2019-06-11 16:24:28 -07:00
Jeff Boek fc603e65a5 For #3278 - Removed redundant override 2019-06-11 16:24:28 -07:00
Jeff Boek fead5183c8 For #3278 - pin the default search engine to the top 2019-06-11 16:24:28 -07:00
Jeff Boek a86ec60f8f For #3278 - Fixes search engine selector layout 2019-06-11 16:24:28 -07:00
a79014 d2c3427f1e Doesn't print gecko emoji on android ver < 7 (android N) (#3115)
* Doesnt print gecko emoji on android ver < 7

* fixed typo on maybeGecko variable

* Closes #3076: Lizard char now doesn't appear if not supported androidver

* Closes #3115: Prints string instead of gecko emoji in unsupported
android versions
2019-06-11 16:40:51 -05:00
Grisha Kruglov a58a77317e Automatically close the 'auth-problems fragment' once we're through the auth flow (#3340) 2019-06-11 09:36:05 -05:00
Tiger Oakes 82d2a0661b Remove deprecatd support-ktx methods (#3305) 2019-06-10 09:12:11 -05:00
Sawyer Blatz 86aac3e313 For #3176: Hides camera options on devices without cameras (#3273) 2019-06-07 19:37:43 -05:00
Colin Lee 1e6da54263 For #3238: fixes race condition crash, nav destination unknown 2019-06-06 15:46:34 -07:00
Emily Kager ed39b7828b For #3234 - Updates labels of fragments in the nav graph to avoid flash (#3235) 2019-06-06 16:52:25 -05:00
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
2019-06-05 14:38:06 -07:00
Grisha Kruglov 0e1d81126d Make 'remove account' work on the "reconnect to sync" screen
This seems to have been copy-pasted and wasn't hooked up correctly.
2019-06-05 14:38:06 -07:00
Grisha Kruglov 7af61b1560 Navigate away from account settings after encountering auth problems 2019-06-05 14:38:06 -07:00
Sawyer Blatz 47c14b07dd For #1190: Removes syncing items from FxA telemetry 2019-06-05 13:57:18 -07:00
Sawyer Blatz c4c5d44430 For #975: Updates telemetry for settings (#3171) 2019-06-05 13:34:42 -05:00
Jeff Boek 27fdd9605b For #2395 - Adds an early return statement and documents why we copy a feature 2019-06-05 10:47:21 -07:00
Jeff Boek f26c402f0a For #2395 - Properly takes you back to where you start authentication on completion 2019-06-05 10:47:21 -07:00
Jeff Boek 40a3246c32 Adds dialog style for Firefox Accounts 2019-06-03 19:08:26 -07:00
Arturo Mejia 038aecc0ee For #1919- Websites' icons are not displayed on Site permissions (#3050)
Exceptions.
2019-05-31 16:27:12 -05:00
Emily Kager d5a9627273 For #2941 - Remove Delete Dialog, Theme Dialogs (#3052) 2019-05-31 16:26:34 -05:00
Sawyer Blatz 35a745d67d For #2836: Fixes custom tab close button color 2019-05-31 09:50:46 -07:00
Jeff Boek 301984733a For #225 - Adds completion snackbar 2019-05-31 09:42:44 -07:00
Jeff Boek eda70ab74c Fixes #3037 - Unchecks boxes after deletion 2019-05-31 09:42:44 -07:00
Jeff Boek 0036938312 For #225 - Fixes crash by moving GeckoView calls t othe main thread 2019-05-31 09:42:44 -07:00
Jeff Boek f9d70dbc92 For #2723 - Creates callbacks to wire up the mode and theme manager together 2019-05-30 16:38:31 -07:00
Jeff Boek a7d5cdcb9d For #2723 - Fixes theme manager 2019-05-30 16:38:31 -07:00
Emily Kager 4c970a545d For #2230 - Fix theme selection radio button for Android 6 (#3019) 2019-05-30 17:06:46 -05:00
Sawyer Blatz 5e0771a6f0 For #2327: Fix early return from displayAccountError 2019-05-30 13:45:56 -07:00
Jeff Boek 0054e017ea For #255 - Moves all deletion operations to the same coroutine 2019-05-30 13:05:51 -07:00
Sawyer Blatz b8c04e02e9 For #2327: Fixes nits 2019-05-30 11:45:39 -07:00
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 2019-05-30 11:45:39 -07:00
Sawyer Blatz 3fd831cc4d Fixes #2942: Updates strings for l10n (#2950) 2019-05-29 10:47:19 -05:00
Emily Kager cae95c0ee1 For #2952 - Delete All Tabs should run on Main Thread 2019-05-28 16:25:39 -07:00
Arturo Mejia b2e27d26dc Closes #2903: Fixed crash when trying to rate the app on a devices without
the play store app.
2019-05-28 15:14:56 -07:00
Emily Kager e0ceb195ff For #2337 - Open Report Site in Browser from Custom Tab 2019-05-28 14:56:01 -07:00