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

Commit 1cddcb6f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Skip onActivityEvent when remote ContentCaptureService is dead or unbound." into main

parents e1c5b52a 19d8bc26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -554,6 +554,10 @@ final class ContentCapturePerUserService
            if (mMaster.debug) Slog.d(mTag, "onActivityEvent(): no remote service");
            return;
        }
        if (mRemoteService.getServiceInterface() == null) {
            if (mMaster.debug) Slog.d(mTag, "onActivityEvent(): remote service is dead or unbound");
            return;
        }
        final ActivityEvent event = new ActivityEvent(activityId, componentName, type);

        if (mMaster.verbose) Slog.v(mTag, "onActivityEvent(): " + event);