Nothing Ear: switch to AbstractHeadphoneBTBRDeviceSupport support class

Refactor Ear1Support to extend AbstractHeadphoneBTBRDeviceSupport instead of AbstractHeadphoneSerialDeviceSupport.

Encapsulate NothingProtocol as inner class to Ear1Support and remove NothingIOThread.

Rename one preference to allow the usage of Enum for audio mode. Beside of this change most of NothingProtocol remained unchanged.

Also remove (unused) import in PixooIOThread.
This commit is contained in:
Daniele Gobbetti
2025-12-28 19:52:14 +01:00
committed by José Rebelo
parent 3aac1d5465
commit 7205318131
5 changed files with 377 additions and 430 deletions
+1 -1
View File
@@ -3528,7 +3528,7 @@
<string-array name="nothing_ear1_audio_mode_values">
<item>anc</item>
<item>anc-light</item>
<item>anclight</item>
<item>transparency</item>
<item>off</item>
</string-array>