-
Notifications
You must be signed in to change notification settings - Fork 243
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
Remove some unused methods from MediaManager #2774
Remove some unused methods from MediaManager #2774
Conversation
@@ -40,9 +40,6 @@ namespace media_manager { | |||
|
|||
class MediaManager { | |||
public: | |||
virtual void PlayA2DPSource(int32_t application_key) = 0; | |||
virtual void StopA2DPSource(int32_t application_key) = 0; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecate instead of remove, we need to wait for a major release to remove public methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jacobkeeler the following changes were done:
- Merge latest develop branch in 40c3b87
- Reverted changes related to this PR in 7cf8f53
- Mark redundant code as deprecated in 07d5fe0
Not sure if I need to remove related unit tests for now or should they be removed together with deprecated functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AKalinich-Luxoft I think that the associated tests can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jacobkeeler removed in c1d69b6
…functionality_from_MediaManager
This reverts commit bc0d62c.
Fixes #2450
This PR is [ready] for review.
Risk
This PR makes [no ] API changes.
Summary
There are some unused methods in base class MediaManager which are redefined in MediaManagerImpl. These methods(PlayA2DPSource, StopA2DPSource) aren't used in any place. Based on this, the methods were removed
Copy of #2681
CLA