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

Commit c4409a13 authored by Justin Ghan's avatar Justin Ghan
Browse files

Add threading comments for the delegate initiation callback

Bug: 228100684
Bug: 256870186
Test: N/A
Change-Id: I6db21adad640d27a3efd020aa9f829276993bbe7
parent 59eec43b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public class HandwritingDelegateConfiguration {
     * @param delegatorViewId identifier of the delegator editor view for which handwriting mode
     *     should be initiated
     * @param initiationCallback callback called when a stylus {@link MotionEvent} occurs within
     *     this view's bounds
     *     this view's bounds. This will be called from the UI thread.
     */
    public HandwritingDelegateConfiguration(
            @IdRes int delegatorViewId, @NonNull Runnable initiationCallback) {
@@ -65,7 +65,7 @@ public class HandwritingDelegateConfiguration {

    /**
     * Returns the callback which should be called when a stylus {@link MotionEvent} occurs within
     * the delegate view's bounds.
     * the delegate view's bounds. The callback should only be called from the UI thread.
     */
    @NonNull
    public Runnable getInitiationCallback() {