commit | 7450614a496d0b6a5836703c1145e9bcd4f104e9 | [log] [tgz] |
---|---|---|
author | Prashant Malani <pmalani@google.com> | Wed Aug 06 16:49:53 2014 -0700 |
committer | Prashant Malani <pmalani@google.com> | Wed Aug 06 22:22:18 2014 -0700 |
tree | fc4219d662146bd594e6f70899198f0bb22312cb | |
parent | 6ebeefa04cb3c360d8028eb77e60bacf8a800cb1 [diff] |
Move wakelock release to handleMessage There were certain code paths in handleDockStateChange() that were exiting without releasing the wakelock. So we move the release to the calling function to prevent stray held wakelocks. Bug: 16841895 Change-Id: I8ae4d2ab8f775c42a893d3bcdef34321c5f631a6 Signed-off-by: Prashant Malani <pmalani@google.com>