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

Commit 55a0198c authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Ravenwood: Support LocaleList

Bug: 292141694
Test: atest CtsOsTestCasesRavenwood FrameworksCoreTestsRavenwood
Flag: EXEMPT host side test change only
Change-Id: I020d13a7d0cffabd5ba06276429391ac6d0cb938
parent db5d5e97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ import java.util.Locale;
 * LocaleList is an immutable list of Locales, typically used to keep an ordered list of user
 * preferences for locales.
 */
@android.ravenwood.annotation.RavenwoodKeepWholeClass
public final class LocaleList implements Parcelable {
    private final Locale[] mList;
    // This is a comma-separated list of the locales in the LocaleList created at construction time,
+0 −2
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.fail;

import android.platform.test.annotations.IgnoreUnderRavenwood;
import android.platform.test.ravenwood.RavenwoodRule;

import androidx.test.ext.junit.runners.AndroidJUnit4;
@@ -33,7 +32,6 @@ import org.junit.runner.RunWith;
import java.util.Locale;

@RunWith(AndroidJUnit4.class)
@IgnoreUnderRavenwood(blockedBy = LocaleList.class)
public class LocaleListTest {
    @Rule
    public final RavenwoodRule mRavenwood = new RavenwoodRule();
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ android.os.Handler
android.os.HandlerExecutor
android.os.HandlerThread
android.os.IBinder
android.os.LocaleList
android.os.Looper
android.os.Message
android.os.MessageQueue