summaryrefslogtreecommitdiffstats
path: root/libs/input/IInputFlinger.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-12-20 02:03:14 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-12-20 02:03:14 +0000
commit6187ad026e41362453fe6f331bf04b8a9aeab337 (patch)
tree9e1abf7561681c1b11cf5f50dc231e4b47fd20a3 /libs/input/IInputFlinger.cpp
parentb4cb9e9297cc69dfaedf7d7d1458dcebe369d649 (diff)
parent8b19a0550297ed6e849b3e79cfc3de311cdf8892 (diff)
downloadandroid_frameworks_native-6187ad026e41362453fe6f331bf04b8a9aeab337.tar.gz
android_frameworks_native-6187ad026e41362453fe6f331bf04b8a9aeab337.tar.bz2
android_frameworks_native-6187ad026e41362453fe6f331bf04b8a9aeab337.zip
Snap for 6087694 from 8b19a0550297ed6e849b3e79cfc3de311cdf8892 to qt-qpr2-release
Change-Id: I153e0e63ec8724c877688fd294b904269f50d1e3
Diffstat (limited to 'libs/input/IInputFlinger.cpp')
-rw-r--r--libs/input/IInputFlinger.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/input/IInputFlinger.cpp b/libs/input/IInputFlinger.cpp
index d6a73bfd2..de3a23d76 100644
--- a/libs/input/IInputFlinger.cpp
+++ b/libs/input/IInputFlinger.cpp
@@ -45,16 +45,6 @@ public:
IBinder::FLAG_ONEWAY);
}
- virtual void transferTouchFocus(const sp<IBinder>& fromToken, const sp<IBinder>& toToken) {
- Parcel data, reply;
- data.writeInterfaceToken(IInputFlinger::getInterfaceDescriptor());
-
- data.writeStrongBinder(fromToken);
- data.writeStrongBinder(toToken);
- remote()->transact(BnInputFlinger::TRANSFER_TOUCH_FOCUS, data, &reply,
- IBinder::FLAG_ONEWAY);
- }
-
virtual void registerInputChannel(const sp<InputChannel>& channel) {
Parcel data, reply;
data.writeInterfaceToken(IInputFlinger::getInterfaceDescriptor());
@@ -104,13 +94,6 @@ status_t BnInputFlinger::onTransact(
unregisterInputChannel(channel);
break;
}
- case TRANSFER_TOUCH_FOCUS: {
- CHECK_INTERFACE(IInputFlinger, data, reply);
- sp<IBinder> fromToken = data.readStrongBinder();
- sp<IBinder> toToken = data.readStrongBinder();
- transferTouchFocus(fromToken, toToken);
- break;
- }
default:
return BBinder::onTransact(code, data, reply, flags);
}