OSDN Git Service

DO NOT MERGE -- Use focused activity value when moving task back
authorAndrii Kulian <akulian@google.com>
Tue, 18 Oct 2016 20:54:38 +0000 (13:54 -0700)
committerAndrii Kulian <akulian@google.com>
Tue, 18 Oct 2016 23:03:39 +0000 (23:03 +0000)
commitda3b648b645a12d6fcfa4c175234074290ac7339
tree5e48fc000b02ea47552bcea22c8e0ef7cb31b5f3
parent8e7b934850ea1a24be4c46d0e8490e71bdba6136
DO NOT MERGE -- Use focused activity value when moving task back

When task is moved back we need to adjust currently focused activity
and sent currently resumed record from ActivityStack. However if this
happens when device is locked, resumed activity record will be null.
Need to used currently focused record from service instead.

Bug: 32172829
Change-Id: I2de9bc4135663ab45af859f21e9e92562deb44d4
services/core/java/com/android/server/am/ActivityStack.java