summaryrefslogtreecommitdiff
path: root/tools/stats_log_api_gen/Collation.h
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2020-04-07 07:23:21 -0700
committerMuhammad Qureshi <muhammadq@google.com>2020-04-07 07:23:21 -0700
commit79e10620ee1101b44dfb88fa97cffc09207470f5 (patch)
treec5a69550ab284873e631abe775e606649b69ba41 /tools/stats_log_api_gen/Collation.h
parent10dd5e9a185bb7ffad04cd097b64741afe63e97c (diff)
Initialize nested to true
This fixes random nested values in atoms_info. Bug: 153119080 Test: m libstatsmetadata Change-Id: I1c1900dae1701b28a8db6ee257f5730e71e574eb
Diffstat (limited to 'tools/stats_log_api_gen/Collation.h')
-rw-r--r--tools/stats_log_api_gen/Collation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/stats_log_api_gen/Collation.h b/tools/stats_log_api_gen/Collation.h
index d56f2be7ecb3..b513463ec98f 100644
--- a/tools/stats_log_api_gen/Collation.h
+++ b/tools/stats_log_api_gen/Collation.h
@@ -160,7 +160,7 @@ struct AtomDecl {
int exclusiveField = 0;
int defaultState = INT_MAX;
int triggerStateReset = INT_MAX;
- bool nested;
+ bool nested = true;
int uidField = 0;