mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
feat(driver): optional launcher_activity on Launch RPC for multi-alias apps
This commit is contained in:
1 parent
6d81e24e71
commit
c4cf0ff530
11 files changed
+69
-64
No files matched your search
@@ -9,7 +9,11 @@ import (
|
||||
// matches proto/driverpb/driver.proto. The Maestro sidecar implementation
|
||||
// lives under driver/maestro; tests use driver/mock.
|
||||
type Driver interface {
|
||||
Launch(ctx context.Context, bundleID string, clearState bool) error
|
||||
// Launch asks the backend to bring the target app to the foreground.
|
||||
// launcherActivity is an optional "<pkg>/<activity>" component that
|
||||
// overrides the backend's default launcher resolution — needed for
|
||||
// apps that declare multiple MAIN+LAUNCHER activities.
|
||||
Launch(ctx context.Context, bundleID, launcherActivity string, clearState bool) error
|
||||
Terminate(ctx context.Context) error
|
||||
|
||||
Tap(ctx context.Context, x, y int) error
|
||||
|
||||
Reference in new issue
Block a user