Describe the bug
After turning on "Do not keep activities" in the system settings, the preference information will not be retained.
Context
- Device: [Plxel xl]
- OS version: [Android 10.0]
- App version: [2.13.0.4]
How to reproduce
Steps to reproduce the behavior:
- Turn on "Do not keep activities" in the developer options of the system settings
- Install and open a2dpvolume
- Click the three dots in the upper right corner
- Click on "Preferences"
- Turn on "Respond to Audio Jack"
- back
7.Preferences does not take effect
Expected behavior
Preferences can take effect
Screenshots
The device on the right has the "Do not keep activities" option turned on, while the device on the left does not

Describe the bug
After turning on "Do not keep activities" in the system settings, the preference information will not be retained.
Context
How to reproduce
Steps to reproduce the behavior:
7.Preferences does not take effect
Expected behavior
Preferences can take effect
Screenshots

The device on the right has the "Do not keep activities" option turned on, while the device on the left does not