diff options
author | Yohei Yukawa <yukawa@google.com> | 2019-01-27 23:18:32 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2019-01-27 23:18:32 -0800 |
commit | 6ab2e4a91ee5aa0d91442f29ac17652b87cf3a89 (patch) | |
tree | 42c4655dbd16c5712cea0c2872d51b871304bf5d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 18f11cd4d738754241d6332357ff51a0f1f97d1f (diff) |
Fix InputMethodSettings#getInt() for nonexistent key when copy-on-write is on
It turns out that InputMethodSettings#getInt() has always returned 0
instead of the specified default value when copy-on-write is on and
the specified key does not exist since the mechanism was introduced
to support direct-boot [1].
Most likely this would not have been a big issue, but let's fix it
just in case.
[1]: I9c6f9bb3d51174198e5f73588637f87ea0d90e11
68645a638ad1bfb734b2b0f56b17fe206bb891c5
Bug: 26279466
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: If2abc0604372cf394105db9395706aaa0f570431
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions