From 3f35306ff163a0e280c0859d79dbfb7d2916c8ce Mon Sep 17 00:00:00 2001 From: vng Date: Wed, 29 May 2013 14:46:01 +0300 Subject: [PATCH] [android] Do not search ttf files (fonts) inside apk. --- platform/platform.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/platform/platform.cpp b/platform/platform.cpp index 671f9ceb55..a2fcf1bb03 100644 --- a/platform/platform.cpp +++ b/platform/platform.cpp @@ -60,7 +60,13 @@ void Platform::GetFontNames(FilesList & res) const { GetSystemFontNames(res); - string const paths[] = { WritableDir(), ResourcesDir() }; + // Do not search inside apk for the fonts in Android. + string const paths[] = { + WritableDir() +#ifndef OMIM_OS_ANDROID + , ResourcesDir() +#endif + }; FilesList fonts; for (size_t i = 0; i < ARRAY_SIZE(paths); ++i)