diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-02-24 15:43:42 -0500 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-02-25 15:45:25 -0500 |
commit | a43c4b2872f82e3296dde8ce62e7e149bbe71c22 (patch) | |
tree | ea980a9a3e3b4de6ac9c6442293e1d54cbf0cb18 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions