summaryrefslogtreecommitdiff
path: root/libs/binder/ActivityManager.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2020-03-17 17:51:27 -0700
committer Alec Mouri <alecmouri@google.com> 2020-03-17 17:51:27 -0700
commit822b10aedfa435a7252bd73074708694fd20eb4c (patch)
tree4c5784f8718409732db726d8809d851cbbe4e525 /libs/binder/ActivityManager.cpp
parent8929001832590afd537f2e06147c039b951d862c (diff)
[GpuStats] Lazily-register statsd callbacks
Previously statsd callbacks were registered when GpuStats was instantiated. But, statsd is enforcing permissions to verify that the calling process had permission to register callbacks. The permission enforcement is happening too early so the callback registration silently fails. As a workaround, perform callback registration the first time GpuStats is asked to track stats instead. Bug: 151682677 Test: builds, boots Test: adb logcat | grep REGISTER_STATS Test: adb shell cmd stats pull-source 10054 Test: adb shell cmd stats pull-source 10055 Change-Id: I2d4a4e320825ee5cb393a6560baa8756779b729f
Diffstat (limited to 'libs/binder/ActivityManager.cpp')
0 files changed, 0 insertions, 0 deletions