Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 33 lines (26 sloc) 0.677 kb
98a2aa0 yu88my fix FC bug when toggle network type action
yu88my authored
1 #!/bin/bash
2 #
3 # $1: dir for original miui app
4 # $2: dir for target miui app
5 #
6
7 XMLMERGYTOOL=$PORT_ROOT/tools/ResValuesModify/jar/ResValuesModify
15aae88 yu88my modify files related to make
yu88my authored
8
98a2aa0 yu88my fix FC bug when toggle network type action
yu88my authored
9 echo "original dir: $2"
10 echo "target dir:$1"
11 if [ $1 = "Mms" ];then
12 $XMLMERGYTOOL $1/res/values $2/res/values
13 fi
a17f4ff yu88my use miui Phone and close hardware accelerated function of MiuiHome
yu88my authored
14
15 if [ $1 = "Phone" ];then
15aae88 yu88my modify files related to make
yu88my authored
16 echo "Merge Phone's xml"
a17f4ff yu88my use miui Phone and close hardware accelerated function of MiuiHome
yu88my authored
17 $XMLMERGYTOOL $1/res/values $2/res/values
15aae88 yu88my modify files related to make
yu88my authored
18 echo "replace functions in Phone"
19 $PORT_ROOT/honor/replace_functions_in_phone.sh $2
a17f4ff yu88my use miui Phone and close hardware accelerated function of MiuiHome
yu88my authored
20 fi
21
22 if [ $1 = "MiuiHome" ];then
23 $XMLMERGYTOOL $1/res/values $2/res/values
24 fi
f175ce2 yu88my change hardware configration in Settings.apk
yu88my authored
25
26 if [ $1 = "Settings" ];then
27 $XMLMERGYTOOL $1/res/values $2/res/values
28 fi
52721ca yu88my disable font replacement
yu88my authored
29
30 if [ $1 = "ThemeManager" ];then
31 $XMLMERGYTOOL $1/res/values $2/res/values
32 fi
Something went wrong with that request. Please try again.