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

Commit 6c288010 authored by Pechetty Sravani (xWF)'s avatar Pechetty Sravani (xWF) Committed by Automerger Merge Worker
Browse files

Merge "Revert "Add patch for tvview callback run in single thread."" into main...

Merge "Revert "Add patch for tvview callback run in single thread."" into main am: 92bf8da4 am: 6a774d8e

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



Change-Id: If179bd20131fb9364f0e0a8eba3e485aa24a7f5f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d0de6de4 6a774d8e
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ public class TvView extends ViewGroup {
    private static final Object sMainTvViewLock = new Object();
    private static WeakReference<TvView> sMainTvView = NULL_TV_VIEW;

    private Handler mHandler = new Handler();
    private final Handler mHandler = new Handler();
    private Session mSession;
    private SurfaceView mSurfaceView;
    private Surface mSurface;
@@ -207,17 +207,6 @@ public class TvView extends ViewGroup {
        mCallback = callback;
    }

    /**
     * Sets the handler to be invoked when an event is dispatched to this TvView.
     * If handler is not set by this function, TvView will use its default handler.
     *
     * @param handler The handler to handle events.
     * @hide
     */
    public void setHandler(@NonNull Handler handler) {
        mHandler = handler;
    }

    /** @hide */
    public Session getInputSession() {
        return mSession;