diff options
| author | 2017-08-10 21:57:02 +0000 | |
|---|---|---|
| committer | 2017-08-10 21:57:02 +0000 | |
| commit | eb43cdbc2e1187667a51cf21daac9e79e3678114 (patch) | |
| tree | 9104a6558bdb8c9d6ea65661e4df69205d6d1131 /libs/hwui/TextDropShadowCache.cpp | |
| parent | edf33843071f91a3ad9456a02e42b909f5662ca2 (diff) | |
| parent | 642ebea6e14b72c512ef1168dc6edb061035dded (diff) | |
Merge "Delete all ro.hwui.* props" into oc-mr1-dev
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) |