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

Commit 92c6b825 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix misc-macro-parentheses warnings.

Bug: 28705665
Change-Id: I1ad468741c6f117817099d2ba87374dce2b776a9
parent 0603c5df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@

#include "IDrmManagerService.h"

#define INVALID_BUFFER_LENGTH -1
#define INVALID_BUFFER_LENGTH (-1)
#define MAX_BINDER_TRANSACTION_SIZE ((1*1024*1024)-(4096*2))

using namespace android;
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@

using namespace android;

#define FAILURE -1
#define FAILURE (-1)

String8 ReadWriteUtils::readBytes(const String8& filePath) {
    FILE* file = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
#include "DrmManager.h"
#include "ReadWriteUtils.h"

#define DECRYPT_FILE_ERROR -1
#define DECRYPT_FILE_ERROR (-1)

using namespace android;

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@

using namespace android;

#define INVALID_VALUE -1
#define INVALID_VALUE (-1)

Mutex DrmManagerClientImpl::sMutex;
sp<IDrmManagerService> DrmManagerClientImpl::sDrmManagerService;