diff options
| author | Tarandeep Singh <tarandeep@google.com> | 2019-04-23 16:25:38 -0700 |
|---|---|---|
| committer | Tarandeep Singh <tarandeep@google.com> | 2019-04-24 06:29:35 +0000 |
| commit | 7928f7cd4deda9dfe933ce2df12f3e36f7009267 (patch) | |
| tree | 3e9c082d40d6a94c1f04e37c1aec7ad99ac24200 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | a37cd55e10ab0785b986a39ed90846b3bd4c914a (diff) | |
Register Ime consumer only when insets are enabled.
As of today we register Ime consumer in IMM onWindowGainedFocus().
However, it does nothing functionally when ViewRootImpl#sNewInsetsMode is disabled.
This CL adds a check to not register consumer at the first place.
This may also be causing a leak. Added a TODO to revisit that before we
enable the flag.
Bug: 131181940
Test: atest ViewRootImpl
Test: atest InsetsController
Change-Id: I6b2b62d10670d63edafeb1b24c25b26c7721f3ad
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
