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

Skip to content
Commit 649c8157 authored by Malcolm Chen's avatar Malcolm Chen Committed by Xiangyu/Malcolm Chen
Browse files

Don't return null at Phone.getIccCard.

Phone.getIccCard used to always return a non-null object.
But getUiccProfile() can return null if SIM card is not present.
For backward compatibility consideration, we return a dummy
object instead of null.

Bug: 74608255
Test: unittest
Change-Id: Ic985e9e24c5b7fc0185d5d555a66db3e6a44c44c
Merged-In: Ic985e9e24c5b7fc0185d5d555a66db3e6a44c44c
parent 622798d4
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