Skip to content
Commit 74842705 authored by Nathan Harold's avatar Nathan Harold
Browse files

Add an onError() method to CellInfoCallback

There are 2 known types of failures that result in
CellInfo requests to fail:
1) timeout waiting for a response from the modem
2) errors returned from the modem (including the RIL).

This patch adds an explicit onError() callback to
ensure that callers can get detailed error information.

Bug: 120488917
Test: manually tested both error cases by modifying
    RadioResponse.java and forcing both the timeout
    and an explicit error.
Change-Id: Ieb499dc220718aa99a552ea081eb4b4b5c1424aa
parent d2715b7c
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