Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: ics
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.454 kB
#!/bin/bash
#
# $1: dir for miui
# $2: dir for original
#
APKTOOL=$PORT_ROOT/tools/apktool
GIT_APPLY=$PORT_ROOT/tools/git.apply
if [ "$2" = "out/android.policy" ];then
echo "apply compile patch anroid.policy"
cp framework-patch/android.policy/*.patch out/android.policy
cd out/android.policy
for f in `ls *.patch`;do
$GIT_APPLY "$f"
done
rm *.patch
for rej in `find -name "*.rej"`;do
echo "apply android.policy patch fail"
exit 1
done
fi
Jump to Line
Something went wrong with that request. Please try again.