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

Skip to content
Commit 986da539 authored by Daniel Bright's avatar Daniel Bright
Browse files

Don't obtain ril request if request not supported

* Outstanding ril requests detect error conditions and
  recieve an onError callback that sends the consumer's
  message with an error code.
* On REQUEST_NOT_SUPPORTED cases, the consumer messsage is
  sent back with error code.
* Because of this redundancy, RilRequest.obtain should not
  be called in the REQUEST_NOT_SUPPORTED case, otherwise,
  the message can be sent twice causing a crash.

Test: telephony tests
Bug: 176924948
Change-Id: I69106ef005485205db3b4d189523c5daac4e430f
parent 7342ceb3
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