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

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

Check for null Binder before calling focusmanager notification APIs

Bug: 294047434
Test: Unit Tests, OEM manual stress tests
Change-Id: I62c6e6b75ab691ca8057f8151acacf6623fe53f9
parent 735890be
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2396,6 +2396,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements
        BindCallback callback = new BindCallback() {
            @Override
            public void onSuccess() {
                if (!isServiceValid("connectionServiceFocusLost")) return;
                try {
                    mServiceInterface.connectionServiceFocusLost(
                            Log.getExternalSession(TELECOM_ABBREVIATION));
@@ -2415,6 +2416,7 @@ public class ConnectionServiceWrapper extends ServiceBinder implements
        BindCallback callback = new BindCallback() {
            @Override
            public void onSuccess() {
                if (!isServiceValid("connectionServiceFocusGained")) return;
                try {
                    mServiceInterface.connectionServiceFocusGained(
                            Log.getExternalSession(TELECOM_ABBREVIATION));