Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[flutter roll cp] Guard against API 22 (#51167) #51195

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId) {
result.setParent(rootAccessibilityView);
}

if (semanticsNode.previousNodeId != -1) {
if (semanticsNode.previousNodeId != -1 && Build.VERSION.SDK_INT >= 22) {
result.setTraversalAfter(rootAccessibilityView, semanticsNode.previousNodeId);
}

Expand Down
2 changes: 2 additions & 0 deletions tools/android_lint/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
lint_report/
# autogenerated by the tool, run in CI.
project.xml
166 changes: 0 additions & 166 deletions tools/android_lint/project.xml

This file was deleted.