summaryrefslogtreecommitdiff
path: root/src/com/android/customization/model/themedicon/ThemedIconSectionController.java
AgeCommit message (Collapse)Author
2021-07-01Save themed icon switch's chcked state in savedInstanceStateChing-Sung Li
Add section views with tasks in the message queue (view#post()) running separately would see themed icon switch's checkd state changing quickly. Save the state to the savedInstanceState and restore it could prevent this phenomenon. Bug: 192200516 Test: Manual Change-Id: I04309bd634e2b9a240570fe304dfa34372c2b6df
2021-06-28Store the themed icon enabled state in SharedPreferencesChihhang Chuang
The stored value only gets updated when - App launching and the stored value is stale. - Themed icon toggle gets swithed. Fixes: 191950768 Test: Manually Change-Id: I42f3419befd39fd4e196fc94b18ab73e178bb4fb
2021-06-15Replace "Hub" naming with "Customization"Chihhang Chuang
- Since "Hub" is a meaningless naming. - Also update "Mode" prefix naming to "DarkMode". - Remove unused interface in Injector. Bug: 190354625 Test: Manually Change-Id: I5293f590070e9f4a852ab31e64506639a549a558
2021-06-10Make the retrival of themed icon setting in background againChing-Sung Li
We get the themed icon setting through content provider through binder call in background thread to unblock UI. Video: - https://drive.google.com/file/d/1d3SxhKTCJtWLtD1vri9qioKvGdZC42ne/view?usp=sharing&resourcekey=0-0r9WI28xLgMaQzRxkQJU_g Bug: 189894912 Bug: 190564428 Test: Manual Change-Id: I23321d227df9115839b6fcc9a0c7bb8eb10c1278
2021-06-09[2/n] Move new picker logic to AOSPChihhang Chuang
- Wallpaper section Bug: 190354625 Test: Build and run the app Change-Id: I2ac6e82abdd2b114d3da5688ff8ecf561032d05f
2021-06-08[1/n] Move new picker logic to AOSPChihhang Chuang
- Dark/light Theme. - Themed Icon. - App Grid. Bug: 190354625 Test: Build and run the app. Change-Id: I54c7c3897568019326b827091270091bc114611c