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

Fixing empty PendingAlarmInfo after alarm store changes

The alarm store implementation might change, leaving the pointer passed
to MetricsHelper with an empty instance.

Also reordered some code to reduce unnecessary locking.

Test: Manually, run:
adb shell device_config put alarm_manager lazy_batching false
Then:
./out/host/linux-x86/bin/statsd_testdrive 10106
should show non-zero values.

Bug: 177556103
Change-Id: I55b4318d14632f227adfd79f7a08bb50af98f03a
parent a8e003f5
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