diff options
author | Hui Yu <huiyu@google.com> | 2021-04-08 13:57:02 -0700 |
---|---|---|
committer | Hui Yu <huiyu@google.com> | 2021-04-08 16:14:32 -0700 |
commit | 13127b8153754ac4f994b0d61f81bf5935f76be8 (patch) | |
tree | ad40e6d3c99d0191eeabccc7e50aca3decf06358 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a7e6b9481b35f5fa485e8f7afb07684c2c517b22 (diff) |
Add fgsStartReasonCode and other fields into metric ForegroundServiceStateChanged.
1. Besides ENTER and EXIT state, add a new state DENIED.
2. Add more fields inth the metric:
int32 fgs_start_reason_code = 5;
int32 target_sdk_version = 6;
int32 calling_uid = 7;
int32 caller_target_sdk_version = 8;
int32 temp_allow_list_calling_uid = 9;
bool fgs_notification_deferred = 10;
bool fgs_notification_shown = 11;
int32 fgs_duration_ms = 12;
int32 fgs_start_count = 13;
Bug: 171305836
Test: build and run.
Change-Id: I049070f343f578fa3e9f6bb4dab914da5b23672a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions