commit | 8ba446c9bad94e91cf83c579261298552d51d249 | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Mon Jun 20 18:56:35 2016 -0700 |
committer | Daniel Nishi <dhnishi@google.com> | Wed Jun 22 14:36:54 2016 -0700 |
tree | 18deef37302a5999a5f834c638d712387d54c8bb | |
parent | 0df9721a08a9dd377373ac2b5ac4a9b0900dbbd6 [diff] |
On phones, don't show the avatar icon when it is the only user. The keyguard user switcher isn't enabled for layouts under 600dp width. For these thinner devices, we don't show the multi-user switch view when there is only one user. In order to update this visibility when user changes occur, we re-calculate the visibilities when the keyguard status bar view is made visible again. Bug: 28795981 Change-Id: I980a4c400adc1d9a6c0ce3465854284997e86596