OSDN Git Service

Fixes retrieving fullscreen stack when recents is not available yet
authorMatthew Ng <ngmatthew@google.com>
Tue, 17 Oct 2017 22:43:49 +0000 (15:43 -0700)
committerMatthew Ng <ngmatthew@google.com>
Tue, 17 Oct 2017 22:43:49 +0000 (15:43 -0700)
commit30aadfdc474f36943444e29fabef51646ca769b0
tree67c562ac3034e07db47c5b1f6a08a8f027015bd5
parent959516a8858e6d2ff02b5ed48021bd5324d4f912
Fixes retrieving fullscreen stack when recents is not available yet

First time going to recents would not have the recents stack created yet
and so SystemUI would fallback to getting the window rect from the
fullscreen stack. The code getting the fullscreen stack passed an
undefined window mode which would return a null stack. Fix this by
asking for a fullscreen window mode.

Change-Id: I372bcf5ccffd87af467a8a1a8cee46def1640654
Fixes: 67864447
Test: manual - on boot, launch app, press recents button
packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java