Skip to content
Commit 13127b81 authored by Hui Yu's avatar Hui Yu
Browse files

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
parent a7e6b948
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment