diff options
| author | 2022-08-26 10:07:06 -0400 | |
|---|---|---|
| committer | 2022-08-26 10:07:06 -0400 | |
| commit | ff37ce9727daf09ff83eb0f96bc499a473bb7aa1 (patch) | |
| tree | 779ec8cb6ff21bfed9f70891403ba6061761328c /libs/androidfw/ResourceTimer.cpp | |
| parent | c6fbc786f8114b83958e59b636102f75cf895d4b (diff) | |
Call isEmpty() instead of constructing a new object to compare
A recent change in Skia
(https://skia-review.googlesource.com/c/skia/+/573636) moves operator==
into the cpp file, where this file cannot access it due to libhwui's map
file. Call isEmpty, which is still in the header file, and skips
unnecessary creation of a new object anyway.
Bug: NA
Test: AImageDecoderTest
Change-Id: I1dec89a38e248138ace364e8cb7259eb777e8871
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions