diff options
author | Soonil Nagarkar <sooniln@google.com> | 2021-04-29 09:53:55 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2021-04-29 12:44:03 -0700 |
commit | da4d1c363992fcc38993e8539e2b18f23673da8b (patch) | |
tree | f71bc1a1cde30b90cc529ab4f7a83bf4a9b41976 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2d41f53291f67916bf8c9b01a9ceab7af7ec2e0e (diff) |
Fix cache by userId bugs
Three bugs were present here:
1) isLocationEnabled() will return incorrect results for USER_CURRENT
and USER_CURRENT_OR_SELF
2) Disabling the location enabled cache does not work properly in the
system process, we only disable the cache for a single instance of
LocationManager.
3) isLocationEnabled() was not respecting the user as defined by the
context used to create the LocationManager.
Bug: 185401689
Test: atest CtsLocationFineTestCases
Change-Id: I84bff02604a4b2d84494a0e099e172c4ffb400a2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions