commit | a338219a269f4f9a5fd648bf8113e1180ff4083a | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Jul 18 14:33:21 2017 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Jul 18 12:43:04 2017 +0000 |
tree | 430b3fd347cf3e5fff1fb73c9bbf62b396686d33 | |
parent | 331a2876564e18c5b89e67d72ba594909003ef39 [diff] |
Fix threading issue with splash screens If we use a different thread to remove the view than we added it, it leads to suffering. WindowManagerGlobal.removeView ends up setting mParent of the DecorView to null, without any locking, which can lead to crashes. Test: Device boots, starting windows work. Otherwise: Pray Change-Id: Ifc1e0d0236746aef4ed2b63e08af7de695ce69aa Fixes: 63664477