commit | a43c4b2872f82e3296dde8ce62e7e149bbe71c22 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Mon Feb 24 15:43:42 2020 -0500 |
committer | Fabian Kozynski <kozynski@google.com> | Tue Feb 25 15:45:25 2020 -0500 |
tree | ea980a9a3e3b4de6ac9c6442293e1d54cbf0cb18 | |
parent | 10398d29f34a23e4076553901e042d5924e9be37 [diff] |
Fix starting user in Controls controllers Before this CL, the starting user was assumed to be 0 (from the Context). This may not be true if the controllers are instantiated for the first time while on a secondary user (thanks to Dagger). This retrieves the correct current user when the controllers are created. Test: manual, open Power menu for the first time after switching users and look at dump Fixes: 150219351 Change-Id: I69a7ac32b82700feb707972693bd9b672d179f19