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

Skip to content
Commit 05332a39 authored by Lais Andrade's avatar Lais Andrade
Browse files

Introduce system APIs for VibrationEffect XML parser

Introduce SystemApi for VibrationEffect XML parser:

- VibrationXmlParser.parse
- VibrationXmlParser.parseVibrationEffect
- ParsedVibration.resolve

Update CTS tests to only use the new methods and remove TestApi from
other hidden helpers. The tests are not flagged since they are required
to ensure OEMs will preserve the XML schema defined at

core/xsd/schema/vibrator/vibration/vibration.xsd

Bug: 347273158
Test: atest android.os.cts.VibrationEffectXmlSerializationTest
      atest android.os.vibrator.persistence
Flag: android.os.vibrator.vibration_xml_apis
Change-Id: Ida2d4a518fc6ce7dc15f26680ca970df26ce530f
parent 205fa460
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