summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2017-05-30 22:46:53 -0700
committerAndrii Kulian <akulian@google.com>2017-05-31 15:05:54 -0700
commit62e6f2517323a829af1a8b9ba2c5c20cb870075b (patch)
tree2f435d85864ff7bc28e523896baaf925f11e6127 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd865c624bda8130bdb03238e875dec9df5491e25 (diff)
Create ActivityDisplay if its registered in DisplayManager
Activity manager is notified asynchronously when new display is created. Because of that someone may try to access or use it before AM is aware of it, e.g. launch an activity to a just create virtual display. This CL guards the cases where we try to use a display by id in AM and creates a new instance if needed. Bug: 34262188 Test: android.server.cts.ActivityManagerDisplayTests Test: #testImmediateLaunchOnNewDisplay Test: go/wm-smoke Change-Id: Iab0871708145aa80ff252a0c764beb6a3b5dc42d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions