Skip to content

Commit b28de3e

Browse files
committed
first commit
0 parents  commit b28de3e

File tree

13,385 files changed

+4624301
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,385 files changed

+4624301
-0
lines changed

MiuiSystemUI/interface.patch

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- a/MiuiSystemUI/smali/com/android/systemui/statusbar/CommandQueue.smali 2013-07-27 16:30:34.462900202 +0800
2+
+++ b/MiuiSystemUI/smali/com/android/systemui/statusbar/CommandQueue.smali 2013-07-27 16:30:40.070900204 +0800
3+
@@ -350,6 +350,15 @@
4+
throw v0
5+
.end method
6+
7+
+.method public enableTransparent(ZLjava/lang/String;)V
8+
+ .locals 0
9+
+ .parameter "visible"
10+
+ .parameter "engine"
11+
+
12+
+ .prologue
13+
+ return-void
14+
+.end method
15+
+
16+
.method public hideSIMIndicator()V
17+
.locals 0
18+
.annotation system Ldalvik/annotation/Throws;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="throttle_status_subtext">"%1$s (%2$d %%),週期上限為 %3$s
4+
下一週期會在 %4$d 天內開始 (%5$s)"</string>
5+
<string name="throttle_data_usage_subtext">%1$s (%2$d %%),週期上限為 %3$s</string>
6+
<string name="throttle_time_frame_subtext">"已經過 %1$d %% 的循環週期
7+
下一週期會在 %2$d 天內開始 (%3$s)"</string>
8+
</resources>

Settings/MiuiDeviceInfoSettings.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From e0f1e71da2fed3b350c8be7bdc63ad5af76208a7 Mon Sep 17 00:00:00 2001
2+
From: mochangming <[email protected]>
3+
Date: Mon, 18 Mar 2013 10:57:10 +0800
4+
Subject: [PATCH] fix available internal memory
5+
6+
---
7+
.../android/settings/MiuiDeviceInfoSettings.smali | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
--- a/Settings/smali/com/android/settings/MiuiDeviceInfoSettings.smali
11+
+++ b/Settings/smali/com/android/settings/MiuiDeviceInfoSettings.smali
12+
@@ -234,9 +234,9 @@
13+
iget-wide v1, v11, Lcom/android/settings/MiuiDeviceInfoSettings$SDCardInfo;->free:J
14+
15+
.local v1, availableSize:J
16+
- sget-boolean v11, Lmiui/os/Build;->IS_XIAOMI:Z
17+
+ const/4 v11, 0x1
18+
19+
if-nez v11, :cond_0
20+
21+
invoke-virtual {p0}, Lcom/android/settings/MiuiDeviceInfoSettings;->getResources()Landroid/content/res/Resources;
22+
23+
--
24+
1.7.9.5
25+

Settings/Roundcorner.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/Settings/smali/com/android/settings/DevelopmentSettings.smali 2013-04-25 15:07:42.577437090 +0800
2+
+++ b/Settings/smali/com/android/settings/DevelopmentSettings.smali 2013-04-25 15:08:50.985437094 +0800
3+
@@ -1719,7 +1719,7 @@
4+
.end annotation
5+
6+
.prologue
7+
- const/4 v0, 0x1
8+
+ const/4 v0, 0x0
9+
10+
iget-object v1, p0, Lcom/android/settings/DevelopmentSettings;->mShowRoundedCorners:Landroid/preference/CheckBoxPreference;
11+

Settings/header.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/Settings/res/xml/settings_headers.xml 2013-07-24 19:39:21.000000000 +0800
2+
+++ b/Settings/res/xml/settings_headers.xml 2013-07-24 18:31:54.000000000 +0800
3+
@@ -44,7 +44,7 @@
4+
<header android:icon="@drawable/ic_headset_settings" android:id="@id/headset_settings" android:title="@string/headset_settings">
5+
<intent android:action="miui.intent.action.HEADSET_SETTINGS" />
6+
</header>
7+
- <header android:id="@id/manufacturer_settings">
8+
+ <header android:icon="@drawable/ic_led_settings" android:id="@id/manufacturer_settings" android:title="@string/stocksettings">
9+
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
10+
</header>
11+
<header android:title="@string/header_category_system" />

