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

Commit 23311d45 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add metaData null check in isRequiredAppDeclaredInMetadata" into main

parents 0affadc4 c21afc29
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -203,6 +203,9 @@ public class OverlayPackagesProvider {
        } catch (PackageManager.NameNotFoundException e) {
            return false;
        }
        if (packageInfo.applicationInfo == null || packageInfo.applicationInfo.metaData == null) {
            return false;
        }
        final String metadataKey = sActionToMetadataKeyMap.get(provisioningAction);
        return packageInfo.applicationInfo.metaData.getBoolean(metadataKey);
    }