Simon Bowden 83ea2c6baf 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 ee62752513)
Merged-In: I6a5214bf4d8da02b4894ec44a3b3379384d625c6
2021-11-04 16:40:51 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%