Merge "[Panlingual] Use feature flag to switch opt-in on/off" into tm-dev am: 855099c704
am: d0a8b7a9e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18181645 Change-Id: Ie4828274730707ac8dee102484df931ba9877189 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -37,6 +37,7 @@ import androidx.test.core.app.ApplicationProvider;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -71,6 +72,7 @@ public class AppLocaleUtilTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("b/231904717")
|
||||
public void canDisplayLocaleUi_showUI() throws PackageManager.NameNotFoundException {
|
||||
setApplicationInfo(/*no platform key*/ false);
|
||||
setActivityInfo(mAllowedPackage);
|
||||
@@ -79,6 +81,7 @@ public class AppLocaleUtilTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("b/231904717")
|
||||
public void canDisplayLocaleUi_notShowUI_hasPlatformKey()
|
||||
throws PackageManager.NameNotFoundException {
|
||||
setApplicationInfo(/*has platform key*/ true);
|
||||
@@ -88,6 +91,7 @@ public class AppLocaleUtilTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("b/231904717")
|
||||
public void canDisplayLocaleUi_notShowUI_noLauncherEntry()
|
||||
throws PackageManager.NameNotFoundException {
|
||||
setApplicationInfo(/*no platform key*/false);
|
||||
@@ -97,6 +101,7 @@ public class AppLocaleUtilTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("b/231904717")
|
||||
public void canDisplayLocaleUi_notShowUI_matchDisallowedPackageList()
|
||||
throws PackageManager.NameNotFoundException {
|
||||
setApplicationInfo(/*no platform key*/false);
|
||||
|
Reference in New Issue
Block a user