Skip to content

Commit b5fe18a

Browse files
Aleksandr Denisovzanderso
Aleksandr Denisov
authored andcommitted
Remove glitches when scrolling on old Android TV devices (flutter#37493)
1 parent ec5de9b commit b5fe18a

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
@@ -72,8 +72,8 @@ static bool HasExtension(const char* extensions, const char* name) {
7272
class AndroidEGLSurfaceDamage {
7373
public:
7474
void init(EGLDisplay display, EGLContext context) {
75-
if (GetAPILevel() < 28) {
76-
// Disable partial repaint for devices older than Android 9. There
75+
if (GetAPILevel() < 29) {
76+
// Disable partial repaint for devices older than Android 10. There
7777
// are old devices that have extensions below available but the
7878
// implementation causes glitches (i.e. Xperia Z3 with Android 6).
7979
partial_redraw_supported_ = false;

0 commit comments

Comments
 (0)