Skip to content
Commit fe322bdc authored by Yi Jiang's avatar Yi Jiang
Browse files

Ensures RotationRequest#mLock can only accquried by main thread.

There are 2 locks in RRMS and RotationRequest class. UI thread and main
thread both needs to acquire these lock which introduce risk of
deadlocking.

This change fixes the issue by only letting the main thread get the lock of
RotationRequest.

Test: presubmit
Bug: 188932757
Change-Id: I8fd0beb094356636096155eabeef8c9d24fa0da1
parent e1d07010
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