Catch exception for deferred window transaction
Currently a queued window container transaction may execute on display thread. Because the transaction might be deferred a while, its operations may be no longer valid. And since applyTransaction may throw: UnsupportedOperationException, IllegalArgumentException and RuntimeException, catch the exceptions for the deferred case to avoid crashing the system. Also ignore some hierarchy operations if the target container was detached. Fix: 282560294 Test: atest TransitionTests#testQueueWithLegacy Change-Id: Id5fc8c31f51b6def5f1b155f3a5a0d2c9d55df63
Loading
Please register or sign in to comment