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

Commit d09cf8f1 authored by Andreas Gampe's avatar Andreas Gampe Committed by Android Git Automerger
Browse files

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

* commit '9c17fb19':
  Frameworks/native: Wall Werror in batteryservice & powermanager
parents 4037c458 9c17fb19
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)