diff options
author | orionlee <orionlee@yahoo.com> | 2019-01-07 10:28:34 -0800 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-02-27 14:52:34 -0800 |
commit | ab78c1d4108551bb5691683bde81396612446c6e (patch) | |
tree | 26b75f1484d97895a2c1f034fecbf908f79ac8ec /core/src/main/res/drawable-xxhdpi/ic_settings_input_antenna_white_24dp.png | |
parent | 2c5db08e256afa7e56fd40461691413eab5c0dfc (diff) | |
download | AntennaPod-ab78c1d4108551bb5691683bde81396612446c6e.zip |
bug fix for Android8+: revert context.startService() calls back to
ContextCompat.startForegroundService(), to ensure PlaybackService
can be started.
While PlaybackService itself ensures it will be raised to foreground
when appropriate, Android 8+ forbids creating the (background)
services to begin with (and throw IllegalStateException) in some
situation (e.g., BroadcastReceiver).
https://developer.android.com/about/versions/oreo/android-8.0-changes#atap
Diffstat (limited to 'core/src/main/res/drawable-xxhdpi/ic_settings_input_antenna_white_24dp.png')
0 files changed, 0 insertions, 0 deletions