commit | 2fe45f78c0211de50777dd0e4024a11e977a3ac3 | [log] [tgz] |
---|---|---|
author | bkchoi <bkchoi@google.com> | Wed Dec 06 22:18:03 2023 +0000 |
committer | bkchoi <bkchoi@google.com> | Thu Dec 07 17:53:22 2023 +0000 |
tree | e36de133659f22c11d6f05be00e91a97f616fea4 | |
parent | f1b2bb7793608c95f69cfaed48f42e828eeecba9 [diff] |
Initialize user lifecycle state in initClusterHome() There were cases that the current user was unlocked even before the ClusterHomeApplication was created thus the listener did not receive the user_unlocked lifecycle event to start the UI_TYPE_START activity. Now initClusterHome() calls UserManager#isUserUnlocked() to initialize mUserLifeCycleEvent field with the correct state. Bug: 312519113 Test: Manually using the emulator Change-Id: I8c01cd56ae8d20567102fc4f91d653f1bd4f2ef8