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

Commit cf0dc898 authored by vichang's avatar vichang Committed by Automerger Merge Worker
Browse files

Merge "Add app compat config from ICU4J" am: 6d5fbc84

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1481306

Change-Id: I155c8b08527e28efabef100c7105210b84ddbeec
parents b0c59d4b 6d5fbc84
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);
        }