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

Add more data to removal history in alarm dump

Expanding the history to include more information about the alarm which
was removed. Specifically, the calculations for when the alarm is due is
extremely useful in debugging issues by looking at the dump.

Creating a mechanism to snapshot an alarm object for logging. More
fields can be added to this as needed.

Reversing the order of printing the removal history so it prints the
most recent removal first.

Test: Manually inspect the output of `dumpsys alarm`
Test: atest FrameworksMockingServicesTests:AlarmTest

Bug: 193063877
Change-Id: Id1baaa5c985a201ccd3d5f325c0781edec783fba
parent 14c4746a
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