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

Commit 70ce9cec authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for nullability of SettingsBase" into main

parents 03ec3e80 6881a5fb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5484,6 +5484,9 @@ public class ComputerEngine implements Computer {
        // For update or already installed case, leverage the existing visibility rule.
        if (targetAppId != INVALID_UID) {
            final Object targetSetting = mSettings.getSettingBase(targetAppId);
            if (targetSetting == null) {
                return false;
            }
            if (targetSetting instanceof PackageSetting) {
                return !shouldFilterApplication(
                        (PackageSetting) targetSetting, callingUid, userId);