OSDN Git Service

Request application of WindowInsets when setting a content view
authorAdam Powell <adamp@google.com>
Wed, 17 Jun 2015 20:37:06 +0000 (13:37 -0700)
committerAdam Powell <adamp@google.com>
Wed, 17 Jun 2015 20:37:06 +0000 (13:37 -0700)
commit41607d5a2b8cc4a3fde4a2f75e33a00e8d957b1d
treee7ceb7de7f25509c385fe10c7ef5b5c47025ed06
parent0e5dc780f00b6c91d0bcfd46512759c6e8a2a81b
Request application of WindowInsets when setting a content view

For both PhoneWindow and VoiceInteractionSession, call
requestApplyInsets when the content view(s) change. This is generally
what the developer expects if the new view tree responds to insets in
any way.

Bug 21620924

Change-Id: I60a88af55bf85217c3587aa37f03fdc3fdce686d
core/java/android/service/voice/VoiceInteractionSession.java
core/java/com/android/internal/policy/PhoneWindow.java