summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAmy Zhang <amyjojo@google.com>2020-08-12 13:54:32 -0700
committerHenry Fang <quxiangfang@google.com>2020-12-29 21:05:34 +0000
commitd50746529c3582c5d425c2d9b721415700d233dd (patch)
tree57d5e540c3e0a1f80a650f2bb64c9d526888d48a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenteec09803da33c931644f8cabfefd0d9a72547862 (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 Merged-In: I4369e2645b50d44803f2d393798fa5ea6d1c22bd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions