diff options
| author | 2023-07-04 14:54:59 +0000 | |
|---|---|---|
| committer | 2023-07-05 09:31:41 +0000 | |
| commit | 127a74006cbe1de682f6ff614c51a15b208a7d1d (patch) | |
| tree | f1c78ff7c9c05a35db44b9738327546f99e0d355 /api/api_test.go | |
| parent | 14c9b2a587845613abe06fe324c924224f457f6f (diff) | |
Reset pip actions when pip disappears
The Pip menu shows some default actions (Fullscreen, Close and Move)
and it can also show custom actions from the app or media actions. These
custom actions are Pip-session dependent and should be cleared when the
Pip is finished.
This CL adds a reset() function to the TvPipActionsProvider, which
clears the state for custom actions (both app-defined and media) and any
custom close actions. We reset the TvPipActionsProvider when the pip
disappears in TvPipController
Bug: 289887991
Test: atest TvPipActionProviderTest
Change-Id: I35c1e548d5879a75f147022259db04b3f7a027ea
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions