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

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

Merge "Fix NPE caused by null replacedPkgSetting" into main

parents 440faf35 f7982a66
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -869,6 +869,9 @@ final class InstallRequest {
    public void setScannedPackageSettingFirstInstallTimeFromReplaced(
            @Nullable PackageStateInternal replacedPkgSetting, int[] userId) {
        assertScanResultExists();
        if (replacedPkgSetting == null) {
            return;
        }
        mScanResult.mPkgSetting.setFirstInstallTimeFromReplaced(replacedPkgSetting, userId);
    }