commit | 322a96e6a69d6d6398cc2e1ab5616c979950ae0c | [log] [tgz] |
---|---|---|
author | Yasin Kilicdere <tyk@google.com> | Mon Aug 12 11:33:56 2024 +0000 |
committer | Yasin Kilicdere <tyk@google.com> | Mon Aug 12 20:43:52 2024 +0000 |
tree | ab748bb4113eca96520cdc1dff0cdd3024a9bec8 | |
parent | 254b854c491524c49cb4c291396deac7a12519b6 [diff] |
Fix early call of UMS.removeUser causing system crash during boot. When the removal of a user is initiated from shell command during boot, before ActivityManager is ready, sending the user removal broadcasts throw an IllegalStateException causing FATAL Exception in system. This CL adds a check to removeUser method to make sure ActivityManager is ready before moving on. Bug: 358267321 Change-Id: I51dfb73f2aada22b5cd56d734f36998cb17cfd50 Test: None Flag: EXEMPT bugfix