Age | Commit message (Collapse) | Author |
|
This CL makes the following changes:
This CL makes the following changes:
1. Created an interface WallpaperDataFactory, which is implemented by
DefaultWallpaperModelFactory and GooogleWallpaperModelFactory,
respectively, depending which project we include.
This also avoids complex inheritence pattern, where developers need
to go back and forth to know what's going on when converting.
2. Made DefaultWallpaperModelFactory and
GooogleWallpaperModelFactory injectable classes.
3. Moved functions in DataFactory classes to companion extension
functions. Developers do not need to look into many classes.
4. Since DownloadableLiveWallpaperInfo represents a wallpaper that's not
yet downloaded, we should treat it as a static wallpaper that shows
the static image.
Test: Manually tested that the downloadable wallpaper shows
Bug: 291761856
Flag: ACONFIG com.android.wallpaper.multi_crop_preview_ui_flag DEVELOPMENT
Change-Id: Iefc7202bcd9e963cfb3cc1c5933925f87a40d663
|
|
Flag: N/A
Bug: 278571309
Test: Rebuilt system image
Change-Id: I80f79390f4a487755459aa1fe1ef1f36acf81a8b
|
|
Colors were inconsistent between the preview fragment and the actual
wallpaper colors set, because the style was not accounted for.
Adjust to account for style when changing the colors of the preview
fragment UI. Style-related changes are included in ThemePicker while
PreviewFragment changes are in WallpaperPicker2.
Flag: NONE
Bug: 308947090
Bug: 308946897
Test: manually verified with different wallpapers
Change-Id: I1897ae1e18113fdbfa573676111ccf3b1daee82f
|
|
|
|
Flag: ACONFIG com.android.wallpaper.multi_crop_preview_ui_flag DEVELOPMENT
Bug: 303317694
Test: launch multi crop preview
Change-Id: I0121da42a69d221b8f229d69607907495fac7779
|
|
|
|
Wallpaper picker crashes from resetting both shortcuts to none, and
behaves incorrectly when resetting one shortcut to none, because slots
without a selection were not accounted for in the snapshot restorer.
Flag: NONE
Bug: 305156127
Test: Manually verified different shortcut reset scenarios
Change-Id: Ib218dccf3f34509b64662eafdf7ac301884ec066
|
|
Test: Manually tested the log is correct
Bug: 290848448
Flag: None
Change-Id: Ic7ea9c4ea383f733675eca84c8d405794c6e9bfe
|
|
Bug: 309005949
Test: manually tested different wallpaper & other color options
Flag: NONE
Change-Id: I511c78a12aec1c7544c75ad7c5034c1c7d739012
|
|
|
|
|
|
Test: manually verified
Bug: 305752530
Flag: NONE
Change-Id: I40d8c156848d6f43b08c0962603a0f443d1e86bf
|
|
Bug: b/307745237
Test: all deviceless tests pass in Studio and Soong
Flag: NONE
Change-Id: Id20cd262f613778cb688e525e35dbde9873110c1
|
|
Test: Build success
Bug: 307819582
Flag: NONE
Change-Id: Id26e88873e80732e522b01ffa148dd4c3d367216
|
|
Test: Manually tested. See bug.
Fixes: 305753308
Flag: NONE
Change-Id: I0be9a454d6cb6f8634dd00f3a25814aeb6323086
|
|
Test: Manually tested. See bug.
Bug: 305753671
Flag: NONE
Change-Id: Ied843e1b57e8c180e83883fd60377753eae5fc2c
|
|
Test: Manually tested. See bug.
Bug: 305753671
Flag: NONE
Change-Id: Ibf282179a098bc105469a3fa0047b1febcfab241
|
|
Fixes: b/291104503
Test: ThemePickerRoboTests pass in atest and Studio
Change-Id: I03da527b4ccb2d5abfc4320879aeaaa43809a64c
|
|
|
|
|
|
Flag: com.android.wallpaper.multi_crop_preview_ui_flag
Bug: 303457890
Test: build, presubmit
Change-Id: I2f656a9adb54759b444f8e5648c19a338098724c
|
|
* changes:
Reuse ClockViewFactory
Cache affordances and selection picker side
|
|
Bug: 302425391
Test: manually verified that quick affordances work as expected
Change-Id: I24a05119721847243afbe7e7ba326cdd328c870b
|
|
|
|
|
|
Test: Manually tested. See bug.
Fixes: 305753309
Change-Id: I21fe90900d4efb01dc5884993b3d5475fcd1152d
|
|
Test: Manually tested logger works as expected
Bug: 305069232
Change-Id: I4e83837498c23d45b66f77dfc7ecbeb037decdb7
|
|
Test: Build success
Fixes: 305998329
Change-Id: Ice043a8d570517a176b375db51383f890ef54aa6
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/25045563
Change-Id: Ie9910c17886d3d668ebc6cfa7e8d624c96ed0bec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 255714762
Test: presubmit
Change-Id: I47c6b167ddb2009ba6e582b089d8b84745acd589
|
|
into main
|
|
|
|
76a932bbf4 am: 7b755e3973 am: 5f65e508bf
Original change: https://android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/2778096
Change-Id: Iae1ff8425ad0bc71c8597d18cb178febe12ecadb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
76a932bbf4 am: 7b755e3973
Original change: https://android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/2778096
Change-Id: Ifb1eee63675582d694e7783d04638d3ac0993c1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 255714762
Test: presubmit
Change-Id: I7d20d4fc924f231e4eda6b366e694d858f09d7ad
|
|
|
|
The quick affordance section controller currently calls runBlocking when
initializing to query flags and check if the feature is available.
However, fragments and section controllers should be getting System UI
flags using base flags, which queries and caches the flags when a flag
is first needed. In addition, the runBlocking function is suspected to
be the cause of the reported crash within the bug.
In this CL, the quick affordance section controller, interactor &
repository are adjusted to remove the flag querying, and the flag is
read from base flags instead in the section controller.
Bug: 296856318
Bug: 290849013
Test: adjusted unit tests for this change and made sure they still pass,
verified manually that quick affordance section controller remains
Change-Id: Ic469396f4a959a339efebec7cfbaaf37f8b404e3
|
|
Modify the logging method to conform to the new spec
Test: Build success. Will manually test in the later CL.
Bug: 299659307
Change-Id: Ib50167950b68ef49bb2a209e241690bca56fc57f
|
|
Test: Build success
Bug: 299659307
Change-Id: I27357d5fdfa0a1589a9fe411217e0e9469b863a6
|
|
Bug: 287507746
Test: Checked accesibility functions of clock picking
Change-Id: Ie91b46addd22a5c2f700cc479c67b2eff147c384
|
|
|
|
Test: Build success
Bug: 303461806
Change-Id: I1d4551477642ac036a58283ab8675442be1f74ab
|
|
Test: Will test manually in later CLs when log APIs are used
Bug: 299659307
Change-Id: If8091555c4ea62001e212db8d25eee3f19949ba3
|
|
|
|
Test: Build success
Bug: 299659307
Change-Id: I79e76c98f665f6b6a629928bab66f779d883250e
|
|
Test: Build succeeded
Bug: 299659307
Change-Id: Ie25e5d005432b455723b4e66f827b5b937d5c27c
|
|
Move WallpaperColorsRepository and WallpaperColorsModel to a better
location, consistent with other files.
Bug: 269451870
Test: manually verified wallpaper colors related features function
correctly
Change-Id: Ifb7d95df73f12d1823664b3a93f177cd0cff934f
|
|
|
|
Test: Build succeeded
Bug: 299659307
Change-Id: I9698c4e7df5bbb42b175431e6d5c972d929c66d4
|
|
See go/picker-test-injection
Bug: b/297021618
Test: verified that tests use deps from test module
Change-Id: Iada1f20cd69d3e7ce3d80eae3bfdfa5edc57e821
|