Update onTimeout api with ForegroundServiceType annotation.

Fixes: 325635747
Test: builds/flashes
Change-Id: I577f9516649b1f9f5919453356f9e40f65b38286
2 files changed