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

Commit 89f48dce authored by tom hsu's avatar tom hsu
Browse files

[Panlingual] Fix shall not show app with empty LocaleConfig.

Bug: b/231990625
Test: local
Change-Id: Ia4747b777ee5228b57c0293d366c77e91ae5bee0
parent 695a47e4
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;
        }