LibXZR
3eb62d0ee6
ThemePicker: Fix incorrect logic in wallpapersColorsChanged
...
Fixes a crash when lockscreen wallpaper is different
from home screen wallpaper, or some other unknown case.
Change-Id: Iab496d67f7ab5f363102b633a0708867df0121d6
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7729
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-by: Sourajit Karmakar <sourajit@live.com>
2022-05-18 20:25:47 +02:00
LibXZR
de4619e5c0
ThemePicker: Defer color section adapter binding
...
We need to make sure color options are fully initialized
before setting up selectors. This fixes the race, which
lead to the disappearance of color selectors, between
loading color options and binding viewholders.
Change-Id: Icdab4d1225862dd8c81db3655be89346a29c8122
Signed-off-by: LibXZR <i@xzr.moe>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7728
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-by: Sourajit Karmakar <sourajit@live.com>
2022-05-18 20:25:40 +02:00
Anay Wadhera
ebee0b6e71
StatixThemePicker: specify the correct intents
...
Previously, this led to two options popping up for Styles, this fixes that by keeping a default alias
Change-Id: Ia11ba0975c29e5cf8b79c5a2a4bf0c17bda589e9
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7653
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2022-04-27 05:52:52 +02:00
Anay Wadhera
866ccb5e50
ThemePicker: import color section from dotOS
...
[ghostrider-reborn: rework build setup]
Change-Id: I96670305884efaae8ba1d707ddd406375ed78ed1
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7539
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
2022-04-24 17:16:56 +02:00
Anay Wadhera
41f43d3425
StatixThemePicker: use color seed generation algorithm from AOSP
...
The primary wallpaper color is not always the most vibrant or expected accent color, so change this behavior to get the best average color by using the AOSP monet algorithm
Change-Id: I589c21ab81da8b261dcbd3dd2a3f35563c0e5225
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7585
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2022-04-24 03:14:12 +02:00
Anay Wadhera
fab9ccb786
StatixThemePicker: implement dummy recent wallpapers provider for Pixel Launcher
...
Change-Id: I7d092aadcbc1a360ff9ec95c81d6c6cf5cbc4a96
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7570
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2022-04-18 04:05:15 +02:00
Anay Wadhera
1c8558f4f4
StatixThemePicker: update app name
...
Change-Id: Ief72ddbfa2c0a30c925a967a1e4df22db2835d1f
Reviewed-on: https://review.statixos.com/c/android_packages_apps_Statix_ThemePicker/+/7538
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2022-04-17 21:41:37 +02:00
Anay Wadhera
eb94e7a691
ThemePicker: bring back icon pack customization
...
Change-Id: I93c195238ea94babe1bd3024166d7c1dec4b5bb2
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/6550
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7122
2022-04-17 12:59:46 +09:00
Anay Wadhera
285b3eb471
StatixThemePicker: implement default customization sections
2022-04-17 12:59:45 +09:00
Anay Wadhera
b3b6c3e3b8
ThemePicker: respect color override
...
Change-Id: I37ddec6f0b18c2ebdf6b383380598e6bc29b6430
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/6763
Tested-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7124
2022-04-16 19:17:25 -07:00
Anay Wadhera
a2b35db45b
ThemePicker: implement coloring in wallpaper preview fragment
...
Change-Id: I78206bbe6b96529975b5cefd0a3a2ae55623c505
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/6613
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7123
2022-04-16 19:17:20 -07:00
Danny Lin
fb59a63229
Add permission for launcher preview rendering
...
Change-Id: Ie707dcd98161e8f5993b0504295fddc3f395cd20
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/5826
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7121
2022-04-16 19:16:54 -07:00
Danny Lin
2668de7c69
Declare HOME query for launcher discovery
...
ThemePicker needs to query the current launcher in order to render
launcher/wallpaper previews, toggle themed icons, and change the app
grid size.
Change-Id: Id79fe1eaa4d09f775a37a1dfb1091ed08a1d3422
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/5825
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7120
2022-04-16 19:16:25 -07:00
Luca Stefani
96393b5542
Specify we read and write launcher settings
...
Change-Id: Ifc8196588443b007602118389ca76d34ab531f14
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/5824
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7119
2022-04-16 19:15:33 -07:00
LuK1337
b063ad56e4
Add wallpaper default permissions
...
Change-Id: If43a594da31fbab9280ce45b049737f6c534b620
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/5803
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7118
2022-04-16 19:15:13 -07:00
Luca Stefani
8f49e7d78f
Add wallpaper privapp whitelist
...
Change-Id: I044b1d9201ac0b8780fc37a387f401f3dd0ddeac
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/5755
Reviewed-by: Sourajit Karmakar <sourajit@live.com>
Tested-by: Sourajit Karmakar <sourajit@live.com>
Reviewed-on: https://review.statixos.com/c/android_packages_apps_ThemePicker/+/7116
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2022-04-16 19:14:40 -07:00
Anay Wadhera
e583b15448
StatixThemePicker: initial build files
2022-04-16 19:14:02 -07:00