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

Commit ef6fadaf authored by Shikha Malhotra's avatar Shikha Malhotra Committed by Presubmit Automerger Backend
Browse files

[automerge] Add a check that installD is available before using it 2p: f17edfd4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17449224

Change-Id: Ieb3fd8b2106de01bcf1c967edd797b560340558b
parents 10bdef8c f17edfd4
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line 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
     * Sets in Installd that it is first boot after data wipe
     */
     */
    public void setFirstBoot() throws InstallerException {
    public void setFirstBoot() throws InstallerException {
        if (!checkBeforeRemote()) {
            return;
        }
        try {
        try {
            mInstalld.setFirstBoot();
            mInstalld.setFirstBoot();
        } catch (RemoteException e) {
        } catch (RemoteException e) {