Merge "Track movement of ICU .dat file"

This commit is contained in:
Neil Fuller 2019-01-13 16:22:59 +00:00 committed by Gerrit Code Review
commit ca305a39e5
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ static int __icu_dat_file_filter(const dirent* dirp) {
static bool __find_icu() {
dirent** namelist = nullptr;
int n = scandir("/system/usr/icu", &namelist, &__icu_dat_file_filter, alphasort);
int n = scandir("/apex/com.android.runtime/etc/icu", &namelist, &__icu_dat_file_filter,
alphasort);
if (n < 0) {
async_safe_write_log(ANDROID_LOG_ERROR, "bionic-icu", "couldn't find ICU folder");
return false;