summaryrefslogtreecommitdiff
path: root/tools/stats_log_api_gen/main.cpp
diff options
context:
space:
mode:
authorChenjie Yu <cjyu@google.com>2018-08-29 11:49:11 -0700
committerChenjie Yu <cjyu@google.com>2018-09-10 18:26:33 -0700
commit159e4f8f461097a2dfffb545f46734dd7d9610f3 (patch)
treeb03a696f749bbbb3799c0ecbd630adebf711362b /tools/stats_log_api_gen/main.cpp
parent1941814f8e9b44d91f996b137e8683fbf80bc70a (diff)
allow use of atom definition outside of atoms.proto in pulled atoms
There will be followup cls to add support of new types that can be nested and repeated. + skip StatsLog.write signature generation for pulled atoms. Bug: 113872139 Test: manual test Change-Id: I69d0ee0b2fe8e286e48eac20ec2c8b280c477bf0
Diffstat (limited to 'tools/stats_log_api_gen/main.cpp')
-rw-r--r--tools/stats_log_api_gen/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/stats_log_api_gen/main.cpp b/tools/stats_log_api_gen/main.cpp
index 83a66312b425..991547916919 100644
--- a/tools/stats_log_api_gen/main.cpp
+++ b/tools/stats_log_api_gen/main.cpp
@@ -18,8 +18,6 @@ using namespace std;
namespace android {
namespace stats_log_api_gen {
-const int PULL_ATOM_START_ID = 1000;
-
int maxPushedAtomId = 2;
using android::os::statsd::Atom;