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

Skip to content
Commit 52425a25 authored by Lais Andrade's avatar Lais Andrade
Browse files

Fix broken vibration vendor effect tests in staging

Some fixes to new VibratorEffect.VendorEffect APIs:

- Add helper method to perform deep comparison of PersistableBundle
  instances. The BaseBundle.kindOfEquals doesn't work well on array
  values.
- Make sure VibrationEffect.createVendorEffect triggers the validate()
  method before returning the new instance.
- Fix service tests to grant new permission before testing vendor
  vibrations.

Fix: 355274084
Fix: 355400728
Flag: android.os.vibrator.vendor_vibration_effects
Test: FrameworksVibratorCoreTests
      FrameworksVibratorServiceTests
      CtsVibratorTestCases
Change-Id: I129242da63baad2835245083498960b2fc1d8915
parent 3a34c3a6
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