Commit Graph

2 Commits

Author SHA1 Message Date
Chaohui Wang
547cdbe3fa Fix duplicated SettingsEnums.TRUSTED_CREDENTIALS
The target page have nested fragments, remove the enum from inner
fragment to fix this issue.

Fix: 260055184
Test: Manually with Settings
Change-Id: Iee51df18ab6810147857703678482a62f34228fe
2022-11-22 17:36:05 +08:00
Chaohui Wang
3ce806d870 Fix scrolling position not kept in Trusted Credentials
For example when changing display states.

Save view states to solve this issue.
 - Save current tab. (System / User)
 - Save group expanded state. (Personal / Work)
 - Save scrolling position of each group.

Also updated to ViewPager2 and updated the styles.

Bug: 204839552
Test: manual
Change-Id: Ibeda50b50e7dfd2ba071b75fe2aa88ef560f4c88
2022-04-15 10:12:36 +08:00