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

Skip to content
Commit 01fdbd32 authored by Rika Brooks's avatar Rika Brooks
Browse files

Telephony: Fix IntRangeManager

-Fix to populate SmsBroadcastConfigInfo list with all the possible
 range lists upon enable and disable to match previous implementation.
-Fix ClientRange to be ordered by start id, then by end id.
-Fix enableRange to handle missing cases:
 -enable exact same range, i.e. new [x, y], existing [x, y]
 -enable range that is already enclosed in existing range i.e.
  adding [3, 3] to existing range [1,3]
 -enable (startId -1) == range.endId, i.e. new [3, y] existing [1, 2]
-Fix where range.endId is not updated correctly
-Fix disableRange to first update mRange then call updateRange.
-Add more unit test cases.

Bug: 8355035
Change-Id: I83308c76ed28c6f753326aeaac6bec1d88c01b39
parent 5779b57f
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