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

Commit 17905e4f authored by Pechetty Sravani (xWF)'s avatar Pechetty Sravani (xWF) Committed by Gerrit Code Review
Browse files

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

This reverts commit 86a52de8.

Reason for revert: Potential culprit for b/359423884- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I328e498e54eb35b1a1aa99a6c66f32a779abf1bb
parent 86a52de8
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;