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

Commit 6409130f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev

parents ea38519f 45fbe5b5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -145,6 +145,8 @@ public class TouchInteractionService extends Service

    private int mBackGestureNotificationCounter = -1;

    private final TISBinder mTISBinder = new TISBinder();

    /**
     * Local IOverviewProxy implementation with some methods for local components
     */
@@ -516,7 +518,7 @@ public class TouchInteractionService extends Service
    @Override
    public IBinder onBind(Intent intent) {
        Log.d(TAG, "Touch service connected: user=" + getUserId());
        return new TISBinder();
        return mTISBinder;
    }

    private void onInputEvent(InputEvent ev) {