dom/camera/update.sh

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 # Usage: ./update.sh <android_ics_os_src_directory>
     2 #
     3 # Copies the needed files from the directory containing the original
     4 # Android ICS OS source and applies the B2G specific changes for the
     5 # camcorder functionality in B2G.
     6 cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.cpp ./GonkRecorder.cpp
     7 cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.h ./GonkRecorder.h
     8 cp $1/frameworks/base/media/libstagefright/CameraSource.cpp ./GonkCameraSource.cpp
     9 cp $1/frameworks/base/include/media/stagefright/CameraSource.h ./GonkCameraSource.h
    10 cp $1/frameworks/base/media/libmedia/AudioParameter.cpp ./AudioParameter.cpp
    11 cp $1/frameworks/base/include/camera/Camera.h ./GonkCameraListener.h
    12 patch -p1 <update.patch
    13 # If you import CAF sources, you also need to apply update2.patch
    14 patch -p1 <update2.patch

mercurial