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

Commit 05827be5 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Give StrictMode more bits to work with.

Follow constant value refactoring.

Bug: 110413274
Test: atest cts/tests/tests/os/src/android/os/cts/StrictModeTest.java
Change-Id: I33b3cf439eecc918b940e9f0b640d3e7140aa704
parent bb0ddf53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ static size_t pad_size(size_t s) {
}

// Note: must be kept in sync with android/os/StrictMode.java's PENALTY_GATHER
#define STRICT_MODE_PENALTY_GATHER (0x40 << 16)
#define STRICT_MODE_PENALTY_GATHER (1 << 31)

// XXX This can be made public if we want to provide
// support for typed data.