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

Commit 91d76f2a authored by Charles Chen's avatar Charles Chen Committed by Automerger Merge Worker
Browse files

Merge "Enable process restart behavior for VisualQueryDetectionService" into...

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

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



Change-Id: Idb6ac51157fdb11cd2c86c784dc792a4ecb13250
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents db4d8319 5a7ce648
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(