Skip to content

Commit 4940d43

Browse files
committed
fix(android): use narrow chrome contract owner
1 parent f3a3e26 commit 4940d43

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/platforms/android/ui-hierarchy-builder.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import type { AndroidSystemChromeProvenance } from '@agent-device/contracts/platform';
1+
import {
2+
type AndroidSystemChromeProvenance,
3+
isAndroidSystemChromeWindowResourceId,
4+
} from '@agent-device/contracts/android-system-chrome';
25
import { isScrollableType, normalizeSnapshotScope } from '@agent-device/contracts/snapshot';
36
import type { RawSnapshotNode, Rect, SnapshotOptions } from '@agent-device/kernel/snapshot';
47
import { isPositiveFiniteRect, pickLargestRect } from '@agent-device/kernel/rect';
@@ -11,7 +14,6 @@ import {
1114
effectiveAndroidRect,
1215
serializeAndroidRegularPresentationNode,
1316
} from './snapshot-presentation.ts';
14-
import { isAndroidSystemChromeWindowResourceId } from '@agent-device/contracts/platform';
1517

1618
type AndroidRawSnapshotNode = RawSnapshotNode & AndroidSystemChromeProvenance;
1719

0 commit comments

Comments
 (0)