Skip to content

Commit

Permalink
Remove glitches when scrolling on old Android TV devices (#37493) (#3…
Browse files Browse the repository at this point in the history
…8074)

Co-authored-by: Aleksandr Denisov <[email protected]>
  • Loading branch information
zanderso and Aleksandr Denisov authored Dec 5, 2022
1 parent ec5de9b commit cc1caa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/platform/android/android_egl_surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,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;
Expand Down

0 comments on commit cc1caa6

Please sign in to comment.