commit | ad193f3ec81e50dbfc661d1b712faa6b6b4b4b3d | [log] [tgz] |
---|---|---|
author | Chavi Weingarten <chaviw@google.com> | Thu Jan 18 16:23:41 2024 +0000 |
committer | Chavi Weingarten <chaviw@google.com> | Thu Jan 25 20:39:40 2024 +0000 |
tree | a10ceff991b8fc1d809f29ad13b5490bba5e8dc1 | |
parent | b431dc66d417d306d6a8d8fae40d54147b921e67 [diff] |
Use SurfaceControl as token to register a SurfaceControlInputReceiver Instead of getting back an IBinder that's used to unregister the receiver, the SC itself can be the id into the map. The client token still needs to be created and retrieved for testing to ensure we match the token when looking for the layer in the window infos list. Test: SurfaceControlInputReceiverTests Bug: 320506582 Change-Id: I516bbff349c7ad3639ab14350d96112c22e1d6dc