diff options
| author | 2025-03-03 15:53:44 +0000 | |
|---|---|---|
| committer | 2025-03-20 12:58:20 +0000 | |
| commit | f16c7d31c48408e03646457121a65c8bd0cbbbbb (patch) | |
| tree | 0308733222499525b2edbada33e450946963549a /libs/androidfw/ObbFile.cpp | |
| parent | 97faf81623fd3329eb19fac685a8703b8db07719 (diff) | |
Add Settings management for upcoming ThemeService
This change introduces the new ThemeSettings framework, enabling management and persistence of user theme preferences. Key components include ThemeSettings (data model), ThemeSettingsManager (persistence and loading), ThemeSettingsField (individual property handling), and ThemeStyle (theme type management). The framework serializes theme data to JSON in Settings.Secure, parses JSON, and provides an API for accessing and updating theme preferences. Comprehensive tests have been added to validate core functionality, and the api is under a feature flag for future enabling.
Bug: 333694176
Test: atest FrameworksServicesTests_theme
Flag: android.server.enable_theme_service
Change-Id: I18268db0cb4ee4c0fbd753f11850eeb7230a50ac
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions