From 8e047df4ecbc54a5597a317bd1610748cdeaf36a Mon Sep 17 00:00:00 2001 From: Aleksandr Denisov Date: Thu, 10 Nov 2022 11:45:24 +0100 Subject: [PATCH] Remove glitches when scrolling on old Android TV devices --- shell/platform/android/android_egl_surface.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/platform/android/android_egl_surface.cc b/shell/platform/android/android_egl_surface.cc index fa1573a6e25cc..39694f7a53f71 100644 --- a/shell/platform/android/android_egl_surface.cc +++ b/shell/platform/android/android_egl_surface.cc @@ -74,8 +74,8 @@ static bool HasExtension(const char* extensions, const char* name) { class AndroidEGLSurfaceDamage { public: void init(EGLDisplay display, EGLContext context) { - if (GetAPILevel() < 28) { - // Disable partial repaint for devices older than Android 9. There + if (GetAPILevel() < 29) { + // Disable partial repaint for devices older than Android 10. There // are old devices that have extensions below available but the // implementation causes glitches (i.e. Xperia Z3 with Android 6). partial_redraw_supported_ = false;