[android] Do not search ttf files (fonts) inside apk.

This commit is contained in:
vng 2013-05-29 14:46:01 +03:00 committed by Alex Zolotarev
parent 3f7cb039a3
commit 3f35306ff1

View file

@ -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)