commit | eadb22fc6a337fb6134f58f7e1cfb77c51d4daca | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Wed Jun 19 12:09:23 2019 +0800 |
committer | Louis Chang <louischang@google.com> | Wed Jun 19 14:35:10 2019 +0800 |
tree | 8f52155509f1cf4c743f1c643a224da942cb304d | |
parent | 9fd7200353a5ea044a321fc2f814a31663c39c4c [diff] |
Set activity state to STARTED when making visible from STOPPED An invisible activity state was set to PAUSED from STOPPING or STOPPED when making it visible. Since the client’s lifecycle was transit to onStart, the client-server state were inconsistent. Adding a new STARTED state in order to have consistency with client state. Bug: 135495279 Test: ActivityRecordTests Test: ActivityVisibilityTests Test: ActivityLifecycleTests Change-Id: I887740312de8f8580c58cde36e0f5137365b607c