summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2018-03-06 12:24:19 -0800
committerWale Ogunwale <ogunwale@google.com>2018-03-06 18:02:08 -0800
commit45477b57a33ecd5e206c66e2e1b29f7feaf4194b (patch)
treea1bcea260c14aba2721bb22f1bf31594e3a77d61 /tools/aapt2/java/JavaClassGenerator.cpp
parentd7cf0e1635527f541f5a6dc9df5565278cdac031 (diff)
Fix issue with where display is removed while creating it in AM and WM
It is possible to a display to be removed while we are in the ctor of ActivityDisplay in AM, but before we can get the Display object in the ctor of DisplayWindowController in WM. This causes us to throw an exception becuase the caller is trying to add a display we can't find in display manager. Unfortunately there isn't a good way to handle this race. To work around it we will now pass the Display object from AM to WM to use and depend on the fact that AM will remove the display shortly after. Change-Id: Ie3f9d86bad67f5a023e3e7dfce5219b98c796864 Fixes: 72893961 Test: go/wm-smoke
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions