StrictMode for open() should check "flags".

The values it's interested in checking are in flags, not mode.

Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.StrictModeTest
Bug: 35727400
Change-Id: I7c74b149abfa5bfabe36566aae5c978e30eb11b4
1 file changed