* commit 'd09cf8f10f78ef3db2ab4824dc8374360dc7a860': Frameworks/native: Wall Werror in batteryservice & powermanager
This commit is contained in:
commit
a20acf6d50
@ -15,4 +15,6 @@ LOCAL_MODULE:= libbatteryservice
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,6 @@ LOCAL_MODULE:= libpowermanager
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user