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

Commit e9da8c28 authored by Yisroel Forta's avatar Yisroel Forta
Browse files

Catch exception for ProfilingServiceHelper#getInstance

ProfilingServiceHelper#getInstance can throw
IllegalStateException, as noted in JavaDoc, but callers are not
currently handling it. This happens when the Service is not
available, which is expected to occur if a trigger is sent
before ProfilingService starts up. Catch and ignore this
exception as there is nothing else to do, trigger will be lost.

- Catch exception in AMS#sendProfilingTrigger
- Update start trigger to use AMS#sendProfilingTrigger

Flag: EXEMPT - simple bugfix
Bug: 421357419
Test: presubmit
Change-Id: I23be1e4e8303651015ba38863ddb8d3388203225
parent 49dc70da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment