Skip to content

Commit 91b9fad

Browse files
committed
fix(android): defer intent argument loading until launch
1 parent 2309542 commit 91b9fad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/platform-android/src/app-lifecycle.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { isDeepLinkTarget } from '@agent-device/contracts/command';
77

88
import { waitForAndroidBoot } from './emulator-lifecycle.ts';
99
import { runAndroidShell } from './adb.ts';
10-
import { buildAndroidIntentArgs } from './intent-arguments.ts';
1110
import {
1211
androidAdbResultError,
1312
createAndroidPortReverseManager,
@@ -290,6 +289,7 @@ async function openAndroidIntent(
290289
if (options.activity) {
291290
throw new AppError('INVALID_ARGS', 'Activity override requires a package name, not an intent');
292291
}
292+
const { buildAndroidIntentArgs } = await import('./intent-arguments.ts');
293293
await runAndroidShell(device, [
294294
'am',
295295
'start',

0 commit comments

Comments
 (0)