diff options
| author | 2022-04-06 11:29:40 -0700 | |
|---|---|---|
| committer | 2022-04-11 11:32:44 -0700 | |
| commit | 64c62ca506e104885518a9bb7f48aaa9670ccfd5 (patch) | |
| tree | 207f6e11557f90c56e6ed0e85a87b74303d2f381 /libs/androidfw/AttributeResolution.cpp | |
| parent | 5c011d09c95f5d60f41fdd897088491ebeb41455 (diff) | |
Revert "Wait for an abort event when stopping a model"
This reverts commit 6e2eb81ac4687ac5340673ff996c0591154def7f.
The original commit fixed b/223922855, which resulted from fixing
b/191935600, but created another.
Blocking the stop() call until the event confirming the stop arrives is
a bad idea, since:
- We have to give up the lock when waiting for the event, and thus lose
the atomicity of some of the operations. b/226926627 is an example of
this.
- It turns out some of the forward calls happen from the main thread's
looper, which is also used for callbacks, and we risk deadlocks.
A follow-up commit will address the fix in a better way.
Bug: 191935600
Bug: 226926627
Bug: 223922855
Test: See next commit in the chain.
Change-Id: I2b9987ae93803d3b4f72a1df56c88e284bed43c5
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions