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

Commit 6fef91e8 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed when ContentCapture is finished.

The initial behavior cop^H^H^H based on Autofill, which only closes the session when the activity
finishes. But for content capture we must always close the session when the activity is stopped.

Test: manual verification
Fixes: 125628737

Change-Id: I064d4ace97721dd8fb20075c02e1f059ecbf942a
parent 55168269
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2387,8 +2387,8 @@ public class Activity extends ContextThemeWrapper
                getAutofillManager().onPendingSaveUi(AutofillManager.PENDING_UI_OPERATION_CANCEL,
                        mIntent.getIBinderExtra(AutofillManager.EXTRA_RESTORE_SESSION_TOKEN));
            }
            notifyContentCaptureManagerIfNeeded(CONTENT_CAPTURE_STOP);
        }
        notifyContentCaptureManagerIfNeeded(CONTENT_CAPTURE_STOP);
        mEnterAnimationComplete = false;
    }