Always copy sources to outInsetsState before writeToParcel
InsetsState#writeToParcel is executed outside of mGlobalLock, so there could be two threads accessing the same object at the same time. This CL copies sources to outInsetsState to prevent the race condition. Fix: 235019713 Fix: 242037615 Test: presubmit Change-Id: I78d9b89f88f75ab673761bbfce86330ff0163adc
Loading
Please register or sign in to comment