diff options
author | Simon Bowden <sbowden@google.com> | 2021-09-07 13:06:57 +0100 |
---|---|---|
committer | Simon Bowden <sbowden@google.com> | 2021-11-04 16:40:51 +0000 |
commit | 83ea2c6baf025ec78f71a298fb3f05a3d14cd9d8 (patch) | |
tree | 5315348301f9a2cc5a10518cf81aa8a653fd9fb2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5a9cab9c159278404b6565c8c672b6aaa5613183 (diff) |
Restructure the top level of VibrationThread to more clearly guarantee
execution of link/unlink pairs, and vibration completion callbacks.
Don't attempt to unlinkToDeath in the vibration thread's wakelock finally
clause. Instead, introduce one that's specifically for the death-link. Also,
catch the unlink exception with a wtf if it still happens.
Previously, the unlink would be attempted even if the link call failed.
Change-Id: I6a5214bf4d8da02b4894ec44a3b3379384d625c6
Bug: 198414755
Test: n/a
(cherry picked from commit ee627525134f11866a66c5f836963af8482c7187)
Merged-In: I6a5214bf4d8da02b4894ec44a3b3379384d625c6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions