diff options
| author | 2019-05-20 15:22:22 -0700 | |
|---|---|---|
| committer | 2019-05-20 15:27:28 -0700 | |
| commit | 3509b624feecbcb8be850f9e1f397cdd7aeea5e2 (patch) | |
| tree | 555b1891dd3837af1e9e679cf1dc2a3868ab95ae /libs/androidfw/AssetManager2.cpp | |
| parent | 30edf328bbdf2b92d107353414b3c75af34daddc (diff) | |
Remove obtainStyledAttribute and AssetManager2::GetBag tracing
These traces are small and noisy, so they hurt performance more than they help.
This reverts commit c37457799be3db0590a5d94832b2fef5f64ef439.
Test: m
Bug: 132721345
Change-Id: I9ef719f54f2bc8a54f23e88f46d74e35417a6519
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
| -rw-r--r-- | libs/androidfw/AssetManager2.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/androidfw/AssetManager2.cpp b/libs/androidfw/AssetManager2.cpp index 1b515ad41e68..d20aecaaf0f6 100644 --- a/libs/androidfw/AssetManager2.cpp +++ b/libs/androidfw/AssetManager2.cpp @@ -778,8 +778,6 @@ const ResolvedBag* AssetManager2::GetBag(uint32_t resid) { } const ResolvedBag* AssetManager2::GetBag(uint32_t resid, std::vector<uint32_t>& child_resids) { - ATRACE_NAME("AssetManager::GetBag"); - auto cached_iter = cached_bags_.find(resid); if (cached_iter != cached_bags_.end()) { return cached_iter->second.get(); |