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

Skip to content
Commit a75567ae authored by Simon Bowden's avatar Simon Bowden
Browse files

Create a Builder for Ringtone, add unit tests.

Currently hidden until the full new API is ready, but convert private
factory methods from RingtoneManager to use it. This moves towards
making the Ringtone class less mutable, and particularly for all required
media player properties (esp AudioAttributes) being available for the
initial construction.

Adds an initial unit test covering basic properties and fallback, and
"documenting" what happens when the uri is null, which was unclear before.

Bug: Bug: 261571543
Test: manual, presubmit
Change-Id: I81d512e9b21b64a2cca0450cb85c52d8a2125865
parent abcf9857
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