OSDN Git Service

Don't call into power HAL if it isn't loaded.
authorColin Cross <ccross@android.com>
Tue, 8 May 2012 19:18:38 +0000 (12:18 -0700)
committerColin Cross <ccross@android.com>
Tue, 8 May 2012 19:18:38 +0000 (12:18 -0700)
commitc814c16b7f240d453978bf76ad0f63f9a8a2dcab
treec256f7aec583e1a033c073c4b52e138a887dd238
parent6704c233390743890d23338a2329dcda5709b810
Don't call into power HAL if it isn't loaded.

The patch to call into libsuspend accidentally dropped the
test for sPowerModule == NULL.  Put it back, and fix some
tabs too.

Change-Id: I1f934a41540f3b7be01d6399512482d87acceb94
core/jni/android_os_Power.cpp