OSDN Git Service

Thaw input dispatching immediately after unfreezing.
authorBryce Lee <brycelee@google.com>
Sat, 21 Apr 2018 05:56:01 +0000 (22:56 -0700)
committerBryce Lee <brycelee@google.com>
Sat, 21 Apr 2018 06:00:43 +0000 (23:00 -0700)
commit51839b93480bf32ffa30976e58d0170e8ae566d8
treecd3ca8acdfd8a18a3ef1e78355bc450763978393
parent46e58e1b4086aa0e3eb62f9cdae0eefaea08943f
Thaw input dispatching immediately after unfreezing.

Currently, we thaw after taking a number of steps post-unfreezing,
including setting up screen animations for rotation. If there is an
exception in this intermediate code, the input dispatching will not
be thawed even though the display has unfrozen.

This changelist moves thawing to immediately after unfreezing to
prevent it from being skipped due to an exception.

Bug: 78301580
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: I32a3ca909fe1a495b361f9e5ba7b3a158837bc3a
services/core/java/com/android/server/wm/WindowManagerService.java