diff options
author | Tiger Huang <tigerhuang@google.com> | 2021-04-10 02:45:46 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2021-04-10 02:58:52 +0800 |
commit | 546e7ad2dac7de8febbff814f8faeaae7d3d82cf (patch) | |
tree | 71603358d9e9b5948fa1b352d46a7a5ee03638ad /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6b2d6fbea57631a82e842fc6108978e02359c381 (diff) |
Only update insetsHint while necessary
To improve the performance, this CL makes it only calculates and updates
insetsHint when:
- the insets source is visible at the server side.
- the insets source frame is changed.
Fix: 183739779
Test: atest --iterations 10 ImePerfTest#testHideIme
Change-Id: Ie4e6fe7af21a036dabbca71c9170f40e04997a13
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions