commit | 0df68cd13b8121aa4e582d8fb59c7589079d6ff9 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Thu Oct 01 13:54:22 2015 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Fri Oct 02 12:19:39 2015 -0700 |
tree | a56500f88c69a9448481b0cbf8ae3fa112eebeec | |
parent | e81b323af1cea0cbba80171968c27f6023ffc7e0 [diff] |
Do now allow current user to be removed It was possible to remove a foreground user using pm remove-user command. The system ends up in the inconsistent state, because switch does not happen and the removed user stays in the foreground, but its state is removed. Also added am get-current-user command. Change-Id: Ida2dce8f99bac55e106cdd44c93e96cc9142d7fb