diff options
| author | 2024-07-18 06:48:01 +0000 | |
|---|---|---|
| committer | 2024-07-19 02:11:42 +0000 | |
| commit | bbba07ef6eb702b304dbfbc9dd72bbc5e1d558a7 (patch) | |
| tree | 685fc7e9e72580cdaf25f60c4728ffabcf6b9572 /api/api_test.go | |
| parent | ce8e50cfcea0756066a739a6390907770949b1b0 (diff) | |
Notify transition listener only for its interested display
In legacy transition, the listeners are managed by AppTransition
per display (DisplayContent.mAppTransition.registerListenerLocked).
So listeners won't be notified by unrelated display.
While in shell transition, all listeners are managed by
TransitionController. So all listeners will be notified once any
display has a transition.
This change allows the listener to specify the display it wants
to monitor. If no display is specified, it will receive from all
displays, e.g. WMS#mActivityManagerAppTransitionNotifier. The
behavior is only enabled in TransitionController (shell transition).
Bug: 326610743
Flag: EXEMPT bugfix
Test: TransitionTests
Change-Id: Ia297b2e7a1204dc501a9ae288580b74638a78e2e
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions