commit | 9c40a9dcd96c40168c0dbb2f21bd2a2d80de5a6a | [log] [tgz] |
---|---|---|
author | jovanak <jovanak@google.com> | Fri Jun 29 11:38:57 2018 -0700 |
committer | jovanak <jovanak@google.com> | Fri Jun 29 11:38:57 2018 -0700 |
tree | 974a9c00b6f9fd66332dced4adfc1ff06a8cf32d | |
parent | 10e6ff0f6ccadc9661ccbab12e625d9a6648bf27 [diff] |
Fixing a bug in maximum users allowed logic on the device. We need to use CarUserManagerHelper.getMaxSupportedUsers instead of UserManager.getMaxSupportedUsers() to correctly take user 0 into account in headles system user model. Bug: 80197830 Test: atest CarUserManagerHelperTest Change-Id: I167aa03d2c6ed03dc225cb4686a07395518752b8