Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some cleanup and enhancements to the Native Audio implementation #75

Merged
merged 3 commits into from May 27, 2020

Conversation

fdocr
Copy link
Contributor

@fdocr fdocr commented May 3, 2020

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Enhancement
  • Bug Fix
  • Documentation Update

Description

This PR drops MediaSessionConnector because it seems to be buggy in certain platforms like Samsung. The problem I experienced with the lock screen controls is discussed in this thread.

The notification controls feel good enough for managing the playback even with the screen locked. This PR subclasses the PlayerNotificationManager to include support for rewind/fast-forward.

Also drops the complete ExoPlayer package as dependency and only includes the necessary components to reduce app size.

Related Tickets & Documents

This PR enhances the implementation from #72

Screenshots/Recordings (if there are UI changes)

When the screen is locked you can "pull down" to open the notifications and the rewind, play/pause and fast-forward buttons are available:

Screenshot_20200503-124543_One UI Home

[optional] What gif best describes this PR or how it makes you feel?

I'll make it better

@fdocr fdocr requested a review from maestromac May 3, 2020 19:00
@benhalpern benhalpern merged commit 651f9c7 into master May 27, 2020
@maestromac maestromac deleted the native-audio-enhancements branch May 27, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants