summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2019-06-21 13:33:14 -0700
committerYohei Yukawa <yukawa@google.com>2019-06-21 13:33:14 -0700
commit7efc7748bae99e454ab7eb01bd15ce845a2ba0fe (patch)
treeb9bd90f0952388baf40602051608ffde103b0502 /rs/java/android/renderscript/ProgramStore.java
parent564b6a14097011cf9f76cf80fbcdf7376ac5e3bd (diff)
Recover simpler WM lock in REPORT_FOCUS_CHANGE
This CL follows up previous CLs [1][2][3] to recover the original simplicity regarding WM lock handling in REPORT_FOCUS_CHANGE handler. What happened are: 1. The first CL [1] introduced an IPC that can be issued while WM holds its global lock in the REPORT_FOCUS_CHANGE handler, which ended up causing dead lock between WM and ViewRootImpl. 2. The second CL [2] addressed the above dead lock by temporarily releasing WM lock when issuing IPC from WM to ViewRootImpl. 3. The third CL [3] simplified the logic and removed the code path in question but didn't revert the second CL [2]. In short, this CL logically reverts the second CL [2] since it's not necessary any more. [1]: Ia46738a5da6dbc334bf937b0f6656a57523c28a7 6f13d20b8ecfef97cd98b5564cbf1fca58a4b04d [2]: Ia30a279441def501e53eeee8913d19ac50a620cd 52ef1bf893e27da84c179b91fa864ecb73f809c7 [3]: Ie030eed523599b217060887171710692d050e5d8 51c5a1d0429baf5d508dc287c12f52a5a0bc5135 Bug: 119658889 Test: atest CtsWindowManagerDeviceTestCases Change-Id: Id081851f60d6a2f8f17e9e21408f3052ff1f2cea
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions