Merge "Add LocaleManager host-side CTS suite to TEST_MAPPING."

This commit is contained in:
Pratyush More
2021-11-17 11:11:08 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ public class LocaleManagerShellCommand extends ShellCommand {
try {
LocaleList locales = mBinderService.getApplicationLocales(packageName, userId);
getOutPrintWriter().println("Locales for " + packageName
+ " for user " + userId + " are " + locales);
+ " for user " + userId + " are [" + locales.toLanguageTags() + "]");
} catch (RemoteException e) {
getOutPrintWriter().println("Remote Exception: " + e);
} catch (IllegalArgumentException e) {

View File

@@ -10,6 +10,9 @@
},
{
"name": "CtsLocaleManagerTestCases"
},
{
"name": "CtsLocaleManagerHostTestCases"
}
]
}
}