diff options
| author | Maurice Lam <yukl@google.com> | 2022-01-12 16:30:31 -0800 |
|---|---|---|
| committer | Maurice Lam <yukl@google.com> | 2022-01-21 15:16:06 -0800 |
| commit | 7f512ebc8a035f5683c71b3a151fa9259bf5d0e9 (patch) | |
| tree | 4fcf3dd99fb48d1d3c32044912f8ead5bfb5ac3c /core/java/android/util/SparseArrayMap.java | |
| parent | 30a0a6dec177189bc531d8ad6ef7907872440cc7 (diff) | |
Add ActivityListener to VirtualDeviceManager
The API allows virtual device owners to listen to when the top activity
of a virtual device's display changes, and when a display becomes empty.
The former is used to display a notification to the user that can say
"Syncing <app name> to your Chromebook". The latter is used so that the
streamed window on ChromeOS side can be closed when the display becomes
empty.
Bug: 194949534
Test: To be added in ag/15781910
Change-Id: I5172e55a3a79b5fadc1719e99160b7675612e97b
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
