diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 1 | ||||
-rw-r--r-- | core/src/main/res/values-land/dimens.xml | 4 | ||||
-rw-r--r-- | core/src/main/res/values/dimens.xml | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 10386a423..62321a91e 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -1024,6 +1024,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { } } if (!Thread.currentThread().isInterrupted() && started) { + //TODO mediaSession.setSessionActivity(); mediaSession.setMetadata(builder.build()); } }; diff --git a/core/src/main/res/values-land/dimens.xml b/core/src/main/res/values-land/dimens.xml new file mode 100644 index 000000000..73b2b2e98 --- /dev/null +++ b/core/src/main/res/values-land/dimens.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <dimen name="media_router_controller_playback_control_start_padding">@dimen/media_router_controller_playback_control_horizontal_spacing</dimen> +</resources> diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml index 4f549efd7..01dce6a1c 100644 --- a/core/src/main/res/values/dimens.xml +++ b/core/src/main/res/values/dimens.xml @@ -36,4 +36,9 @@ <dimen name="audioplayer_playercontrols_length">48dp</dimen> + <dimen name="media_router_controller_playback_control_vertical_padding">16dp</dimen> + <dimen name="media_router_controller_playback_control_horizontal_spacing">12dp</dimen> + <dimen name="media_router_controller_playback_control_start_padding">24dp</dimen> + <dimen name="media_router_controller_bottom_margin">8dp</dimen> + </resources> |