-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Use DisplayCutoutCompat in VideoPlayerImpl. #4338
Use DisplayCutoutCompat in VideoPlayerImpl. #4338
Conversation
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.
Isn't it impossible for devices with an Android version < P to have insets?
The Nokia 7.1 has a notch and was originally sold with Android Oreo, so I guess there's a few other devices too. But most of these devices did receive updates to Android 9 and 10. |
Window insets were actually introduced in API level 20. Display cutouts were introduced in API level 28. |
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.
Oh ok, I see, then the code looks good to me. Thank you!
ea62e45
to
63d54e6
Compare
@Stypox I fixed a merge conflict. |
What is it?
Description of the changes in your PR
DisplayCutoutCompat
instead ofDisplayCutout
inVideoPlayerImpl
.Testing apk
debug.zip
Agreement