summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2018-10-15 17:21:24 -0700
committerMatthew Ng <ngmatthew@google.com>2018-10-15 17:21:24 -0700
commit4c3973dfd0bc440719a9ab2a5cfdab8847b07c1d (patch)
tree97c229dd38657f40e9dda78b93d34b45bb847ebd /tools/aapt2/java/JavaClassGenerator.cpp
parent7cc5a53c255dd5059de247556980556b80874a9e (diff)
Fixes ignoring interaction flags from launcher from race
Systemui binds to launcher, launcher then binds back and immediately sends the interaction flags. The bounded user id would be set after this operation but there was a race after onbind and applying the interaction flags. If the interaction flags runs first before setting new user id, then it uses the old id to check if the operation is valid thereby ignoring this call making the interaction flags incorrect. Solve this race by setting the new user id immediately after system ui binds to launcher. Change-Id: I830c003d8189edf31c71ee764edf88927b6ec708 Fixes: 116230457 Test: manual
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions