- Replace miui.app.AlertDialog and miui.app.AlertDialog$Builder with a pure Java wrapper extending android.app.AlertDialog. - Guard AlertControllerImpl against Resources$NotFoundException for missing MIUI framework-res resources (such as fake_landscape_screen_minor_size and treat_as_land) on AOSP. - Fixes Resources$NotFoundException (Resource ID #0x100a015a) when ScreenHint shows first use hint dialog during camera startup. - Rebuilt MiuiCamera.apk via extract-files.py. Change-Id: Ie69ca4f03ae934a76741092ec95a57dd2f8941d0
6644 lines
189 KiB
Diff
6644 lines
189 KiB
Diff
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
|
|
index cf5c390e..8bec6d6f 100644
|
|
--- a/AndroidManifest.xml
|
|
+++ b/AndroidManifest.xml
|
|
@@ -52,9 +52,6 @@
|
|
<application android:allowBackup="false" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:extractNativeLibs="false" android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher_camera" android:label="@string/camera_label" android:largeHeap="true" android:name="com.android.camera.CameraAppImpl" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/ThemeCamera">
|
|
<meta-data android:name="required_permissions" android:value="@string/required_permissions"/>
|
|
<meta-data android:name="android.max_aspect" android:value="2.3"/>
|
|
- <uses-library android:name="zxing.jar" android:required="false"/>
|
|
- <uses-library android:name="cloud-common.jar"/>
|
|
- <uses-library android:name="volley.jar"/>
|
|
<service android:exported="false" android:name="com.android.camera.snap.SnapService"/>
|
|
<service android:name="com.android.camera.statistic.SettingUploadJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
<receiver android:name="com.android.camera.snap.SnapKeyReceiver" android:permission="com.xiaomi.camera.AUX_CONTROL">
|
|
@@ -172,7 +169,7 @@
|
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
|
|
</provider>
|
|
<provider android:authorities="@string/provider_authority" android:exported="true" android:grantUriPermissions="true" android:name="com.xiaomi.camera.parallelservice.provider.ParallelProcessProvider" android:syncable="false"/>
|
|
- <uses-library android:name="org.apache.http.legacy" android:required="true"/>
|
|
+ <uses-library android:name="org.apache.http.legacy" android:required="false"/>
|
|
<service android:exported="false" android:name="com.iqiyi.android.qigsaw.core.splitinstall.remote.SplitInstallService">
|
|
<intent-filter>
|
|
<action android:name="com.iqiyi.android.play.core.splitinstall.BIND_SPLIT_INSTALL_SERVICE"/>
|
|
diff --git a/smali_classes5/com/android/camera/GeneralUtils.smali b/smali_classes5/com/android/camera/GeneralUtils.smali
|
|
index a09d67e4..4810ff0c 100644
|
|
--- a/smali_classes5/com/android/camera/GeneralUtils.smali
|
|
+++ b/smali_classes5/com/android/camera/GeneralUtils.smali
|
|
@@ -35,68 +35,11 @@
|
|
.end method
|
|
|
|
.method public static final isAppLocked(Landroid/content/Context;Ljava/lang/String;)Z
|
|
- .locals 3
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
-
|
|
- move-result-object v0
|
|
-
|
|
- invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
-
|
|
- move-result-object v0
|
|
-
|
|
- const-string v1, "access_control_lock_enabled"
|
|
-
|
|
- const/4 v2, -0x1
|
|
-
|
|
- invoke-static {v0, v1, v2}, Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/4 v1, 0x0
|
|
-
|
|
- const/4 v2, 0x1
|
|
-
|
|
- if-ne v0, v2, :cond_0
|
|
-
|
|
- move v0, v2
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- :cond_0
|
|
- move v0, v1
|
|
-
|
|
- :goto_0
|
|
- if-eqz v0, :cond_1
|
|
-
|
|
- const-string v0, "security"
|
|
-
|
|
- .line 2
|
|
- invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- check-cast p0, Lmiui/security/SecurityManager;
|
|
-
|
|
- .line 3
|
|
- invoke-virtual {p0, p1}, Lmiui/security/SecurityManager;->getApplicationAccessControlEnabled(Ljava/lang/String;)Z
|
|
-
|
|
- move-result v0
|
|
-
|
|
- .line 4
|
|
- invoke-virtual {p0, p1}, Lmiui/security/SecurityManager;->checkAccessControlPass(Ljava/lang/String;)Z
|
|
-
|
|
- move-result p0
|
|
-
|
|
- if-eqz v0, :cond_1
|
|
-
|
|
- if-nez p0, :cond_1
|
|
+ .locals 0
|
|
|
|
- move v1, v2
|
|
+ const/4 p0, 0x0
|
|
|
|
- :cond_1
|
|
- return v1
|
|
+ return p0
|
|
.end method
|
|
|
|
.method public static miuiResArrayField(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
@@ -242,9 +185,8 @@
|
|
iput p2, p0, Landroid/app/Notification;->flags:I
|
|
|
|
.line 16
|
|
- iget-object p2, p0, Landroid/app/Notification;->extraNotification:Landroid/app/MiuiNotification;
|
|
-
|
|
- invoke-virtual {p2, p1}, Landroid/app/MiuiNotification;->setMessageCount(I)V
|
|
+ # iget-object p2, p0, Landroid/app/Notification;->extraNotification:Landroid/app/MiuiNotification;
|
|
+ # invoke-virtual {p2, p1}, Landroid/app/MiuiNotification;->setMessageCount(I)V
|
|
|
|
.line 17
|
|
invoke-virtual {p3, p1, p0}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
|
|
diff --git a/smali_classes5/com/android/camera/Util.smali b/smali_classes5/com/android/camera/Util.smali
|
|
index e3f36cb6..43641ea7 100644
|
|
--- a/smali_classes5/com/android/camera/Util.smali
|
|
+++ b/smali_classes5/com/android/camera/Util.smali
|
|
@@ -20370,6 +20370,13 @@
|
|
.method public static isUserUnlocked(Landroid/content/Context;)Z
|
|
.locals 1
|
|
|
|
+ if-nez p0, :cond_null_check
|
|
+
|
|
+ const/4 p0, 0x1
|
|
+
|
|
+ return p0
|
|
+
|
|
+ :cond_null_check
|
|
const-string v0, "user"
|
|
|
|
.line 1
|
|
diff --git a/smali_classes6/com/miui/internal/app/AlertControllerImpl.smali b/smali_classes6/com/miui/internal/app/AlertControllerImpl.smali
|
|
index b2591281..bc4cfa02 100644
|
|
--- a/smali_classes6/com/miui/internal/app/AlertControllerImpl.smali
|
|
+++ b/smali_classes6/com/miui/internal/app/AlertControllerImpl.smali
|
|
@@ -337,7 +337,11 @@
|
|
.line 24
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
- .line 25
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ iput-boolean p1, p0, Lcom/miui/internal/app/AlertControllerImpl;->mTreatAsLandConfig:Z
|
|
+
|
|
+ :try_start_1
|
|
iget-object p1, p0, Lcom/miui/internal/app/AlertControllerImpl;->mContext:Landroid/content/Context;
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
@@ -351,6 +355,10 @@
|
|
move-result p1
|
|
|
|
iput-boolean p1, p0, Lcom/miui/internal/app/AlertControllerImpl;->mTreatAsLandConfig:Z
|
|
+ :try_end_1
|
|
+ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
+
|
|
+ :catch_1
|
|
|
|
.line 26
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
@@ -906,7 +914,9 @@
|
|
|
|
iput v0, p0, Lcom/miui/internal/app/AlertControllerImpl;->mScreenMinorSize:I
|
|
|
|
- .line 5
|
|
+ iput v0, p0, Lcom/miui/internal/app/AlertControllerImpl;->mFakeLandScreenMinorSize:I
|
|
+
|
|
+ :try_start_0
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object p1
|
|
@@ -918,7 +928,10 @@
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/miui/internal/app/AlertControllerImpl;->mFakeLandScreenMinorSize:I
|
|
+ :try_end_0
|
|
+ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
+ :catch_0
|
|
return-void
|
|
.end method
|
|
|
|
diff --git a/smali_classes6/com/miui/internal/os/Native.smali b/smali_classes6/com/miui/internal/os/Native.smali
|
|
index fbaf0c4f..4145caa4 100644
|
|
--- a/smali_classes6/com/miui/internal/os/Native.smali
|
|
+++ b/smali_classes6/com/miui/internal/os/Native.smali
|
|
@@ -4,27 +4,17 @@
|
|
|
|
|
|
# direct methods
|
|
-.method static constructor <clinit>()V
|
|
- .locals 1
|
|
-
|
|
- const-string v0, "miuinative"
|
|
-
|
|
- .line 1
|
|
- invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
+ .line 8
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
-.method public static native addPropertyChangeCallbackNative(Ljava/lang/Class;)V
|
|
+.method public static addPropertyChangeCallbackNative(Ljava/lang/Class;)V
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -32,27 +22,187 @@
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 10
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native chmod(Ljava/lang/String;II)Z
|
|
+.method public static chmod(Ljava/lang/String;II)Z
|
|
+ .locals 0
|
|
+
|
|
+ .line 14
|
|
+ :try_start_0
|
|
+ invoke-static {p0, p1}, Landroid/system/Os;->chmod(Ljava/lang/String;I)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ .line 15
|
|
+ const/4 p0, 0x1
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 16
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 17
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native chown(Ljava/lang/String;III)Z
|
|
+.method public static chown(Ljava/lang/String;III)Z
|
|
+ .locals 0
|
|
+
|
|
+ .line 23
|
|
+ :try_start_0
|
|
+ invoke-static {p0, p1, p2}, Landroid/system/Os;->chown(Ljava/lang/String;II)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ .line 24
|
|
+ const/4 p0, 0x1
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 25
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 26
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native getBooleanFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Z
|
|
+.method public static getBooleanFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Z
|
|
+ .locals 0
|
|
+
|
|
+ .line 206
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getBoolean(Ljava/lang/Object;)Z
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 207
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native getBooleanPropertyNative(Ljava/lang/String;Z)Z
|
|
+.method public static getBooleanPropertyNative(Ljava/lang/String;Z)Z
|
|
+ .locals 7
|
|
+
|
|
+ .line 59
|
|
+ :try_start_0
|
|
+ const-string v0, "android.os.SystemProperties"
|
|
+
|
|
+ invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 60
|
|
+ const-string v1, "getBoolean"
|
|
+
|
|
+ const/4 v2, 0x2
|
|
+
|
|
+ new-array v3, v2, [Ljava/lang/Class;
|
|
+
|
|
+ const-class v4, Ljava/lang/String;
|
|
+
|
|
+ const/4 v5, 0x0
|
|
+
|
|
+ aput-object v4, v3, v5
|
|
+
|
|
+ sget-object v4, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
|
+
|
|
+ const/4 v6, 0x1
|
|
+
|
|
+ aput-object v4, v3, v6
|
|
+
|
|
+ invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 61
|
|
+ invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
+
|
|
+ move-result-object v1
|
|
+
|
|
+ new-array v2, v2, [Ljava/lang/Object;
|
|
+
|
|
+ aput-object p0, v2, v5
|
|
+
|
|
+ aput-object v1, v2, v6
|
|
+
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ invoke-virtual {v0, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ check-cast p0, Ljava/lang/Boolean;
|
|
+
|
|
+ invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
+
|
|
+ move-result p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 62
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 63
|
|
+ return p1
|
|
.end method
|
|
|
|
-.method public static native getByteFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)B
|
|
+.method public static getByteFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)B
|
|
+ .locals 0
|
|
+
|
|
+ .line 211
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getByte(Ljava/lang/Object;)B
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 212
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native getCharFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)C
|
|
+.method public static getCharFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)C
|
|
+ .locals 0
|
|
+
|
|
+ .line 216
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getChar(Ljava/lang/Object;)C
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 217
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native getConstructor(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+.method public static getConstructor(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -63,28 +213,28 @@
|
|
"Lmiui/reflect/Constructor;"
|
|
}
|
|
.end annotation
|
|
-.end method
|
|
|
|
-.method private static native getConstructor(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
- .annotation system Ldalvik/annotation/Signature;
|
|
- value = {
|
|
- "(",
|
|
- "Ljava/lang/Class<",
|
|
- "*>;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/reflect/Constructor<",
|
|
- "*>;)",
|
|
- "Lmiui/reflect/Constructor;"
|
|
- }
|
|
- .end annotation
|
|
+ .line 130
|
|
+ invoke-static {p0, p1}, Lmiui/reflect/Constructor;->of(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getConstructor(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+.method public static getConstructor(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+ .locals 0
|
|
+
|
|
+ .line 134
|
|
+ invoke-static {p0, p1}, Lmiui/reflect/Constructor;->of(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
.method public static getConstructor(Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
- .locals 4
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -94,43 +244,35 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Constructor;->getDeclaringClass()Ljava/lang/Class;
|
|
-
|
|
- move-result-object v0
|
|
-
|
|
- .line 2
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Constructor;->getDeclaringClass()Ljava/lang/Class;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
-
|
|
- move-result-object v1
|
|
+ .line 138
|
|
+ invoke-static {p0}, Lmiui/reflect/Constructor;->of(Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
|
|
- .line 3
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Constructor;->getParameterTypes()[Ljava/lang/Class;
|
|
+ move-result-object p0
|
|
|
|
- move-result-object v2
|
|
+ return-object p0
|
|
+.end method
|
|
|
|
- sget-object v3, Ljava/lang/Void;->TYPE:Ljava/lang/Class;
|
|
+.method public static getDoubleFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)D
|
|
+ .locals 0
|
|
|
|
- invoke-static {v2, v3}, Lmiui/reflect/ReflectUtils;->getSignature([Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
|
|
+ .line 221
|
|
+ if-eqz p0, :cond_0
|
|
|
|
- move-result-object v2
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getDouble(Ljava/lang/Object;)D
|
|
|
|
- .line 4
|
|
- invoke-static {v0, v1, v2, p0}, Lcom/miui/internal/os/Native;->getConstructor(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
+ move-result-wide p0
|
|
|
|
- move-result-object p0
|
|
+ return-wide p0
|
|
|
|
- return-object p0
|
|
-.end method
|
|
+ .line 222
|
|
+ :cond_0
|
|
+ const-wide/16 p0, 0x0
|
|
|
|
-.method public static native getDoubleFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)D
|
|
+ return-wide p0
|
|
.end method
|
|
|
|
-.method public static native getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+.method public static getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -142,101 +284,234 @@
|
|
"Lmiui/reflect/Field;"
|
|
}
|
|
.end annotation
|
|
-.end method
|
|
|
|
-.method private static native getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
- .annotation system Ldalvik/annotation/Signature;
|
|
- value = {
|
|
- "(",
|
|
- "Ljava/lang/Class<",
|
|
- "*>;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/String;",
|
|
- "Z",
|
|
- "Ljava/lang/reflect/Field;",
|
|
- ")",
|
|
- "Lmiui/reflect/Field;"
|
|
- }
|
|
- .end annotation
|
|
+ .line 113
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Field;->of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getField(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+.method public static getField(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+ .locals 0
|
|
+
|
|
+ .line 117
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Field;->of(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
.method public static getField(Ljava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
- .locals 6
|
|
+ .locals 0
|
|
+
|
|
+ .line 121
|
|
+ invoke-static {p0}, Lmiui/reflect/Field;->of(Ljava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+.end method
|
|
+
|
|
+.method public static getFloatFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)F
|
|
+ .locals 0
|
|
+
|
|
+ .line 226
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getFloat(Ljava/lang/Object;)F
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 227
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Field;->getDeclaringClass()Ljava/lang/Class;
|
|
+ return p0
|
|
+.end method
|
|
+
|
|
+.method public static getIntFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)I
|
|
+ .locals 0
|
|
+
|
|
+ .line 231
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getInt(Ljava/lang/Object;)I
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 232
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
+.end method
|
|
+
|
|
+.method public static getIntPropertyNative(Ljava/lang/String;I)I
|
|
+ .locals 7
|
|
+
|
|
+ .line 69
|
|
+ :try_start_0
|
|
+ const-string v0, "android.os.SystemProperties"
|
|
+
|
|
+ invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
- .line 2
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Field;->getDeclaringClass()Ljava/lang/Class;
|
|
+ .line 70
|
|
+ const-string v1, "getInt"
|
|
|
|
- move-result-object v1
|
|
+ const/4 v2, 0x2
|
|
+
|
|
+ new-array v3, v2, [Ljava/lang/Class;
|
|
|
|
- invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
+ const-class v4, Ljava/lang/String;
|
|
+
|
|
+ const/4 v5, 0x0
|
|
+
|
|
+ aput-object v4, v3, v5
|
|
+
|
|
+ sget-object v4, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
|
+
|
|
+ const/4 v6, 0x1
|
|
+
|
|
+ aput-object v4, v3, v6
|
|
+
|
|
+ invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 71
|
|
+ invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String;
|
|
+ new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
- move-result-object v2
|
|
+ aput-object p0, v2, v5
|
|
|
|
- .line 3
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Field;->getType()Ljava/lang/Class;
|
|
+ aput-object v1, v2, v6
|
|
|
|
- move-result-object v3
|
|
+ const/4 p0, 0x0
|
|
|
|
- invoke-static {v3}, Lmiui/reflect/ReflectUtils;->getSignature(Ljava/lang/Class;)Ljava/lang/String;
|
|
+ invoke-virtual {v0, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- move-result-object v3
|
|
+ move-result-object p0
|
|
|
|
- .line 4
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Field;->getModifiers()I
|
|
+ check-cast p0, Ljava/lang/Integer;
|
|
|
|
- move-result v4
|
|
+ invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
- and-int/lit8 v4, v4, 0x8
|
|
+ move-result p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- if-eqz v4, :cond_0
|
|
+ return p0
|
|
|
|
- const/4 v4, 0x1
|
|
+ .line 72
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
|
|
- goto :goto_0
|
|
+ .line 73
|
|
+ return p1
|
|
+.end method
|
|
+
|
|
+.method public static getLongFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)J
|
|
+ .locals 0
|
|
+
|
|
+ .line 236
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getLong(Ljava/lang/Object;)J
|
|
|
|
+ move-result-wide p0
|
|
+
|
|
+ return-wide p0
|
|
+
|
|
+ .line 237
|
|
:cond_0
|
|
- const/4 v4, 0x0
|
|
+ const-wide/16 p0, 0x0
|
|
|
|
- :goto_0
|
|
- move-object v5, p0
|
|
+ return-wide p0
|
|
+.end method
|
|
+
|
|
+.method public static getLongPropertyNative(Ljava/lang/String;J)J
|
|
+ .locals 7
|
|
+
|
|
+ .line 79
|
|
+ :try_start_0
|
|
+ const-string v0, "android.os.SystemProperties"
|
|
+
|
|
+ invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 80
|
|
+ const-string v1, "getLong"
|
|
+
|
|
+ const/4 v2, 0x2
|
|
+
|
|
+ new-array v3, v2, [Ljava/lang/Class;
|
|
+
|
|
+ const-class v4, Ljava/lang/String;
|
|
+
|
|
+ const/4 v5, 0x0
|
|
+
|
|
+ aput-object v4, v3, v5
|
|
+
|
|
+ sget-object v4, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
|
|
|
- .line 5
|
|
- invoke-static/range {v0 .. v5}, Lcom/miui/internal/os/Native;->getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
+ const/4 v6, 0x1
|
|
+
|
|
+ aput-object v4, v3, v6
|
|
+
|
|
+ invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 81
|
|
+ invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
+
|
|
+ move-result-object v1
|
|
+
|
|
+ new-array v2, v2, [Ljava/lang/Object;
|
|
+
|
|
+ aput-object p0, v2, v5
|
|
+
|
|
+ aput-object v1, v2, v6
|
|
+
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ invoke-virtual {v0, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
- return-object p0
|
|
-.end method
|
|
+ check-cast p0, Ljava/lang/Long;
|
|
|
|
-.method public static native getFloatFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)F
|
|
-.end method
|
|
+ invoke-virtual {p0}, Ljava/lang/Long;->longValue()J
|
|
|
|
-.method public static native getIntFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)I
|
|
-.end method
|
|
+ move-result-wide p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
-.method public static native getIntPropertyNative(Ljava/lang/String;I)I
|
|
-.end method
|
|
+ return-wide p0
|
|
|
|
-.method public static native getLongFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)J
|
|
-.end method
|
|
+ .line 82
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
|
|
-.method public static native getLongPropertyNative(Ljava/lang/String;J)J
|
|
+ .line 83
|
|
+ return-wide p1
|
|
.end method
|
|
|
|
-.method public static native getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+.method public static getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -248,96 +523,113 @@
|
|
"Lmiui/reflect/Method;"
|
|
}
|
|
.end annotation
|
|
-.end method
|
|
|
|
-.method private static native getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
- .annotation system Ldalvik/annotation/Signature;
|
|
- value = {
|
|
- "(",
|
|
- "Ljava/lang/Class<",
|
|
- "*>;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/String;",
|
|
- "Ljava/lang/String;",
|
|
- "Z",
|
|
- "Ljava/lang/reflect/Method;",
|
|
- ")",
|
|
- "Lmiui/reflect/Method;"
|
|
- }
|
|
- .end annotation
|
|
+ .line 96
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Method;->of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getMethod(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+.method public static getMethod(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+ .locals 0
|
|
+
|
|
+ .line 100
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Method;->of(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
.method public static getMethod(Ljava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
- .locals 6
|
|
+ .locals 0
|
|
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
|
|
+ .line 104
|
|
+ invoke-static {p0}, Lmiui/reflect/Method;->of(Ljava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
|
|
- move-result-object v0
|
|
+ move-result-object p0
|
|
|
|
- .line 2
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getDeclaringClass()Ljava/lang/Class;
|
|
+ return-object p0
|
|
+.end method
|
|
|
|
- move-result-object v1
|
|
+.method public static getObjectFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ .locals 0
|
|
|
|
- invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
+ .line 201
|
|
+ if-eqz p0, :cond_0
|
|
|
|
- move-result-object v1
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
|
|
- move-result-object v2
|
|
+ .line 202
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
|
|
- .line 3
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;
|
|
+ return-object p0
|
|
+.end method
|
|
|
|
- move-result-object v3
|
|
+.method public static getPropertyNative(Ljava/lang/String;)Ljava/lang/String;
|
|
+ .locals 6
|
|
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;
|
|
+ .line 49
|
|
+ :try_start_0
|
|
+ const-string v0, "android.os.SystemProperties"
|
|
|
|
- move-result-object v4
|
|
+ invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
- invoke-static {v3, v4}, Lmiui/reflect/ReflectUtils;->getSignature([Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
|
|
+ move-result-object v0
|
|
|
|
- move-result-object v3
|
|
+ .line 50
|
|
+ const-string v1, "get"
|
|
|
|
- .line 4
|
|
- invoke-virtual {p0}, Ljava/lang/reflect/Method;->getModifiers()I
|
|
+ const/4 v2, 0x1
|
|
|
|
- move-result v4
|
|
+ new-array v3, v2, [Ljava/lang/Class;
|
|
|
|
- and-int/lit8 v4, v4, 0x8
|
|
+ const-class v4, Ljava/lang/String;
|
|
|
|
- if-eqz v4, :cond_0
|
|
+ const/4 v5, 0x0
|
|
|
|
- const/4 v4, 0x1
|
|
+ aput-object v4, v3, v5
|
|
|
|
- goto :goto_0
|
|
+ invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
- :cond_0
|
|
- const/4 v4, 0x0
|
|
+ move-result-object v0
|
|
|
|
- :goto_0
|
|
- move-object v5, p0
|
|
+ .line 51
|
|
+ new-array v1, v2, [Ljava/lang/Object;
|
|
|
|
- .line 5
|
|
- invoke-static/range {v0 .. v5}, Lcom/miui/internal/os/Native;->getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
+ aput-object p0, v1, v5
|
|
+
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ invoke-virtual {v0, p0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
+ check-cast p0, Ljava/lang/String;
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
return-object p0
|
|
-.end method
|
|
|
|
-.method public static native getObjectFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Ljava/lang/Object;
|
|
-.end method
|
|
+ .line 52
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 53
|
|
+ const-string p0, ""
|
|
|
|
-.method public static native getPropertyNative(Ljava/lang/String;)Ljava/lang/String;
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getReflectConstructor(Lmiui/reflect/Constructor;)Ljava/lang/reflect/Constructor;
|
|
+.method public static getReflectConstructor(Lmiui/reflect/Constructor;)Ljava/lang/reflect/Constructor;
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -347,18 +639,82 @@
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 142
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0}, Lmiui/reflect/Constructor;->toRefelect()Ljava/lang/reflect/Constructor;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 143
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getReflectField(Lmiui/reflect/Field;)Ljava/lang/reflect/Field;
|
|
+.method public static getReflectField(Lmiui/reflect/Field;)Ljava/lang/reflect/Field;
|
|
+ .locals 0
|
|
+
|
|
+ .line 125
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0}, Lmiui/reflect/Field;->toReflect()Ljava/lang/reflect/Field;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 126
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getReflectMethod(Lmiui/reflect/Method;)Ljava/lang/reflect/Method;
|
|
+.method public static getReflectMethod(Lmiui/reflect/Method;)Ljava/lang/reflect/Method;
|
|
+ .locals 0
|
|
+
|
|
+ .line 108
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0}, Lmiui/reflect/Method;->toReflect()Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 109
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native getShortFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)S
|
|
+.method public static getShortFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)S
|
|
+ .locals 0
|
|
+
|
|
+ .line 241
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Field;->getShort(Ljava/lang/Object;)S
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 242
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invoke(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
|
|
+.method public static invoke(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -371,9 +727,19 @@
|
|
")V"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 152
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invoke(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
|
|
+
|
|
+ .line 153
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native invokeBoolean(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Z
|
|
+.method public static invokeBoolean(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Z
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -386,9 +752,25 @@
|
|
")Z"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 156
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeBoolean(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Z
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 157
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invokeByte(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)B
|
|
+.method public static invokeByte(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)B
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -401,9 +783,25 @@
|
|
")B"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 161
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeByte(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)B
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 162
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invokeChar(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)C
|
|
+.method public static invokeChar(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)C
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -416,9 +814,25 @@
|
|
")C"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 166
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeChar(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)C
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 167
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invokeDouble(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)D
|
|
+.method public static invokeDouble(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)D
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -431,9 +845,25 @@
|
|
")D"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 171
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeDouble(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)D
|
|
+
|
|
+ move-result-wide p0
|
|
+
|
|
+ return-wide p0
|
|
+
|
|
+ .line 172
|
|
+ :cond_0
|
|
+ const-wide/16 p0, 0x0
|
|
+
|
|
+ return-wide p0
|
|
.end method
|
|
|
|
-.method public static native invokeFloat(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)F
|
|
+.method public static invokeFloat(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)F
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -446,9 +876,25 @@
|
|
")F"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 176
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeFloat(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)F
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 177
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invokeInt(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)I
|
|
+.method public static invokeInt(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)I
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -461,9 +907,25 @@
|
|
")I"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 181
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeInt(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)I
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 182
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native invokeLong(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)J
|
|
+.method public static invokeLong(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)J
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -476,9 +938,25 @@
|
|
")J"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 186
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeLong(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)J
|
|
+
|
|
+ move-result-wide p0
|
|
+
|
|
+ return-wide p0
|
|
+
|
|
+ .line 187
|
|
+ :cond_0
|
|
+ const-wide/16 p0, 0x0
|
|
+
|
|
+ return-wide p0
|
|
.end method
|
|
|
|
-.method public static native invokeObject(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+.method public static invokeObject(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -492,9 +970,25 @@
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 196
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeObject(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 197
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native invokeShort(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)S
|
|
+.method public static invokeShort(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)S
|
|
+ .locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -507,43 +1001,266 @@
|
|
")S"
|
|
}
|
|
.end annotation
|
|
+
|
|
+ .line 191
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Method;->invokeShort(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)S
|
|
+
|
|
+ move-result p0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 192
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native newInstance(Lmiui/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+.method public static newInstance(Lmiui/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ .locals 0
|
|
+
|
|
+ .line 147
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1}, Lmiui/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 148
|
|
+ :cond_0
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return-object p0
|
|
.end method
|
|
|
|
-.method public static native rm(Ljava/lang/String;I)Z
|
|
+.method public static rm(Ljava/lang/String;I)Z
|
|
+ .locals 0
|
|
+
|
|
+ .line 32
|
|
+ :try_start_0
|
|
+ new-instance p1, Ljava/io/File;
|
|
+
|
|
+ invoke-direct {p1, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
+
|
|
+ .line 33
|
|
+ invoke-virtual {p1}, Ljava/io/File;->delete()Z
|
|
+
|
|
+ move-result p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 34
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 35
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;B)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;B)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 254
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;B)V
|
|
+
|
|
+ .line 255
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;C)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;C)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 258
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;C)V
|
|
+
|
|
+ .line 259
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;D)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;D)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 262
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Field;->set(Ljava/lang/Object;D)V
|
|
+
|
|
+ .line 263
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;F)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;F)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 266
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;F)V
|
|
+
|
|
+ .line 267
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;I)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;I)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 270
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;I)V
|
|
+
|
|
+ .line 271
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;J)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;J)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 274
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2, p3}, Lmiui/reflect/Field;->set(Ljava/lang/Object;J)V
|
|
+
|
|
+ .line 275
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 246
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
+
|
|
+ .line 247
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;S)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;S)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 278
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;S)V
|
|
+
|
|
+ .line 279
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Z)V
|
|
+.method public static setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Z)V
|
|
+ .locals 0
|
|
+
|
|
+ .line 250
|
|
+ if-eqz p0, :cond_0
|
|
+
|
|
+ invoke-virtual {p0, p1, p2}, Lmiui/reflect/Field;->set(Ljava/lang/Object;Z)V
|
|
+
|
|
+ .line 251
|
|
+ :cond_0
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native setPropertyNative(Ljava/lang/String;Ljava/lang/String;)V
|
|
+.method public static setPropertyNative(Ljava/lang/String;Ljava/lang/String;)V
|
|
+ .locals 7
|
|
+
|
|
+ .line 89
|
|
+ :try_start_0
|
|
+ const-string v0, "android.os.SystemProperties"
|
|
+
|
|
+ invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 90
|
|
+ const-string v1, "set"
|
|
+
|
|
+ const/4 v2, 0x2
|
|
+
|
|
+ new-array v3, v2, [Ljava/lang/Class;
|
|
+
|
|
+ const-class v4, Ljava/lang/String;
|
|
+
|
|
+ const/4 v5, 0x0
|
|
+
|
|
+ aput-object v4, v3, v5
|
|
+
|
|
+ const-class v4, Ljava/lang/String;
|
|
+
|
|
+ const/4 v6, 0x1
|
|
+
|
|
+ aput-object v4, v3, v6
|
|
+
|
|
+ invoke-virtual {v0, v1, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 91
|
|
+ new-array v1, v2, [Ljava/lang/Object;
|
|
+
|
|
+ aput-object p0, v1, v5
|
|
+
|
|
+ aput-object p1, v1, v6
|
|
+
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ invoke-virtual {v0, p0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 92
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 93
|
|
+ return-void
|
|
.end method
|
|
|
|
-.method public static native umask(I)I
|
|
+.method public static umask(I)I
|
|
+ .locals 0
|
|
+
|
|
+ .line 41
|
|
+ :try_start_0
|
|
+ invoke-static {p0}, Landroid/system/Os;->umask(I)I
|
|
+
|
|
+ move-result p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p0
|
|
+
|
|
+ .line 42
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 43
|
|
+ const/4 p0, 0x0
|
|
+
|
|
+ return p0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/app/AlertDialog$Builder.smali b/smali_classes8/miui/app/AlertDialog$Builder.smali
|
|
index 56b8758b..4d421330 100644
|
|
--- a/smali_classes8/miui/app/AlertDialog$Builder.smali
|
|
+++ b/smali_classes8/miui/app/AlertDialog$Builder.smali
|
|
@@ -15,858 +15,699 @@
|
|
|
|
|
|
# instance fields
|
|
-.field private P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+.field private mCancelable:Z
|
|
|
|
-.field private mTheme:I
|
|
+.field private final mContext:Landroid/content/Context;
|
|
+
|
|
+.field private mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
+
|
|
+.field private mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
+
|
|
+.field private mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
+
|
|
+.field private mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
+
|
|
+.field private final mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
+
|
|
+.field private final mTheme:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
+ .line 97
|
|
const/4 v0, 0x0
|
|
|
|
- .line 1
|
|
- invoke-static {p1, v0}, Lmiui/app/AlertDialog;->resolveDialogTheme(Landroid/content/Context;I)I
|
|
-
|
|
- move-result v0
|
|
-
|
|
invoke-direct {p0, p1, v0}, Lmiui/app/AlertDialog$Builder;-><init>(Landroid/content/Context;I)V
|
|
|
|
+ .line 98
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;I)V
|
|
- .locals 3
|
|
+ .locals 1
|
|
|
|
- .line 2
|
|
+ .line 100
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
- .line 3
|
|
- new-instance v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 90
|
|
+ const/4 v0, 0x1
|
|
|
|
- new-instance v1, Landroid/view/ContextThemeWrapper;
|
|
+ iput-boolean v0, p0, Lmiui/app/AlertDialog$Builder;->mCancelable:Z
|
|
|
|
- invoke-static {p1, p2}, Lmiui/app/AlertDialog;->resolveDialogTheme(Landroid/content/Context;I)I
|
|
+ .line 101
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog$Builder;->mContext:Landroid/content/Context;
|
|
|
|
- move-result v2
|
|
+ .line 102
|
|
+ iput p2, p0, Lmiui/app/AlertDialog$Builder;->mTheme:I
|
|
|
|
- invoke-direct {v1, p1, v2}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
|
|
+ .line 103
|
|
+ new-instance p2, Landroid/app/AlertDialog$Builder;
|
|
|
|
- invoke-direct {v0, v1}, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;-><init>(Landroid/content/Context;)V
|
|
+ invoke-direct {p2, p1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
|
|
|
|
- iput-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ iput-object p2, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 104
|
|
+ return-void
|
|
+.end method
|
|
|
|
- const/4 v0, 0x4
|
|
|
|
- if-lt p2, v0, :cond_0
|
|
+# virtual methods
|
|
+.method public addActionItem(III)Lmiui/app/AlertDialog$Builder;
|
|
+ .locals 0
|
|
|
|
- const/4 v0, 0x7
|
|
+ .line 300
|
|
+ return-object p0
|
|
+.end method
|
|
|
|
- if-gt p2, v0, :cond_0
|
|
+.method public addActionItem(Ljava/lang/CharSequence;II)Lmiui/app/AlertDialog$Builder;
|
|
+ .locals 0
|
|
|
|
- const/4 v0, 0x1
|
|
+ .line 304
|
|
+ return-object p0
|
|
+.end method
|
|
|
|
- goto :goto_0
|
|
+.method public create()Lmiui/app/AlertDialog;
|
|
+ .locals 9
|
|
|
|
- :cond_0
|
|
- const/4 v0, 0x0
|
|
+ .line 308
|
|
+ new-instance v0, Lmiui/app/AlertDialog;
|
|
|
|
- :goto_0
|
|
- iput-boolean v0, p1, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mEditMode:Z
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mContext:Landroid/content/Context;
|
|
|
|
- .line 5
|
|
- iput p2, p0, Lmiui/app/AlertDialog$Builder;->mTheme:I
|
|
+ iget v2, p0, Lmiui/app/AlertDialog$Builder;->mTheme:I
|
|
|
|
- return-void
|
|
-.end method
|
|
+ invoke-direct {v0, v1, v2}, Lmiui/app/AlertDialog;-><init>(Landroid/content/Context;I)V
|
|
|
|
+ .line 310
|
|
+ const/4 v1, 0x1
|
|
|
|
-# virtual methods
|
|
-.method public addActionItem(III)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
+ :try_start_0
|
|
+ const-class v2, Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ const-string v3, "P"
|
|
|
|
- iget-object v0, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
+ invoke-virtual {v2, v3}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
- invoke-virtual {v0, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
+ move-result-object v2
|
|
|
|
- move-result-object p1
|
|
+ .line 311
|
|
+ invoke-virtual {v2, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
|
|
- invoke-virtual {p0, p1, p2, p3}, Lmiui/app/AlertDialog$Builder;->addActionItem(Ljava/lang/CharSequence;II)Lmiui/app/AlertDialog$Builder;
|
|
+ .line 312
|
|
+ iget-object v3, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- move-result-object p0
|
|
+ invoke-virtual {v2, v3}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- return-object p0
|
|
-.end method
|
|
+ move-result-object v2
|
|
|
|
-.method public addActionItem(Ljava/lang/CharSequence;II)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
+ .line 314
|
|
+ const-class v3, Landroid/app/AlertDialog;
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ const-string v4, "mAlert"
|
|
|
|
- iget-object v1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mActionItems:Ljava/util/ArrayList;
|
|
+ invoke-virtual {v3, v4}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
- if-nez v1, :cond_0
|
|
+ move-result-object v3
|
|
|
|
- .line 2
|
|
- new-instance v1, Ljava/util/ArrayList;
|
|
+ .line 315
|
|
+ invoke-virtual {v3, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
|
|
- invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
+ .line 316
|
|
+ invoke-virtual {v3, v0}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- iput-object v1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mActionItems:Ljava/util/ArrayList;
|
|
+ move-result-object v3
|
|
|
|
- .line 3
|
|
- :cond_0
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 318
|
|
+ invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
- iget-object v0, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mActionItems:Ljava/util/ArrayList;
|
|
+ move-result-object v4
|
|
|
|
- new-instance v1, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams$ActionItem;
|
|
+ const-string v5, "apply"
|
|
|
|
- invoke-direct {v1, p1, p2, p3}, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams$ActionItem;-><init>(Ljava/lang/CharSequence;II)V
|
|
+ new-array v6, v1, [Ljava/lang/Class;
|
|
|
|
- invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
+ invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
- return-object p0
|
|
-.end method
|
|
+ move-result-object v7
|
|
|
|
-.method public create()Lmiui/app/AlertDialog;
|
|
- .locals 3
|
|
+ const/4 v8, 0x0
|
|
|
|
- .line 1
|
|
- new-instance v0, Lmiui/app/AlertDialog;
|
|
+ aput-object v7, v6, v8
|
|
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ invoke-virtual {v4, v5, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
- iget-object v1, v1, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
+ move-result-object v4
|
|
|
|
- iget v2, p0, Lmiui/app/AlertDialog$Builder;->mTheme:I
|
|
+ .line 319
|
|
+ invoke-virtual {v4, v1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
|
|
|
- invoke-direct {v0, v1, v2}, Lmiui/app/AlertDialog;-><init>(Landroid/content/Context;I)V
|
|
+ .line 320
|
|
+ new-array v5, v1, [Ljava/lang/Object;
|
|
|
|
- .line 2
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ aput-object v3, v5, v8
|
|
|
|
- invoke-static {v0}, Lmiui/app/AlertDialog;->access$000(Lmiui/app/AlertDialog;)Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+ invoke-virtual {v4, v2, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- move-result-object v2
|
|
+ .line 323
|
|
+ goto :goto_0
|
|
|
|
- invoke-virtual {v1, v2}, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->apply(Lcom/android/internal/app/AlertController;)V
|
|
+ .line 321
|
|
+ :catchall_0
|
|
+ move-exception v2
|
|
|
|
- .line 3
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 324
|
|
+ :goto_0
|
|
+ iget-boolean v2, p0, Lmiui/app/AlertDialog$Builder;->mCancelable:Z
|
|
|
|
- iget-boolean v1, v1, Lcom/android/internal/app/AlertController$AlertParams;->mCancelable:Z
|
|
+ invoke-virtual {v0, v2}, Lmiui/app/AlertDialog;->setCancelable(Z)V
|
|
|
|
- invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCancelable(Z)V
|
|
+ .line 325
|
|
+ iget-boolean v2, p0, Lmiui/app/AlertDialog$Builder;->mCancelable:Z
|
|
|
|
- .line 4
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ if-eqz v2, :cond_0
|
|
|
|
- iget-boolean v1, v1, Lcom/android/internal/app/AlertController$AlertParams;->mCancelable:Z
|
|
+ .line 326
|
|
+ invoke-virtual {v0, v1}, Lmiui/app/AlertDialog;->setCanceledOnTouchOutside(Z)V
|
|
|
|
- if-eqz v1, :cond_0
|
|
+ .line 328
|
|
+ :cond_0
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
|
|
- const/4 v1, 0x1
|
|
+ if-eqz v1, :cond_1
|
|
|
|
- .line 5
|
|
- invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V
|
|
+ .line 329
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
|
|
- .line 6
|
|
- :cond_0
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ invoke-virtual {v0, v1}, Lmiui/app/AlertDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
|
|
|
|
- iget-object v1, v1, Lcom/android/internal/app/AlertController$AlertParams;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
+ .line 331
|
|
+ :cond_1
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
|
|
- invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V
|
|
+ if-eqz v1, :cond_2
|
|
|
|
- .line 7
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 332
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
|
|
- iget-object v1, v1, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
+ invoke-virtual {v0, v1}, Lmiui/app/AlertDialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
|
|
|
|
- invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V
|
|
+ .line 334
|
|
+ :cond_2
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
|
|
- .line 8
|
|
- iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ if-eqz v1, :cond_3
|
|
|
|
- iget-object v1, v1, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
+ .line 335
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
|
|
- invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V
|
|
+ invoke-virtual {v0, v1}, Lmiui/app/AlertDialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V
|
|
|
|
- .line 9
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 337
|
|
+ :cond_3
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
|
|
- iget-object p0, p0, Lcom/android/internal/app/AlertController$AlertParams;->mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
+ if-eqz v1, :cond_4
|
|
|
|
- if-eqz p0, :cond_1
|
|
+ .line 338
|
|
+ iget-object v1, p0, Lmiui/app/AlertDialog$Builder;->mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
|
|
- .line 10
|
|
- invoke-virtual {v0, p0}, Landroid/app/Dialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V
|
|
+ invoke-virtual {v0, v1}, Lmiui/app/AlertDialog;->setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)V
|
|
|
|
- :cond_1
|
|
+ .line 340
|
|
+ :cond_4
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getContext()Landroid/content/Context;
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 107
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iget-object p0, p0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
+ invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->getContext()Landroid/content/Context;
|
|
|
|
- return-object p0
|
|
+ move-result-object v0
|
|
+
|
|
+ return-object v0
|
|
.end method
|
|
|
|
.method public setAdapter(Landroid/widget/ListAdapter;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 215
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mAdapter:Landroid/widget/ListAdapter;
|
|
-
|
|
- .line 2
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setAdapter(Landroid/widget/ListAdapter;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 216
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCancelable(Z)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 181
|
|
+ iput-boolean p1, p0, Lmiui/app/AlertDialog$Builder;->mCancelable:Z
|
|
+
|
|
+ .line 182
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCancelable:Z
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 183
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCheckBox(ZLjava/lang/CharSequence;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-boolean p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mIsChecked:Z
|
|
-
|
|
- .line 2
|
|
- iput-object p2, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mCheckBoxMessage:Ljava/lang/CharSequence;
|
|
+ .locals 0
|
|
|
|
+ .line 275
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCursor(Landroid/database/Cursor;Landroid/content/DialogInterface$OnClickListener;Ljava/lang/String;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCursor:Landroid/database/Cursor;
|
|
-
|
|
- .line 2
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mLabelColumn:Ljava/lang/String;
|
|
+ .line 220
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 3
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setCursor(Landroid/database/Cursor;Landroid/content/DialogInterface$OnClickListener;Ljava/lang/String;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 221
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setCustomTitle(Landroid/view/View;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 121
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCustomTitleView:Landroid/view/View;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setCustomTitle(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 122
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setHapticFeedbackEnabled(Z)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-boolean p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mHapticFeedbackEnabled:Z
|
|
+ .locals 0
|
|
|
|
+ .line 279
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIcon(I)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 136
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIconId:I
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 137
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIcon(Landroid/graphics/drawable/Drawable;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 2
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 141
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIcon:Landroid/graphics/drawable/Drawable;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 142
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setIconAttribute(I)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-static {v1, p1}, Lmiui/util/AttributeResolver;->resolve(Landroid/content/Context;I)I
|
|
+ .locals 1
|
|
|
|
- move-result p1
|
|
+ .line 146
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIconId:I
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setIconAttribute(I)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 147
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setItems(ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 205
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setItems(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 206
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setItems([Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 3
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
+ .line 210
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setItems([Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 211
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMessage(I)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- move-result-object p1
|
|
+ .line 126
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mMessage:Ljava/lang/CharSequence;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 127
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMessage(Ljava/lang/CharSequence;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 2
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 131
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mMessage:Ljava/lang/CharSequence;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 132
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMultiChoiceAdapter(Landroid/widget/ListAdapter;Landroid/content/DialogInterface$OnMultiChoiceClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mAdapter:Landroid/widget/ListAdapter;
|
|
-
|
|
- const/4 p1, 0x1
|
|
-
|
|
- .line 2
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsMultiChoice:Z
|
|
-
|
|
- .line 3
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnCheckboxClickListener:Landroid/content/DialogInterface$OnMultiChoiceClickListener;
|
|
+ .locals 0
|
|
|
|
+ .line 287
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMultiChoiceItems(I[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
-
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p3, p1, Lcom/android/internal/app/AlertController$AlertParams;->mOnCheckboxClickListener:Landroid/content/DialogInterface$OnMultiChoiceClickListener;
|
|
-
|
|
- .line 3
|
|
- iput-object p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItems:[Z
|
|
+ .locals 1
|
|
|
|
- const/4 p2, 0x1
|
|
+ .line 225
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iput-boolean p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mIsMultiChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setMultiChoiceItems(I[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 226
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMultiChoiceItems(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnMultiChoiceClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 9
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCursor:Landroid/database/Cursor;
|
|
-
|
|
- .line 10
|
|
- iput-object p4, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnCheckboxClickListener:Landroid/content/DialogInterface$OnMultiChoiceClickListener;
|
|
-
|
|
- .line 11
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsCheckedColumn:Ljava/lang/String;
|
|
+ .line 235
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 12
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mLabelColumn:Ljava/lang/String;
|
|
-
|
|
- const/4 p1, 0x1
|
|
-
|
|
- .line 13
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsMultiChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3, p4}, Landroid/app/AlertDialog$Builder;->setMultiChoiceItems(Landroid/database/Cursor;Ljava/lang/String;Ljava/lang/String;Landroid/content/DialogInterface$OnMultiChoiceClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 236
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setMultiChoiceItems([Ljava/lang/CharSequence;[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 5
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
-
|
|
- .line 6
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnCheckboxClickListener:Landroid/content/DialogInterface$OnMultiChoiceClickListener;
|
|
-
|
|
- .line 7
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItems:[Z
|
|
-
|
|
- const/4 p1, 0x1
|
|
+ .line 230
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 8
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsMultiChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setMultiChoiceItems([Ljava/lang/CharSequence;[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 231
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNegativeButtonText:Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 161
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mNegativeButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 162
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 3
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 166
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNegativeButtonText:Ljava/lang/CharSequence;
|
|
-
|
|
- .line 4
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNegativeButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 167
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNeutralButtonText:Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 171
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mNeutralButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 172
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setNeutralButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 3
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNeutralButtonText:Ljava/lang/CharSequence;
|
|
+ .line 176
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mNeutralButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 177
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnActionItemClickListener(Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mOnActionItemClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ .locals 0
|
|
|
|
+ .line 291
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 187
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog$Builder;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnCancelListener:Landroid/content/DialogInterface$OnCancelListener;
|
|
+ .line 188
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/AlertDialog$Builder;
|
|
+
|
|
+ .line 189
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 193
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog$Builder;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
+
|
|
+ .line 194
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mOnDismissListener:Landroid/content/DialogInterface$OnDismissListener;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 195
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnItemSelectedListener(Landroid/widget/AdapterView$OnItemSelectedListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 260
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnItemSelectedListener:Landroid/widget/AdapterView$OnItemSelectedListener;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setOnItemSelectedListener(Landroid/widget/AdapterView$OnItemSelectedListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 261
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 199
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog$Builder;->mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
+
|
|
+ .line 200
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnKeyListener:Landroid/content/DialogInterface$OnKeyListener;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 201
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setOnShowListener(Landroid/content/DialogInterface$OnShowListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .locals 0
|
|
|
|
- iput-object p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
+ .line 295
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog$Builder;->mOnShowListener:Landroid/content/DialogInterface$OnShowListener;
|
|
|
|
+ .line 296
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mPositiveButtonText:Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 151
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mPositiveButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 152
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 3
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 156
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mPositiveButtonText:Ljava/lang/CharSequence;
|
|
-
|
|
- .line 4
|
|
- iput-object p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mPositiveButtonListener:Landroid/content/DialogInterface$OnClickListener;
|
|
+ invoke-virtual {v0, p1, p2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 157
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSingleChoiceItems(IILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/res/Resources;->getTextArray(I)[Ljava/lang/CharSequence;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
-
|
|
- .line 2
|
|
- iget-object p1, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p3, p1, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
-
|
|
- .line 3
|
|
- iput p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItem:I
|
|
+ .locals 1
|
|
|
|
- const/4 p2, 0x1
|
|
+ .line 240
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 4
|
|
- iput-boolean p2, p1, Lcom/android/internal/app/AlertController$AlertParams;->mIsSingleChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setSingleChoiceItems(IILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 241
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSingleChoiceItems(Landroid/database/Cursor;ILjava/lang/String;Landroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 5
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 245
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCursor:Landroid/database/Cursor;
|
|
-
|
|
- .line 6
|
|
- iput-object p4, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
-
|
|
- .line 7
|
|
- iput p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItem:I
|
|
-
|
|
- .line 8
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mLabelColumn:Ljava/lang/String;
|
|
-
|
|
- const/4 p1, 0x1
|
|
-
|
|
- .line 9
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsSingleChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3, p4}, Landroid/app/AlertDialog$Builder;->setSingleChoiceItems(Landroid/database/Cursor;ILjava/lang/String;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 246
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSingleChoiceItems(Landroid/widget/ListAdapter;ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 14
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mAdapter:Landroid/widget/ListAdapter;
|
|
+ .line 255
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- .line 15
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
-
|
|
- .line 16
|
|
- iput p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItem:I
|
|
-
|
|
- const/4 p1, 0x1
|
|
-
|
|
- .line 17
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsSingleChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setSingleChoiceItems(Landroid/widget/ListAdapter;ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 256
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setSingleChoiceItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 10
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mItems:[Ljava/lang/CharSequence;
|
|
-
|
|
- .line 11
|
|
- iput-object p3, v0, Lcom/android/internal/app/AlertController$AlertParams;->mOnClickListener:Landroid/content/DialogInterface$OnClickListener;
|
|
-
|
|
- .line 12
|
|
- iput p2, v0, Lcom/android/internal/app/AlertController$AlertParams;->mCheckedItem:I
|
|
+ .line 250
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- const/4 p1, 0x1
|
|
-
|
|
- .line 13
|
|
- iput-boolean p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mIsSingleChoice:Z
|
|
+ invoke-virtual {v0, p1, p2, p3}, Landroid/app/AlertDialog$Builder;->setSingleChoiceItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 251
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setTitle(I)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mContext:Landroid/content/Context;
|
|
-
|
|
- invoke-virtual {v1, p1}, Landroid/content/Context;->getText(I)Ljava/lang/CharSequence;
|
|
+ .locals 1
|
|
|
|
- move-result-object p1
|
|
+ .line 111
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mTitle:Ljava/lang/CharSequence;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 112
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setTitle(Ljava/lang/CharSequence;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 2
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 116
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mTitle:Ljava/lang/CharSequence;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 117
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setUserGravity(I)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iput p1, v0, Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;->mUserSetGravity:I
|
|
+ .locals 0
|
|
|
|
+ .line 283
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setView(I)Lmiui/app/AlertDialog$Builder;
|
|
- .locals 3
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
-
|
|
- iget-object v1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mInflater:Landroid/view/LayoutInflater;
|
|
-
|
|
- const/4 v2, 0x0
|
|
-
|
|
- invoke-virtual {v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
+ .locals 1
|
|
|
|
- move-result-object p1
|
|
+ .line 265
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mView:Landroid/view/View;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setView(I)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 266
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setView(Landroid/view/View;)Lmiui/app/AlertDialog$Builder;
|
|
.locals 1
|
|
|
|
- .line 2
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->P:Lcom/miui/internal/variable/AlertControllerWrapper$AlertParams;
|
|
+ .line 270
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog$Builder;->mSysBuilder:Landroid/app/AlertDialog$Builder;
|
|
|
|
- iput-object p1, v0, Lcom/android/internal/app/AlertController$AlertParams;->mView:Landroid/view/View;
|
|
+ invoke-virtual {v0, p1}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;
|
|
|
|
+ .line 271
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public show()Lmiui/app/AlertDialog;
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
+ .line 344
|
|
invoke-virtual {p0}, Lmiui/app/AlertDialog$Builder;->create()Lmiui/app/AlertDialog;
|
|
|
|
- move-result-object p0
|
|
+ move-result-object v0
|
|
|
|
- .line 2
|
|
- invoke-virtual {p0}, Landroid/app/Dialog;->show()V
|
|
+ .line 345
|
|
+ invoke-virtual {v0}, Lmiui/app/AlertDialog;->show()V
|
|
|
|
- return-object p0
|
|
+ .line 346
|
|
+ return-object v0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/app/AlertDialog.smali b/smali_classes8/miui/app/AlertDialog.smali
|
|
index fb3493d6..58fcca7c 100644
|
|
--- a/smali_classes8/miui/app/AlertDialog.smali
|
|
+++ b/smali_classes8/miui/app/AlertDialog.smali
|
|
@@ -1,10 +1,7 @@
|
|
.class public Lmiui/app/AlertDialog;
|
|
-.super Landroid/app/Dialog;
|
|
+.super Landroid/app/AlertDialog;
|
|
.source "AlertDialog.java"
|
|
|
|
-# interfaces
|
|
-.implements Landroid/content/DialogInterface;
|
|
-
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
@@ -35,158 +32,83 @@
|
|
|
|
|
|
# instance fields
|
|
-.field private mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+.field private mCheckedItems:[Z
|
|
+
|
|
+.field private mIsChecked:Z
|
|
|
|
|
|
# direct methods
|
|
.method protected constructor <init>(Landroid/content/Context;)V
|
|
- .locals 1
|
|
+ .locals 0
|
|
|
|
- const/4 v0, 0x0
|
|
+ .line 33
|
|
+ invoke-direct {p0, p1}, Landroid/app/AlertDialog;-><init>(Landroid/content/Context;)V
|
|
+
|
|
+ .line 29
|
|
+ const/4 p1, 0x0
|
|
|
|
- .line 1
|
|
- invoke-static {p1, v0}, Lmiui/app/AlertDialog;->resolveDialogTheme(Landroid/content/Context;I)I
|
|
+ iput-boolean p1, p0, Lmiui/app/AlertDialog;->mIsChecked:Z
|
|
|
|
- move-result v0
|
|
+ .line 30
|
|
+ const/4 p1, 0x0
|
|
|
|
- invoke-direct {p0, p1, v0}, Lmiui/app/AlertDialog;-><init>(Landroid/content/Context;I)V
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog;->mCheckedItems:[Z
|
|
|
|
+ .line 34
|
|
return-void
|
|
.end method
|
|
|
|
.method protected constructor <init>(Landroid/content/Context;I)V
|
|
- .locals 1
|
|
+ .locals 0
|
|
|
|
- .line 2
|
|
+ .line 37
|
|
invoke-static {p1, p2}, Lmiui/app/AlertDialog;->resolveDialogTheme(Landroid/content/Context;I)I
|
|
|
|
move-result p2
|
|
|
|
- invoke-direct {p0, p1, p2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V
|
|
-
|
|
- .line 3
|
|
- new-instance p2, Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+ invoke-direct {p0, p1, p2}, Landroid/app/AlertDialog;-><init>(Landroid/content/Context;I)V
|
|
|
|
- invoke-virtual {p0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
|
+ .line 29
|
|
+ const/4 p1, 0x0
|
|
|
|
- move-result-object v0
|
|
+ iput-boolean p1, p0, Lmiui/app/AlertDialog;->mIsChecked:Z
|
|
|
|
- invoke-direct {p2, p1, p0, v0}, Lcom/miui/internal/variable/AlertControllerWrapper;-><init>(Landroid/content/Context;Landroid/content/DialogInterface;Landroid/view/Window;)V
|
|
+ .line 30
|
|
+ const/4 p1, 0x0
|
|
|
|
- iput-object p2, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog;->mCheckedItems:[Z
|
|
|
|
+ .line 38
|
|
return-void
|
|
.end method
|
|
|
|
-.method static synthetic access$000(Lmiui/app/AlertDialog;)Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+.method protected constructor <init>(Landroid/content/Context;ZLandroid/content/DialogInterface$OnCancelListener;)V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- return-object p0
|
|
-.end method
|
|
-
|
|
-.method static resolveDialogTheme(Landroid/content/Context;I)I
|
|
- .locals 2
|
|
-
|
|
- packed-switch p1, :pswitch_data_0
|
|
-
|
|
- const/high16 v0, 0x1000000
|
|
-
|
|
- if-lt p1, v0, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 1
|
|
- :pswitch_0
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_DayNight_Dialog_Edit_Default:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 2
|
|
- :pswitch_1
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_DayNight_Dialog_Edit:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 3
|
|
- :pswitch_2
|
|
- sget p1, Lmiui/R$style;->Theme_DayNight_Dialog_Alert:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 4
|
|
- :pswitch_3
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_Light_Dialog_Edit_Default:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 5
|
|
- :pswitch_4
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_Dark_Dialog_Edit_Default:I
|
|
+ .line 41
|
|
+ invoke-direct {p0, p1, p2, p3}, Landroid/app/AlertDialog;-><init>(Landroid/content/Context;ZLandroid/content/DialogInterface$OnCancelListener;)V
|
|
|
|
- goto :goto_0
|
|
+ .line 29
|
|
+ const/4 p1, 0x0
|
|
|
|
- .line 6
|
|
- :pswitch_5
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_Light_Dialog_Edit:I
|
|
+ iput-boolean p1, p0, Lmiui/app/AlertDialog;->mIsChecked:Z
|
|
|
|
- goto :goto_0
|
|
+ .line 30
|
|
+ const/4 p1, 0x0
|
|
|
|
- .line 7
|
|
- :pswitch_6
|
|
- sget p1, Lcom/miui/internal/R$style;->Theme_Dark_Dialog_Edit:I
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog;->mCheckedItems:[Z
|
|
|
|
- goto :goto_0
|
|
-
|
|
- .line 8
|
|
- :pswitch_7
|
|
- sget p1, Lmiui/R$style;->Theme_Light_Dialog_Alert:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 9
|
|
- :pswitch_8
|
|
- sget p1, Lmiui/R$style;->Theme_Dark_Dialog_Alert:I
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 10
|
|
- :cond_0
|
|
- new-instance p1, Landroid/util/TypedValue;
|
|
-
|
|
- invoke-direct {p1}, Landroid/util/TypedValue;-><init>()V
|
|
-
|
|
- .line 11
|
|
- invoke-virtual {p0}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- const v0, 0x1010309
|
|
-
|
|
- const/4 v1, 0x1
|
|
-
|
|
- invoke-virtual {p0, v0, p1, v1}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z
|
|
+ .line 42
|
|
+ return-void
|
|
+.end method
|
|
|
|
- .line 12
|
|
- iget p1, p1, Landroid/util/TypedValue;->resourceId:I
|
|
+.method public static resolveDialogTheme(Landroid/content/Context;I)I
|
|
+ .locals 0
|
|
|
|
- :goto_0
|
|
- return p1
|
|
+ .line 45
|
|
+ const/4 p0, 0x0
|
|
|
|
- :pswitch_data_0
|
|
- .packed-switch 0x2
|
|
- :pswitch_8
|
|
- :pswitch_7
|
|
- :pswitch_6
|
|
- :pswitch_5
|
|
- :pswitch_4
|
|
- :pswitch_3
|
|
- :pswitch_2
|
|
- :pswitch_1
|
|
- :pswitch_0
|
|
- .end packed-switch
|
|
+ return p0
|
|
.end method
|
|
|
|
|
|
@@ -194,364 +116,97 @@
|
|
.method public getButton(I)Landroid/widget/Button;
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->getButton(I)Landroid/widget/Button;
|
|
+ .line 49
|
|
+ invoke-super {p0, p1}, Landroid/app/AlertDialog;->getButton(I)Landroid/widget/Button;
|
|
|
|
- move-result-object p0
|
|
+ move-result-object p1
|
|
|
|
- return-object p0
|
|
+ return-object p1
|
|
.end method
|
|
|
|
.method public getCheckedItems()[Z
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->getCheckedItems()[Z
|
|
+ .locals 1
|
|
|
|
- move-result-object p0
|
|
+ .line 57
|
|
+ iget-object v0, p0, Lmiui/app/AlertDialog;->mCheckedItems:[Z
|
|
|
|
- return-object p0
|
|
+ return-object v0
|
|
.end method
|
|
|
|
.method public getListView()Landroid/widget/ListView;
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->getListView()Landroid/widget/ListView;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- return-object p0
|
|
-.end method
|
|
-
|
|
-.method public getMessageView()Landroid/widget/TextView;
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->getMessageView()Landroid/widget/TextView;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- return-object p0
|
|
-.end method
|
|
-
|
|
-.method public getMiuiActionBar()Lmiui/app/ActionBar;
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->getImpl()Lcom/miui/internal/app/AlertControllerImpl;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/app/AlertControllerImpl;->getActionBar()Lmiui/app/ActionBar;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- return-object p0
|
|
-.end method
|
|
-
|
|
-.method public isChecked()Z
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->isChecked()Z
|
|
-
|
|
- move-result p0
|
|
-
|
|
- return p0
|
|
-.end method
|
|
-
|
|
-.method public onAttachedToWindow()V
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-super {p0}, Landroid/app/Dialog;->onAttachedToWindow()V
|
|
-
|
|
- .line 2
|
|
- invoke-virtual {p0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
|
-
|
|
- move-result-object v0
|
|
-
|
|
- invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;
|
|
-
|
|
- move-result-object v0
|
|
-
|
|
- if-eqz v0, :cond_0
|
|
-
|
|
- .line 3
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- iget-boolean p0, p0, Lcom/miui/internal/variable/AlertControllerWrapper;->mHapticFeedbackEnabled:Z
|
|
-
|
|
- if-eqz p0, :cond_0
|
|
-
|
|
- const p0, 0x10000008
|
|
-
|
|
- invoke-static {p0}, Lmiui/util/HapticFeedbackUtil;->isSupportLinearMotorVibrate(I)Z
|
|
-
|
|
- move-result v1
|
|
-
|
|
- if-eqz v1, :cond_0
|
|
-
|
|
- .line 4
|
|
- invoke-virtual {v0, p0}, Landroid/view/View;->performHapticFeedback(I)Z
|
|
-
|
|
- :cond_0
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method protected onCreate(Landroid/os/Bundle;)V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V
|
|
-
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->installContent()V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public onKeyDown(ILandroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {v0, p1, p2}, Lcom/miui/internal/variable/AlertControllerWrapper;->onKeyDown(ILandroid/view/KeyEvent;)Z
|
|
-
|
|
- move-result v0
|
|
-
|
|
- if-nez v0, :cond_1
|
|
-
|
|
- invoke-super {p0, p1, p2}, Landroid/app/Dialog;->onKeyDown(ILandroid/view/KeyEvent;)Z
|
|
-
|
|
- move-result p0
|
|
-
|
|
- if-eqz p0, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
+ .line 53
|
|
+ invoke-super {p0}, Landroid/app/AlertDialog;->getListView()Landroid/widget/ListView;
|
|
|
|
- :cond_0
|
|
- const/4 p0, 0x0
|
|
-
|
|
- goto :goto_1
|
|
-
|
|
- :cond_1
|
|
- :goto_0
|
|
- const/4 p0, 0x1
|
|
+ move-result-object v0
|
|
|
|
- :goto_1
|
|
- return p0
|
|
+ return-object v0
|
|
.end method
|
|
|
|
-.method public onKeyUp(ILandroid/view/KeyEvent;)Z
|
|
+.method public getMessageView()Landroid/widget/TextView;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {v0, p1, p2}, Lcom/miui/internal/variable/AlertControllerWrapper;->onKeyUp(ILandroid/view/KeyEvent;)Z
|
|
+ .line 61
|
|
+ const v0, 0x102000b
|
|
|
|
- move-result v0
|
|
+ invoke-virtual {p0, v0}, Lmiui/app/AlertDialog;->findViewById(I)Landroid/view/View;
|
|
|
|
- if-nez v0, :cond_1
|
|
-
|
|
- invoke-super {p0, p1, p2}, Landroid/app/Dialog;->onKeyUp(ILandroid/view/KeyEvent;)Z
|
|
-
|
|
- move-result p0
|
|
-
|
|
- if-eqz p0, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- :cond_0
|
|
- const/4 p0, 0x0
|
|
-
|
|
- goto :goto_1
|
|
-
|
|
- :cond_1
|
|
- :goto_0
|
|
- const/4 p0, 0x1
|
|
-
|
|
- :goto_1
|
|
- return p0
|
|
-.end method
|
|
-
|
|
-.method protected onStart()V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- invoke-super {p0}, Landroid/app/Dialog;->onStart()V
|
|
-
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->onStart()V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method protected onStop()V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- invoke-super {p0}, Landroid/app/Dialog;->onStop()V
|
|
-
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
+ move-result-object v0
|
|
|
|
- invoke-virtual {p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->onStop()V
|
|
+ check-cast v0, Landroid/widget/TextView;
|
|
|
|
- return-void
|
|
+ return-object v0
|
|
.end method
|
|
|
|
-.method public setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V
|
|
+.method public getMiuiActionBar()Lmiui/app/ActionBar;
|
|
.locals 1
|
|
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
+ .line 65
|
|
const/4 v0, 0x0
|
|
|
|
- invoke-virtual {p0, p1, p2, p3, v0}, Lcom/miui/internal/variable/AlertControllerWrapper;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;Landroid/os/Message;)V
|
|
-
|
|
- return-void
|
|
+ return-object v0
|
|
.end method
|
|
|
|
-.method public setButton(ILjava/lang/CharSequence;Landroid/os/Message;)V
|
|
+.method public isChecked()Z
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- const/4 v0, 0x0
|
|
-
|
|
- invoke-virtual {p0, p1, p2, v0, p3}, Lcom/miui/internal/variable/AlertControllerWrapper;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;Landroid/os/Message;)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public setCustomTitle(Landroid/view/View;)V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setCustomTitle(Landroid/view/View;)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public setHapticFeedbackEnabled(Z)V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- iput-boolean p1, p0, Lcom/miui/internal/variable/AlertControllerWrapper;->mHapticFeedbackEnabled:Z
|
|
+ .line 69
|
|
+ iget-boolean v0, p0, Lmiui/app/AlertDialog;->mIsChecked:Z
|
|
|
|
- return-void
|
|
+ return v0
|
|
.end method
|
|
|
|
-.method public setIcon(I)V
|
|
+.method public setChecked(Z)V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setIcon(I)V
|
|
+ .line 73
|
|
+ iput-boolean p1, p0, Lmiui/app/AlertDialog;->mIsChecked:Z
|
|
|
|
+ .line 74
|
|
return-void
|
|
.end method
|
|
|
|
-.method public setIcon(Landroid/graphics/drawable/Drawable;)V
|
|
+.method public setCheckedItems([Z)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setIcon(Landroid/graphics/drawable/Drawable;)V
|
|
+ .line 77
|
|
+ iput-object p1, p0, Lmiui/app/AlertDialog;->mCheckedItems:[Z
|
|
|
|
+ .line 78
|
|
return-void
|
|
.end method
|
|
|
|
-.method public setIconAttribute(I)V
|
|
- .locals 1
|
|
-
|
|
- .line 1
|
|
- iget-object v0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0}, Landroid/app/Dialog;->getContext()Landroid/content/Context;
|
|
-
|
|
- move-result-object p0
|
|
-
|
|
- invoke-static {p0, p1}, Lmiui/util/AttributeResolver;->resolve(Landroid/content/Context;I)I
|
|
-
|
|
- move-result p0
|
|
-
|
|
- invoke-virtual {v0, p0}, Lcom/miui/internal/variable/AlertControllerWrapper;->setIcon(I)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public setMessage(Ljava/lang/CharSequence;)V
|
|
+.method public setHapticFeedbackEnabled(Z)V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setMessage(Ljava/lang/CharSequence;)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public setTitle(Ljava/lang/CharSequence;)V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- invoke-super {p0, p1}, Landroid/app/Dialog;->setTitle(Ljava/lang/CharSequence;)V
|
|
-
|
|
- .line 2
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setTitle(Ljava/lang/CharSequence;)V
|
|
-
|
|
+ .line 81
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUserGravity(I)V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setUserGravity(I)V
|
|
-
|
|
- return-void
|
|
-.end method
|
|
-
|
|
-.method public setView(Landroid/view/View;)V
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- iget-object p0, p0, Lmiui/app/AlertDialog;->mAlert:Lcom/miui/internal/variable/AlertControllerWrapper;
|
|
-
|
|
- invoke-virtual {p0, p1}, Lcom/miui/internal/variable/AlertControllerWrapper;->setView(Landroid/view/View;)V
|
|
-
|
|
+ .line 84
|
|
return-void
|
|
.end method
|
|
diff --git a/smali_classes8/miui/external/Application.smali b/smali_classes8/miui/external/Application.smali
|
|
index 5e2ebe52..d1b0fece 100644
|
|
--- a/smali_classes8/miui/external/Application.smali
|
|
+++ b/smali_classes8/miui/external/Application.smali
|
|
@@ -25,26 +25,6 @@
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/app/Application;-><init>()V
|
|
|
|
- .line 2
|
|
- invoke-direct {p0}, Lmiui/external/Application;->loadSdk()Z
|
|
-
|
|
- move-result v0
|
|
-
|
|
- if-nez v0, :cond_0
|
|
-
|
|
- return-void
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- invoke-direct {p0}, Lmiui/external/Application;->initializeSdk()Z
|
|
-
|
|
- move-result v0
|
|
-
|
|
- if-nez v0, :cond_1
|
|
-
|
|
- return-void
|
|
-
|
|
- :cond_1
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
@@ -373,30 +353,12 @@
|
|
|
|
# virtual methods
|
|
.method protected attachBaseContext(Landroid/content/Context;)V
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/app/Application;->attachBaseContext(Landroid/content/Context;)V
|
|
|
|
- .line 2
|
|
- iget-boolean p1, p0, Lmiui/external/Application;->mInitialized:Z
|
|
-
|
|
- if-nez p1, :cond_0
|
|
-
|
|
- return-void
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- invoke-direct {p0}, Lmiui/external/Application;->startSdk()Z
|
|
-
|
|
- move-result p1
|
|
-
|
|
- if-nez p1, :cond_1
|
|
-
|
|
- return-void
|
|
-
|
|
.line 4
|
|
- :cond_1
|
|
invoke-virtual {p0}, Lmiui/external/Application;->onCreateApplicationDelegate()Lmiui/external/ApplicationDelegate;
|
|
|
|
move-result-object p1
|
|
@@ -453,15 +415,7 @@
|
|
.method public final onCreate()V
|
|
.locals 1
|
|
|
|
- .line 1
|
|
- iget-boolean v0, p0, Lmiui/external/Application;->mStarted:Z
|
|
-
|
|
- if-nez v0, :cond_0
|
|
-
|
|
- return-void
|
|
-
|
|
.line 2
|
|
- :cond_0
|
|
iget-object v0, p0, Lmiui/external/Application;->mApplicationDelegate:Lmiui/external/ApplicationDelegate;
|
|
|
|
if-eqz v0, :cond_1
|
|
diff --git a/smali_classes8/miui/os/Environment.smali b/smali_classes8/miui/os/Environment.smali
|
|
index f55cf2b6..1a1bf4b6 100644
|
|
--- a/smali_classes8/miui/os/Environment.smali
|
|
+++ b/smali_classes8/miui/os/Environment.smali
|
|
@@ -25,7 +25,7 @@
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
- .line 1
|
|
+ .line 30
|
|
invoke-static {}, Lcom/miui/internal/variable/Android_Os_Process_class$Factory;->getInstance()Lcom/miui/internal/variable/Android_Os_Process_class$Factory;
|
|
|
|
move-result-object v0
|
|
@@ -36,12 +36,12 @@
|
|
|
|
sput-object v0, Lmiui/os/Environment;->ProcessClass:Lcom/miui/internal/variable/Android_Os_Process_class;
|
|
|
|
+ .line 34
|
|
const/4 v0, 0x0
|
|
|
|
- .line 2
|
|
sput-object v0, Lmiui/os/Environment;->EXTERNAL_STORAGE_MIUI_DIRECTORY:Ljava/io/File;
|
|
|
|
- .line 3
|
|
+ .line 36
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
const-string v1, "/data/miui/"
|
|
@@ -50,7 +50,7 @@
|
|
|
|
sput-object v0, Lmiui/os/Environment;->MIUI_DATA_DIRECTORY:Ljava/io/File;
|
|
|
|
- .line 4
|
|
+ .line 38
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
invoke-static {}, Lmiui/os/Environment;->getMiuiDataDirectory()Ljava/io/File;
|
|
@@ -63,7 +63,7 @@
|
|
|
|
sput-object v0, Lmiui/os/Environment;->MIUI_APP_DIRECTORY:Ljava/io/File;
|
|
|
|
- .line 5
|
|
+ .line 40
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
invoke-static {}, Lmiui/os/Environment;->getMiuiDataDirectory()Ljava/io/File;
|
|
@@ -76,7 +76,7 @@
|
|
|
|
sput-object v0, Lmiui/os/Environment;->MIUI_PRESET_APP_DIRECTORY:Ljava/io/File;
|
|
|
|
- .line 6
|
|
+ .line 42
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
invoke-static {}, Lmiui/os/Environment;->getMiuiDataDirectory()Ljava/io/File;
|
|
@@ -89,95 +89,104 @@
|
|
|
|
sput-object v0, Lmiui/os/Environment;->MIUI_CUSTOMIZED_DIRECTORY:Ljava/io/File;
|
|
|
|
+ .line 89
|
|
const/4 v0, 0x0
|
|
|
|
- .line 7
|
|
sput v0, Lmiui/os/Environment;->sCpuCount:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected constructor <init>()V
|
|
- .locals 1
|
|
+ .locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InstantiationException;
|
|
}
|
|
.end annotation
|
|
|
|
- .line 1
|
|
+ .line 25
|
|
invoke-direct {p0}, Landroid/os/Environment;-><init>()V
|
|
|
|
- .line 2
|
|
- new-instance p0, Ljava/lang/InstantiationException;
|
|
+ .line 26
|
|
+ new-instance v0, Ljava/lang/InstantiationException;
|
|
|
|
- const-string v0, "Cannot instantiate utility class"
|
|
+ const-string v1, "Cannot instantiate utility class"
|
|
|
|
- invoke-direct {p0, v0}, Ljava/lang/InstantiationException;-><init>(Ljava/lang/String;)V
|
|
+ invoke-direct {v0, v1}, Ljava/lang/InstantiationException;-><init>(Ljava/lang/String;)V
|
|
|
|
- throw p0
|
|
+ throw v0
|
|
.end method
|
|
|
|
.method public static getCpuCount()I
|
|
- .locals 6
|
|
+ .locals 7
|
|
|
|
- .line 1
|
|
+ .line 93
|
|
sget v0, Lmiui/os/Environment;->sCpuCount:I
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
+ .line 94
|
|
const-string v0, "cpu[0-9]*"
|
|
|
|
- .line 2
|
|
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
- .line 3
|
|
- new-instance v1, Ljava/io/File;
|
|
+ .line 95
|
|
+ .local v0, "pattern":Ljava/util/regex/Pattern;
|
|
+ const/4 v1, 0x0
|
|
|
|
- const-string v2, "/sys/devices/system/cpu/"
|
|
+ .line 96
|
|
+ .local v1, "count":I
|
|
+ new-instance v2, Ljava/io/File;
|
|
|
|
- invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
+ const-string v3, "/sys/devices/system/cpu/"
|
|
|
|
- invoke-virtual {v1}, Ljava/io/File;->list()[Ljava/lang/String;
|
|
+ invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
- move-result-object v1
|
|
+ invoke-virtual {v2}, Ljava/io/File;->list()[Ljava/lang/String;
|
|
|
|
- array-length v2, v1
|
|
+ move-result-object v2
|
|
|
|
- const/4 v3, 0x0
|
|
+ array-length v3, v2
|
|
|
|
- move v4, v3
|
|
+ const/4 v4, 0x0
|
|
|
|
:goto_0
|
|
- if-ge v3, v2, :cond_1
|
|
+ if-ge v4, v3, :cond_1
|
|
|
|
- aget-object v5, v1, v3
|
|
+ aget-object v5, v2, v4
|
|
|
|
- .line 4
|
|
+ .line 97
|
|
+ .local v5, "file":Ljava/lang/String;
|
|
invoke-virtual {v0, v5}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
- move-result-object v5
|
|
+ move-result-object v6
|
|
|
|
- invoke-virtual {v5}, Ljava/util/regex/Matcher;->matches()Z
|
|
+ invoke-virtual {v6}, Ljava/util/regex/Matcher;->matches()Z
|
|
|
|
- move-result v5
|
|
+ move-result v6
|
|
|
|
- if-eqz v5, :cond_0
|
|
+ if-eqz v6, :cond_0
|
|
|
|
- add-int/lit8 v4, v4, 0x1
|
|
+ .line 98
|
|
+ add-int/lit8 v1, v1, 0x1
|
|
|
|
+ .line 96
|
|
+ .end local v5 # "file":Ljava/lang/String;
|
|
:cond_0
|
|
- add-int/lit8 v3, v3, 0x1
|
|
+ add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
- .line 5
|
|
+ .line 101
|
|
:cond_1
|
|
- sput v4, Lmiui/os/Environment;->sCpuCount:I
|
|
+ sput v1, Lmiui/os/Environment;->sCpuCount:I
|
|
|
|
- .line 6
|
|
+ .line 103
|
|
+ .end local v0 # "pattern":Ljava/util/regex/Pattern;
|
|
+ .end local v1 # "count":I
|
|
:cond_2
|
|
sget v0, Lmiui/os/Environment;->sCpuCount:I
|
|
|
|
@@ -187,17 +196,17 @@
|
|
.method public static getExternalStorageMiuiDirectory()Ljava/io/File;
|
|
.locals 3
|
|
|
|
- .line 1
|
|
+ .line 47
|
|
:try_start_0
|
|
sget-object v0, Lmiui/os/Environment;->EXTERNAL_STORAGE_MIUI_DIRECTORY:Ljava/io/File;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
- .line 2
|
|
+ .line 48
|
|
new-instance v0, Ljava/io/File;
|
|
|
|
- .line 3
|
|
- invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;
|
|
+ .line 49
|
|
+ invoke-static {}, Lmiui/os/Environment;->getExternalStorageDirectory()Ljava/io/File;
|
|
|
|
move-result-object v1
|
|
|
|
@@ -209,8 +218,11 @@
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
- .line 4
|
|
+ .line 54
|
|
:cond_0
|
|
+ nop
|
|
+
|
|
+ .line 56
|
|
sget-object v0, Lmiui/os/Environment;->EXTERNAL_STORAGE_MIUI_DIRECTORY:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->exists()Z
|
|
@@ -219,8 +231,8 @@
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
- .line 5
|
|
- invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;
|
|
+ .line 57
|
|
+ invoke-static {}, Lmiui/os/Environment;->getExternalStorageDirectory()Ljava/io/File;
|
|
|
|
move-result-object v0
|
|
|
|
@@ -230,32 +242,35 @@
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
- .line 6
|
|
+ .line 58
|
|
sget-object v0, Lmiui/os/Environment;->EXTERNAL_STORAGE_MIUI_DIRECTORY:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->mkdir()Z
|
|
|
|
- .line 7
|
|
+ .line 61
|
|
:cond_1
|
|
sget-object v0, Lmiui/os/Environment;->EXTERNAL_STORAGE_MIUI_DIRECTORY:Ljava/io/File;
|
|
|
|
return-object v0
|
|
|
|
+ .line 51
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
- .line 8
|
|
+ .line 52
|
|
+ .local v0, "e":Ljava/lang/Exception;
|
|
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
|
|
|
|
- const/4 v0, 0x0
|
|
+ .line 53
|
|
+ const/4 v1, 0x0
|
|
|
|
- return-object v0
|
|
+ return-object v1
|
|
.end method
|
|
|
|
.method public static getMiuiAppDirectory()Ljava/io/File;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
+ .line 71
|
|
sget-object v0, Lmiui/os/Environment;->MIUI_APP_DIRECTORY:Ljava/io/File;
|
|
|
|
return-object v0
|
|
@@ -264,7 +279,7 @@
|
|
.method public static getMiuiCustomizedDirectory()Ljava/io/File;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
+ .line 81
|
|
sget-object v0, Lmiui/os/Environment;->MIUI_CUSTOMIZED_DIRECTORY:Ljava/io/File;
|
|
|
|
return-object v0
|
|
@@ -273,7 +288,7 @@
|
|
.method public static getMiuiDataDirectory()Ljava/io/File;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
+ .line 66
|
|
sget-object v0, Lmiui/os/Environment;->MIUI_DATA_DIRECTORY:Ljava/io/File;
|
|
|
|
return-object v0
|
|
@@ -282,7 +297,7 @@
|
|
.method public static getMiuiPresetAppDirectory()Ljava/io/File;
|
|
.locals 1
|
|
|
|
- .line 1
|
|
+ .line 76
|
|
sget-object v0, Lmiui/os/Environment;->MIUI_PRESET_APP_DIRECTORY:Ljava/io/File;
|
|
|
|
return-object v0
|
|
@@ -291,8 +306,8 @@
|
|
.method public static isExternalStorageMounted()Z
|
|
.locals 2
|
|
|
|
- .line 1
|
|
- invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;
|
|
+ .line 86
|
|
+ invoke-static {}, Lmiui/os/Environment;->getExternalStorageState()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
@@ -306,12 +321,13 @@
|
|
.end method
|
|
|
|
.method public static isUsingMiui(Landroid/content/Context;)Z
|
|
- .locals 0
|
|
+ .locals 1
|
|
+ .param p0, "context" # Landroid/content/Context;
|
|
|
|
- .line 1
|
|
+ .line 108
|
|
invoke-static {p0}, Lmiui/util/AttributeResolver;->isUsingMiuiTheme(Landroid/content/Context;)Z
|
|
|
|
- move-result p0
|
|
+ move-result v0
|
|
|
|
- return p0
|
|
+ return v0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/os/SystemProperties.smali b/smali_classes8/miui/os/SystemProperties.smali
|
|
index c316042c..69517ad8 100644
|
|
--- a/smali_classes8/miui/os/SystemProperties.smali
|
|
+++ b/smali_classes8/miui/os/SystemProperties.smali
|
|
@@ -23,7 +23,6 @@
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
- .line 1
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
@@ -34,338 +33,95 @@
|
|
.end method
|
|
|
|
.method protected constructor <init>()V
|
|
- .locals 1
|
|
+ .locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InstantiationException;
|
|
}
|
|
.end annotation
|
|
|
|
- .line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
- .line 2
|
|
- new-instance p0, Ljava/lang/InstantiationException;
|
|
+ new-instance v0, Ljava/lang/InstantiationException;
|
|
|
|
- const-string v0, "Cannot instantiate utility class"
|
|
+ const-string v1, "Cannot instantiate utility class"
|
|
|
|
- invoke-direct {p0, v0}, Ljava/lang/InstantiationException;-><init>(Ljava/lang/String;)V
|
|
+ invoke-direct {v0, v1}, Ljava/lang/InstantiationException;-><init>(Ljava/lang/String;)V
|
|
|
|
- throw p0
|
|
+ throw v0
|
|
.end method
|
|
|
|
.method public static addChangeCallback(Ljava/lang/Runnable;)V
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- sget-object v0, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- monitor-enter v0
|
|
-
|
|
- .line 2
|
|
- :try_start_0
|
|
- sget-object v1, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
-
|
|
- move-result v1
|
|
-
|
|
- if-nez v1, :cond_0
|
|
-
|
|
- .line 3
|
|
- const-class v1, Lmiui/os/SystemProperties;
|
|
-
|
|
- invoke-static {v1}, Lcom/miui/internal/os/Native;->addPropertyChangeCallbackNative(Ljava/lang/Class;)V
|
|
-
|
|
- .line 4
|
|
- :cond_0
|
|
- sget-object v1, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-virtual {v1, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
-
|
|
- .line 5
|
|
- monitor-exit v0
|
|
+ .locals 0
|
|
|
|
return-void
|
|
-
|
|
- :catchall_0
|
|
- move-exception p0
|
|
-
|
|
- monitor-exit v0
|
|
- :try_end_0
|
|
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method protected static callChangeCallbacks()V
|
|
- .locals 4
|
|
-
|
|
- .line 1
|
|
- sget-object v0, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- monitor-enter v0
|
|
-
|
|
- .line 2
|
|
- :try_start_0
|
|
- sget-object v1, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
|
-
|
|
- move-result v1
|
|
-
|
|
- if-nez v1, :cond_0
|
|
-
|
|
- .line 3
|
|
- monitor-exit v0
|
|
-
|
|
- return-void
|
|
-
|
|
- .line 4
|
|
- :cond_0
|
|
- new-instance v1, Ljava/util/ArrayList;
|
|
-
|
|
- sget-object v2, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
-
|
|
- const/4 v2, 0x0
|
|
-
|
|
- .line 5
|
|
- :goto_0
|
|
- sget-object v3, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-virtual {v3}, Ljava/util/ArrayList;->size()I
|
|
-
|
|
- move-result v3
|
|
-
|
|
- if-ge v2, v3, :cond_1
|
|
-
|
|
- .line 6
|
|
- invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
|
-
|
|
- move-result-object v3
|
|
-
|
|
- check-cast v3, Ljava/lang/Runnable;
|
|
-
|
|
- invoke-interface {v3}, Ljava/lang/Runnable;->run()V
|
|
-
|
|
- add-int/lit8 v2, v2, 0x1
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 7
|
|
- :cond_1
|
|
- monitor-exit v0
|
|
+ .locals 0
|
|
|
|
return-void
|
|
-
|
|
- :catchall_0
|
|
- move-exception v1
|
|
-
|
|
- monitor-exit v0
|
|
- :try_end_0
|
|
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
-
|
|
- throw v1
|
|
.end method
|
|
|
|
.method public static get(Ljava/lang/String;)Ljava/lang/String;
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_0
|
|
+ .locals 0
|
|
|
|
- .line 2
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getPropertyNative(Ljava/lang/String;)Ljava/lang/String;
|
|
+ invoke-static {p0}, Landroid/os/SystemProperties;->get(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string v0, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
- .locals 2
|
|
-
|
|
- .line 4
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_2
|
|
+ .locals 0
|
|
|
|
- .line 5
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getPropertyNative(Ljava/lang/String;)Ljava/lang/String;
|
|
+ invoke-static {p0, p1}, Landroid/os/SystemProperties;->get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
- if-eqz p0, :cond_0
|
|
-
|
|
- .line 6
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- if-nez v0, :cond_1
|
|
-
|
|
- :cond_0
|
|
- move-object p0, p1
|
|
-
|
|
- :cond_1
|
|
return-object p0
|
|
-
|
|
- .line 7
|
|
- :cond_2
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static getBoolean(Ljava/lang/String;Z)Z
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_0
|
|
+ .locals 0
|
|
|
|
- .line 2
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getBooleanPropertyNative(Ljava/lang/String;Z)Z
|
|
+ invoke-static {p0, p1}, Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static getInt(Ljava/lang/String;I)I
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_0
|
|
+ .locals 0
|
|
|
|
- .line 2
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getIntPropertyNative(Ljava/lang/String;I)I
|
|
+ invoke-static {p0, p1}, Landroid/os/SystemProperties;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static getLong(Ljava/lang/String;J)J
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_0
|
|
+ .locals 0
|
|
|
|
- .line 2
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getLongPropertyNative(Ljava/lang/String;J)J
|
|
+ invoke-static {p0, p1, p2}, Landroid/os/SystemProperties;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static removeChangeCallback(Ljava/lang/Runnable;)V
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- sget-object v0, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- monitor-enter v0
|
|
-
|
|
- .line 2
|
|
- :try_start_0
|
|
- sget-object v1, Lmiui/os/SystemProperties;->sChangeCallbacks:Ljava/util/ArrayList;
|
|
-
|
|
- invoke-virtual {v1, p0}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
|
|
-
|
|
- .line 3
|
|
- monitor-exit v0
|
|
+ .locals 0
|
|
|
|
return-void
|
|
-
|
|
- :catchall_0
|
|
- move-exception p0
|
|
-
|
|
- monitor-exit v0
|
|
- :try_end_0
|
|
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static set(Ljava/lang/String;I)V
|
|
.locals 0
|
|
|
|
- .line 6
|
|
invoke-static {p1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
@@ -378,7 +134,6 @@
|
|
.method public static set(Ljava/lang/String;J)V
|
|
.locals 0
|
|
|
|
- .line 7
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
@@ -389,62 +144,20 @@
|
|
.end method
|
|
|
|
.method public static set(Ljava/lang/String;Ljava/lang/String;)V
|
|
- .locals 2
|
|
-
|
|
- .line 1
|
|
- invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x1f
|
|
-
|
|
- if-gt v0, v1, :cond_2
|
|
-
|
|
- if-eqz p1, :cond_1
|
|
-
|
|
- .line 2
|
|
- invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
-
|
|
- move-result v0
|
|
-
|
|
- const/16 v1, 0x5b
|
|
-
|
|
- if-gt v0, v1, :cond_0
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 3
|
|
- :cond_0
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "val.length > 91"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
+ .locals 0
|
|
|
|
- .line 4
|
|
- :cond_1
|
|
- :goto_0
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->setPropertyNative(Ljava/lang/String;Ljava/lang/String;)V
|
|
+ :try_start_0
|
|
+ invoke-static {p0, p1}, Landroid/os/SystemProperties;->set(Ljava/lang/String;Ljava/lang/String;)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
+ :catchall_0
|
|
return-void
|
|
-
|
|
- .line 5
|
|
- :cond_2
|
|
- new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
-
|
|
- const-string p1, "key.length > 31"
|
|
-
|
|
- invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
-
|
|
- throw p0
|
|
.end method
|
|
|
|
.method public static set(Ljava/lang/String;Z)V
|
|
.locals 0
|
|
|
|
- .line 8
|
|
invoke-static {p1}, Ljava/lang/Boolean;->toString(Z)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
diff --git a/smali_classes8/miui/reflect/Constructor.smali b/smali_classes8/miui/reflect/Constructor.smali
|
|
index d23a66ba..756b3628 100644
|
|
--- a/smali_classes8/miui/reflect/Constructor.smali
|
|
+++ b/smali_classes8/miui/reflect/Constructor.smali
|
|
@@ -4,26 +4,61 @@
|
|
|
|
|
|
# instance fields
|
|
-.field private mPtr:J
|
|
+.field private mJavaConstructor:Ljava/lang/reflect/Constructor;
|
|
+ .annotation system Ldalvik/annotation/Signature;
|
|
+ value = {
|
|
+ "Ljava/lang/reflect/Constructor<",
|
|
+ "*>;"
|
|
+ }
|
|
+ .end annotation
|
|
+.end field
|
|
|
|
|
|
# direct methods
|
|
-.method private constructor <init>()V
|
|
- .locals 2
|
|
+.method private constructor <init>(Ljava/lang/reflect/Constructor;)V
|
|
+ .locals 1
|
|
+ .annotation system Ldalvik/annotation/Signature;
|
|
+ value = {
|
|
+ "(",
|
|
+ "Ljava/lang/reflect/Constructor<",
|
|
+ "*>;)V"
|
|
+ }
|
|
+ .end annotation
|
|
|
|
- .line 1
|
|
+ .line 6
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
- const-wide/16 v0, 0x0
|
|
+ .line 7
|
|
+ iput-object p1, p0, Lmiui/reflect/Constructor;->mJavaConstructor:Ljava/lang/reflect/Constructor;
|
|
+
|
|
+ .line 8
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 10
|
|
+ const/4 v0, 0x1
|
|
+
|
|
+ :try_start_0
|
|
+ invoke-virtual {p1, v0}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 2
|
|
- iput-wide v0, p0, Lmiui/reflect/Constructor;->mPtr:J
|
|
+ .line 11
|
|
+ :goto_0
|
|
+ goto :goto_1
|
|
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 13
|
|
+ :cond_0
|
|
+ :goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
- .locals 0
|
|
+ .locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -35,22 +70,42 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchMethodException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 16
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ if-nez p0, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getConstructor(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+ return-object p1
|
|
+
|
|
+ .line 17
|
|
+ :cond_0
|
|
+ invoke-virtual {p0}, Ljava/lang/Class;->getDeclaredConstructors()[Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object p0
|
|
|
|
- return-object p0
|
|
+ .line 18
|
|
+ array-length v0, p0
|
|
+
|
|
+ if-lez v0, :cond_1
|
|
+
|
|
+ .line 19
|
|
+ new-instance p1, Lmiui/reflect/Constructor;
|
|
+
|
|
+ const/4 v0, 0x0
|
|
+
|
|
+ aget-object p0, p0, v0
|
|
+
|
|
+ invoke-direct {p1, p0}, Lmiui/reflect/Constructor;-><init>(Ljava/lang/reflect/Constructor;)V
|
|
+
|
|
+ return-object p1
|
|
+
|
|
+ .line 21
|
|
+ :cond_1
|
|
+ return-object p1
|
|
.end method
|
|
|
|
.method public static varargs of(Ljava/lang/Class;[Ljava/lang/Class;)Lmiui/reflect/Constructor;
|
|
- .locals 1
|
|
+ .locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -62,45 +117,83 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchMethodException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 25
|
|
+ const/4 v0, 0x0
|
|
|
|
- .line 2
|
|
- sget-object v0, Ljava/lang/Void;->TYPE:Ljava/lang/Class;
|
|
+ if-nez p0, :cond_0
|
|
|
|
- invoke-static {p1, v0}, Lmiui/reflect/ReflectUtils;->getSignature([Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
|
|
+ return-object v0
|
|
|
|
- move-result-object p1
|
|
+ .line 27
|
|
+ :cond_0
|
|
+ :try_start_0
|
|
+ new-instance v1, Lmiui/reflect/Constructor;
|
|
+
|
|
+ invoke-virtual {p0, p1}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
+
|
|
+ move-result-object v2
|
|
+
|
|
+ invoke-direct {v1, v2}, Lmiui/reflect/Constructor;-><init>(Ljava/lang/reflect/Constructor;)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object v1
|
|
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getConstructor(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+ .line 28
|
|
+ :catchall_0
|
|
+ move-exception v1
|
|
+
|
|
+ .line 30
|
|
+ :try_start_1
|
|
+ new-instance v1, Lmiui/reflect/Constructor;
|
|
+
|
|
+ invoke-virtual {p0, p1}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
|
|
|
move-result-object p0
|
|
|
|
- return-object p0
|
|
+ invoke-direct {v1, p0}, Lmiui/reflect/Constructor;-><init>(Ljava/lang/reflect/Constructor;)V
|
|
+ :try_end_1
|
|
+ .catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
+
|
|
+ return-object v1
|
|
+
|
|
+ .line 31
|
|
+ :catchall_1
|
|
+ move-exception p0
|
|
+
|
|
+ .line 32
|
|
+ return-object v0
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
.locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchMethodException;,
|
|
- Lmiui/reflect/NoSuchClassException;
|
|
- }
|
|
- .end annotation
|
|
|
|
- .line 3
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getConstructor(Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+ .line 39
|
|
+ :try_start_0
|
|
+ invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object p0
|
|
|
|
+ invoke-static {p0, p1}, Lmiui/reflect/Constructor;->of(Ljava/lang/Class;Ljava/lang/String;)Lmiui/reflect/Constructor;
|
|
+
|
|
+ move-result-object p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 40
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 41
|
|
+ const/4 p0, 0x0
|
|
+
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
- .locals 0
|
|
+ .locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -110,34 +203,59 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .line 4
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getConstructor(Ljava/lang/reflect/Constructor;)Lmiui/reflect/Constructor;
|
|
+ .line 46
|
|
+ if-nez p0, :cond_0
|
|
|
|
- move-result-object p0
|
|
+ const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
+
|
|
+ .line 47
|
|
+ :cond_0
|
|
+ new-instance v0, Lmiui/reflect/Constructor;
|
|
+
|
|
+ invoke-direct {v0, p0}, Lmiui/reflect/Constructor;-><init>(Ljava/lang/reflect/Constructor;)V
|
|
+
|
|
+ return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public varargs newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->newInstance(Lmiui/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ .line 56
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Constructor;->mJavaConstructor:Ljava/lang/reflect/Constructor;
|
|
|
|
- move-result-object p0
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- return-object p0
|
|
+ .line 57
|
|
+ iget-object v0, p0, Lmiui/reflect/Constructor;->mJavaConstructor:Ljava/lang/reflect/Constructor;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p1
|
|
+
|
|
+ .line 59
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 60
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return-object p1
|
|
.end method
|
|
|
|
.method public toRefelect()Ljava/lang/reflect/Constructor;
|
|
- .locals 0
|
|
+ .locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
@@ -146,10 +264,8 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .line 1
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getReflectConstructor(Lmiui/reflect/Constructor;)Ljava/lang/reflect/Constructor;
|
|
+ .line 51
|
|
+ iget-object v0, p0, Lmiui/reflect/Constructor;->mJavaConstructor:Ljava/lang/reflect/Constructor;
|
|
|
|
- move-result-object p0
|
|
-
|
|
- return-object p0
|
|
+ return-object v0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/Field.smali b/smali_classes8/miui/reflect/Field.smali
|
|
index 74ed595c..a1688e54 100644
|
|
--- a/smali_classes8/miui/reflect/Field.smali
|
|
+++ b/smali_classes8/miui/reflect/Field.smali
|
|
@@ -3,42 +3,43 @@
|
|
.source "Field.java"
|
|
|
|
|
|
-# static fields
|
|
-.field public static final BOOLEAN_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "Z"
|
|
-
|
|
-.field public static final BYTE_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "B"
|
|
-
|
|
-.field public static final CHAR_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "C"
|
|
-
|
|
-.field public static final DOUBLE_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "D"
|
|
-
|
|
-.field public static final FLOAT_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "F"
|
|
-
|
|
-.field public static final INT_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "I"
|
|
+# instance fields
|
|
+.field private mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
-.field public static final LONG_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "J"
|
|
|
|
-.field public static final SHORT_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "S"
|
|
+# direct methods
|
|
+.method private constructor <init>(Ljava/lang/reflect/Field;)V
|
|
+ .locals 1
|
|
|
|
-.field public static final VOID_SIGNATURE_PRIMITIVE:Ljava/lang/String; = "V"
|
|
+ .line 6
|
|
+ invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
+ .line 7
|
|
+ iput-object p1, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
-# instance fields
|
|
-.field private mPtr:J
|
|
+ .line 8
|
|
+ if-eqz p1, :cond_0
|
|
|
|
+ .line 10
|
|
+ const/4 v0, 0x1
|
|
|
|
-# direct methods
|
|
-.method private constructor <init>()V
|
|
- .locals 2
|
|
+ :try_start_0
|
|
+ invoke-virtual {p1, v0}, Ljava/lang/reflect/Field;->setAccessible(Z)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
+ .line 11
|
|
+ :goto_0
|
|
+ goto :goto_1
|
|
|
|
- const-wide/16 v0, 0x0
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
- .line 2
|
|
- iput-wide v0, p0, Lmiui/reflect/Field;->mPtr:J
|
|
+ goto :goto_0
|
|
|
|
+ .line 13
|
|
+ :cond_0
|
|
+ :goto_1
|
|
return-void
|
|
.end method
|
|
|
|
@@ -56,18 +57,20 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchFieldException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 29
|
|
+ if-eqz p2, :cond_0
|
|
|
|
- .line 2
|
|
- invoke-static {p2}, Lmiui/reflect/ReflectUtils;->getSignature(Ljava/lang/Class;)Ljava/lang/String;
|
|
+ invoke-virtual {p2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+ goto :goto_0
|
|
+
|
|
+ :cond_0
|
|
+ const/4 p2, 0x0
|
|
+
|
|
+ :goto_0
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Field;->of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
|
|
move-result-object p0
|
|
|
|
@@ -75,7 +78,7 @@
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
- .locals 0
|
|
+ .locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -88,327 +91,663 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchFieldException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 16
|
|
+ const/4 p2, 0x0
|
|
+
|
|
+ if-eqz p0, :cond_1
|
|
+
|
|
+ if-nez p1, :cond_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 18
|
|
+ :cond_0
|
|
+ :try_start_0
|
|
+ new-instance v0, Lmiui/reflect/Field;
|
|
+
|
|
+ invoke-virtual {p0, p1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
+
|
|
+ move-result-object v1
|
|
+
|
|
+ invoke-direct {v0, v1}, Lmiui/reflect/Field;-><init>(Ljava/lang/reflect/Field;)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getField(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+ return-object v0
|
|
+
|
|
+ .line 19
|
|
+ :catchall_0
|
|
+ move-exception v0
|
|
+
|
|
+ .line 21
|
|
+ :try_start_1
|
|
+ new-instance v0, Lmiui/reflect/Field;
|
|
+
|
|
+ invoke-virtual {p0, p1}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;
|
|
|
|
move-result-object p0
|
|
|
|
- return-object p0
|
|
+ invoke-direct {v0, p0}, Lmiui/reflect/Field;-><init>(Ljava/lang/reflect/Field;)V
|
|
+ :try_end_1
|
|
+ .catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
+
|
|
+ return-object v0
|
|
+
|
|
+ .line 22
|
|
+ :catchall_1
|
|
+ move-exception p0
|
|
+
|
|
+ .line 23
|
|
+ return-object p2
|
|
+
|
|
+ .line 16
|
|
+ :cond_1
|
|
+ :goto_0
|
|
+ return-object p2
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
.locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchFieldException;,
|
|
- Lmiui/reflect/NoSuchClassException;
|
|
- }
|
|
- .end annotation
|
|
|
|
- .line 3
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getField(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
+ .line 34
|
|
+ :try_start_0
|
|
+ invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Field;->of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Field;
|
|
|
|
move-result-object p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 35
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 36
|
|
+ const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
- .line 4
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getField(Ljava/lang/reflect/Field;)Lmiui/reflect/Field;
|
|
+ .line 41
|
|
+ if-nez p0, :cond_0
|
|
|
|
- move-result-object p0
|
|
+ const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
+
|
|
+ .line 42
|
|
+ :cond_0
|
|
+ new-instance v0, Lmiui/reflect/Field;
|
|
+
|
|
+ invoke-direct {v0, p0}, Lmiui/reflect/Field;-><init>(Ljava/lang/reflect/Field;)V
|
|
+
|
|
+ return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getObjectFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ .line 51
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- move-result-object p0
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- return-object p0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p1
|
|
+
|
|
+ .line 52
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 53
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return-object p1
|
|
.end method
|
|
|
|
.method public getBoolean(Ljava/lang/Object;)Z
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getBooleanFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)Z
|
|
+ .line 58
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- move-result p0
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- return p0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getBoolean(Ljava/lang/Object;)Z
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 59
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 60
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public getByte(Ljava/lang/Object;)B
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 65
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getByte(Ljava/lang/Object;)B
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getByteFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)B
|
|
+ return p1
|
|
|
|
- move-result p0
|
|
+ .line 66
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
- return p0
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 67
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public getChar(Ljava/lang/Object;)C
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 72
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getCharFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)C
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- move-result p0
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getChar(Ljava/lang/Object;)C
|
|
|
|
- return p0
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 73
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 74
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public getDouble(Ljava/lang/Object;)D
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 2
|
|
+
|
|
+ .line 79
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getDouble(Ljava/lang/Object;)D
|
|
+
|
|
+ move-result-wide v0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-wide v0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getDoubleFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)D
|
|
+ .line 80
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
- move-result-wide p0
|
|
+ :cond_0
|
|
+ nop
|
|
|
|
- return-wide p0
|
|
+ .line 81
|
|
+ const-wide/16 v0, 0x0
|
|
+
|
|
+ return-wide v0
|
|
.end method
|
|
|
|
.method public getFloat(Ljava/lang/Object;)F
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 86
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getFloatFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)F
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- move-result p0
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getFloat(Ljava/lang/Object;)F
|
|
|
|
- return p0
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 87
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 88
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public getInt(Ljava/lang/Object;)I
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 93
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getIntFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)I
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- move-result p0
|
|
+ return p1
|
|
|
|
- return p0
|
|
+ .line 94
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 95
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public getLong(Ljava/lang/Object;)J
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 2
|
|
+
|
|
+ .line 100
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getLong(Ljava/lang/Object;)J
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getLongFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)J
|
|
+ move-result-wide v0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- move-result-wide p0
|
|
+ return-wide v0
|
|
|
|
- return-wide p0
|
|
+ .line 101
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 102
|
|
+ const-wide/16 v0, 0x0
|
|
+
|
|
+ return-wide v0
|
|
.end method
|
|
|
|
.method public getShort(Ljava/lang/Object;)S
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1}, Lcom/miui/internal/os/Native;->getShortFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;)S
|
|
+ .line 107
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- move-result p0
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- return p0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->getShort(Ljava/lang/Object;)S
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 108
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 109
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;B)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 114
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setByte(Ljava/lang/Object;B)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
|
|
- .line 2
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;B)V
|
|
+ .line 115
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 116
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;C)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 120
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- .line 3
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;C)V
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setChar(Ljava/lang/Object;C)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 121
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 122
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;D)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 8
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;D)V
|
|
+ .line 126
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2, p3}, Ljava/lang/reflect/Field;->setDouble(Ljava/lang/Object;D)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 127
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 128
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;F)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 7
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;F)V
|
|
+ .line 132
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setFloat(Ljava/lang/Object;F)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 133
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 134
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;I)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 138
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- .line 5
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;I)V
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setInt(Ljava/lang/Object;I)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 139
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 140
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;J)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
|
|
- .line 6
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;J)V
|
|
+ .line 144
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2, p3}, Ljava/lang/reflect/Field;->setLong(Ljava/lang/Object;J)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 145
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 146
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 150
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 151
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
|
|
- .line 9
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;)V
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
|
|
+ .line 152
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;S)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 156
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
+
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setShort(Ljava/lang/Object;S)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 4
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;S)V
|
|
+ goto :goto_0
|
|
|
|
+ .line 157
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 158
|
|
return-void
|
|
.end method
|
|
|
|
.method public set(Ljava/lang/Object;Z)V
|
|
- .locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .locals 1
|
|
+
|
|
+ .line 162
|
|
+ :try_start_0
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
+
|
|
+ if-eqz v0, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->setFieldValue(Lmiui/reflect/Field;Ljava/lang/Object;Z)V
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
+ invoke-virtual {v0, p1, p2}, Ljava/lang/reflect/Field;->setBoolean(Ljava/lang/Object;Z)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 163
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 164
|
|
return-void
|
|
.end method
|
|
|
|
.method public toReflect()Ljava/lang/reflect/Field;
|
|
- .locals 0
|
|
-
|
|
- .line 1
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getReflectField(Lmiui/reflect/Field;)Ljava/lang/reflect/Field;
|
|
+ .locals 1
|
|
|
|
- move-result-object p0
|
|
+ .line 46
|
|
+ iget-object v0, p0, Lmiui/reflect/Field;->mJavaField:Ljava/lang/reflect/Field;
|
|
|
|
- return-object p0
|
|
+ return-object v0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/IllegalArgumentException.smali b/smali_classes8/miui/reflect/IllegalArgumentException.smali
|
|
index 601d5db3..1818e451 100644
|
|
--- a/smali_classes8/miui/reflect/IllegalArgumentException.smali
|
|
+++ b/smali_classes8/miui/reflect/IllegalArgumentException.smali
|
|
@@ -1,18 +1,14 @@
|
|
.class public Lmiui/reflect/IllegalArgumentException;
|
|
-.super Lmiui/reflect/ReflectionException;
|
|
+.super Ljava/lang/RuntimeException;
|
|
.source "IllegalArgumentException.java"
|
|
|
|
|
|
-# static fields
|
|
-.field private static final serialVersionUID:J = -0x61a0f9b8f5cb7c21L
|
|
-
|
|
-
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Lmiui/reflect/ReflectionException;-><init>()V
|
|
+ .line 4
|
|
+ invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -20,8 +16,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;)V
|
|
+ .line 5
|
|
+ invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -29,8 +25,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 3
|
|
- invoke-direct {p0, p1, p2}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
+ .line 6
|
|
+ invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -38,8 +34,8 @@
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 4
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/Throwable;)V
|
|
+ .line 7
|
|
+ invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/Method.smali b/smali_classes8/miui/reflect/Method.smali
|
|
index 753338e7..8369848a 100644
|
|
--- a/smali_classes8/miui/reflect/Method.smali
|
|
+++ b/smali_classes8/miui/reflect/Method.smali
|
|
@@ -4,26 +4,47 @@
|
|
|
|
|
|
# instance fields
|
|
-.field private mPtr:J
|
|
+.field private mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
|
|
# direct methods
|
|
-.method private constructor <init>()V
|
|
- .locals 2
|
|
+.method private constructor <init>(Ljava/lang/reflect/Method;)V
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
+ .line 6
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
- const-wide/16 v0, 0x0
|
|
+ .line 7
|
|
+ iput-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ .line 8
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 10
|
|
+ const/4 v0, 0x1
|
|
+
|
|
+ :try_start_0
|
|
+ invoke-virtual {p1, v0}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- .line 2
|
|
- iput-wide v0, p0, Lmiui/reflect/Method;->mPtr:J
|
|
+ .line 11
|
|
+ :goto_0
|
|
+ goto :goto_1
|
|
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 13
|
|
+ :cond_0
|
|
+ :goto_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static varargs of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Lmiui/reflect/Method;
|
|
- .locals 0
|
|
+ .locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -38,20 +59,65 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .line 2
|
|
- invoke-static {p3, p2}, Lmiui/reflect/ReflectUtils;->getSignature([Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/String;
|
|
+ .line 31
|
|
+ const/4 p2, 0x0
|
|
+
|
|
+ if-eqz p0, :cond_1
|
|
+
|
|
+ if-nez p1, :cond_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 33
|
|
+ :cond_0
|
|
+ :try_start_0
|
|
+ invoke-virtual {p0, p1, p3}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ .line 34
|
|
+ new-instance v1, Lmiui/reflect/Method;
|
|
|
|
- move-result-object p2
|
|
+ invoke-direct {v1, v0}, Lmiui/reflect/Method;-><init>(Ljava/lang/reflect/Method;)V
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+ return-object v1
|
|
+
|
|
+ .line 35
|
|
+ :catchall_0
|
|
+ move-exception v0
|
|
+
|
|
+ .line 37
|
|
+ :try_start_1
|
|
+ invoke-virtual {p0, p1, p3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
- return-object p0
|
|
+ .line 38
|
|
+ new-instance p1, Lmiui/reflect/Method;
|
|
+
|
|
+ invoke-direct {p1, p0}, Lmiui/reflect/Method;-><init>(Ljava/lang/reflect/Method;)V
|
|
+ :try_end_1
|
|
+ .catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
+
|
|
+ return-object p1
|
|
+
|
|
+ .line 39
|
|
+ :catchall_1
|
|
+ move-exception p0
|
|
+
|
|
+ .line 40
|
|
+ return-object p2
|
|
+
|
|
+ .line 31
|
|
+ :cond_1
|
|
+ :goto_0
|
|
+ return-object p2
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
- .locals 0
|
|
+ .locals 6
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
@@ -64,46 +130,147 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchMethodException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 16
|
|
+ const/4 p2, 0x0
|
|
+
|
|
+ if-eqz p0, :cond_5
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+ if-nez p1, :cond_0
|
|
+
|
|
+ goto :goto_2
|
|
+
|
|
+ .line 17
|
|
+ :cond_0
|
|
+ invoke-virtual {p0}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
|
|
+
|
|
+ move-result-object v0
|
|
+
|
|
+ array-length v1, v0
|
|
+
|
|
+ const/4 v2, 0x0
|
|
+
|
|
+ const/4 v3, 0x0
|
|
+
|
|
+ :goto_0
|
|
+ if-ge v3, v1, :cond_2
|
|
+
|
|
+ aget-object v4, v0, v3
|
|
+
|
|
+ .line 18
|
|
+ invoke-virtual {v4}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
+
|
|
+ move-result-object v5
|
|
+
|
|
+ invoke-virtual {v5, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
+
|
|
+ move-result v5
|
|
+
|
|
+ if-eqz v5, :cond_1
|
|
+
|
|
+ .line 19
|
|
+ new-instance p0, Lmiui/reflect/Method;
|
|
+
|
|
+ invoke-direct {p0, v4}, Lmiui/reflect/Method;-><init>(Ljava/lang/reflect/Method;)V
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 17
|
|
+ :cond_1
|
|
+ add-int/lit8 v3, v3, 0x1
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 22
|
|
+ :cond_2
|
|
+ invoke-virtual {p0}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p0
|
|
|
|
+ array-length v0, p0
|
|
+
|
|
+ :goto_1
|
|
+ if-ge v2, v0, :cond_4
|
|
+
|
|
+ aget-object v1, p0, v2
|
|
+
|
|
+ .line 23
|
|
+ invoke-virtual {v1}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
+
|
|
+ move-result-object v3
|
|
+
|
|
+ invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
+
|
|
+ move-result v3
|
|
+
|
|
+ if-eqz v3, :cond_3
|
|
+
|
|
+ .line 24
|
|
+ new-instance p0, Lmiui/reflect/Method;
|
|
+
|
|
+ invoke-direct {p0, v1}, Lmiui/reflect/Method;-><init>(Ljava/lang/reflect/Method;)V
|
|
+
|
|
return-object p0
|
|
+
|
|
+ .line 22
|
|
+ :cond_3
|
|
+ add-int/lit8 v2, v2, 0x1
|
|
+
|
|
+ goto :goto_1
|
|
+
|
|
+ .line 27
|
|
+ :cond_4
|
|
+ return-object p2
|
|
+
|
|
+ .line 16
|
|
+ :cond_5
|
|
+ :goto_2
|
|
+ return-object p2
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
.locals 0
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/NoSuchClassException;,
|
|
- Lmiui/reflect/NoSuchMethodException;
|
|
- }
|
|
- .end annotation
|
|
|
|
- .line 3
|
|
- invoke-static {p0, p1, p2}, Lcom/miui/internal/os/Native;->getMethod(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
+ .line 47
|
|
+ :try_start_0
|
|
+ invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
+
|
|
+ move-result-object p0
|
|
+
|
|
+ invoke-static {p0, p1, p2}, Lmiui/reflect/Method;->of(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lmiui/reflect/Method;
|
|
|
|
move-result-object p0
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p0
|
|
+
|
|
+ .line 48
|
|
+ :catchall_0
|
|
+ move-exception p0
|
|
+
|
|
+ .line 49
|
|
+ const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static of(Ljava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
- .line 4
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getMethod(Ljava/lang/reflect/Method;)Lmiui/reflect/Method;
|
|
+ .line 54
|
|
+ if-nez p0, :cond_0
|
|
|
|
- move-result-object p0
|
|
+ const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
+
|
|
+ .line 55
|
|
+ :cond_0
|
|
+ new-instance v0, Lmiui/reflect/Method;
|
|
+
|
|
+ invoke-direct {v0, p0}, Lmiui/reflect/Method;-><init>(Ljava/lang/reflect/Method;)V
|
|
+
|
|
+ return-object v0
|
|
.end method
|
|
|
|
|
|
@@ -122,15 +289,30 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 64
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invoke(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)V
|
|
+ .line 65
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ goto :goto_0
|
|
+
|
|
+ .line 67
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ :goto_0
|
|
+ nop
|
|
+
|
|
+ .line 68
|
|
return-void
|
|
.end method
|
|
|
|
@@ -148,18 +330,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 72
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 73
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+
|
|
+ .line 74
|
|
+ instance-of p2, p1, Ljava/lang/Boolean;
|
|
+
|
|
+ if-eqz p2, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeBoolean(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Z
|
|
+ check-cast p1, Ljava/lang/Boolean;
|
|
|
|
- move-result p0
|
|
+ invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
- return p0
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 76
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 77
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public varargs invokeByte(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)B
|
|
@@ -176,18 +385,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 82
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 83
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+
|
|
+ .line 84
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeByte(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)B
|
|
+ if-eqz p2, :cond_0
|
|
|
|
- move-result p0
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
|
|
- return p0
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->byteValue()B
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 86
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 87
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public varargs invokeChar(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)C
|
|
@@ -204,18 +440,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 92
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 93
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+
|
|
+ .line 94
|
|
+ instance-of p2, p1, Ljava/lang/Character;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeChar(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)C
|
|
+ if-eqz p2, :cond_0
|
|
|
|
- move-result p0
|
|
+ check-cast p1, Ljava/lang/Character;
|
|
|
|
- return p0
|
|
+ invoke-virtual {p1}, Ljava/lang/Character;->charValue()C
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 96
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 97
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public varargs invokeDouble(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)D
|
|
@@ -232,18 +495,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 102
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 103
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeDouble(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)D
|
|
+ .line 104
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
|
|
- move-result-wide p0
|
|
+ if-eqz p2, :cond_0
|
|
|
|
- return-wide p0
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
+
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->doubleValue()D
|
|
+
|
|
+ move-result-wide p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-wide p1
|
|
+
|
|
+ .line 106
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 107
|
|
+ const-wide/16 p1, 0x0
|
|
+
|
|
+ return-wide p1
|
|
.end method
|
|
|
|
.method public varargs invokeFloat(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)F
|
|
@@ -260,18 +550,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 112
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 113
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeFloat(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)F
|
|
+ move-result-object p1
|
|
|
|
- move-result p0
|
|
+ .line 114
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
|
|
- return p0
|
|
+ if-eqz p2, :cond_0
|
|
+
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
+
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->floatValue()F
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 116
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 117
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public varargs invokeInt(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)I
|
|
@@ -288,18 +605,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 122
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 123
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeInt(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)I
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- move-result p0
|
|
+ move-result-object p1
|
|
|
|
- return p0
|
|
+ .line 124
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
+
|
|
+ if-eqz p2, :cond_0
|
|
+
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
+
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 126
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 127
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public varargs invokeLong(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)J
|
|
@@ -316,18 +660,45 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 132
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeLong(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)J
|
|
+ .line 133
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- move-result-wide p0
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- return-wide p0
|
|
+ move-result-object p1
|
|
+
|
|
+ .line 134
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
+
|
|
+ if-eqz p2, :cond_0
|
|
+
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
+
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->longValue()J
|
|
+
|
|
+ move-result-wide p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-wide p1
|
|
+
|
|
+ .line 136
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 137
|
|
+ const-wide/16 p1, 0x0
|
|
+
|
|
+ return-wide p1
|
|
.end method
|
|
|
|
.method public varargs invokeObject(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
@@ -345,18 +716,34 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 152
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeObject(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+ if-eqz p1, :cond_0
|
|
|
|
- move-result-object p0
|
|
+ .line 153
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- return-object p0
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
+
|
|
+ move-result-object p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return-object p1
|
|
+
|
|
+ .line 155
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 156
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return-object p1
|
|
.end method
|
|
|
|
.method public varargs invokeShort(Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)S
|
|
@@ -373,27 +760,52 @@
|
|
}
|
|
.end annotation
|
|
|
|
- .annotation system Ldalvik/annotation/Throws;
|
|
- value = {
|
|
- Lmiui/reflect/IllegalArgumentException;
|
|
- }
|
|
- .end annotation
|
|
+ .line 142
|
|
+ :try_start_0
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
+
|
|
+ if-eqz p1, :cond_0
|
|
+
|
|
+ .line 143
|
|
+ iget-object p1, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- .line 1
|
|
- invoke-static {p0, p1, p2, p3}, Lcom/miui/internal/os/Native;->invokeShort(Lmiui/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)S
|
|
+ invoke-virtual {p1, p2, p3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
- move-result p0
|
|
+ move-result-object p1
|
|
|
|
- return p0
|
|
+ .line 144
|
|
+ instance-of p2, p1, Ljava/lang/Number;
|
|
+
|
|
+ if-eqz p2, :cond_0
|
|
+
|
|
+ check-cast p1, Ljava/lang/Number;
|
|
+
|
|
+ invoke-virtual {p1}, Ljava/lang/Number;->shortValue()S
|
|
+
|
|
+ move-result p1
|
|
+ :try_end_0
|
|
+ .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
+
|
|
+ return p1
|
|
+
|
|
+ .line 146
|
|
+ :catchall_0
|
|
+ move-exception p1
|
|
+
|
|
+ :cond_0
|
|
+ nop
|
|
+
|
|
+ .line 147
|
|
+ const/4 p1, 0x0
|
|
+
|
|
+ return p1
|
|
.end method
|
|
|
|
.method public toReflect()Ljava/lang/reflect/Method;
|
|
- .locals 0
|
|
+ .locals 1
|
|
|
|
- .line 1
|
|
- invoke-static {p0}, Lcom/miui/internal/os/Native;->getReflectMethod(Lmiui/reflect/Method;)Ljava/lang/reflect/Method;
|
|
+ .line 59
|
|
+ iget-object v0, p0, Lmiui/reflect/Method;->mJavaMethod:Ljava/lang/reflect/Method;
|
|
|
|
- move-result-object p0
|
|
-
|
|
- return-object p0
|
|
+ return-object v0
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/NoSuchClassException.smali b/smali_classes8/miui/reflect/NoSuchClassException.smali
|
|
index 63265438..0d7a8efb 100644
|
|
--- a/smali_classes8/miui/reflect/NoSuchClassException.smali
|
|
+++ b/smali_classes8/miui/reflect/NoSuchClassException.smali
|
|
@@ -1,18 +1,14 @@
|
|
.class public Lmiui/reflect/NoSuchClassException;
|
|
-.super Lmiui/reflect/ReflectionException;
|
|
+.super Ljava/lang/Exception;
|
|
.source "NoSuchClassException.java"
|
|
|
|
|
|
-# static fields
|
|
-.field private static final serialVersionUID:J = -0x61a0f9b8f5cb7c20L
|
|
-
|
|
-
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Lmiui/reflect/ReflectionException;-><init>()V
|
|
+ .line 4
|
|
+ invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -20,8 +16,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;)V
|
|
+ .line 5
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -29,8 +25,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 3
|
|
- invoke-direct {p0, p1, p2}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
+ .line 6
|
|
+ invoke-direct {p0, p1, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -38,8 +34,8 @@
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 4
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/Throwable;)V
|
|
+ .line 7
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/NoSuchFieldException.smali b/smali_classes8/miui/reflect/NoSuchFieldException.smali
|
|
index 0bf4a149..b7048143 100644
|
|
--- a/smali_classes8/miui/reflect/NoSuchFieldException.smali
|
|
+++ b/smali_classes8/miui/reflect/NoSuchFieldException.smali
|
|
@@ -1,18 +1,14 @@
|
|
.class public Lmiui/reflect/NoSuchFieldException;
|
|
-.super Lmiui/reflect/ReflectionException;
|
|
+.super Ljava/lang/Exception;
|
|
.source "NoSuchFieldException.java"
|
|
|
|
|
|
-# static fields
|
|
-.field private static final serialVersionUID:J = -0x61a0f9b8f5cb7c1fL
|
|
-
|
|
-
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Lmiui/reflect/ReflectionException;-><init>()V
|
|
+ .line 4
|
|
+ invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -20,8 +16,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;)V
|
|
+ .line 5
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -29,8 +25,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 3
|
|
- invoke-direct {p0, p1, p2}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
+ .line 6
|
|
+ invoke-direct {p0, p1, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -38,8 +34,8 @@
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 4
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/Throwable;)V
|
|
+ .line 7
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/NoSuchMethodException.smali b/smali_classes8/miui/reflect/NoSuchMethodException.smali
|
|
index d23eb429..e35994fb 100644
|
|
--- a/smali_classes8/miui/reflect/NoSuchMethodException.smali
|
|
+++ b/smali_classes8/miui/reflect/NoSuchMethodException.smali
|
|
@@ -1,18 +1,14 @@
|
|
.class public Lmiui/reflect/NoSuchMethodException;
|
|
-.super Lmiui/reflect/ReflectionException;
|
|
+.super Ljava/lang/Exception;
|
|
.source "NoSuchMethodException.java"
|
|
|
|
|
|
-# static fields
|
|
-.field private static final serialVersionUID:J = -0x61a0f9b8f5cb7c1eL
|
|
-
|
|
-
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Lmiui/reflect/ReflectionException;-><init>()V
|
|
+ .line 4
|
|
+ invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -20,8 +16,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;)V
|
|
+ .line 5
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -29,8 +25,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 3
|
|
- invoke-direct {p0, p1, p2}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
+ .line 6
|
|
+ invoke-direct {p0, p1, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -38,8 +34,8 @@
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 4
|
|
- invoke-direct {p0, p1}, Lmiui/reflect/ReflectionException;-><init>(Ljava/lang/Throwable;)V
|
|
+ .line 7
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
diff --git a/smali_classes8/miui/reflect/ReflectionException.smali b/smali_classes8/miui/reflect/ReflectionException.smali
|
|
index 88de1d0e..77676539 100644
|
|
--- a/smali_classes8/miui/reflect/ReflectionException.smali
|
|
+++ b/smali_classes8/miui/reflect/ReflectionException.smali
|
|
@@ -1,18 +1,14 @@
|
|
.class public Lmiui/reflect/ReflectionException;
|
|
-.super Ljava/lang/RuntimeException;
|
|
+.super Ljava/lang/Exception;
|
|
.source "ReflectionException.java"
|
|
|
|
|
|
-# static fields
|
|
-.field private static final serialVersionUID:J = -0x61a0f9b8f5cb7c1dL
|
|
-
|
|
-
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
- .line 1
|
|
- invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
|
+ .line 4
|
|
+ invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -20,8 +16,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
- .line 2
|
|
- invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
|
+ .line 5
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -29,8 +25,8 @@
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 3
|
|
- invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
+ .line 6
|
|
+ invoke-direct {p0, p1, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|
|
@@ -38,8 +34,8 @@
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
- .line 4
|
|
- invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
+ .line 7
|
|
+ invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|