Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update for android 4.2

  • Loading branch information...
commit a151d3d7098ea0470ab0aa0a6c50b92141aed433 1 parent 5a44f5a
@riverzhou authored
View
10 0001-build-add-TARGET_SPECIFIC_HEADER_PATH-for-device-own.patch
@@ -1,7 +1,7 @@
-From 528e091e1822f0671a14772ec2f49e769d1e3838 Mon Sep 17 00:00:00 2001
+From 9595e56c15c29469bcbae68e969b1ae1062131de Mon Sep 17 00:00:00 2001
From: River Zhou <riverzhou2000@gmail.com>
Date: Mon, 8 Oct 2012 05:52:13 +0800
-Subject: [PATCH] build : add TARGET_SPECIFIC_HEADER_PATH for device own
+Subject: [PATCH 1/1] build : add TARGET_SPECIFIC_HEADER_PATH for device own
headers
Change-Id: I27ba9d0d69182f87b61f994c347bfd160f5fdea2
@@ -10,10 +10,10 @@ Change-Id: I27ba9d0d69182f87b61f994c347bfd160f5fdea2
1 file changed, 5 insertions(+)
diff --git a/core/binary.mk b/core/binary.mk
-index 04ac90b..efd7473 100644
+index 791623b..f3c030e 100644
--- a/core/binary.mk
+++ b/core/binary.mk
-@@ -555,6 +555,11 @@ all_objects := \
+@@ -553,6 +553,11 @@ all_objects := \
$(proto_generated_objects) \
$(addprefix $(TOPDIR)$(LOCAL_PATH)/,$(LOCAL_PREBUILT_OBJ_FILES))
@@ -24,7 +24,7 @@ index 04ac90b..efd7473 100644
+
LOCAL_C_INCLUDES += $(TOPDIR)$(LOCAL_PATH) $(intermediates)
- ifndef LOCAL_NDK_VERSION
+ ifndef LOCAL_SDK_VERSION
--
1.7.9.5
View
3,448 0001-hardware-libhardware_legacy-ti_wifi_enhance.patch
0 additions, 3,448 deletions not shown
View
37 0001-packages-inputmethods-PinYinIME-fix-proguard.patch
@@ -1,37 +0,0 @@
-From b6056b78f6fbe96b01b7707ffbdea3441eae11f7 Mon Sep 17 00:00:00 2001
-From: River Zhou <riverzhou2000@gmail.com>
-Date: Sun, 30 Sep 2012 22:24:38 +0800
-Subject: [PATCH] fix PinyinIME#
-
-Change-Id: I74ca5a5384e758330117ce3c5c9b37ed89c93571
----
- Android.mk | 2 ++
- proguard.flags | 3 +++
- 2 files changed, 5 insertions(+)
- create mode 100644 proguard.flags
-
-diff --git a/Android.mk b/Android.mk
-index b0741e0..d33b4b8 100644
---- a/Android.mk
-+++ b/Android.mk
-@@ -17,6 +17,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := com.android.inputmethod.pinyin.lib
-
- LOCAL_CERTIFICATE := shared
-
-+LOCAL_PROGUARD_FLAG_FILES := proguard.flags
-+
- # Make sure our dictionary file is not compressed, so we can read it with
- # a raw file descriptor.
- LOCAL_AAPT_FLAGS := -0 .dat
-diff --git a/proguard.flags b/proguard.flags
-new file mode 100644
-index 0000000..f9a8cce
---- /dev/null
-+++ b/proguard.flags
-@@ -0,0 +1,3 @@
-+-keep class com.android.inputmethod.pinyin.PinyinDecoderService {
-+static *;
-+}
---
-1.7.9.5
-
View
46 0001-skia-Handles-decoding-of-premature-jpeg-files.patch
@@ -1,46 +0,0 @@
-From 2950d321ba1ad9c219f2e0c234b00f962ce5b392 Mon Sep 17 00:00:00 2001
-From: Solaiyappan Saravanan <saravanan.s@ti.com>
-Date: Thu, 27 Oct 2011 15:44:48 -0500
-Subject: [PATCH] skia: Handles decoding of premature jpeg files.
-
-In SW jpeg decoder, the premature jpeg file decoding is not handled
-properly. So the images were not displayed using the android gallery3d
-application.
-This patch will handle the decoding of premature jpeg files by sending
-dummy EOI marker to the decoder.
-
-This patch was ported from gb to ics and now is porting to jb.
-Source: http://review.omapzoom.org/10250
-
-Change-Id: Ic8d5f0d32c5eb06293d73bc7074526268368c1a2
-Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
-Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
----
- src/images/SkJpegUtility.cpp | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/src/images/SkJpegUtility.cpp b/src/images/SkJpegUtility.cpp
-index aa5237f..d8dc2ca 100644
---- a/src/images/SkJpegUtility.cpp
-+++ b/src/images/SkJpegUtility.cpp
-@@ -43,7 +43,16 @@ static boolean sk_fill_input_buffer(j_decompress_ptr cinfo) {
- // note that JPEG is happy with less than the full read,
- // as long as the result is non-zero
- if (bytes == 0) {
-- return FALSE;
-+#if 1
-+ SkDebugf("%s():%d:: !!!Premature end of JPEG file. Sending dummy EOI. \n",__FUNCTION__,__LINE__);
-+
-+ /* Insert a fake EOI marker to complete the decoding successfully.*/
-+ src->fBuffer[0] = (JOCTET) 0xFF;
-+ src->fBuffer[1] = (JOCTET) JPEG_EOI;
-+ bytes = 2;
-+#else
-+ return FALSE;
-+#endif
- }
-
- src->current_offset += bytes;
---
-1.7.9.5
-
View
2  get.sh
@@ -3,7 +3,7 @@
rm -rf prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
rm -rf prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
-repo sync -j300
+repo sync -j310
rm -rf prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
rm -rf prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
View
81 patch.sh
@@ -6,58 +6,35 @@ git clean -d -f
git apply ../local/0001-build-add-TARGET_SPECIFIC_HEADER_PATH-for-device-own.patch
cd ..
-cd bionic
-git checkout -f
-git clean -d -f
-git apply ../local/0001-bionic-libc-linaro-ARMv7-optimized-string-handling-r.patch
-git apply ../local/0002-bionic-libc-Aurora-NEON-optimized-memmove-bcopy.patch
-git apply ../local/0003-bionic-libm-linaro-proper-sincos-implementation.patch
-git apply ../local/0004-bionic-libm-Aurora-NEON-optimized-e_pow.patch
-cd ..
-
-cd external/skia
-git checkout -f
-git clean -d -f
-#git apply ../../local/0001-skia-Handles-decoding-of-premature-jpeg-files.patch
-cd ../..
-
-cd frameworks/base/
-git checkout -f
-git clean -d -f
-git apply ../../local/0001-frameworks-base-services-fix-screenshot-rotation.patch
-git apply ../../local/0002-frameworks-base-services-screenshot-powerbutton.patch
-git apply ../../local/0003-frameworks-base-volume-SettingsView.patch
-git apply ../../local/0004-frameworks-base-TabletUI-mass-storage-notifcation.patch
-cd ../..
-
-cd frameworks/av/
-git checkout -f
-git clean -d -f
-git apply ../../local/0001-frameworks-av-OMAP3_AV_ENHANCE-add-by-river.patch
-cd ../..
-
-cd frameworks/native/
-git checkout -f
-git clean -d -f
-git apply ../../local/0001-frameworks-native-remove-NO_RGBX_8888-for-omap3.patch
-cd ../..
-
-cd hardware/libhardware_legacy/
-git checkout -f
-git clean -d -f
-git apply ../../local/0001-hardware-libhardware_legacy-ti_wifi_enhance.patch
-cd ../..
-
-cd packages/inputmethods/PinyinIME/
-git checkout -f
-git clean -d -f
-git apply ../../../local/0001-packages-inputmethods-PinYinIME-fix-proguard.patch
-cd ../../..
-
-cd prebuilts/tools
-git checkout -f
-git clean -d -f
-cd ../..
+#cd bionic
+#git checkout -f
+#git clean -d -f
+#git apply ../local/0001-bionic-libc-linaro-ARMv7-optimized-string-handling-r.patch
+#git apply ../local/0002-bionic-libc-Aurora-NEON-optimized-memmove-bcopy.patch
+#git apply ../local/0003-bionic-libm-linaro-proper-sincos-implementation.patch
+#git apply ../local/0004-bionic-libm-Aurora-NEON-optimized-e_pow.patch
+#cd ..
+
+#cd frameworks/base/
+#git checkout -f
+#git clean -d -f
+#git apply ../../local/0001-frameworks-base-services-fix-screenshot-rotation.patch
+#git apply ../../local/0002-frameworks-base-services-screenshot-powerbutton.patch
+#git apply ../../local/0003-frameworks-base-volume-SettingsView.patch
+#git apply ../../local/0004-frameworks-base-TabletUI-mass-storage-notifcation.patch
+#cd ../..
+
+#cd frameworks/av/
+#git checkout -f
+#git clean -d -f
+#git apply ../../local/0001-frameworks-av-OMAP3_AV_ENHANCE-add-by-river.patch
+#cd ../..
+
+#cd frameworks/native/
+#git checkout -f
+#git clean -d -f
+#git apply ../../local/0001-frameworks-native-remove-NO_RGBX_8888-for-omap3.patch
+#cd ../..
cd system/core
git checkout -f
Please sign in to comment.
Something went wrong with that request. Please try again.