Settings/led.patch

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/Settings/smali/com/android/settings/LedSettings.smali 2013-06-01 12:15:32.580579422 +0800
2+
+++ b/Settings/smali/com/android/settings/LedSettings.smali 2013-06-01 12:15:38.596579425 +0800
3+
@@ -489,6 +489,8 @@
4+
5+
move-result v4
6+
7+
+ const v4, 0xff00ff00
8+
+
9+
.local v4, defaultColor:I
10+
invoke-virtual {p0}, Lcom/android/settings/LedSettings;->getContentResolver()Landroid/content/ContentResolver;
11+

Settings/res.patch

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
--- a/Settings/res/values/arrays.xml 2013-04-13 16:58:38.783407058 +0800
2+
+++ b/Settings/res/values/arrays.xml 2013-04-13 16:59:20.463407061 +0800
3+
@@ -510,13 +510,13 @@
4+
<item>9000</item>
5+
</string-array>
6+
<string-array name="led_color_values">
7+
- <item>blue</item>
8+
<item>red</item>
9+
<item>yellow</item>
10+
<item>green</item>
11+
<item>cyan</item>
12+
<item>white</item>
13+
<item>\#FFAA00AA</item>
14+
+ <item>blue</item>
15+
</string-array>
16+
<string-array name="mi1_led_color_values">
17+
<item>blue</item>
18+
@@ -535,13 +535,13 @@
19+
<item>Purple</item>
20+
</string-array>
21+
<string-array name="led_color_entries">
22+
- <item>Blue</item>
23+
<item>Red</item>
24+
<item>Yellow</item>
25+
<item>Green</item>
26+
<item>Cyan</item>
27+
<item>White</item>
28+
<item>Violet</item>
29+
+ <item>Blue</item>
30+
</string-array>
31+
<string-array name="always_enabled_app_list">
32+
<item>com.android.providers.applications</item>

Settings/res/values/bools.xml.part

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<resources>
4+
<bool name="has_volume_wake">true</bool>
5+
<bool name="has_button_light">false</bool>
6+
<bool name="has_led">true</bool>
7+
</resources>

Settings/res/values/strings.xml.part

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<resources>
4+
<string name="stocksettings">原厂设置</string>
5+
</resources>

Settings/rescn.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--- a/Settings/res/values-zh-rCN/arrays.xml 2013-04-13 16:58:38.783407058 +0800
2+
+++ b/Settings/res/values-zh-rCN/arrays.xml 2013-04-13 16:59:20.463407061 +0800
3+
@@ -284,13 +284,13 @@
4+
<item>紫红</item>
5+
</string-array>
6+
<string-array name="led_color_entries">
7+
- <item>蓝</item>
8+
<item>红</item>
9+
<item>黄</item>
10+
<item>绿</item>
11+
<item>青</item>
12+
<item>白</item>
13+
<item>紫</item>
14+
+ <item>蓝</item>
15+
</string-array>
16+
<string-array name="screen_key_long_press_action">
17+
<item>无</item>

Settings/restw.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--- a/Settings/res/values-zh-rTW/arrays.xml 2013-04-13 16:58:38.783407058 +0800
2+
+++ b/Settings/res/values-zh-rTW/arrays.xml 2013-04-13 16:59:20.463407061 +0800
3+
@@ -284,13 +284,13 @@
4+
<item>紫紅</item>
5+
</string-array>
6+
<string-array name="led_color_entries">
7+
- <item>藍</item>
8+
<item>紅</item>
9+
<item>黃</item>
10+
<item>綠</item>
11+
<item>青</item>
12+
<item>白</item>
13+
<item>紫</item>
14+
+ <item>藍</item>
15+
</string-array>
16+
<string-array name="screen_key_long_press_action">
17+
<item>無</item>

