Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c17fb19 authored by Andreas Gampe's avatar Andreas Gampe Committed by Gerrit Code Review
Browse files

Merge "Frameworks/native: Wall Werror in batteryservice & powermanager"

parents 07dffa18 347f2884
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -15,4 +15,6 @@ LOCAL_MODULE:= libbatteryservice

LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code

include $(BUILD_STATIC_LIBRARY)
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }
};

+5 −3
Original line number Diff line number Diff line
@@ -12,4 +12,6 @@ LOCAL_MODULE:= libpowermanager

LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code

include $(BUILD_SHARED_LIBRARY)