commit | 9cfd685729e6d534b823cad72e0ea0aeb98150f6 | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Sun Jun 21 20:53:56 2020 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Sun Jun 21 20:53:56 2020 +0800 |
tree | f143d1e410bb795d7ad20a2ee5f8a1eeff458c21 | |
parent | 5d544ddff061eafa2adfa2d00cf9dd5e663f5cd0 [diff] |
Only notify insets changed caused by z-order under some conditions The goal of this CL is to improve the performance. If win.mBehindIme is changed, we will notify the window about insets changed only when: - IME is visible. - The window is visible. Fix: 159049379 Test: atest InsetsStateControllerTest Change-Id: I8d38693bfb034c9d12e27d92b7a1d5247768d3e5