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

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

Restore Binder When Subinfo is Null

Close an edge case where if the Subscription Info for the subId
is null, the Binder that has been cleared isn't restored. This
happens legitimately in cases where the INVALID_SUBSCRIPTION_ID is
passed or the DEFAULT_SUBSCRIPTION_ID is passed to getPhoneNumber.

Due to the structure of the code, permissions checks are called
multiple times if there is no number available from the first
"source". Since that source is "carrier", this is a common case.

Not having cleared the binder then results in a failure when
querying the second "source".


Bug: 317673478
Test: atest FrameworksTelephonyTestCases
Change-Id: I6513c3e90d155846eef9aeffb1fb12b27f4bf9de
parent 6aac35bc
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