summaryrefslogtreecommitdiffstats
path: root/core/jni/Android.mk
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-05-11 18:42:42 -0700
committerJeff Brown <jeffbrown@google.com>2012-05-11 18:42:42 -0700
commit7304c343821309dd15f769b18f1de2fa43751573 (patch)
tree37a1b20d78ee47ed7356c39d00bd1529989cea22 /core/jni/Android.mk
parent888da152ece9a8cfe62fad9e7d1a43e792c41e2f (diff)
downloadframeworks_base-7304c343821309dd15f769b18f1de2fa43751573.zip
frameworks_base-7304c343821309dd15f769b18f1de2fa43751573.tar.gz
frameworks_base-7304c343821309dd15f769b18f1de2fa43751573.tar.bz2
Move power HAL interactions to PowerManagerService.
This refactoring sets the stage for a follow-on change that will make use additional functions of the power HAL. Moved functionality from android.os.Power into PowerManagerService. None of these functions make sense being called outside of the system server. Moving them to the PowerManagerService makes it easier to ensure that the power HAL is initialized exactly once. Similarly, moved ShutdownThread out of the policy package and into the services package where it can tie into the PowerManagerService as needed. Bug: 6435382 Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
Diffstat (limited to 'core/jni/Android.mk')
-rw-r--r--core/jni/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/jni/Android.mk b/core/jni/Android.mk
index cd0959b..c24f6c6 100644
--- a/core/jni/Android.mk
+++ b/core/jni/Android.mk
@@ -66,7 +66,6 @@ LOCAL_SRC_FILES:= \
android_os_MessageQueue.cpp \
android_os_ParcelFileDescriptor.cpp \
android_os_Parcel.cpp \
- android_os_Power.cpp \
android_os_StatFs.cpp \
android_os_SystemClock.cpp \
android_os_SystemProperties.cpp \
@@ -217,8 +216,7 @@ LOCAL_SHARED_LIBRARIES := \
libjpeg \
libusbhost \
libharfbuzz \
- libz \
- libsuspend \
+ libz
ifeq ($(USE_OPENGL_RENDERER),true)
LOCAL_SHARED_LIBRARIES += libhwui