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

Commit c24bc10f authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Add method that checks the Binder status of ImsConfig

Adds a method to check whether or not the ImsConfig
binder has died.

Bug: 62723694
Test: maual, follow bug procedure
Change-Id: I9df6533e7e7dc69487cea50fada6c89599b031a3
parent e9bec628
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -697,4 +697,11 @@ public class ImsConfig {
                    ImsReasonInfo.CODE_LOCAL_SERVICE_UNAVAILABLE);
        }
    }

    /**
     * @return true if the binder connection is alive, false otherwise.
     */
    public boolean isBinderAlive() {
        return miConfig.asBinder().isBinderAlive();
    }
}