diff options
author | Steven Laver <lavers@google.com> | 2019-11-14 08:37:31 -0800 |
---|---|---|
committer | Steven Laver <lavers@google.com> | 2019-11-17 10:24:04 -0800 |
commit | a440ff4d3b943aaff3fd71dea5ecfd5259e9e67b (patch) | |
tree | 329e95b51f7ef75b58a64e4e8546f060934ee364 /libs/gui/tests/EndToEndNativeInputTest.cpp | |
parent | 6f5d1ac161c1a5a798c6a2124a11c39c914b2e5e (diff) | |
parent | 57da32a1c443bb7ea14b9be4a5c8e8a0c0c2bec7 (diff) |
Merge RP1A.191114.001
Change-Id: Ic4fb6897a8fb5dae80cb3b3e68c09ad0fe45c87a
Diffstat (limited to 'libs/gui/tests/EndToEndNativeInputTest.cpp')
-rw-r--r-- | libs/gui/tests/EndToEndNativeInputTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gui/tests/EndToEndNativeInputTest.cpp b/libs/gui/tests/EndToEndNativeInputTest.cpp index 0f8f38494e..e6ff9d1b6e 100644 --- a/libs/gui/tests/EndToEndNativeInputTest.cpp +++ b/libs/gui/tests/EndToEndNativeInputTest.cpp @@ -69,7 +69,6 @@ public: mSurfaceControl = sc; InputChannel::openInputChannelPair("testchannels", mServerChannel, mClientChannel); - mServerChannel->setToken(new BBinder()); mInputFlinger = getInputFlinger(); mInputFlinger->registerInputChannel(mServerChannel); @@ -169,7 +168,7 @@ private: } void populateInputInfo(int width, int height) { - mInputInfo.token = mServerChannel->getToken(); + mInputInfo.token = mServerChannel->getConnectionToken(); mInputInfo.name = "Test info"; mInputInfo.layoutParamsFlags = InputWindowInfo::FLAG_NOT_TOUCH_MODAL; mInputInfo.layoutParamsType = InputWindowInfo::TYPE_BASE_APPLICATION; |