From 79e10620ee1101b44dfb88fa97cffc09207470f5 Mon Sep 17 00:00:00 2001 From: Muhammad Qureshi Date: Tue, 7 Apr 2020 07:23:21 -0700 Subject: [PATCH] Initialize nested to true This fixes random nested values in atoms_info. Bug: 153119080 Test: m libstatsmetadata Change-Id: I1c1900dae1701b28a8db6ee257f5730e71e574eb --- tools/stats_log_api_gen/Collation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/stats_log_api_gen/Collation.h b/tools/stats_log_api_gen/Collation.h index d56f2be7ecb3d..b513463ec98f0 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;