Since the focus range is defined in diopters (1/distance), it just so happens that in a range [near, far] near >= far which is against the android.util.Range contract. Change it to pair instead. Also adds a marshaler for Pairs since they didn't have one before (and aren't parcelable). Bug: 15335269 Change-Id: If2f3259aeec072438a1c18c1b9728a4c81e92a40
MediaFrameworkTest/ Uses instrumentation and so can be run with runtest. It assumes /sdcard/media_api/ has been populated. contents/media_api/ Push to /sdcard/media_api/ for use with MediaFrameworkTest: adb shell mkdir /sdcard/media_api adb push contents/media_api/ /sdcard/media_api/ All other subdirectories are manual tests or sample apps.