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

Commit f17edfd4 authored by Shikha Malhotra's avatar Shikha Malhotra
Browse files

Add a check that installD is available before using it

Bug: b/226868221
Test: Manual Testing
Change-Id: Ic463da00c8c8b56ab393c0b4a1969b408fc77f1e
parent adf9921e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -287,6 +287,9 @@ public class Installer extends SystemService {
     * Sets in Installd that it is first boot after data wipe
     */
    public void setFirstBoot() throws InstallerException {
        if (!checkBeforeRemote()) {
            return;
        }
        try {
            mInstalld.setFirstBoot();
        } catch (RemoteException e) {