mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Make AccessibilityViewEmbedder final (flutter/engine#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.
This commit is contained in:
parent
df39681b8c
commit
e3beb1ce56
@ -37,7 +37,7 @@ import java.util.Map;
|
||||
* for the virtual accessibility node IDs in the platform view's tree. Internally this class maintains a bidirectional
|
||||
* mapping between `flutterId`s and the corresponding platform view and `originId`.
|
||||
*/
|
||||
class AccessibilityViewEmbedder {
|
||||
final class AccessibilityViewEmbedder {
|
||||
private static final String TAG = "AccessibilityBridge";
|
||||
|
||||
private final ReflectionAccessors reflectionAccessors;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user