Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # Usage: ./update.sh <android_ics_os_src_directory> |
michael@0 | 2 | # |
michael@0 | 3 | # Copies the needed files from the directory containing the original |
michael@0 | 4 | # Android ICS OS source and applies the B2G specific changes for the |
michael@0 | 5 | # camcorder functionality in B2G. |
michael@0 | 6 | cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.cpp ./GonkRecorder.cpp |
michael@0 | 7 | cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.h ./GonkRecorder.h |
michael@0 | 8 | cp $1/frameworks/base/media/libstagefright/CameraSource.cpp ./GonkCameraSource.cpp |
michael@0 | 9 | cp $1/frameworks/base/include/media/stagefright/CameraSource.h ./GonkCameraSource.h |
michael@0 | 10 | cp $1/frameworks/base/media/libmedia/AudioParameter.cpp ./AudioParameter.cpp |
michael@0 | 11 | cp $1/frameworks/base/include/camera/Camera.h ./GonkCameraListener.h |
michael@0 | 12 | patch -p1 <update.patch |
michael@0 | 13 | # If you import CAF sources, you also need to apply update2.patch |
michael@0 | 14 | patch -p1 <update2.patch |