Improve feature support for fake AirPods Pro

Remove microphone detection and add pod charging and ear detection.
This commit is contained in:
darken
2023-01-06 16:02:38 +01:00
committed by Matthias Urhahn
parent 4db8c0c286
commit 86df7bea22
2 changed files with 49 additions and 18 deletions
@@ -24,6 +24,12 @@ class FakeAirPodsProTest : BaseAirPodsTest() {
batteryLeftPodPercent shouldBe 1.0f
batteryRightPodPercent shouldBe 1.0f
isLeftPodCharging shouldBe true
isRightPodCharging shouldBe true
isLeftPodInEar shouldBe false
isRightPodInEar shouldBe false
isCaseCharging shouldBe false
batteryCasePercent shouldBe 0.7f