commit | 028023b9a0727fc067782466a7a9ebed53d15f18 | [log] [tgz] |
---|---|---|
author | Amy Zhang <amyjojo@google.com> | Wed Aug 12 13:54:32 2020 -0700 |
committer | Amy Zhang <amyjojo@google.com> | Thu Aug 13 02:46:08 2020 +0000 |
tree | 6e9ef58c667d5381d56cdc163ebca191a69369dc | |
parent | 3cfbdd8add2743a8d2b125b9806864808d1bf63d [diff] |
Use a randomly generated UUID as the TvInputSessionId The current implementation uses uid, pid and the resolvedUser to create the sessionId. But it's not unique when the same app uses the same TvInputService to create multiple input sessions. Also this leaks pid/uid information. Fix this by using a randomly generated UUID instead. Test: make Bug: 163855754 Change-Id: I4369e2645b50d44803f2d393798fa5ea6d1c22bd