Skip to content
Commit 546e7ad2 authored by Tiger Huang's avatar Tiger Huang
Browse files

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
parent 6b2d6fbe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment