commit | 851f1df2f1766b998467a276b0973dbfe1706853 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue Aug 31 16:45:48 2021 -0700 |
committer | Winson Chung <winsonc@google.com> | Wed Sep 01 13:37:31 2021 -0700 |
tree | 0be0a1f40c07f9fc701d85e3a24326953b4fdfd9 | |
parent | f9387616af788206c4cb382427c1de46440deea6 [diff] |
Return the existing display ids when registering a display window listener - This ensures that the caller can synchronously initialize the existing displays without waiting for the onDisplayAdded() callback, which can happen asynchronously (since the callback is oneway). Bug: 196186963 Test: atest WMShellUnitTests Test: atest ActivityTaskManagerServiceTests Change-Id: I0a8d5f9b4ede7b487a8de14bdb6eaacae7d03d9f