Commit Graph

43 Commits (382ca721c4788c348da1bc4c24f702a26fdbe707)

Author SHA1 Message Date
RebecaTudor a1c7fca0d3 Bug 1809798 - Loads the right wallpaper when changing orientation
Because of the android:configChanges from Manifest that disable the
automate Activity recreation, the responsibility of handling the
configuration changes is transferred to Activity. When configurations
changes, onConfigurationChanged() is called.

So now when this function called, the correct orientation is sent
forward as parameter of applyWallpaper.
8 months ago
jackyzy823 e58d0ae973 Bug 1850006 - conservative flag limits to mozilla services only 8 months ago
RebecaTudor 528136c473 Bug 1809798 - Loads the right wallpaper for the right orientation
Before, the orientation was taken from the application context which
didn't update during orientation change. Which caused to load the wrong
wallpaper when the phone was rotated. With these changes we can send
the correct orientation taken from the HomeActivity context.
8 months ago
Gabriel Luong 90c48c5a17 Bug 1795140 - Enable AbsentOrWrongFileLicense detekt rule 1 year ago
MatthewTighe 63136b56a4 Bug 1809803 - Remove wallpaperV2 flag and related assets and code. 1 year ago
Jocelyne 2eb5f72a01 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/27288: Remove glean test rule and Android test runner from WallpaperUseCasesTest 2 years ago
kl3jvi 0910634fa0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27575: Add String.toHexColor extension 2 years ago
Noah Bond 9f534dcc6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/27331 - Add migration for Turning Red wallpaper card colors 2 years ago
t-p-white b31d24c2fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/27455 - Rename all reference names to `AppStore` as appStore 2 years ago
Meiirbek Baimuratov 8d822f9ab1 [fenix] For mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/27282: delete WallpaperManager 2 years ago
Noah Bond 3733fcb703 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27330 - Cache selected wallpaper card colors 2 years ago
Noah Bond f53d77e071 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27095 - Download light/dark wallpaper card colors 2 years ago
Alexandru2909 3960af62d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Handle special legacy wallpaper cases 2 years ago
MatthewTighe 8bacd26116 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27055: handle legacy wallpaper naming case 2 years ago
Mugurell 4070064fa2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2 years ago
MatthewTighe 8980e02496 [fenix] For https://github.com/mozilla-mobile/fenix/issues/27055: check whether applied wallpaper name is blank 2 years ago
Mugurell 342c9551e4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Add contrasting text color for migrated Turning Red Wallpapers 2 years ago
Alexandru2909 bfddfa7177 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26424 - Create wallpaper file migration helper 2 years ago
mike a 27d80e6de0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26215: add telemetry events for wallpaper onboarding dialog 2 years ago
mike a af79653039 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26212: Download wallpapers when a thumbnail is clicked 2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
MatthewTighe e70f6d19af [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26211: Download wallpapers when thumbnails clicked 2 years ago
MatthewTighe 3dbb42988f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/26214: Download wallpaper thumbnails at app startup 2 years ago
MatthewTighe a1a75ee8d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26511: load homescreen wallpaper in blocking coroutine 2 years ago
MatthewTighe f98b9275da [fenix] Add updated wallpaper use cases and activate them with feature flag. 2 years ago
MatthewTighe 0b1667df4b [fenix] Add updated downloader and file manager 2 years ago
MatthewTighe 278a5bbf30 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26423: add wallpaper metadata fetcher 2 years ago
MatthewTighe 702aeda47b [fenix] For https://github.com/mozilla-mobile/fenix/issues/26423: simplify wallpaper types to single data class 2 years ago
MatthewTighe 346427f73a [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
MatthewTighe c854e54f03 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/26029: Add wallpaper state to AppStore 2 years ago
Mugurell 8c48cca825 [fenix] For https://github.com/mozilla-mobile/fenix/issues/25538 - Add a simple way to check if the default wallpaper is to be shown
A previous check for whether the persisted name of the current wallpaper is
empty made checking whether the default wallpaper is to be shown brittle.
Instead of duplicating such a check in multiple places it is now extracted in
one method that can be used in multiple places including the new telemetry.
2 years ago
Mugurell c6bb6c247e [fenix] For https://github.com/mozilla-mobile/fenix/issues/23876 - Update kotlinx-coroutines to 1.6.1. Refactor runBlocking in tests.
After the update `TestCoroutineDispatcher`, `TestCoroutineScope` and
`runBlockingTest` are deprecated.
Instead of these new `TestDispatcher`, `TestScope` and `runTest` APIs are used.

Took the oportunity to also replace most of the `runBlocking` calls with the
new `runTest` specially designed for running coroutines in tests API.
2 years ago
mcarare 969a5f0b0b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21292: Remove unused MetricController parameters. 2 years ago
MatthewTighe 3bc3ca9610 [fenix] for https://github.com/mozilla-mobile/fenix/issues/24929: remove locale restriction for remote firefox wallpapers 2 years ago
Arturo Mejia 3008a5337c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/24305: Remove false wallpaper NPE Sentry report 3 years ago
Arturo Mejia 9ce5a7dd27 [fenix] Add remote wallpapers 3 years ago
Matt Tighe 4f2899d299 [fenix] fixes https://github.com/mozilla-mobile/fenix/issues/23619: use well-defined name for fetching remote wallpaper assets 3 years ago
Matt Tighe 72a0985403 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23565: expire remote wallpapers but let users keep selected 3 years ago
Matt Tighe 06238447a6 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23514: add firefox wallpapers 3 years ago
Matthew Tighe 05d80bd9aa [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23504: download focus wallpapers at runtime (https://github.com/mozilla-mobile/fenix/pull/23505)
* closes https://github.com/mozilla-mobile/fenix/issues/23504: download focus wallpapers at runtime

* address pr feedback

* only download wallpapers if feature flag is set
3 years ago
Matt Tighe 00cc662e9f [fenix] add events based on feedback 3 years ago
Matt Tighe 880c34528d [fenix] update based on PR feedback and data review 3 years ago
Matt Tighe c599f29c47 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23381: add telemetry for wallpapers feature 3 years ago