Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4fae275 authored by Victor Chang's avatar Victor Chang
Browse files

Add app compat config from ICU4J

Bug: 139480281
Bug: 171979766
Test: device boots
Change-Id: Ib2065368e2c5e0904c229c9383bc774269a0f410
parent 33f7bff2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -554,6 +554,7 @@ java_library {
        "framework-platform-compat-config",
        // TODO: remove gps_debug and protolog.conf.json when the build system propagates "required" properly.
        "gps_debug.conf",
        "icu4j-platform-compat-config",
        "libcore-platform-compat-config",
        "protolog.conf.json.gz",
        "services-platform-compat-config",
+2 −2
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.timezone;

import android.annotation.NonNull;

import com.android.i18n.timezone.TimeZoneDataFiles;
import com.android.internal.annotations.VisibleForTesting;

import java.io.IOException;
@@ -75,8 +76,7 @@ public final class TzDataSetVersion {
    @NonNull
    public static TzDataSetVersion read() throws IOException, TzDataSetException {
        try {
            return new TzDataSetVersion(
                    com.android.i18n.timezone.TzDataSetVersion.readTimeZoneModuleVersion());
            return new TzDataSetVersion(TimeZoneDataFiles.readTimeZoneModuleVersion());
        } catch (com.android.i18n.timezone.TzDataSetVersion.TzDataSetException e) {
            throw new TzDataSetException(e.getMessage(), e);
        }