Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0ceb15e4 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent f80ef935
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment