mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6409130f29
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user