diff options
author | Vishnu Nair <vishnun@google.com> | 2020-08-14 11:54:47 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2020-08-17 17:45:56 -0700 |
commit | 47074b84da85b05912c911c6f12aecaa47b07142 (patch) | |
tree | 600fc95c17b7d87d77336953125992f73715e5f0 /libs/gui/tests/EndToEndNativeInputTest.cpp | |
parent | 1a19435911704c8ef37741e5765df42ac9903e1d (diff) |
Rename InputWindowHandle hasFocus to focusable
A window with hasFocus set to true, means the window can be focusable.
The current name is confusing when mutliple windows set the field to
true. Rename this to focusable and also remove canRecieveKeys field which
is not used.
Test: presubmit
Bug: 151179149
Change-Id: I38f63dfd08300b6fc97388ee6d8bcbdddb89c4a1
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 a68ec29d52..287a6f4ebb 100644 --- a/libs/gui/tests/EndToEndNativeInputTest.cpp +++ b/libs/gui/tests/EndToEndNativeInputTest.cpp @@ -192,8 +192,7 @@ private: mInputInfo.type = InputWindowInfo::Type::BASE_APPLICATION; mInputInfo.dispatchingTimeout = 5s; mInputInfo.globalScaleFactor = 1.0; - mInputInfo.canReceiveKeys = true; - mInputInfo.hasFocus = true; + mInputInfo.focusable = true; mInputInfo.hasWallpaper = false; mInputInfo.paused = false; |