OSDN Git Service

Fixes TaskStackLayoutAlgorithm log errors when window rect is empty
authorMatthew Ng <ngmatthew@google.com>
Tue, 29 Aug 2017 21:06:37 +0000 (14:06 -0700)
committerMatthew Ng <ngmatthew@google.com>
Wed, 30 Aug 2017 23:51:58 +0000 (16:51 -0700)
commita3d09db2abdaf5f49d5cf5129878a740fc9cccad
treee6f3084f3a46636ab2459c0b898e69dc71a1e1cc
parentf3f7a101fb541357be502f6b073b8398d0420716
Fixes TaskStackLayoutAlgorithm log errors when window rect is empty

On boot, it will try to load recents and setup some rects but window
rect is empty initializing invalid task rects and logging an error.
Do not initialize till window rect is not empty.

Test: manual - boot
Change-Id: I2ecdc8aa514d7d32d449e6c510de5c433116ae99
Fixes: 65157592
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java