am d09cf8f1: am 9c17fb19: Merge "Frameworks/native: Wall Werror in batteryservice & powermanager"

* commit 'd09cf8f10f78ef3db2ab4824dc8374360dc7a860':
  Frameworks/native: Wall Werror in batteryservice & powermanager
This commit is contained in:
Andreas Gampe 2014-11-14 19:15:35 +00:00 committed by Android Git Automerger
commit a20acf6d50
3 changed files with 14 additions and 10 deletions

View File

@ -2,17 +2,19 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
BatteryProperties.cpp \
BatteryProperty.cpp \
IBatteryPropertiesListener.cpp \
IBatteryPropertiesRegistrar.cpp
BatteryProperties.cpp \
BatteryProperty.cpp \
IBatteryPropertiesListener.cpp \
IBatteryPropertiesRegistrar.cpp
LOCAL_STATIC_LIBRARIES := \
libutils \
libbinder
libutils \
libbinder
LOCAL_MODULE:= libbatteryservice
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
include $(BUILD_STATIC_LIBRARY)

View File

@ -35,7 +35,7 @@ public:
data.writeInterfaceToken(IBatteryPropertiesListener::getInterfaceDescriptor());
data.writeInt32(1);
props.writeToParcel(&data);
status_t err = remote()->transact(TRANSACT_BATTERYPROPERTIESCHANGED, data, &reply, IBinder::FLAG_ONEWAY);
remote()->transact(TRANSACT_BATTERYPROPERTIESCHANGED, data, &reply, IBinder::FLAG_ONEWAY);
}
};

View File

@ -2,14 +2,16 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
IPowerManager.cpp
IPowerManager.cpp
LOCAL_SHARED_LIBRARIES := \
libutils \
libbinder
libutils \
libbinder
LOCAL_MODULE:= libpowermanager
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
include $(BUILD_SHARED_LIBRARY)