diff options
| author | 2017-12-06 11:51:59 -0800 | |
|---|---|---|
| committer | 2017-12-06 14:24:49 -0800 | |
| commit | 5364be50cd0431c3b323fd8a3725df5146d01e99 (patch) | |
| tree | 379823ce960e903a2ba0313591c947ee2d595cf7 /libs/hwui/TextDropShadowCache.cpp | |
| parent | 8ab47567b2140da30257bc4e3b70495c8f17281e (diff) | |
| parent | 592f539419226f5d8652c434b34885b93fda0f8d (diff) | |
DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I727a014df2fb05a4b13cb67b1fcb760a8b387523
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
| -rw-r--r-- | libs/hwui/TextDropShadowCache.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/libs/hwui/TextDropShadowCache.cpp b/libs/hwui/TextDropShadowCache.cpp index e1f0b2a20172..c521892c69df 100644 --- a/libs/hwui/TextDropShadowCache.cpp +++ b/libs/hwui/TextDropShadowCache.cpp @@ -94,7 +94,7 @@ int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) {  ///////////////////////////////////////////////////////////////////////////////  TextDropShadowCache::TextDropShadowCache() -        : TextDropShadowCache(Properties::textDropShadowCacheSize) {} +        : TextDropShadowCache(DeviceInfo::multiplyByResolution(2)) {}  TextDropShadowCache::TextDropShadowCache(uint32_t maxByteSize)          : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity) |