Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 619d29fa authored by Jeff Brown's avatar Jeff Brown
Browse files

Eliminate single-process mode.

Bug: 5010576

Change-Id: Id450dc83efed4897d1e4ff451530fed14457aace
parent bca946c7
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -73,14 +73,7 @@ private:
        CameraHardwareStub* mHardware;
    public:
        PreviewThread(CameraHardwareStub* hw) :
#ifdef SINGLE_PROCESS
            // In single process mode this thread needs to be a java thread,
            // since we won't be calling through the binder.
            Thread(true),
#else
            Thread(false),
#endif
              mHardware(hw) { }
                Thread(false), mHardware(hw) { }
        virtual void onFirstRef() {
            run("CameraPreviewThread", PRIORITY_URGENT_DISPLAY);
        }