OSDN Git Service

Start thread pool for binder calls
authorJames Dong <jdong@google.com>
Tue, 2 Aug 2011 01:21:00 +0000 (18:21 -0700)
committerJames Dong <jdong@google.com>
Tue, 2 Aug 2011 01:24:49 +0000 (18:24 -0700)
Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423
related-to-bug: 5095635

media/libstagefright/tests/SurfaceMediaSource_test.cpp

index dc6f2c9..5b32b68 100644 (file)
@@ -57,6 +57,7 @@ public:
 protected:
 
     virtual void SetUp() {
+        android::ProcessState::self()->startThreadPool();
         mSMS = new SurfaceMediaSource(mYuvTexWidth, mYuvTexHeight);
         mSMS->setSynchronousMode(true);
         mSTC = new SurfaceTextureClient(mSMS);