Loading
Native CodecCapabilities: Check if newly created ranges are valid.
In Java, an exception will be thrown when an invalid range is created(mostly while doing intersection). In native, it will return an empty range object. Add check for empty range. Bug: 400911661 Test: manual Change-Id: I4dcf6ac1cf2bd3e7958402b743b21e82dff5910d