diff options
author | Zhijun He <zhijunhe@google.com> | 2013-07-22 18:08:30 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2013-07-22 18:08:30 -0700 |
commit | 229019e6afdc4574988196b6333b187d3ed482cf (patch) | |
tree | 5b3f85b1d5cc7aa4393bbf6b5e52e0d8f9b761b1 /media | |
parent | d1233575b558d3dc585f7e04ff1377c24f3beaf4 (diff) | |
download | frameworks_base-229019e6afdc4574988196b6333b187d3ed482cf.zip frameworks_base-229019e6afdc4574988196b6333b187d3ed482cf.tar.gz frameworks_base-229019e6afdc4574988196b6333b187d3ed482cf.tar.bz2 |
MediaFrameworkTest: Fix camera unit test failure
Fix for testSubmitStreamingRequest failure
Change-Id: I2e22a56b3da90112a668c2185b05eb9288cde392
Diffstat (limited to 'media')
-rw-r--r-- | media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/CameraDeviceBinderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/CameraDeviceBinderTest.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/CameraDeviceBinderTest.java index 1f478d2..5e4fabd 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/CameraDeviceBinderTest.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/CameraDeviceBinderTest.java @@ -271,10 +271,10 @@ public class CameraDeviceBinderTest extends AndroidTestCase { // (streaming) int requestId1; - requestId1 = mCameraUser.submitRequest(request, /* streaming */true); + requestId1 = mCameraUser.submitRequest(request, /* streaming */false); assertTrue("Request IDs should be non-negative", requestId1 >= 0); - int requestIdStreaming = mCameraUser.submitRequest(request, /* streaming */false); + int requestIdStreaming = mCameraUser.submitRequest(request, /* streaming */true); assertTrue("Request IDs should be non-negative", requestIdStreaming >= 0); assertNotSame("Request IDs should be unique for multiple requests", requestId1, requestIdStreaming); |