android.policy.jar.out/apktool.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version: 1.5.2
2+
apkFileName: android.policy.jar
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
.class Lcom/android/internal/policy/impl/AccountUnlockScreen$1;
2+
.super Ljava/lang/Object;
3+
.source "AccountUnlockScreen.java"
4+
5+
# interfaces
6+
.implements Ljava/lang/Runnable;
7+
8+
9+
# annotations
10+
.annotation system Ldalvik/annotation/EnclosingMethod;
11+
value = Lcom/android/internal/policy/impl/AccountUnlockScreen;->postOnCheckPasswordResult(Z)V
12+
.end annotation
13+
14+
.annotation system Ldalvik/annotation/InnerClass;
15+
accessFlags = 0x0
16+
name = null
17+
.end annotation
18+
19+
20+
# instance fields
21+
.field final synthetic this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
22+
23+
.field final synthetic val$success:Z
24+
25+
26+
# direct methods
27+
.method constructor <init>(Lcom/android/internal/policy/impl/AccountUnlockScreen;Z)V
28+
.locals 0
29+
.parameter
30+
.parameter
31+
32+
.prologue
33+
.line 175
34+
iput-object p1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
35+
36+
iput-boolean p2, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->val$success:Z
37+
38+
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
39+
40+
return-void
41+
.end method
42+
43+
44+
# virtual methods
45+
.method public run()V
46+
.locals 3
47+
48+
.prologue
49+
const/4 v2, 0x0
50+
51+
.line 177
52+
iget-boolean v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->val$success:Z
53+
54+
if-eqz v1, :cond_0
55+
56+
.line 179
57+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
58+
59+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
60+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$000(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/widget/LockPatternUtils;
61+
62+
move-result-object v1
63+
64+
invoke-virtual {v1, v2}, Lcom/android/internal/widget/LockPatternUtils;->setPermanentlyLocked(Z)V
65+
66+
.line 180
67+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
68+
69+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
70+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$000(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/widget/LockPatternUtils;
71+
72+
move-result-object v1
73+
74+
invoke-virtual {v1, v2}, Lcom/android/internal/widget/LockPatternUtils;->setLockPatternEnabled(Z)V
75+
76+
.line 181
77+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
78+
79+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mLockPatternUtils:Lcom/android/internal/widget/LockPatternUtils;
80+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$000(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/widget/LockPatternUtils;
81+
82+
move-result-object v1
83+
84+
const/4 v2, 0x0
85+
86+
invoke-virtual {v1, v2}, Lcom/android/internal/widget/LockPatternUtils;->saveLockPattern(Ljava/util/List;)V
87+
88+
.line 185
89+
new-instance v0, Landroid/content/Intent;
90+
91+
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
92+
93+
.line 186
94+
.local v0, intent:Landroid/content/Intent;
95+
const-string v1, "com.android.settings"
96+
97+
const-string v2, "com.android.settings.ChooseLockGeneric"
98+
99+
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
100+
101+
.line 187
102+
const/high16 v1, 0x1000
103+
104+
invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
105+
106+
.line 188
107+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
108+
109+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mContext:Landroid/content/Context;
110+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$100(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Landroid/content/Context;
111+
112+
move-result-object v1
113+
114+
invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
115+
116+
.line 189
117+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
118+
119+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
120+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$200(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;
121+
122+
move-result-object v1
123+
124+
invoke-interface {v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->reportSuccessfulUnlockAttempt()V
125+
126+
.line 192
127+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
128+
129+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
130+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$200(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;
131+
132+
move-result-object v1
133+
134+
const/4 v2, 0x1
135+
136+
invoke-interface {v1, v2}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->keyguardDone(Z)V
137+
138+
.line 198
139+
.end local v0 #intent:Landroid/content/Intent;
140+
:goto_0
141+
return-void
142+
143+
.line 194
144+
:cond_0
145+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
146+
147+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mInstructions:Landroid/widget/TextView;
148+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$300(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Landroid/widget/TextView;
149+
150+
move-result-object v1
151+
152+
const v2, 0x1040314
153+
154+
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V
155+
156+
.line 195
157+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
158+
159+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mPassword:Landroid/widget/EditText;
160+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$400(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Landroid/widget/EditText;
161+
162+
move-result-object v1
163+
164+
const-string v2, ""
165+
166+
invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V
167+
168+
.line 196
169+
iget-object v1, p0, Lcom/android/internal/policy/impl/AccountUnlockScreen$1;->this$0:Lcom/android/internal/policy/impl/AccountUnlockScreen;
170+
171+
#getter for: Lcom/android/internal/policy/impl/AccountUnlockScreen;->mCallback:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
172+
invoke-static {v1}, Lcom/android/internal/policy/impl/AccountUnlockScreen;->access$200(Lcom/android/internal/policy/impl/AccountUnlockScreen;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;
173+
174+
move-result-object v1
175+
176+
invoke-interface {v1}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->reportFailedUnlockAttempt()V
177+
178+
goto :goto_0
179+
.end method

0 commit comments

Comments
 (0)