From 3509b624feecbcb8be850f9e1f397cdd7aeea5e2 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Mon, 20 May 2019 15:22:22 -0700 Subject: 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 --- libs/androidfw/AssetManager2.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/androidfw/AssetManager2.cpp') 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& child_resids) { - ATRACE_NAME("AssetManager::GetBag"); - auto cached_iter = cached_bags_.find(resid); if (cached_iter != cached_bags_.end()) { return cached_iter->second.get(); -- cgit v1.2.3-59-g8ed1b