OSDN Git Service

Pass surface insets from window attributes rather than params
authorAlan Viverette <alanv@google.com>
Tue, 4 Nov 2014 19:27:19 +0000 (11:27 -0800)
committerAlan Viverette <alanv@google.com>
Tue, 4 Nov 2014 19:27:19 +0000 (11:27 -0800)
commit93cad8c4d41f2256d0bfaa455686acf8442d97ff
tree594fe165a0cfe44296422f0856b87e7913a01bdb
parent6f7fd0ba50ad15788a1378eb62ec7d8a78983051
Pass surface insets from window attributes rather than params

Params only gets set in certain situations, whereas the actual window
attributes always contain the correct surface insets.

BUG: 18214798
Change-Id: Ib5236ccf3f120b26c5abc8671bf29cb3dc269186
core/java/android/view/ViewRootImpl.java