diff options
| author | 2023-01-13 17:03:22 +0000 | |
|---|---|---|
| committer | 2023-02-27 09:27:10 +0000 | |
| commit | 50f6026fc3bf5532fea8539341a8c800d8faf3d6 (patch) | |
| tree | ccce8ae0f89c844ec2e175088ca827bf94ac3b4f /api/api.go | |
| parent | c75f33a2bc3e09c8f6daa12b6b1b1b383987e4d7 (diff) | |
Don't pass deviceId in ActivityClientRecord
Refactor to pass it directly from the execute() method in
LaunchActivityItem.
- Removed TODO suggested in review of ag/20723446
- Also stopped sending INVALID id from WindowProcessController
and always send the top activity deviceId to the app process.
Note: this will incur in a slight behavioral change: when an activity
is re-started, this will not count as the last activity started in terms
of which device ID is assigned to non-UI Contexts. This is not expected
to cause any problems and the behavior is documented in a new CTS test
that covers this case.
Bug: 263402465
Test: atest DeviceAssociationTests
Change-Id: I64e8342374cc41e47a671827751e3e04f88d85d5
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions