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

Commit 5a9b931b authored by Charles Chen's avatar Charles Chen Committed by Automerger Merge Worker
Browse files

Merge "Enable process restart behavior for VisualQueryDetectionService" into udc-dev am: b4278fb5

parents 35b33a9c b4278fb5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -81,7 +81,12 @@ final class VisualQueryDetectorSession extends DetectorSession {
    void informRestartProcessLocked() {
        Slog.v(TAG, "informRestartProcessLocked");
        mUpdateStateAfterStartFinished.set(false);
        //TODO(b/261783819): Starts detection in VisualQueryDetectionService.
        try {
            mCallback.onProcessRestarted();
        } catch (RemoteException e) {
            Slog.w(TAG, "Failed to communicate #onProcessRestarted", e);
            notifyOnDetectorRemoteException();
        }
    }

    void setVisualQueryDetectionAttentionListenerLocked(