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

Commit 7f3f9666 authored by Tom Hsu's avatar Tom Hsu Committed by Android (Google) Code Review
Browse files

Merge "[Panlingual] Fix shall not show app with empty LocaleConfig." into tm-dev

parents 76ae7845 89f48dce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -99,7 +99,8 @@ public class AppLocaleUtil {
     * Check the function of per app language is supported by current application.
     */
    public static boolean isAppLocaleSupported(Context context, String packageName) {
        if (getPackageLocales(context, packageName) != null) {
        LocaleList localeList = getPackageLocales(context, packageName);
        if (localeList != null && localeList.size() > 0) {
            return true;
        }