Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c0fdb07 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Implement accessibility class name for SurfaceView and TextureView" into main

parents a716a69a 28a98a5a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2391,4 +2391,9 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
            }
        }
    }

    @Override
    public CharSequence getAccessibilityClassName() {
        return SurfaceView.class.getName();
    }
}
+5 −0
Original line number Diff line number Diff line
@@ -918,6 +918,11 @@ public class TextureView extends View {
        mLastFrameTimeMillis = now;
    }

    @Override
    public CharSequence getAccessibilityClassName() {
        return TextureView.class.getName();
    }

    @UnsupportedAppUsage
    private final SurfaceTexture.OnFrameAvailableListener mUpdateListener =
            surfaceTexture -> {