Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 46cd926

Browse files
zandersoAleksandr Denisov
and
Aleksandr Denisov
authored
Remove glitches when scrolling on old Android TV devices (#37493) (#38075)
Co-authored-by: Aleksandr Denisov <[email protected]>
1 parent 8f2221f commit 46cd926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/android/android_egl_surface.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ static bool HasExtension(const char* extensions, const char* name) {
7474
class AndroidEGLSurfaceDamage {
7575
public:
7676
void init(EGLDisplay display, EGLContext context) {
77-
if (GetAPILevel() < 28) {
78-
// Disable partial repaint for devices older than Android 9. There
77+
if (GetAPILevel() < 29) {
78+
// Disable partial repaint for devices older than Android 10. There
7979
// are old devices that have extensions below available but the
8080
// implementation causes glitches (i.e. Xperia Z3 with Android 6).
8181
partial_redraw_supported_ = false;

0 commit comments

Comments
 (0)