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

Check availability of Samsung DeX only on Samsung devices #9619

Merged
merged 1 commit into from Jan 12, 2023

Conversation

Redirion
Copy link
Member

@Redirion Redirion commented Jan 3, 2023

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Samsung DeX is a feature of Samsung devices. There is no reason to assume it is on other devices. This disables the reflection calls on all devices that aren't manufactured by Samsung.

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@AudricV AudricV added GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background) device/software specific Issues that only happen on some devices or with some specific hardware/software labels Jan 3, 2023
@AudricV AudricV changed the title Samsung DeX should only be checked on Samsung devices Check availability of Samsung DeX only on Samsung devices Jan 3, 2023
@opusforlife2 opusforlife2 removed the GUI Issue is related to the graphical user interface label Jan 3, 2023
Co-authored-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Jan 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Redirion Redirion added GUI Issue is related to the graphical user interface and removed player Issues related to any player (main, popup and background) labels Jan 3, 2023
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm the Build.MANUFACTURER on Samsung devices is samsung, see this user's output. Thanks :-)

@Stypox Stypox merged commit a15a5ad into TeamNewPipe:dev Jan 12, 2023
@Redirion Redirion deleted the avoidreflectionifpossible branch January 12, 2023 11:12
@Stypox Stypox mentioned this pull request Jan 22, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device/software specific Issues that only happen on some devices or with some specific hardware/software GUI Issue is related to the graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants