commit | 631215c63a67490e05cc217c9447632d9b554455 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Tue Dec 04 16:21:12 2018 -0800 |
committer | Tri Vo <trong@google.com> | Tue Dec 04 16:22:28 2018 -0800 |
tree | 4946f340a6afe7a5873d65266fe57c25e47fe93d | |
parent | 8803d61599de8362b785d00b6a9b15024ae129f8 [diff] |
libpower: handle SystemSuspend shutdown on client side. On device shutdown, it's possible for SystemSuspend to have exited before its clients. We change libpower to handle this case by checking DEAD_OBJECT transaction error, so that client can shutdown cleanly. Fixes: 120292523 Test: libpower_test Change-Id: Ie43b72f2c326a9dcdc48371c03b4d97d7fd4e12a