Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c7a13af4 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Fix alarm manager FGS reason codes

The reason code for alarm_clock was never used as intended. This means
we cannot differentiate between the two types in metrics.
Also fixing the reason code to be used while denying fgs. This should
not cause any functional change but is better for consistency and
catching inadvertent bugs in the future.

Test: atest CtsAlarmManagerTestCases:ExactAlarmsTest
./out/host/linux-x86/bin/statsd_testdrive 60
Should show reason code 301 after running
ExactAlarmsTest#alarmClockAllowsFGS

Bug: 231661615
Change-Id: I8c20f6b040d9fbdb0808769a4fa0eae7c63d5e07
parent abeb3828
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