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

Commit dea1b682 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE."

am: bb261bf4

* commit 'bb261bf4':
  Fix misc-macro-parentheses warnings in sensorservice and CHECK_INTERFACE.

Change-Id: I41a08c5bccc187f766ac896f11e788219440f2d7
parents eb209a41 bb261bf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ protected:


#define CHECK_INTERFACE(interface, data, reply)                         \
    if (!data.checkInterface(this)) { return PERMISSION_DENIED; }       \
    if (!(data).checkInterface(this)) { return PERMISSION_DENIED; }     \


// ----------------------------------------------------------------------
+2 −2
Original line number Diff line number Diff line
@@ -49,9 +49,9 @@

#define DEBUG_CONNECTIONS   false
// Max size is 100 KB which is enough to accept a batch of about 1000 events.
#define MAX_SOCKET_BUFFER_SIZE_BATCHED 100 * 1024
#define MAX_SOCKET_BUFFER_SIZE_BATCHED (100 * 1024)
// For older HALs which don't support batching, use a smaller socket buffer size.
#define SOCKET_BUFFER_SIZE_NON_BATCHED 4 * 1024
#define SOCKET_BUFFER_SIZE_NON_BATCHED (4 * 1024)

#define CIRCULAR_BUF_SIZE 10
#define SENSOR_REGISTRATIONS_BUF_SIZE 20