diff options
| author | 2023-09-08 23:36:25 +0000 | |
|---|---|---|
| committer | 2023-09-08 23:36:25 +0000 | |
| commit | f36b4568b69e64a015f9128b171d45267d4af875 (patch) | |
| tree | 863953c215656e2fb1fffdb9097e405b150fd89c | |
| parent | 47448a632f385e24a82f4c2b22aa7abbb8a1c094 (diff) | |
| parent | 378bdf9f6cb57490c4fa6bcf4bcf4cf220e4491a (diff) | |
Merge "Move Theme::Entry definition to top of file" into udc-dev-plus-aosp am: 81a7cf8143 am: 378bdf9f6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24685834
Change-Id: I25b8ca93525e5833f6f17fa1d709a71a2a02366f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/androidfw/AssetManager2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/androidfw/AssetManager2.cpp b/libs/androidfw/AssetManager2.cpp index bff197cc290f..c9bdbb4f3fbc 100644 --- a/libs/androidfw/AssetManager2.cpp +++ b/libs/androidfw/AssetManager2.cpp @@ -91,6 +91,12 @@ struct FindEntryResult { StringPoolRef entry_string_ref; }; +struct Theme::Entry { + ApkAssetsCookie cookie; + uint32_t type_spec_flags; + Res_value value; +}; + AssetManager2::AssetManager2(ApkAssetsList apk_assets, const ResTable_config& configuration) : configuration_(configuration) { // Don't invalidate caches here as there's nothing cached yet. @@ -1523,12 +1529,6 @@ Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { Theme::~Theme() = default; -struct Theme::Entry { - ApkAssetsCookie cookie; - uint32_t type_spec_flags; - Res_value value; -}; - base::expected<std::monostate, NullOrIOError> Theme::ApplyStyle(uint32_t resid, bool force) { ATRACE_NAME("Theme::ApplyStyle"); |