From 2216f9c2e57164bc9ac229081c8610fcedfe8df0 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Wed, 11 Jun 2014 12:05:48 -0400 Subject: [PATCH] remove call to (deprecated) SetDeviceConfig this was ignored by all callers, in that they always specify a preferred config (8888). This removal will allow skia to remove the api and its global. Change-Id: Ic0a4c673ddd60d0078f75e0e482aba4c9b9cf682 --- core/jni/AndroidRuntime.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index f8e6bc3487614..5fd65479dac1f 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -244,9 +244,6 @@ AndroidRuntime::AndroidRuntime(char* argBlockStart, const size_t argBlockLength) mArgBlockLength(argBlockLength) { SkGraphics::Init(); - // this sets our preference for 16bit images during decode - // in case the src is opaque and 24bit - SkImageDecoder::SetDeviceConfig(SkBitmap::kRGB_565_Config); // There is also a global font cache, but its budget is specified in code // see SkFontHost_android.cpp