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

Commit 52f556b9 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Eliminate single-process mode. Bug: 5010576"

parents 3623b481 619d29fa
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);
        }