diff options
| author | 2023-04-26 12:51:13 +0100 | |
|---|---|---|
| committer | 2023-04-26 12:51:13 +0100 | |
| commit | 84ff04d3c285c98d1048f93b975a13210bd7c5d9 (patch) | |
| tree | 3dda521bad9db184991836bd0f0fd2560417cdea /libs/androidfw/FileStream.cpp | |
| parent | 304ace5611bba777821f70266e8e131f7aa27908 (diff) | |
Start user in background via adb command instead of calling the API.
If the user to be started is a profile of a current foreground user,
it should be started via IActivityManager.startProfileWithListener API
instead of IActivityManager.startUserInBackgroundWithListener. This
logic is already implemented in ActivityManagerShellCommand, so rather
than duplicating it, we'll be doing it by running the shell command.
Bug: 279403644
Test: atest UserLifecycleTests
Change-Id: I4b9e6f1e565187e93e13ad94f41d51ee5f7e3e42
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions