OSDN Git Service

If we want to release the lock, release instead of acquiring it.
authorLorenzo Colitti <lorenzo@google.com>
Mon, 11 Apr 2016 08:08:10 +0000 (17:08 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Mon, 11 Apr 2016 14:19:06 +0000 (23:19 +0900)
commitae107afe8e95b42543c05f67759a4ee32cfc6fb7
treeb55136a0eea0faeaf084b66d34bc5298253afc1e
parent39d2bb56b6a938ae053d96d385a68b858678d6ad
If we want to release the lock, release instead of acquiring it.

The intent of this code seems pretty clearly to release the
lock, not acquire it. This is bad since it's a refcounted
wakelock.

Change-Id: I0f7590ab697133bd82db8a1a515453316c6a80dc
services/core/java/com/android/server/NativeDaemonConnector.java