Update insets state for each window if its mBehindIme is changed

InsetsStateController would dispatch a different insets state to a
window accroding to its condition. For example, a window behind IME
can get the insets state different from one got from a window above
IME. So when the conditions change, we should update the insets state
to the client.

Fix: 152839133
Test: atest InsetsStateControllerTest
Change-Id: I7a846d55da92a652d79fb81dfd79abcc87971830
(cherry picked from commit 53c8eb8ae0689fbe300d0e5f470f6f7247006d6c)
3 files changed