Skip to content

Commit 9acdf18

Browse files
authored
Make AccessibilityViewEmbedder final (#8429)
Since this class implements equals() and hashCode() it should either be final or handle subclasses in equals(); given this is unlikely to be subclassed, making it final is the simpler option.
1 parent 804d54d commit 9acdf18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/android/io/flutter/view/AccessibilityViewEmbedder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* for the virtual accessibility node IDs in the platform view's tree. Internally this class maintains a bidirectional
3838
* mapping between `flutterId`s and the corresponding platform view and `originId`.
3939
*/
40-
class AccessibilityViewEmbedder {
40+
final class AccessibilityViewEmbedder {
4141
private static final String TAG = "AccessibilityBridge";
4242

4343
private final ReflectionAccessors reflectionAccessors;

0 commit comments

Comments
 (0)