summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2020-01-28 16:34:59 -0800
committerJing Ji <jji@google.com>2020-01-30 16:52:20 -0800
commit971da4f39676377b85c2696e8bf614e8458d67c1 (patch)
treeb1cad099765dc06ca7afeaad8c5de33bcf1395da /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbe1592efdae30869e318b7df9643b9bab5ed758e (diff)
Wait for the death of precede instance of the launching process
...from a context without global AM lock held. Previous CL was waiting for it with global AM lock held, which would result sluggish of the system. Now moving the waiting prior to start the new instance of the process. In the case of precedence hasn't died yet, don't reuse the old instance of ContentProviderRecord, otherwise when we clean up the old ProcessRecord, the client of new ContentProvider instance could get killed unexpectedly. Bug: 141857656 Test: Manual (See the bug comment #49 for the procedure) Change-Id: I957e2f443b3f9688ca449cfccc68aba22aff7f05
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions