Fix misc-macro-parentheses warnings.

Bug: 28705665
Change-Id: I1ad468741c6f117817099d2ba87374dce2b776a9
This commit is contained in:
Chih-Hung Hsieh
2016-05-17 15:20:14 -07:00
parent 0603c5dfc3
commit 92c6b825ad
4 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@
#include "IDrmManagerService.h" #include "IDrmManagerService.h"
#define INVALID_BUFFER_LENGTH -1 #define INVALID_BUFFER_LENGTH (-1)
#define MAX_BINDER_TRANSACTION_SIZE ((1*1024*1024)-(4096*2)) #define MAX_BINDER_TRANSACTION_SIZE ((1*1024*1024)-(4096*2))
using namespace android; using namespace android;

View File

@@ -30,7 +30,7 @@
using namespace android; using namespace android;
#define FAILURE -1 #define FAILURE (-1)
String8 ReadWriteUtils::readBytes(const String8& filePath) { String8 ReadWriteUtils::readBytes(const String8& filePath) {
FILE* file = NULL; FILE* file = NULL;

View File

@@ -33,7 +33,7 @@
#include "DrmManager.h" #include "DrmManager.h"
#include "ReadWriteUtils.h" #include "ReadWriteUtils.h"
#define DECRYPT_FILE_ERROR -1 #define DECRYPT_FILE_ERROR (-1)
using namespace android; using namespace android;

View File

@@ -28,7 +28,7 @@
using namespace android; using namespace android;
#define INVALID_VALUE -1 #define INVALID_VALUE (-1)
Mutex DrmManagerClientImpl::sMutex; Mutex DrmManagerClientImpl::sMutex;
sp<IDrmManagerService> DrmManagerClientImpl::sDrmManagerService; sp<IDrmManagerService> DrmManagerClientImpl::sDrmManagerService;