OSDN Git Service

Always update DimLayer bounds when starting dim.
authorRobert Carr <racarr@google.com>
Mon, 18 Apr 2016 02:24:21 +0000 (19:24 -0700)
committerRobert Carr <racarr@google.com>
Mon, 18 Apr 2016 02:26:36 +0000 (19:26 -0700)
commit7393c7b3ec4230f2dc2caf4c6a8c25dfcf6a5b91
treee3e72a07e86b73bd6a127a65d7f439a583bef293
parentfd580f7d1a5a19b062bea49602f0f6136bce7e5e
Always update DimLayer bounds when starting dim.

Otherwise animateDimLayers can occur before
updateDimLayers and we can show the dim at the
wrong size.

Bug: 26908486
Change-Id: Ifd664e48f3daa77900a7f0bffa58a379efa6b53c
services/core/java/com/android/server/wm/DimLayerController.java