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

Skip to content
Commit baccd54a authored by lijilou's avatar lijilou
Browse files

Telecom:fix NPE problem to avoid telecom process crash.

   Firstly,the getConnectionServiceWrapper method in Call.java when
   mConnectionService or  mTransactionalService is null,we use this
   should make nonNull judgement as like  handleAddedCall method in
   ConnectionServiceFocusManager.java.

   Secondly,the releaseConnectionService method is called in
   handleReleasedFocusTimeout method in ConnectionServiceFocusManager.java.
   The parameter mCurrentFocus passed may be null sometime,we use this
   val before should make a nonNull judgement.

   Finally,we should make nonNull judgement for the connectionService
   and the return value of getConnectionServiceWrapper method.

Test: atest
Bug: 341659528
Change-Id: Id4cc6d3c9e32f157d795aed5cf4ff04c49d6efb6
parent e99bb810
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