summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2019-11-12 18:23:50 -0800
committerTim Murray <timmurray@google.com>2020-02-20 17:11:04 -0800
commitb5e1153d03dc5e830519a21224f308248450fae4 (patch)
tree6d1c81924ddad1dd740e7ab99749b8f6168e2521 /opengl/java
parent58b9a11b072de9bac8a0a2c7b9673c6c587ba047 (diff)
LocationManager: cache isLocationEnabledForUser
This method is in the hot path for all location tasks but whether location is enabled for a particular user doesn't change that often. Cache the result and invalidate from system_server in order to reduce CPU consumption. Test: boots, works, gets location Bug: 140788621 Change-Id: I84ad2c570e7024187a728071dcbb6f72b177e17a
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions