Skip to content
Commit 133c8e8f authored by Hui Yu's avatar Hui Yu
Browse files

Log FGS ENTER event synchronously.

To make sure the ENTER event has correct timestamp and other fields from
ServiceRecord.

Add field mFgsNotificationWasDeferred to save mFgsNotificationDeferred value
when mFgsNotificationDeferred is set true, should look at EXIT
event for fgs_notification_deferred instead of ENTER event.

Bug: 191054441
Test: build and run, monitor westworld event logs.
Test: atest CtsAppTestCases:android.app.cts.NotificationManagerTest
Test: atest CtsAppTestCases:android.app.cts.ServiceTest
Test: atest CtsStatsdAtomHostTestCases:android.cts.statsdatom.statsd.UidAtomTests#testForegroundServiceState
Change-Id: I07ace3810b6bbed4860065e7e06453441794f80c
parent fce88b4e
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