Merge "[Panlingual] Improve conditions of supporting app locale." into tm-qpr-dev am: 12377854b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19674442 Change-Id: I43489e9e2476925c2680b8ec7da335900e0ad106 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -100,8 +100,8 @@ public class AppLocaleUtil {
|
||||
*/
|
||||
public static boolean isAppLocaleSupported(Context context, String packageName) {
|
||||
LocaleList localeList = getPackageLocales(context, packageName);
|
||||
if (localeList != null && localeList.size() > 0) {
|
||||
return true;
|
||||
if (localeList != null) {
|
||||
return localeList.size() > 0;
|
||||
}
|
||||
|
||||
if (FeatureFlagUtils.isEnabled(
|
||||
|
Reference in New Issue
Block a user