libdmabufheap: Fix permissions when opening ION device

So, it seems normally /dev/ion is opened w/ O_RDONLY, so
opening it O_RDWR causes permissions problems on existing
devices.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I1c0f6ab6c5defd34aac48a91b042c427de7d69db
1 file changed
tree: f0993c49ed90d53edfb1a6e29cacb718ae6c9378
  1. include/
  2. tests/
  3. Android.bp
  4. BufferAllocator.cpp
  5. BufferAllocatorWrapper.cpp