Revert "Track movement of ICU .dat file"

This reverts commit 68c6bd8b43.

Reason for revert: Broke ART test environments and emulator devices.

Bug: 119293618
Change-Id: I1b0531d13c6565ce83801d93c78813af592eec1a
This commit is contained in:
Neil Fuller 2018-12-11 20:09:51 +00:00
parent 68c6bd8b43
commit b9e7b699a2

View file

@ -58,8 +58,7 @@ static int __icu_dat_file_filter(const dirent* dirp) {
static bool __find_icu() {
dirent** namelist = nullptr;
int n = scandir("/apex/com.android.runtime/etc/icu", &namelist, &__icu_dat_file_filter,
alphasort);
int n = scandir("/system/usr/icu", &namelist, &__icu_dat_file_filter, alphasort);
int max_version = -1;
while (n--) {
// We prefer the latest version available.