summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDavid Chen <dwchen@google.com>2017-12-04 14:28:43 -0800
committerDavid Chen <dwchen@google.com>2017-12-04 14:28:43 -0800
commit12942956bcd6213d3349227ae8567e63f9644935 (patch)
tree9ef059c08e76712df9722cf29947f298e1a53ebe /tools/aapt2/java/JavaClassGenerator.cpp
parent2e8f3807379f5d5d151ad2cb434d8a7aca910238 (diff)
Tiny fix to bug when statsd should clear data.
Previously, we always sent a broadcast, even after we have exceeded the memory limit for this config key. We switch the order so that we drop the data if the limit is exceeded. If greater than 90% of the way to the limit, we send the broadcast. We need to find a way to unit-test this behavior. Test: N/A. Change-Id: I6ea40b9e34dceb19805d9af24495d72878f787e0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions