Hold lock when start pending transaction
Fix: 217777115 Test: pass existing Change-Id: I0bafa2b92dc888c684d0ae8b4b4c4cb065d14bd3
This commit is contained in:
@@ -1146,7 +1146,11 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
|
||||
final PendingTransaction pt = mPendingTransactions.remove(0);
|
||||
pt.startSync();
|
||||
// Post this so that the now-playing transition setup isn't interrupted.
|
||||
mService.mH.post(pt::startTransaction);
|
||||
mService.mH.post(() -> {
|
||||
synchronized (mGlobalLock) {
|
||||
pt.startTransaction();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user