Merge "[Panlingual] Improve conditions of supporting app locale." into tm-qpr-dev
This commit is contained in:
@@ -100,8 +100,8 @@ public class AppLocaleUtil {
|
|||||||
*/
|
*/
|
||||||
public static boolean isAppLocaleSupported(Context context, String packageName) {
|
public static boolean isAppLocaleSupported(Context context, String packageName) {
|
||||||
LocaleList localeList = getPackageLocales(context, packageName);
|
LocaleList localeList = getPackageLocales(context, packageName);
|
||||||
if (localeList != null && localeList.size() > 0) {
|
if (localeList != null) {
|
||||||
return true;
|
return localeList.size() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FeatureFlagUtils.isEnabled(
|
if (FeatureFlagUtils.isEnabled(
|
||||||
|
Reference in New Issue
Block a user