Implement Ignore hardware media button events option

This commit is contained in:
Nyan Cat 2023-02-04 15:31:08 +08:00 committed by Stypox
parent 2ee4c6e289
commit 42d861688e
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
4 changed files with 20 additions and 0 deletions

View file

@ -224,5 +224,12 @@
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="@string/ignore_hardware_media_buttons_key"
android:summary="@string/ignore_hardware_media_buttons_summary"
android:title="@string/ignore_hardware_media_buttons_title"
app:singleLineTitle="false"
app:iconSpaceReserved="false" />
</PreferenceCategory>
</PreferenceScreen>