Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (20 sloc) 0.454 kb
fdb5141 @yu88my disable keyguard torch
yu88my authored
1 #!/bin/bash
2 #
3 # $1: dir for miui
4 # $2: dir for original
5 #
6
7 APKTOOL=$PORT_ROOT/tools/apktool
8 GIT_APPLY=$PORT_ROOT/tools/git.apply
9
10 if [ "$2" = "out/android.policy" ];then
11 echo "apply compile patch anroid.policy"
12 cp framework-patch/android.policy/*.patch out/android.policy
13 cd out/android.policy
14 for f in `ls *.patch`;do
15 $GIT_APPLY "$f"
16 done
17 rm *.patch
18 for rej in `find -name "*.rej"`;do
19 echo "apply android.policy patch fail"
20 exit 1
21 done
22 fi
Something went wrong with that request. Please try again.