summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorNandana Dutt <nandana@google.com>2018-07-24 14:18:09 +0100
committerNandana Dutt <nandana@google.com>2018-07-30 08:39:18 +0000
commit0f07c5e801f1ee35281c02c6600e4edd058a4f75 (patch)
treea4a29df3f00d119e7cc6209bd4bb5fc783cbfcab /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent89b325a9b9127a43a96be1df1992a84404217d23 (diff)
Fix retrieval of instant app cookies from cache
The in-memory cache stores cookies by user-id and package so that pending persistence can be easily canceled. CTS tests that do "set cooke -> uninstall pkg -> install pkg -> get cookie" fail on devices that are fast enough to complete the install within 1 second. This is because the cache lookup used the package object, which would be regenerated on install and no longer equal to the old package object. Changing the look up to package name instead fixes this issue since package names are stable across installs. BUG: 110379319 Test: cts-tradefed run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.InstantCookieHostTest (Reproduced the failed tests before the change, and ensured they now pass). Change-Id: Ie0138399c715e7a69bea2421fad013559ba75ae3
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions