summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-10-20 15:37:24 +0800
committerCharles Chen <charlesccchen@google.com>2020-10-21 17:43:00 +0800
commit8005b00b75619bc0d5c7c7590dd3681625ef50dd (patch)
treea22967882012ec51688e960cf0753e548b6da6ce /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1a15f8de0057a33eab6801127647bc26e320facf (diff)
Fix bind service failure on Android Auto
The failure is because ActiveServices thought window context's token is an Activity token but could not find the corresponding ActivityRecord in ATMS and then early-returned. This issue was exposed because of Presentation's window context migration. This CL relaxed the condition to early return only if the token is neither an Activity token nor a WindowContext token. Bug: 171280916 Bug: 171027173 Bug: 170960206 Test: Tests mentioned in b/170960206#comment1 Test: manual - use auto desktop mode to launch Music/Maps Test: atest WindowContextTests#testWindowContextBindService Change-Id: I313d3d870caa28e02af035b4a6032d649f81a510
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions