- 01 Apr, 2020 3 commits
-
-
Mihai Branescu authored
-
Kate Glazko authored
-
Mozilla L10n Automation Bot authored
-
- 31 Mar, 2020 15 commits
-
-
Grisha Kruglov authored
AccountObserver listeners were being triggered correctly, however, during every time we open HomeFragment, home menu gets re-created, which causes us to re-run the initialization block. Before this patch, the init block would never touch the account manager. After this patch, it will query it if account manager has already been initialized.
-
Grisha Kruglov authored
`init` blocks are executed before `val` initialization which is declared afterwards in the class. In this case, we had `quitItem` and `reconnectToSyncItem` as lazy, but declared after the `init` block which may need them. And so, while this compiles just fine, in practice we run into an NPE as the `init` block tries to get the lazy's value. Simply re-ordering initialization fixes the problem.
-
Arturo Mejia authored
-
Sawyer Blatz authored
-
Oana Horvath authored
Updated the method to verify system notifications and added new tests for media notifications (#9330)
-
ValentinTimisica authored
* For #8412: Passes error handling function to 'CustomTabWindowFeature' Change required for showing error message when the app can't handle a specific scheme. Implemented in AC: https://github.com/mozilla-mobile/android-components/pull/6122 * Upgrade AC version Co-authored-by:
Sawyer Blatz <sdblatz@gmail.com>
-
Grisha Kruglov authored
-
Mozilla L10n Automation Bot authored
-
Grisha Kruglov authored
In order to hide the time it takes for the account manager to be initialized (which always involves disk IO, and often network IO), let's kick it off after "visual completeness". This makes sure that for most users, by the time they interact with the account manager-related functionality (e.g. in Settings), it's ready to go. Also, for signed-in users, this will establish background sync workers.
-
Grisha Kruglov authored
This refactor "reverses" relationship between these two classes, allowing HomeMenu to inform its parent, HomeFragment, of any changes to the menu. Once that's in place, we start observing account manager changes (once its ready) for account problems. This solves two problems: - initialization of the account manager is no longer necessary to build a home menu - home menu now starts observing changes to the account manager's state (before it was static)
-
Grisha Kruglov authored
-
Grisha Kruglov authored
This is enough to cause it to be initialized only if we're going through onboarding.
-
Grisha Kruglov authored
Instead of always kicking off accountManager's init and telling it to sync right away in 'onResume', we move these tasks to some abstract point later on, whenever account manager is available.
-
Grisha Kruglov authored
This gives us an ability to perform tasks against 'accountManager' without causing its immediate initialization.
-
Grisha Kruglov authored
This replaces the StartupTaskManager we had with a more general class. New implementation is a thread-safe "gated task executor", which either runs the task right away if it's marked as 'ready', or queries it to be executed later on. This ability to either execute or queue a task will be useful later on in the commit series.
-
- 30 Mar, 2020 14 commits
-
-
Aaron Train authored
Closes #9189: Fixes "static asset not found" error in doNotSaveLoginFromPromptTest, saveLoginFromPromptTest UI tests (#9439) AndroidAssetDispatcher class dispatcher was attempting to open a local asset with a query suffix from the request. If query suffix is found, remove it. Re-enable saveLoginFromPromptTest() and doNotSaveLoginFromPromptTest()
-
David Walsh authored
-
Sawyer Blatz authored
* let animation in top toolbar mode play nicely. * remove duplicate methods, make code readable. * migrate getToolbarNavOptions method to BrowserAnimator, one method to rule them all. * Update linting Co-authored-by:
ahmedmamdouh13 <ahmedmamdouh13196@gmail.com>
-
ekager authored
-
asavill authored
- Increased atp switch size to be consistent with `dimen/tracking_protection_item_height`(48dp). - Cut out redundant traversal of TextViews in SwitchWithTraversal as per https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md - Reuse `QuickSettingsText.Icon` style on the switch component to be consistent with other items in the component_tracking_protection_panel.xml - Added new string resources for textOff and textOn state to get appropriate screen reader description (unsure of the translation/localisation process here!)
-
David Walsh authored
-
David Walsh authored
-
mcarare authored
-
mcarare authored
-
mcarare authored
-
Simon Chae authored
-
codrut.topliceanu authored
The patch for 8568 introduced this regression. Let's just revert it until we can come up with a better solution.
-
MickeyMoz authored
-
Sebastian Kaspari authored
-
- 29 Mar, 2020 1 commit
-
-
Mozilla L10n Automation Bot authored
-
- 28 Mar, 2020 7 commits
-
-
Edouard Oger authored
-
Richard Pappalardo authored
-
mcarare authored
-
mcarare authored
-
mcarare authored
-
mcarare authored
-
Arturo Mejia authored
-