Skip to content
Commit 9cfd6857 authored by Tiger Huang's avatar Tiger Huang
Browse files

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