Android: Fix resource extraction from splits for Hebrew and others.

This CL fixes a bug in the logic used to locate locale .pak files
inside bundle splits. The reason for the bug is that bundletool
wants to use deprecated language names (i.e. 'iw' instead of 'he')
to store asset files.

As an example, for Hebrew, Chrome was looking at:

  assets/locales#lang_he/he.pak

While the file was really stored under:

  assets/locales#lang_iw/he.pak

The CL fixes the issue for Hebrew, Yiddish and Indonesian and
Filipino.

BUG=902915
R=benmason@chromium.org, tiborg@chromium.org, yfriedman@chromium.org, twellington@chromium.org

Change-Id: I420158c30ba33c6203495af9453877722271e104
Reviewed-on: https://chromium-review.googlesource.com/c/1327203
Commit-Queue: David Turner <digit@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: Theresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606866}
3 files changed