--- /home/hans/code/fdroid/data/tmp/org.schabi.newpipe_18.apk +++ /home/hans/code/fdroid/data/tmp/sigcp_org.schabi.newpipe_18.apk ├── zipinfo {} │ @@ -1,8 +1,8 @@ │ -Zip file size: 3191212 bytes, number of entries: 511 │ +Zip file size: 3189872 bytes, number of entries: 511 │ -rw---- 2.0 fat 52152 bl defN 08-Jan-01 00:00 META-INF/MANIFEST.MF │ -rw---- 2.0 fat 52273 bl defN 08-Jan-01 00:00 META-INF/EE8807D2.SF │ -rw---- 2.0 fat 1326 bl defN 08-Jan-01 00:00 META-INF/EE8807D2.RSA │ -rw---- 2.0 fat 41 bl defN 08-Jan-01 00:00 META-INF/buildserverid │ -rw---- 2.0 fat 41 bl defN 08-Jan-01 00:00 META-INF/fdroidserverid │ -rw---- 2.0 fat 9564 bX defN 08-Jan-01 00:00 AndroidManifest.xml │ -rw---- 2.0 fat 620 bl defN 08-Jan-01 00:00 res/anim-v21/design_bottom_sheet_slide_in.xml │ @@ -493,21 +493,21 @@ │ -rw---- 1.0 fat 3166 b- stor 08-Jan-01 00:00 res/mipmap-hdpi-v4/ic_launcher.png │ -rw---- 1.0 fat 1824 b- stor 08-Jan-01 00:00 res/mipmap-mdpi-v4/ic_launcher.png │ -rw---- 1.0 fat 4187 b- stor 08-Jan-01 00:00 res/mipmap-xhdpi-v4/ic_launcher.png │ -rw---- 1.0 fat 6614 b- stor 08-Jan-01 00:00 res/mipmap-xxhdpi-v4/ic_launcher.png │ -rw---- 1.0 fat 9271 b- stor 08-Jan-01 00:00 res/mipmap-xxxhdpi-v4/ic_launcher.png │ -rw---- 2.0 fat 2892 bl defN 08-Jan-01 00:00 res/xml/settings.xml │ -rw---- 1.0 fat 434936 b- stor 08-Jan-01 00:00 resources.arsc │ --rw---- 2.0 fat 4940844 bl defN 08-Jan-01 00:00 classes.dex │ --rw---- 2.0 fat 1254 bl defN 08-Jan-01 00:00 org/jsoup/nodes/entities-base.properties │ --rw---- 2.0 fat 27501 bl defN 08-Jan-01 00:00 org/jsoup/nodes/entities-full.properties │ +-rw---- 2.0 fat 4940596 bl defN 08-Jan-01 00:00 classes.dex │ -rw---- 2.0 fat 74847 bl defN 08-Jan-01 00:00 org/mozilla/javascript/NativeArray.java.orig │ -rw---- 2.0 fat 36907 bl defN 08-Jan-01 00:00 org/mozilla/javascript/NativeString.java.orig │ -rw---- 2.0 fat 154313 bl defN 08-Jan-01 00:00 org/mozilla/javascript/ScriptRuntime.java.orig │ -rw---- 2.0 fat 19982 bl defN 08-Jan-01 00:00 org/mozilla/javascript/Token.java.orig │ -rw---- 2.0 fat 20772 bl defN 08-Jan-01 00:00 org/mozilla/javascript/resources/Messages.properties │ -rw---- 2.0 fat 25881 bl defN 08-Jan-01 00:00 org/mozilla/javascript/resources/Messages_fr.properties │ -rw---- 2.0 fat 3747 bl defN 08-Jan-01 00:00 org/mozilla/javascript/tools/debugger/build.xml │ -rw---- 2.0 fat 2579 bl defN 08-Jan-01 00:00 org/mozilla/javascript/tools/debugger/test.js │ -rw---- 2.0 fat 4879 bl defN 08-Jan-01 00:00 org/mozilla/javascript/tools/idswitch/README │ -rw---- 2.0 fat 9881 bl defN 08-Jan-01 00:00 org/mozilla/javascript/tools/resources/Messages.properties │ -511 files, 6366022 bytes uncompressed, 3098529 bytes compressed: 51.3% │ +-rw---- 2.0 fat 1254 bl defN 08-Jan-01 00:00 org/jsoup/nodes/entities-base.properties │ +-rw---- 2.0 fat 27501 bl defN 08-Jan-01 00:00 org/jsoup/nodes/entities-full.properties │ +511 files, 6365774 bytes uncompressed, 3098442 bytes compressed: 51.3% ├── APK metadata │ @@ -5,26 +5,26 @@ │ isFrameworkApk: false │ packageInfo: null │ sdkInfo: │ minSdkVersion: '15' │ targetSdkVersion: '23' │ sharedLibrary: false │ unknownFiles: │ - org/jsoup/nodes/entities-base.properties: '8' │ - org/jsoup/nodes/entities-full.properties: '8' │ org/mozilla/javascript/NativeArray.java.orig: '8' │ org/mozilla/javascript/NativeString.java.orig: '8' │ org/mozilla/javascript/ScriptRuntime.java.orig: '8' │ org/mozilla/javascript/Token.java.orig: '8' │ org/mozilla/javascript/resources/Messages.properties: '8' │ org/mozilla/javascript/resources/Messages_fr.properties: '8' │ org/mozilla/javascript/tools/debugger/build.xml: '8' │ org/mozilla/javascript/tools/debugger/test.js: '8' │ org/mozilla/javascript/tools/idswitch/README: '8' │ org/mozilla/javascript/tools/resources/Messages.properties: '8' │ + org/jsoup/nodes/entities-base.properties: '8' │ + org/jsoup/nodes/entities-full.properties: '8' │ usesFramework: │ ids: │ - 1 │ tag: null │ version: 2.2.1-dirty │ versionInfo: │ versionCode: '18' ├── smali/android/support/design/R.smali │ @@ -26,10 +26,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 1152 │ return-void │ .end method ├── smali/android/support/v4/app/BundleCompatDonut.smali │ @@ -96,17 +96,17 @@ │ │ invoke-virtual {v1, p0, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; │ │ move-result-object v1 │ │ check-cast v1, Landroid/os/IBinder; │ :try_end_1 │ - .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_2 │ - .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_3 │ - .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1 │ + .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_3 │ + .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_1 │ + .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_2 │ │ .line 58 │ :goto_1 │ return-object v1 │ │ .line 43 │ :catch_0 │ @@ -233,17 +233,17 @@ │ │ const/4 v3, 0x1 │ │ aput-object p2, v2, v3 │ │ invoke-virtual {v1, p0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; │ :try_end_1 │ - .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_2 │ - .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_3 │ - .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1 │ + .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_3 │ + .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_1 │ + .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_2 │ │ .line 82 │ :cond_1 │ :goto_1 │ return-void │ │ .line 67 ├── smali/android/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21.smali │ @@ -128,16 +128,16 @@ │ │ invoke-virtual {v2, v3, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; │ │ move-result-object v3 │ │ iput-object v3, p0, Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21;->mOnLoadChildrenMethod:Ljava/lang/reflect/Method; │ :try_end_0 │ - .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1 │ - .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1 │ │ .line 53 │ .end local v1 # "parceledListSliceClass":Ljava/lang/Class; │ .end local v2 # "theClass":Ljava/lang/Class; │ :goto_0 │ return-void ├── smali/android/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21$Stub.smali │ @@ -47,16 +47,16 @@ │ │ invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; │ │ move-result-object v2 │ │ sput-object v2, Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21$Stub;->sAsInterfaceMethod:Ljava/lang/reflect/Method; │ :try_end_0 │ - .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1 │ - .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1 │ │ .line 100 │ :goto_0 │ return-void │ │ .line 97 │ :catch_0 ├── smali/android/support/v4/media/ParceledListSliceAdapterApi21.smali │ @@ -34,16 +34,16 @@ │ │ invoke-virtual {v1, v2}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; │ │ move-result-object v2 │ │ sput-object v2, Landroid/support/v4/media/ParceledListSliceAdapterApi21;->sConstructor:Ljava/lang/reflect/Constructor; │ :try_end_0 │ - .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_1 │ - .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 │ + .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1 │ │ .line 37 │ :goto_0 │ return-void │ │ .line 34 │ :catch_0 ├── smali/android/support/v7/appcompat/R.smali │ @@ -26,10 +26,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 953 │ return-void │ .end method ├── smali/android/support/v7/recyclerview/R.smali │ @@ -18,10 +18,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 24 │ return-void │ .end method ├── smali/com/nirhart/parallaxscroll/R.smali │ @@ -16,10 +16,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 17 │ return-void │ .end method ├── smali/com/nononsenseapps/filepicker/R.smali │ @@ -27,10 +27,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 849 │ return-void │ .end method ├── smali/de/hdodenhof/circleimageview/R.smali │ @@ -16,10 +16,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 9 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 16 │ return-void │ .end method ├── smali/org/schabi/newpipe/ActionBarHandler$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/ActionBarHandler; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/ActionBarHandler;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/ActionBarHandler; │ │ .prologue │ .line 99 │ iput-object p1, p0, Lorg/schabi/newpipe/ActionBarHandler$1;->this$0:Lorg/schabi/newpipe/ActionBarHandler; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/ActionBarHandler.smali │ @@ -143,26 +143,29 @@ │ .local p1, "videoStreams":Ljava/util/List;, "Ljava/util/List;" │ iget-object v3, p0, Lorg/schabi/newpipe/ActionBarHandler;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v4, p0, Lorg/schabi/newpipe/ActionBarHandler;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v5, 0x7f070028 │ │ + .line 114 │ invoke-virtual {v4, v5}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v4 │ │ iget-object v5, p0, Lorg/schabi/newpipe/ActionBarHandler;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v6, 0x7f07002a │ │ + .line 115 │ invoke-virtual {v5, v6}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v5 │ │ + .line 114 │ invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v0 │ │ .line 117 │ .local v0, "defaultResolution":Ljava/lang/String; │ const/4 v1, 0x0 │ @@ -469,24 +472,26 @@ │ .line 137 │ iget-object v0, p0, Lorg/schabi/newpipe/ActionBarHandler;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v1, p0, Lorg/schabi/newpipe/ActionBarHandler;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v2, 0x7f07005f │ │ + .line 138 │ invoke-virtual {v1, v2}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v1 │ │ const/4 v2, 0x0 │ │ invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z │ │ move-result v0 │ │ + .line 137 │ invoke-virtual {p0, v0}, Lorg/schabi/newpipe/ActionBarHandler;->showPlayWithKodiAction(Z)V │ │ .line 139 │ return-void │ .end method │ │ .method public setupNavMenu(Landroid/support/v7/app/AppCompatActivity;)V ├── smali/org/schabi/newpipe/ErrorActivity$3.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/ErrorActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/ErrorActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/ErrorActivity; │ │ .prologue │ .line 197 │ iput-object p1, p0, Lorg/schabi/newpipe/ErrorActivity$3;->this$0:Lorg/schabi/newpipe/ErrorActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -60,22 +61,24 @@ │ │ move-result-object v1 │ │ const-string v2, "android.intent.extra.SUBJECT" │ │ const-string v3, "Exception in NewPipe 0.8.0" │ │ + .line 203 │ invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v1 │ │ const-string v2, "android.intent.extra.TEXT" │ │ iget-object v3, p0, Lorg/schabi/newpipe/ErrorActivity$3;->this$0:Lorg/schabi/newpipe/ErrorActivity; │ │ + .line 204 │ # invokes: Lorg/schabi/newpipe/ErrorActivity;->buildJson()Ljava/lang/String; │ invoke-static {v3}, Lorg/schabi/newpipe/ErrorActivity;->access$000(Lorg/schabi/newpipe/ErrorActivity;)Ljava/lang/String; │ │ move-result-object v3 │ │ invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; ├── smali/org/schabi/newpipe/Downloader.smali │ @@ -55,14 +55,15 @@ │ invoke-virtual {p0, v6, v7}, Ljavax/net/ssl/HttpsURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V │ │ .line 59 │ new-instance v2, Ljava/io/BufferedReader; │ │ new-instance v6, Ljava/io/InputStreamReader; │ │ + .line 60 │ invoke-virtual {p0}, Ljavax/net/ssl/HttpsURLConnection;->getInputStream()Ljava/io/InputStream; │ │ move-result-object v7 │ │ invoke-direct {v6, v7}, Ljava/io/InputStreamReader;->(Ljava/io/InputStream;)V │ │ invoke-direct {v2, v6}, Ljava/io/BufferedReader;->(Ljava/io/Reader;)V ├── smali/org/schabi/newpipe/Localization.smali │ @@ -93,18 +93,20 @@ │ │ invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; │ │ move-result-object v3 │ │ const v4, 0x7f070027 │ │ + .line 44 │ invoke-virtual {p0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String; │ │ move-result-object v4 │ │ + .line 43 │ invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ .line 46 │ .local v1, "languageCode":Ljava/lang/String; │ invoke-virtual {v1}, Ljava/lang/String;->length()I │ @@ -131,14 +133,15 @@ │ move-result v3 │ │ if-eqz v3, :cond_1 │ │ .line 50 │ const-string v3, "_" │ │ + .line 51 │ invoke-virtual {v1, v3}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I │ │ move-result v3 │ │ invoke-virtual {v1}, Ljava/lang/String;->length()I │ │ move-result v4 ├── smali/org/schabi/newpipe/ErrorActivity.smali │ @@ -99,15 +99,14 @@ │ invoke-direct {p0}, Landroid/support/v7/app/AppCompatActivity;->()V │ │ .line 96 │ const/4 v0, 0x0 │ │ iput-object v0, p0, Lorg/schabi/newpipe/ErrorActivity;->globIpRangeThread:Ljava/lang/Thread; │ │ - .line 404 │ return-void │ .end method │ │ .method static synthetic access$000(Lorg/schabi/newpipe/ErrorActivity;)Ljava/lang/String; │ .locals 1 │ .param p0, "x0" # Lorg/schabi/newpipe/ErrorActivity; │ │ @@ -304,14 +303,15 @@ │ │ const-string v4, "\n" │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ │ + .line 292 │ invoke-direct {p0}, Lorg/schabi/newpipe/ErrorActivity;->getContentLangString()Ljava/lang/String; │ │ move-result-object v4 │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ @@ -354,14 +354,15 @@ │ │ const-string v4, "\n" │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ │ + .line 296 │ invoke-direct {p0}, Lorg/schabi/newpipe/ErrorActivity;->getOsString()Ljava/lang/String; │ │ move-result-object v4 │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ @@ -374,120 +375,126 @@ │ invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 299 │ return-void │ .end method │ │ .method private buildJson()Ljava/lang/String; │ - .locals 7 │ + .locals 6 │ │ .prologue │ .line 302 │ new-instance v1, Lorg/json/JSONObject; │ │ invoke-direct {v1}, Lorg/json/JSONObject;->()V │ │ .line 305 │ .local v1, "errorObject":Lorg/json/JSONObject; │ :try_start_0 │ - const-string v4, "user_action" │ + const-string v3, "user_action" │ │ - iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + iget-object v4, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - iget v5, v5, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->userAction:I │ + iget v4, v4, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->userAction:I │ │ - invoke-direct {p0, v5}, Lorg/schabi/newpipe/ErrorActivity;->getUserActionString(I)Ljava/lang/String; │ + invoke-direct {p0, v4}, Lorg/schabi/newpipe/ErrorActivity;->getUserActionString(I)Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v4 │ │ - invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "request" │ + const-string v4, "request" │ │ - iget-object v6, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - iget-object v6, v6, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->request:Ljava/lang/String; │ + iget-object v5, v5, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->request:Ljava/lang/String; │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + .line 306 │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "content_language" │ + const-string v4, "content_language" │ │ + .line 307 │ invoke-direct {p0}, Lorg/schabi/newpipe/ErrorActivity;->getContentLangString()Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v5 │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "service" │ + const-string v4, "service" │ │ - iget-object v6, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->errorInfo:Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - iget-object v6, v6, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->serviceName:Ljava/lang/String; │ + iget-object v5, v5, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->serviceName:Ljava/lang/String; │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + .line 308 │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "version" │ + const-string v4, "version" │ │ - const-string v6, "0.8.0" │ + const-string v5, "0.8.0" │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + .line 309 │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "os" │ + const-string v4, "os" │ │ + .line 310 │ invoke-direct {p0}, Lorg/schabi/newpipe/ErrorActivity;->getOsString()Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v5 │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "time" │ + const-string v4, "time" │ │ - iget-object v6, p0, Lorg/schabi/newpipe/ErrorActivity;->currentTimeStamp:Ljava/lang/String; │ + iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->currentTimeStamp:Ljava/lang/String; │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + .line 311 │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - const-string v5, "ip_range" │ + const-string v4, "ip_range" │ │ - iget-object v6, p0, Lorg/schabi/newpipe/ErrorActivity;->globIpRange:Ljava/lang/String; │ + iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->globIpRange:Ljava/lang/String; │ │ - invoke-virtual {v4, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + .line 312 │ + invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ .line 314 │ new-instance v2, Lorg/json/JSONArray; │ │ invoke-direct {v2}, Lorg/json/JSONArray;->()V │ │ .line 315 │ .local v2, "exceptionArray":Lorg/json/JSONArray; │ - iget-object v4, p0, Lorg/schabi/newpipe/ErrorActivity;->errorList:Ljava/util/List; │ + iget-object v3, p0, Lorg/schabi/newpipe/ErrorActivity;->errorList:Ljava/util/List; │ │ - if-eqz v4, :cond_0 │ + if-eqz v3, :cond_0 │ │ .line 316 │ - iget-object v4, p0, Lorg/schabi/newpipe/ErrorActivity;->errorList:Ljava/util/List; │ + iget-object v3, p0, Lorg/schabi/newpipe/ErrorActivity;->errorList:Ljava/util/List; │ │ - invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ + invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ move-result-object v3 │ │ - .local v3, "i$":Ljava/util/Iterator; │ :goto_0 │ invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v4 │ │ if-eqz v4, :cond_0 │ │ @@ -508,67 +515,66 @@ │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ goto :goto_0 │ │ .line 325 │ .end local v0 # "e":Ljava/lang/Exception; │ .end local v2 # "exceptionArray":Lorg/json/JSONArray; │ - .end local v3 # "i$":Ljava/util/Iterator; │ :catch_0 │ move-exception v0 │ │ .line 326 │ .restart local v0 # "e":Ljava/lang/Exception; │ - sget-object v4, Lorg/schabi/newpipe/ErrorActivity;->TAG:Ljava/lang/String; │ + sget-object v3, Lorg/schabi/newpipe/ErrorActivity;->TAG:Ljava/lang/String; │ │ - const-string v5, "Error while erroring: Could not build json" │ + const-string v4, "Error while erroring: Could not build json" │ │ - invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ + invoke-static {v3, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 327 │ invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V │ │ .line 330 │ - const-string v4, "" │ + const-string v3, "" │ │ .end local v0 # "e":Ljava/lang/Exception; │ :goto_1 │ - return-object v4 │ + return-object v3 │ │ .line 321 │ .restart local v2 # "exceptionArray":Lorg/json/JSONArray; │ :cond_0 │ :try_start_1 │ - const-string v4, "exceptions" │ + const-string v3, "exceptions" │ │ - invoke-virtual {v1, v4, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + invoke-virtual {v1, v3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ .line 322 │ - const-string v4, "user_comment" │ + const-string v3, "user_comment" │ │ - iget-object v5, p0, Lorg/schabi/newpipe/ErrorActivity;->userCommentBox:Landroid/widget/EditText; │ + iget-object v4, p0, Lorg/schabi/newpipe/ErrorActivity;->userCommentBox:Landroid/widget/EditText; │ │ - invoke-virtual {v5}, Landroid/widget/EditText;->getText()Landroid/text/Editable; │ + invoke-virtual {v4}, Landroid/widget/EditText;->getText()Landroid/text/Editable; │ │ - move-result-object v5 │ + move-result-object v4 │ │ - invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String; │ + invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v4 │ │ - invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ + invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; │ │ .line 324 │ - const/4 v4, 0x3 │ + const/4 v3, 0x3 │ │ - invoke-virtual {v1, v4}, Lorg/json/JSONObject;->toString(I)Ljava/lang/String; │ + invoke-virtual {v1, v3}, Lorg/json/JSONObject;->toString(I)Ljava/lang/String; │ :try_end_1 │ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0 │ │ - move-result-object v4 │ + move-result-object v3 │ │ goto :goto_1 │ .end method │ │ .method private formErrorText(Ljava/util/List;)Ljava/lang/String; │ .locals 5 │ .annotation system Ldalvik/annotation/Signature; │ @@ -581,117 +587,118 @@ │ "Ljava/lang/String;" │ } │ .end annotation │ │ .prologue │ .line 256 │ .local p1, "el":Ljava/util/List;, "Ljava/util/List;" │ - const-string v2, "" │ + const-string v1, "" │ │ .line 257 │ - .local v2, "text":Ljava/lang/String; │ + .local v1, "text":Ljava/lang/String; │ if-eqz p1, :cond_0 │ │ .line 258 │ invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ - move-result-object v1 │ + move-result-object v2 │ │ - .local v1, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v3 │ │ if-eqz v3, :cond_0 │ │ - invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ move-result-object v0 │ │ check-cast v0, Ljava/lang/Exception; │ │ .line 259 │ .local v0, "e":Ljava/lang/Exception; │ new-instance v3, Ljava/lang/StringBuilder; │ │ invoke-direct {v3}, Ljava/lang/StringBuilder;->()V │ │ - invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ │ const-string v4, "-------------------------------------\n" │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ │ + .line 260 │ invoke-static {v0}, Lorg/schabi/newpipe/ErrorActivity;->getStackTrace(Ljava/lang/Throwable;)Ljava/lang/String; │ │ move-result-object v4 │ │ invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v3 │ │ invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v2 │ + move-result-object v1 │ │ .line 261 │ goto :goto_0 │ │ .line 263 │ .end local v0 # "e":Ljava/lang/Exception; │ - .end local v1 # "i$":Ljava/util/Iterator; │ :cond_0 │ - new-instance v3, Ljava/lang/StringBuilder; │ + new-instance v2, Ljava/lang/StringBuilder; │ │ - invoke-direct {v3}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v2}, Ljava/lang/StringBuilder;->()V │ │ - invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - const-string v4, "-------------------------------------" │ + const-string v3, "-------------------------------------" │ │ - invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v2 │ + move-result-object v1 │ │ .line 264 │ - return-object v2 │ + return-object v1 │ .end method │ │ .method private getContentLangString()Ljava/lang/String; │ .locals 3 │ │ .prologue │ .line 351 │ invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ │ move-result-object v0 │ │ const v1, 0x7f070050 │ │ + .line 352 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/ErrorActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v1 │ │ const-string v2, "none" │ │ invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v0 │ │ + .line 351 │ return-object v0 │ .end method │ │ .method private getOsString()Ljava/lang/String; │ .locals 3 │ │ .prologue │ @@ -723,14 +730,15 @@ │ │ const-string v2, " " │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ + .line 358 │ invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z │ │ move-result v2 │ │ if-eqz v2, :cond_0 │ │ const-string v0, "Android" │ @@ -757,26 +765,28 @@ │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ sget v2, Landroid/os/Build$VERSION;->SDK_INT:I │ │ + .line 360 │ invoke-static {v2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 357 │ return-object v1 │ │ .line 356 │ :cond_1 │ const-string v0, "Android" │ │ goto :goto_0 │ @@ -895,14 +905,15 @@ │ │ if-eqz v1, :cond_1 │ │ iget-object v1, p0, Lorg/schabi/newpipe/ErrorActivity;->returnActivity:Ljava/lang/Class; │ │ const-class v2, Landroid/app/Activity; │ │ + .line 273 │ invoke-virtual {v1, v2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z │ │ move-result v1 │ │ if-eqz v1, :cond_1 │ │ .line 274 │ @@ -1004,28 +1015,31 @@ │ │ invoke-static {p3, v2, v3}, Landroid/support/design/widget/Snackbar;->make(Landroid/view/View;II)Landroid/support/design/widget/Snackbar; │ │ move-result-object v2 │ │ const/16 v3, -0x100 │ │ + .line 110 │ invoke-virtual {v2, v3}, Landroid/support/design/widget/Snackbar;->setActionTextColor(I)Landroid/support/design/widget/Snackbar; │ │ move-result-object v2 │ │ const v3, 0x7f07008b │ │ new-instance v4, Lorg/schabi/newpipe/ErrorActivity$1; │ │ invoke-direct {v4, p1, p2, p4, p0}, Lorg/schabi/newpipe/ErrorActivity$1;->(Ljava/util/List;Ljava/lang/Class;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;Landroid/content/Context;)V │ │ + .line 111 │ invoke-virtual {v2, v3, v4}, Landroid/support/design/widget/Snackbar;->setAction(ILandroid/view/View$OnClickListener;)Landroid/support/design/widget/Snackbar; │ │ move-result-object v2 │ │ + .line 121 │ invoke-virtual {v2}, Landroid/support/design/widget/Snackbar;->show()V │ │ .line 130 │ :goto_0 │ return-void │ │ .line 123 ├── smali/org/schabi/newpipe/NewPipeSettings.smali │ @@ -161,18 +161,20 @@ │ .local v4, "spEditor":Landroid/content/SharedPreferences$Editor; │ new-instance v5, Ljava/io/File; │ │ const-string v6, "NewPipe" │ │ invoke-direct {v5, v1, v6}, Ljava/io/File;->(Ljava/io/File;Ljava/lang/String;)V │ │ + .line 88 │ invoke-virtual {v5}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String; │ │ move-result-object v5 │ │ + .line 87 │ invoke-interface {v4, v2, v5}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor; │ │ .line 89 │ invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->apply()V │ │ goto :goto_0 │ .end method ├── smali/org/schabi/newpipe/R.smali │ @@ -30,10 +30,9 @@ │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 10 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 3342 │ return-void │ .end method ├── smali/org/schabi/newpipe/SettingsActivity$SettingsFragment.smali │ @@ -86,98 +86,113 @@ │ │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v2, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DEFAULT_RESOLUTION_PREFERENCE:Ljava/lang/String; │ │ const v3, 0x7f07002a │ │ + .line 151 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v3 │ │ + .line 150 │ invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 149 │ invoke-virtual {v0, v1}, Landroid/preference/ListPreference;->setSummary(Ljava/lang/CharSequence;)V │ │ .line 152 │ iget-object v0, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultAudioFormatPreference:Landroid/preference/ListPreference; │ │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v2, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DEFAULT_AUDIO_FORMAT_PREFERENCE:Ljava/lang/String; │ │ const v3, 0x7f070026 │ │ + .line 154 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v3 │ │ + .line 153 │ invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 152 │ invoke-virtual {v0, v1}, Landroid/preference/ListPreference;->setSummary(Ljava/lang/CharSequence;)V │ │ .line 155 │ iget-object v0, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->searchLanguagePreference:Landroid/preference/ListPreference; │ │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v2, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->SEARCH_LANGUAGE_PREFERENCE:Ljava/lang/String; │ │ const v3, 0x7f070027 │ │ + .line 157 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v3 │ │ + .line 156 │ invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 155 │ invoke-virtual {v0, v1}, Landroid/preference/ListPreference;->setSummary(Ljava/lang/CharSequence;)V │ │ .line 158 │ iget-object v0, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->downloadPathPreference:Landroid/preference/EditTextPreference; │ │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v2, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DOWNLOAD_PATH_PREFERENCE:Ljava/lang/String; │ │ const v3, 0x7f070039 │ │ + .line 160 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v3 │ │ + .line 159 │ invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 158 │ invoke-virtual {v0, v1}, Landroid/preference/EditTextPreference;->setSummary(Ljava/lang/CharSequence;)V │ │ .line 161 │ iget-object v0, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->downloadPathAudioPreference:Landroid/preference/EditTextPreference; │ │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultPreferences:Landroid/content/SharedPreferences; │ │ iget-object v2, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DOWNLOAD_PATH_AUDIO_PREFERENCE:Ljava/lang/String; │ │ const v3, 0x7f070035 │ │ + .line 163 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v3 │ │ + .line 162 │ invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 161 │ invoke-virtual {v0, v1}, Landroid/preference/EditTextPreference;->setSummary(Ljava/lang/CharSequence;)V │ │ .line 164 │ return-void │ .end method │ │ │ @@ -261,58 +276,63 @@ │ move-result-object v1 │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->USE_TOR_KEY:Ljava/lang/String; │ │ .line 108 │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DEFAULT_RESOLUTION_PREFERENCE:Ljava/lang/String; │ │ + .line 109 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; │ │ move-result-object v1 │ │ check-cast v1, Landroid/preference/ListPreference; │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultResolutionPreference:Landroid/preference/ListPreference; │ │ .line 110 │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DEFAULT_AUDIO_FORMAT_PREFERENCE:Ljava/lang/String; │ │ + .line 111 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; │ │ move-result-object v1 │ │ check-cast v1, Landroid/preference/ListPreference; │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->defaultAudioFormatPreference:Landroid/preference/ListPreference; │ │ .line 112 │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->SEARCH_LANGUAGE_PREFERENCE:Ljava/lang/String; │ │ + .line 113 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; │ │ move-result-object v1 │ │ check-cast v1, Landroid/preference/ListPreference; │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->searchLanguagePreference:Landroid/preference/ListPreference; │ │ .line 114 │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DOWNLOAD_PATH_PREFERENCE:Ljava/lang/String; │ │ + .line 115 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; │ │ move-result-object v1 │ │ check-cast v1, Landroid/preference/EditTextPreference; │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->downloadPathPreference:Landroid/preference/EditTextPreference; │ │ .line 116 │ iget-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->DOWNLOAD_PATH_AUDIO_PREFERENCE:Ljava/lang/String; │ │ + .line 117 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; │ │ move-result-object v1 │ │ check-cast v1, Landroid/preference/EditTextPreference; │ │ iput-object v1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->downloadPathAudioPreference:Landroid/preference/EditTextPreference; ├── smali/org/schabi/newpipe/SettingsActivity$SettingsFragment$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/SettingsActivity$SettingsFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/SettingsActivity$SettingsFragment; │ │ .prologue │ .line 120 │ iput-object p1, p0, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment$1;->this$0:Lorg/schabi/newpipe/SettingsActivity$SettingsFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/SettingsActivity.smali │ @@ -28,15 +28,14 @@ │ invoke-direct {p0}, Landroid/preference/PreferenceActivity;->()V │ │ .line 51 │ const/4 v0, 0x0 │ │ iput-object v0, p0, Lorg/schabi/newpipe/SettingsActivity;->mDelegate:Landroid/support/v7/app/AppCompatDelegate; │ │ - .line 70 │ return-void │ .end method │ │ .method private getDelegate()Landroid/support/v7/app/AppCompatDelegate; │ .locals 1 │ │ .prologue │ @@ -152,29 +151,31 @@ │ invoke-super {p0, p1, p2, p3}, Landroid/preference/PreferenceActivity;->onActivityResult(IILandroid/content/Intent;)V │ │ .line 172 │ const/16 v0, 0x1234 │ │ if-ne p1, v0, :cond_0 │ │ + .line 173 │ invoke-static {p0}, Linfo/guardianproject/netcipher/proxy/OrbotHelper;->requestStartTor(Landroid/content/Context;)Z │ │ move-result v0 │ │ if-eqz v0, :cond_0 │ │ const/4 v0, 0x1 │ │ + .line 172 │ :goto_0 │ invoke-static {v0}, Lorg/schabi/newpipe/App;->configureTor(Z)V │ │ .line 174 │ return-void │ │ - .line 172 │ + .line 173 │ :cond_0 │ const/4 v0, 0x0 │ │ goto :goto_0 │ .end method │ │ .method public onConfigurationChanged(Landroid/content/res/Configuration;)V │ @@ -248,18 +249,20 @@ │ │ const v2, 0x1020002 │ │ new-instance v3, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment; │ │ invoke-direct {v3}, Lorg/schabi/newpipe/SettingsActivity$SettingsFragment;->()V │ │ + .line 65 │ invoke-virtual {v1, v2, v3}, Landroid/app/FragmentTransaction;->replace(ILandroid/app/Fragment;)Landroid/app/FragmentTransaction; │ │ move-result-object v1 │ │ + .line 66 │ invoke-virtual {v1}, Landroid/app/FragmentTransaction;->commit()I │ │ .line 68 │ return-void │ .end method │ │ .method protected onDestroy()V ├── smali/org/schabi/newpipe/SuggestionListAdapter.smali │ @@ -2,15 +2,14 @@ │ .super Landroid/support/v4/widget/CursorAdapter; │ .source "SuggestionListAdapter.java" │ │ │ # annotations │ .annotation system Ldalvik/annotation/MemberClasses; │ value = { │ - Lorg/schabi/newpipe/SuggestionListAdapter$1;, │ Lorg/schabi/newpipe/SuggestionListAdapter$ViewHolder; │ } │ .end annotation │ │ │ # instance fields │ .field private columns:[Ljava/lang/String; │ @@ -163,73 +162,72 @@ │ .end annotation │ │ .prologue │ .line 63 │ .local p1, "suggestions":Ljava/util/ArrayList;, "Ljava/util/ArrayList;" │ new-instance v0, Landroid/database/MatrixCursor; │ │ - iget-object v5, p0, Lorg/schabi/newpipe/SuggestionListAdapter;->columns:[Ljava/lang/String; │ + iget-object v4, p0, Lorg/schabi/newpipe/SuggestionListAdapter;->columns:[Ljava/lang/String; │ │ - invoke-direct {v0, v5}, Landroid/database/MatrixCursor;->([Ljava/lang/String;)V │ + invoke-direct {v0, v4}, Landroid/database/MatrixCursor;->([Ljava/lang/String;)V │ │ .line 64 │ .local v0, "cursor":Landroid/database/MatrixCursor; │ const/4 v1, 0x0 │ │ .line 65 │ .local v1, "i":I │ invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v2 │ + move-result-object v4 │ │ - .local v2, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v5 │ │ if-eqz v5, :cond_0 │ │ - invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Ljava/lang/String; │ + check-cast v2, Ljava/lang/String; │ │ .line 66 │ - .local v3, "s":Ljava/lang/String; │ + .local v2, "s":Ljava/lang/String; │ const/4 v5, 0x2 │ │ - new-array v4, v5, [Ljava/lang/String; │ + new-array v3, v5, [Ljava/lang/String; │ │ .line 67 │ - .local v4, "temp":[Ljava/lang/String; │ + .local v3, "temp":[Ljava/lang/String; │ const/4 v5, 0x0 │ │ invoke-static {v1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ move-result-object v6 │ │ - aput-object v6, v4, v5 │ + aput-object v6, v3, v5 │ │ .line 68 │ const/4 v5, 0x1 │ │ - aput-object v3, v4, v5 │ + aput-object v2, v3, v5 │ │ .line 69 │ add-int/lit8 v1, v1, 0x1 │ │ .line 70 │ - invoke-virtual {v0, v4}, Landroid/database/MatrixCursor;->addRow([Ljava/lang/Object;)V │ + invoke-virtual {v0, v3}, Landroid/database/MatrixCursor;->addRow([Ljava/lang/Object;)V │ │ goto :goto_0 │ │ .line 72 │ - .end local v3 # "s":Ljava/lang/String; │ - .end local v4 # "temp":[Ljava/lang/String; │ + .end local v2 # "s":Ljava/lang/String; │ + .end local v3 # "temp":[Ljava/lang/String; │ :cond_0 │ invoke-virtual {p0, v0}, Lorg/schabi/newpipe/SuggestionListAdapter;->changeCursor(Landroid/database/Cursor;)V │ │ .line 73 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoInfoItemViewCreator.smali │ @@ -2,15 +2,14 @@ │ .super Ljava/lang/Object; │ .source "VideoInfoItemViewCreator.java" │ │ │ # annotations │ .annotation system Ldalvik/annotation/MemberClasses; │ value = { │ - Lorg/schabi/newpipe/VideoInfoItemViewCreator$1;, │ Lorg/schabi/newpipe/VideoInfoItemViewCreator$ViewHolder; │ } │ .end annotation │ │ │ # instance fields │ .field private displayImageOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$10$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$10;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ .prologue │ .line 635 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10$2;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$10$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$10;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ .prologue │ .line 644 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10$1;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$10; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$10.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 595 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -59,14 +60,15 @@ │ │ invoke-static {v5}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ │ move-result-object v5 │ │ iget-object v8, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 599 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ invoke-static {v8}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$500(Lorg/schabi/newpipe/VideoItemDetailFragment;)Landroid/support/v7/app/AppCompatActivity; │ │ move-result-object v8 │ │ const v9, 0x7f070068 │ │ @@ -84,14 +86,15 @@ │ │ iget-object v5, v5, Lorg/schabi/newpipe/extractor/StreamInfo;->audio_streams:Ljava/util/List; │ │ iget-object v8, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iget-object v9, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ + .line 602 │ # invokes: Lorg/schabi/newpipe/VideoItemDetailFragment;->getPreferredAudioStreamId(Lorg/schabi/newpipe/extractor/StreamInfo;)I │ invoke-static {v8, v9}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$1000(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)I │ │ move-result v8 │ │ invoke-interface {v5, v8}, Ljava/util/List;->get(I)Ljava/lang/Object; │ │ @@ -126,14 +129,15 @@ │ .line 606 │ invoke-static {}, Lorg/schabi/newpipe/ActivityCommunicator;->getCommunicator()Lorg/schabi/newpipe/ActivityCommunicator; │ │ move-result-object v5 │ │ iget-object v8, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 607 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->videoThumbnail:Landroid/graphics/Bitmap; │ invoke-static {v8}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$800(Lorg/schabi/newpipe/VideoItemDetailFragment;)Landroid/graphics/Bitmap; │ │ move-result-object v8 │ │ iput-object v8, v5, Lorg/schabi/newpipe/ActivityCommunicator;->backgroundPlayerThumbnail:Landroid/graphics/Bitmap; │ │ @@ -224,18 +228,20 @@ │ │ invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; │ │ move-result-object v5 │ │ iget v6, v0, Lorg/schabi/newpipe/extractor/AudioStream;->format:I │ │ + .line 614 │ invoke-static {v6}, Lorg/schabi/newpipe/extractor/MediaFormat;->getMimeById(I)Ljava/lang/String; │ │ move-result-object v6 │ │ + .line 613 │ invoke-virtual {v3, v5, v6}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent; │ │ .line 615 │ const-string v5, "title" │ │ iget-object v6, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -321,18 +327,20 @@ │ │ invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; │ │ move-result-object v5 │ │ iget v6, v0, Lorg/schabi/newpipe/extractor/AudioStream;->format:I │ │ + .line 626 │ invoke-static {v6}, Lorg/schabi/newpipe/extractor/MediaFormat;->getMimeById(I)Ljava/lang/String; │ │ move-result-object v6 │ │ + .line 625 │ invoke-virtual {v3, v5, v6}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent; │ │ .line 627 │ const-string v5, "android.intent.extra.TITLE" │ │ iget-object v6, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$10;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -393,24 +401,26 @@ │ │ const v6, 0x7f070040 │ │ new-instance v7, Lorg/schabi/newpipe/VideoItemDetailFragment$10$2; │ │ invoke-direct {v7, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$10$2;->(Lorg/schabi/newpipe/VideoItemDetailFragment$10;)V │ │ + .line 635 │ invoke-virtual {v5, v6, v7}, Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ move-result-object v5 │ │ const v6, 0x7f07001e │ │ new-instance v7, Lorg/schabi/newpipe/VideoItemDetailFragment$10$1; │ │ invoke-direct {v7, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$10$1;->(Lorg/schabi/newpipe/VideoItemDetailFragment$10;)V │ │ + .line 644 │ invoke-virtual {v5, v6, v7}, Landroid/support/v7/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ .line 650 │ invoke-virtual {v1}, Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; │ │ move-result-object v5 ├── smali/org/schabi/newpipe/VideoItemDetailActivity.smali │ @@ -168,41 +168,45 @@ │ .line 84 │ const v4, 0x7f070067 │ │ invoke-static {p0, v4, v8}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v4 │ │ + .line 85 │ invoke-virtual {v4}, Landroid/widget/Toast;->show()V │ │ .line 89 │ :cond_1 │ const-string v4, "video_url" │ │ iget-object v5, p0, Lorg/schabi/newpipe/VideoItemDetailActivity;->videoUrl:Ljava/lang/String; │ │ invoke-virtual {v0, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V │ │ .line 91 │ const-string v4, "auto_play" │ │ + .line 92 │ invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ │ move-result-object v5 │ │ const v6, 0x7f070016 │ │ + .line 93 │ invoke-virtual {p0, v6}, Lorg/schabi/newpipe/VideoItemDetailActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v6 │ │ invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z │ │ move-result v5 │ │ + .line 91 │ invoke-virtual {v0, v4, v5}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V │ │ .line 110 │ .end local v2 # "i":I │ .end local v3 # "serviceList":[Lorg/schabi/newpipe/extractor/StreamingService; │ :goto_2 │ new-instance v4, Lorg/schabi/newpipe/VideoItemDetailFragment; │ @@ -225,18 +229,20 @@ │ │ move-result-object v4 │ │ const v5, 0x7f0e007b │ │ iget-object v6, p0, Lorg/schabi/newpipe/VideoItemDetailActivity;->fragment:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 113 │ invoke-virtual {v4, v5, v6}, Landroid/support/v4/app/FragmentTransaction;->add(ILandroid/support/v4/app/Fragment;)Landroid/support/v4/app/FragmentTransaction; │ │ move-result-object v4 │ │ + .line 114 │ invoke-virtual {v4}, Landroid/support/v4/app/FragmentTransaction;->commit()I │ │ .line 115 │ return-void │ │ .line 53 │ .end local v0 # "arguments":Landroid/os/Bundle; │ @@ -409,14 +415,15 @@ │ │ invoke-virtual {v3, p1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-nez v3, :cond_0 │ │ + .line 147 │ invoke-super {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-nez v3, :cond_0 │ │ const/4 v2, 0x0 ├── smali/org/schabi/newpipe/VideoItemDetailFragment$11.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$item:Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 702 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->val$item:Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ @@ -80,19 +81,21 @@ │ invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ .line 708 │ const-string v2, "streaming_service" │ │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 709 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->streamingServiceId:I │ invoke-static {v3}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$700(Lorg/schabi/newpipe/VideoItemDetailFragment;)I │ │ move-result v3 │ │ + .line 708 │ invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; │ │ .line 710 │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-virtual {v2, v0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->startActivity(Landroid/content/Intent;)V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$12.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 732 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$12;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$15.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 877 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$15;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -45,20 +46,22 @@ │ .line 880 │ new-instance v1, Landroid/content/Intent; │ │ invoke-direct {v1}, Landroid/content/Intent;->()V │ │ const-string v2, "android.intent.action.VIEW" │ │ + .line 881 │ invoke-virtual {v1, v2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v1 │ │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$15;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 882 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ invoke-static {v2}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$500(Lorg/schabi/newpipe/VideoItemDetailFragment;)Landroid/support/v7/app/AppCompatActivity; │ │ move-result-object v2 │ │ const v3, 0x7f07003d ├── smali/org/schabi/newpipe/VideoItemDetailFragment$14.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 886 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$14;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$13.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 831 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$13;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -48,14 +49,15 @@ │ .param p8, "oldRight" # I │ .param p9, "oldBottom" # I │ │ .prologue │ .line 841 │ iget-object v1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$13;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 842 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->thumbnailWindowLayout:Landroid/view/View; │ invoke-static {v1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$1100(Lorg/schabi/newpipe/VideoItemDetailFragment;)Landroid/view/View; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$17.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$message:Ljava/lang/String; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 960 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$17;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$17;->val$message:Ljava/lang/String; │ │ @@ -55,12 +56,13 @@ │ │ const/4 v2, 0x1 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 964 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 965 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoItemDetailFragment$16.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$stringResource:I │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;I)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 950 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$16;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$16;->val$stringResource:I │ │ @@ -55,12 +56,13 @@ │ │ const/4 v2, 0x1 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 954 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 955 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoItemDetailFragment$3.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 435 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$3;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$3;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 340 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$2.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 406 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$2;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$2;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -46,14 +47,15 @@ │ │ .prologue │ .line 409 │ new-instance v0, Landroid/content/Intent; │ │ iget-object v1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$2;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 410 │ invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ move-result-object v1 │ │ const-class v2, Lorg/schabi/newpipe/VideoItemDetailActivity; │ │ invoke-direct {v0, v1, v2}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$4.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 443 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$4;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$4;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$5.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 465 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$5;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -81,14 +82,15 @@ │ │ const/4 v2, 0x1 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 473 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 474 │ invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/assist/FailReason;->getCause()Ljava/lang/Throwable; │ │ move-result-object v0 ├── smali/org/schabi/newpipe/VideoItemDetailFragment$7.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 513 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$7;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$7;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$8$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$8;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ .prologue │ .line 545 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$8$1;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$6.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 502 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$6;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$6;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; ├── smali/org/schabi/newpipe/VideoItemDetailFragment$8.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 524 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$8;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$8;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -125,24 +126,26 @@ │ │ const v4, 0x7f070040 │ │ new-instance v5, Lorg/schabi/newpipe/VideoItemDetailFragment$8$2; │ │ invoke-direct {v5, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$8$2;->(Lorg/schabi/newpipe/VideoItemDetailFragment$8;)V │ │ + .line 536 │ invoke-virtual {v3, v4, v5}, Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ move-result-object v3 │ │ const v4, 0x7f07001e │ │ new-instance v5, Lorg/schabi/newpipe/VideoItemDetailFragment$8$1; │ │ invoke-direct {v5, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$8$1;->(Lorg/schabi/newpipe/VideoItemDetailFragment$8;)V │ │ + .line 545 │ invoke-virtual {v3, v4, v5}, Landroid/support/v7/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ .line 551 │ invoke-virtual {v0}, Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; │ │ move-result-object v3 ├── smali/org/schabi/newpipe/VideoItemDetailFragment$8$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$8;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ .prologue │ .line 536 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$8$2;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$8; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$ThumbnailLoadingListener.smali │ @@ -96,14 +96,15 @@ │ │ const/4 v2, 0x1 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 270 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 272 │ :cond_0 │ invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/assist/FailReason;->getCause()Ljava/lang/Throwable; │ │ move-result-object v0 ├── smali/org/schabi/newpipe/VideoItemDetailFragment$9.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .prologue │ .line 556 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$9;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$9;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ @@ -64,14 +65,15 @@ │ │ iget-object v7, v7, Lorg/schabi/newpipe/extractor/StreamInfo;->audio_streams:Ljava/util/List; │ │ iget-object v8, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$9;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ iget-object v9, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$9;->val$info:Lorg/schabi/newpipe/extractor/StreamInfo; │ │ + .line 567 │ # invokes: Lorg/schabi/newpipe/VideoItemDetailFragment;->getPreferredAudioStreamId(Lorg/schabi/newpipe/extractor/StreamInfo;)I │ invoke-static {v8, v9}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$1000(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)I │ │ move-result v8 │ │ invoke-interface {v7, v8}, Ljava/util/List;->get(I)Ljava/lang/Object; │ │ @@ -236,14 +238,15 @@ │ │ const/4 v9, 0x1 │ │ invoke-static {v7, v8, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v7 │ │ + .line 586 │ invoke-virtual {v7}, Landroid/widget/Toast;->show()V │ │ .line 587 │ invoke-virtual {v4}, Ljava/lang/Exception;->printStackTrace()V │ │ goto :goto_0 │ .end method ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 182 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$2;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 175 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$1;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$5.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 220 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$5;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$4.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 209 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$4;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$3.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 191 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$3;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$6.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ .prologue │ .line 231 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable$6;->this$1:Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable.smali │ @@ -57,22 +57,22 @@ │ .line 134 │ return-void │ .end method │ │ │ # virtual methods │ .method public run()V │ - .locals 20 │ + .locals 19 │ │ .prologue │ .line 138 │ - const/16 v19, 0x0 │ + const/16 v18, 0x0 │ │ .line 140 │ - .local v19, "streamInfo":Lorg/schabi/newpipe/extractor/StreamInfo; │ + .local v18, "streamInfo":Lorg/schabi/newpipe/extractor/StreamInfo; │ :try_start_0 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ move-object/from16 v0, p0 │ │ @@ -97,40 +97,41 @@ │ │ new-instance v2, Lorg/schabi/newpipe/Downloader; │ │ invoke-direct {v2}, Lorg/schabi/newpipe/Downloader;->()V │ │ invoke-static {v1, v2}, Lorg/schabi/newpipe/extractor/StreamInfo;->getVideoInfo(Lorg/schabi/newpipe/extractor/StreamExtractor;Lorg/schabi/newpipe/extractor/Downloader;)Lorg/schabi/newpipe/extractor/StreamInfo; │ │ - move-result-object v19 │ + move-result-object v18 │ │ .line 143 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->h:Landroid/os/Handler; │ │ new-instance v2, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoResultReturnedRunnable; │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ invoke-direct {v2, v3, v0}, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoResultReturnedRunnable;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ │ .line 149 │ - if-eqz v19, :cond_0 │ + if-eqz v18, :cond_0 │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ iget-object v1, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->errors:Ljava/util/List; │ │ + .line 150 │ invoke-interface {v1}, Ljava/util/List;->isEmpty()Z │ │ move-result v1 │ │ if-nez v1, :cond_0 │ │ .line 151 │ @@ -140,64 +141,62 @@ │ move-result-object v1 │ │ const-string v2, "OCCURRED ERRORS DURING EXTRACTION:" │ │ invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 152 │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ iget-object v1, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->errors:Ljava/util/List; │ │ invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ - move-result-object v18 │ + move-result-object v1 │ │ - .local v18, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface/range {v18 .. v18}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ - move-result v1 │ + move-result v2 │ │ - if-eqz v1, :cond_1 │ + if-eqz v2, :cond_1 │ │ - invoke-interface/range {v18 .. v18}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ move-result-object v8 │ │ check-cast v8, Ljava/lang/Exception; │ │ .line 153 │ .local v8, "e":Ljava/lang/Exception; │ invoke-virtual {v8}, Ljava/lang/Exception;->printStackTrace()V │ │ .line 154 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->TAG:Ljava/lang/String; │ invoke-static {}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$000()Ljava/lang/String; │ │ - move-result-object v1 │ + move-result-object v2 │ │ - const-string v2, "------" │ + const-string v3, "------" │ │ - invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ + invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ :try_end_0 │ .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException; {:try_start_0 .. :try_end_0} :catch_1 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$GemaException; {:try_start_0 .. :try_end_0} :catch_2 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$LiveStreamException; {:try_start_0 .. :try_end_0} :catch_3 │ .catch Lorg/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException; {:try_start_0 .. :try_end_0} :catch_4 │ .catch Lorg/schabi/newpipe/extractor/StreamInfo$StreamExctractException; {:try_start_0 .. :try_end_0} :catch_5 │ .catch Lorg/schabi/newpipe/extractor/ParsingException; {:try_start_0 .. :try_end_0} :catch_6 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_7 │ │ goto :goto_0 │ │ .line 166 │ .end local v8 # "e":Ljava/lang/Exception; │ - .end local v18 # "i$":Ljava/util/Iterator; │ :catch_0 │ move-exception v8 │ │ .line 167 │ .local v8, "e":Ljava/io/IOException; │ move-object/from16 v0, p0 │ │ @@ -218,15 +217,14 @@ │ .line 239 │ .end local v8 # "e":Ljava/io/IOException; │ :cond_0 │ :goto_1 │ return-void │ │ .line 157 │ - .restart local v18 # "i$":Ljava/util/Iterator; │ :cond_1 │ :try_start_1 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ @@ -254,42 +252,45 @@ │ │ iget-object v2, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ move-result-object v2 │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ iget-object v3, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->errors:Ljava/util/List; │ │ const/4 v4, 0x0 │ │ const/4 v6, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v7, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ + .line 162 │ invoke-virtual {v7}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceInfo()Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo; │ │ move-result-object v7 │ │ iget-object v7, v7, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->name:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v9, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->videoUrl:Ljava/lang/String; │ │ const/4 v10, 0x0 │ │ + .line 161 │ invoke-static {v6, v7, v9, v10}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v6 │ │ + .line 159 │ invoke-static/range {v1 .. v6}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ :try_end_1 │ .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException; {:try_start_1 .. :try_end_1} :catch_1 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$GemaException; {:try_start_1 .. :try_end_1} :catch_2 │ .catch Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$LiveStreamException; {:try_start_1 .. :try_end_1} :catch_3 │ .catch Lorg/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException; {:try_start_1 .. :try_end_1} :catch_4 │ @@ -298,15 +299,14 @@ │ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_7 │ │ goto :goto_1 │ │ .line 171 │ .end local v5 # "rootView":Landroid/view/View; │ .end local v15 # "a":Landroid/app/Activity; │ - .end local v18 # "i$":Ljava/util/Iterator; │ :catch_1 │ move-exception v16 │ │ .line 172 │ .local v16, "de":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException; │ move-object/from16 v0, p0 │ │ @@ -325,23 +325,21 @@ │ invoke-virtual/range {v16 .. v16}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException;->printStackTrace()V │ │ goto :goto_1 │ │ .line 158 │ .end local v16 # "de":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException; │ .restart local v15 # "a":Landroid/app/Activity; │ - .restart local v18 # "i$":Ljava/util/Iterator; │ :cond_2 │ const/4 v5, 0x0 │ │ goto :goto_2 │ │ .line 174 │ .end local v15 # "a":Landroid/app/Activity; │ - .end local v18 # "i$":Ljava/util/Iterator; │ :catch_2 │ move-exception v17 │ │ .line 175 │ .local v17, "ge":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$GemaException; │ move-object/from16 v0, p0 │ │ @@ -405,15 +403,15 @@ │ .line 198 │ .end local v8 # "e":Lorg/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException; │ :catch_5 │ move-exception v8 │ │ .line 199 │ .local v8, "e":Lorg/schabi/newpipe/extractor/StreamInfo$StreamExctractException; │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ iget-object v1, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->errors:Ljava/util/List; │ │ invoke-interface {v1}, Ljava/util/List;->isEmpty()Z │ │ move-result v1 │ │ @@ -438,30 +436,33 @@ │ │ const/4 v1, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v2, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ + .line 203 │ invoke-virtual {v2}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceInfo()Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo; │ │ move-result-object v2 │ │ iget-object v2, v2, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->name:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->videoUrl:Ljava/lang/String; │ │ const v4, 0x7f07007b │ │ + .line 202 │ invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v11 │ │ + .line 201 │ invoke-static/range {v6 .. v11}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 209 │ :goto_3 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->h:Landroid/os/Handler; │ @@ -489,44 +490,47 @@ │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ move-result-object v10 │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ iget-object v11, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->errors:Ljava/util/List; │ │ const-class v12, Lorg/schabi/newpipe/VideoItemListActivity; │ │ const/4 v13, 0x0 │ │ const/4 v1, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v2, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ + .line 207 │ invoke-virtual {v2}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceInfo()Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo; │ │ move-result-object v2 │ │ iget-object v2, v2, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->name:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->videoUrl:Ljava/lang/String; │ │ const v4, 0x7f07007b │ │ + .line 206 │ invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v14 │ │ + .line 205 │ invoke-static/range {v9 .. v14}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ goto :goto_3 │ │ .line 216 │ .end local v8 # "e":Lorg/schabi/newpipe/extractor/StreamInfo$StreamExctractException; │ :catch_6 │ @@ -552,30 +556,33 @@ │ │ const/4 v1, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v2, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ + .line 219 │ invoke-virtual {v2}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceInfo()Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo; │ │ move-result-object v2 │ │ iget-object v2, v2, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->name:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->videoUrl:Ljava/lang/String; │ │ const v4, 0x7f07004a │ │ + .line 218 │ invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v11 │ │ + .line 217 │ invoke-static/range {v6 .. v11}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 220 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->h:Landroid/os/Handler; │ │ @@ -617,30 +624,33 @@ │ │ const/4 v1, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v2, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->service:Lorg/schabi/newpipe/extractor/StreamingService; │ │ + .line 230 │ invoke-virtual {v2}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceInfo()Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo; │ │ move-result-object v2 │ │ iget-object v2, v2, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->name:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->videoUrl:Ljava/lang/String; │ │ const v4, 0x7f07003e │ │ + .line 229 │ invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v11 │ │ + .line 228 │ invoke-static/range {v6 .. v11}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 231 │ move-object/from16 v0, p0 │ │ iget-object v1, v0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable;->h:Landroid/os/Handler; ├── smali/org/schabi/newpipe/VideoItemListActivity$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemListActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemListActivity; │ │ .prologue │ .line 296 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemListActivity$1;->this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/VideoItemDetailFragment$VideoResultReturnedRunnable.smali │ @@ -61,14 +61,15 @@ │ .line 251 │ invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ │ move-result-object v2 │ │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoResultReturnedRunnable;->this$0:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 252 │ # getter for: Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ invoke-static {v3}, Lorg/schabi/newpipe/VideoItemDetailFragment;->access$500(Lorg/schabi/newpipe/VideoItemDetailFragment;)Landroid/support/v7/app/AppCompatActivity; │ │ move-result-object v3 │ │ const v4, 0x7f0700c3 ├── smali/org/schabi/newpipe/VideoItemDetailFragment.smali │ @@ -108,14 +108,15 @@ │ .line 115 │ new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder; │ │ invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->()V │ │ const/4 v1, 0x1 │ │ + .line 116 │ invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder; │ │ move-result-object v0 │ │ invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions; │ │ move-result-object v0 │ @@ -123,15 +124,14 @@ │ iput-object v0, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->displayImageOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions; │ │ .line 123 │ const/4 v0, 0x0 │ │ iput-object v0, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->onInvokeCreateOptionsMenuListener:Lorg/schabi/newpipe/VideoItemDetailFragment$OnInvokeCreateOptionsMenuListener; │ │ - .line 262 │ return-void │ .end method │ │ .method static synthetic access$000()Ljava/lang/String; │ .locals 1 │ │ .prologue │ @@ -297,14 +297,15 @@ │ │ move-result-object v3 │ │ iget-object v5, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v6, 0x7f070024 │ │ + .line 662 │ invoke-virtual {v5, v6}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v5 │ │ const-string v6, "webm" │ │ invoke-interface {v3, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ @@ -447,74 +448,74 @@ │ .method private initSimilarVideos(Lorg/schabi/newpipe/extractor/StreamInfo;Lorg/schabi/newpipe/VideoInfoItemViewCreator;)V │ .locals 15 │ .param p1, "info" # Lorg/schabi/newpipe/extractor/StreamInfo; │ .param p2, "videoItemViewCreator" # Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ │ .prologue │ .line 688 │ - iget-object v10, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ + iget-object v9, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - const v11, 0x7f0e00b6 │ + const v10, 0x7f0e00b6 │ │ - invoke-virtual {v10, v11}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual {v9, v10}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v7 │ + move-result-object v6 │ │ - check-cast v7, Landroid/widget/LinearLayout; │ + check-cast v6, Landroid/widget/LinearLayout; │ │ .line 689 │ - .local v7, "similarLayout":Landroid/widget/LinearLayout; │ - new-instance v6, Ljava/util/ArrayList; │ + .local v6, "similarLayout":Landroid/widget/LinearLayout; │ + new-instance v5, Ljava/util/ArrayList; │ │ move-object/from16 v0, p1 │ │ - iget-object v10, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->related_videos:Ljava/util/List; │ + iget-object v9, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->related_videos:Ljava/util/List; │ │ - invoke-direct {v6, v10}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V │ + invoke-direct {v5, v9}, Ljava/util/ArrayList;->(Ljava/util/Collection;)V │ │ .line 690 │ - .local v6, "similar":Ljava/util/ArrayList;, "Ljava/util/ArrayList;" │ - invoke-virtual {v6}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ + .local v5, "similar":Ljava/util/ArrayList;, "Ljava/util/ArrayList;" │ + invoke-virtual {v5}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v3 │ + move-result-object v9 │ │ - .local v3, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v10 │ │ if-eqz v10, :cond_0 │ │ - invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - check-cast v4, Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ + check-cast v3, Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ .line 691 │ - .local v4, "item":Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ + .local v3, "item":Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ const/4 v10, 0x0 │ │ + .line 692 │ move-object/from16 v0, p2 │ │ - invoke-virtual {v0, v10, v7, v4}, Lorg/schabi/newpipe/VideoInfoItemViewCreator;->getViewFromVideoInfoItem(Landroid/view/View;Landroid/view/ViewGroup;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)Landroid/view/View; │ + invoke-virtual {v0, v10, v6, v3}, Lorg/schabi/newpipe/VideoInfoItemViewCreator;->getViewFromVideoInfoItem(Landroid/view/View;Landroid/view/ViewGroup;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)Landroid/view/View; │ │ - move-result-object v8 │ + move-result-object v7 │ │ .line 694 │ - .local v8, "similarView":Landroid/view/View; │ + .local v7, "similarView":Landroid/view/View; │ const/4 v10, 0x1 │ │ - invoke-virtual {v8, v10}, Landroid/view/View;->setClickable(Z)V │ + invoke-virtual {v7, v10}, Landroid/view/View;->setClickable(Z)V │ │ .line 695 │ const/4 v10, 0x1 │ │ - invoke-virtual {v8, v10}, Landroid/view/View;->setFocusable(Z)V │ + invoke-virtual {v7, v10}, Landroid/view/View;->setFocusable(Z)V │ │ .line 696 │ const/4 v10, 0x1 │ │ new-array v1, v10, [I │ │ const/4 v10, 0x0 │ @@ -525,77 +526,77 @@ │ │ .line 697 │ .local v1, "attrs":[I │ iget-object v10, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ invoke-virtual {v10, v1}, Landroid/support/v7/app/AppCompatActivity;->obtainStyledAttributes([I)Landroid/content/res/TypedArray; │ │ - move-result-object v9 │ + move-result-object v8 │ │ .line 698 │ - .local v9, "typedArray":Landroid/content/res/TypedArray; │ + .local v8, "typedArray":Landroid/content/res/TypedArray; │ const/4 v10, 0x0 │ │ const/4 v11, 0x0 │ │ - invoke-virtual {v9, v10, v11}, Landroid/content/res/TypedArray;->getResourceId(II)I │ + invoke-virtual {v8, v10, v11}, Landroid/content/res/TypedArray;->getResourceId(II)I │ │ move-result v2 │ │ .line 699 │ .local v2, "backgroundResource":I │ - invoke-virtual {v8, v2}, Landroid/view/View;->setBackgroundResource(I)V │ + invoke-virtual {v7, v2}, Landroid/view/View;->setBackgroundResource(I)V │ │ .line 700 │ - invoke-virtual {v9}, Landroid/content/res/TypedArray;->recycle()V │ + invoke-virtual {v8}, Landroid/content/res/TypedArray;->recycle()V │ │ .line 702 │ new-instance v10, Lorg/schabi/newpipe/VideoItemDetailFragment$11; │ │ - invoke-direct {v10, p0, v4}, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)V │ + invoke-direct {v10, p0, v3}, Lorg/schabi/newpipe/VideoItemDetailFragment$11;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)V │ │ - invoke-virtual {v8, v10}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V │ + invoke-virtual {v7, v10}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V │ │ .line 717 │ - invoke-virtual {v7, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V │ + invoke-virtual {v6, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V │ │ .line 718 │ const v10, 0x7f0e00d9 │ │ - invoke-virtual {v8, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View; │ + invoke-virtual {v7, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View; │ │ - move-result-object v5 │ + move-result-object v4 │ │ - check-cast v5, Landroid/widget/ImageView; │ + check-cast v4, Landroid/widget/ImageView; │ │ .line 719 │ - .local v5, "rthumb":Landroid/widget/ImageView; │ + .local v4, "rthumb":Landroid/widget/ImageView; │ iget-object v10, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->imageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader; │ │ - iget-object v11, v4, Lorg/schabi/newpipe/extractor/StreamPreviewInfo;->thumbnail_url:Ljava/lang/String; │ + iget-object v11, v3, Lorg/schabi/newpipe/extractor/StreamPreviewInfo;->thumbnail_url:Ljava/lang/String; │ │ iget-object v12, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->displayImageOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions; │ │ new-instance v13, Lorg/schabi/newpipe/VideoItemDetailFragment$ThumbnailLoadingListener; │ │ const/4 v14, 0x0 │ │ invoke-direct {v13, p0, v14}, Lorg/schabi/newpipe/VideoItemDetailFragment$ThumbnailLoadingListener;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/VideoItemDetailFragment$1;)V │ │ - invoke-virtual {v10, v11, v5, v12, v13}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;Lcom/nostra13/universalimageloader/core/listener/ImageLoadingListener;)V │ + invoke-virtual {v10, v11, v4, v12, v13}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;Lcom/nostra13/universalimageloader/core/listener/ImageLoadingListener;)V │ │ goto :goto_0 │ │ .line 722 │ .end local v1 # "attrs":[I │ .end local v2 # "backgroundResource":I │ - .end local v4 # "item":Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ - .end local v5 # "rthumb":Landroid/widget/ImageView; │ - .end local v8 # "similarView":Landroid/view/View; │ - .end local v9 # "typedArray":Landroid/content/res/TypedArray; │ + .end local v3 # "item":Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ + .end local v4 # "rthumb":Landroid/widget/ImageView; │ + .end local v7 # "similarView":Landroid/view/View; │ + .end local v8 # "typedArray":Landroid/content/res/TypedArray; │ :cond_0 │ return-void │ .end method │ │ .method private initThumbnailViews(Lorg/schabi/newpipe/extractor/StreamInfo;Landroid/view/View;)V │ .locals 8 │ .param p1, "info" # Lorg/schabi/newpipe/extractor/StreamInfo; │ @@ -617,24 +618,26 @@ │ │ .line 458 │ .local v2, "videoThumbnailView":Landroid/widget/ImageView; │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v4, 0x7f0e00ae │ │ + .line 459 │ invoke-virtual {v3, v4}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v1 │ │ check-cast v1, Landroid/widget/ImageView; │ │ .line 460 │ .local v1, "uploaderThumb":Landroid/widget/ImageView; │ const v3, 0x7f0e00d9 │ │ + .line 461 │ invoke-virtual {p2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View; │ │ move-result-object v0 │ │ check-cast v0, Landroid/widget/ImageView; │ │ .line 463 │ @@ -742,14 +745,15 @@ │ │ .prologue │ .line 725 │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v3, 0x7f0e009f │ │ + .line 726 │ invoke-virtual {v2, v3}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v0 │ │ check-cast v0, Landroid/widget/Button; │ │ .line 727 │ @@ -768,21 +772,22 @@ │ .local v1, "thumbnailView":Landroid/widget/ImageView; │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->progressBar:Landroid/widget/ProgressBar; │ │ const/16 v3, 0x8 │ │ invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V │ │ - .line 730 │ + .line 731 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getResources()Landroid/content/res/Resources; │ │ move-result-object v2 │ │ const v3, 0x7f020054 │ │ + .line 730 │ invoke-static {v2, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V │ │ .line 732 │ @@ -801,14 +806,15 @@ │ │ const/4 v4, 0x1 │ │ invoke-static {v2, v3, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v2 │ │ + .line 743 │ invoke-virtual {v2}, Landroid/widget/Toast;->show()V │ │ .line 744 │ return-void │ .end method │ │ .method private onNotSpecifiedContentError()V │ @@ -830,21 +836,22 @@ │ .local v0, "thumbnailView":Landroid/widget/ImageView; │ iget-object v1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->progressBar:Landroid/widget/ProgressBar; │ │ const/16 v2, 0x8 │ │ invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V │ │ - .line 749 │ + .line 750 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getResources()Landroid/content/res/Resources; │ │ move-result-object v1 │ │ const v2, 0x7f020069 │ │ + .line 749 │ invoke-static {v1, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap; │ │ move-result-object v1 │ │ invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V │ │ .line 751 │ @@ -854,14 +861,15 @@ │ │ const/4 v3, 0x1 │ │ invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v1 │ │ + .line 752 │ invoke-virtual {v1}, Landroid/widget/Toast;->show()V │ │ .line 753 │ return-void │ .end method │ │ .method private onNotSpecifiedContentErrorWithMessage(I)V │ @@ -884,21 +892,22 @@ │ .local v0, "thumbnailView":Landroid/widget/ImageView; │ iget-object v1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->progressBar:Landroid/widget/ProgressBar; │ │ const/16 v2, 0x8 │ │ invoke-virtual {v1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V │ │ - .line 758 │ + .line 759 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getResources()Landroid/content/res/Resources; │ │ move-result-object v1 │ │ const v2, 0x7f020069 │ │ + .line 758 │ invoke-static {v1, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap; │ │ move-result-object v1 │ │ invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V │ │ .line 760 │ @@ -906,14 +915,15 @@ │ │ const/4 v2, 0x1 │ │ invoke-static {v1, p1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v1 │ │ + .line 761 │ invoke-virtual {v1}, Landroid/widget/Toast;->show()V │ │ .line 762 │ return-void │ .end method │ │ .method private postNewErrorToast(Landroid/os/Handler;I)V │ @@ -1036,1087 +1046,1088 @@ │ :try_start_0 │ invoke-virtual/range {p0 .. p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getContext()Landroid/content/Context; │ │ move-result-object v5 │ │ .line 285 │ .local v5, "c":Landroid/content/Context; │ - new-instance v23, Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ + new-instance v22, Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ │ + .line 286 │ invoke-virtual/range {p0 .. p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - invoke-static/range {v26 .. v26}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; │ + invoke-static/range {v25 .. v25}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v23 │ + move-object/from16 v0, v22 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-direct {v0, v1}, Lorg/schabi/newpipe/VideoInfoItemViewCreator;->(Landroid/view/LayoutInflater;)V │ │ .line 288 │ - .local v23, "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ + .local v22, "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a0 │ + const v26, 0x7f0e00a0 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 289 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v17 │ + move-result-object v16 │ │ - check-cast v17, Landroid/widget/RelativeLayout; │ + check-cast v16, Landroid/widget/RelativeLayout; │ │ .line 290 │ - .local v17, "textContentLayout":Landroid/widget/RelativeLayout; │ + .local v16, "textContentLayout":Landroid/widget/RelativeLayout; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a2 │ + const v26, 0x7f0e00a2 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 291 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v24 │ + move-result-object v23 │ │ - check-cast v24, Landroid/widget/TextView; │ + check-cast v23, Landroid/widget/TextView; │ │ .line 292 │ - .local v24, "videoTitleView":Landroid/widget/TextView; │ + .local v23, "videoTitleView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00af │ + const v26, 0x7f0e00af │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v22 │ + move-result-object v21 │ │ - check-cast v22, Landroid/widget/TextView; │ + check-cast v21, Landroid/widget/TextView; │ │ .line 293 │ - .local v22, "uploaderView":Landroid/widget/TextView; │ + .local v21, "uploaderView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a4 │ + const v26, 0x7f0e00a4 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v25 │ + move-result-object v24 │ │ - check-cast v25, Landroid/widget/TextView; │ + check-cast v24, Landroid/widget/TextView; │ │ .line 294 │ - .local v25, "viewCountView":Landroid/widget/TextView; │ + .local v24, "viewCountView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00aa │ + const v26, 0x7f0e00aa │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v19 │ + move-result-object v18 │ │ - check-cast v19, Landroid/widget/TextView; │ + check-cast v18, Landroid/widget/TextView; │ │ .line 295 │ - .local v19, "thumbsUpView":Landroid/widget/TextView; │ + .local v18, "thumbsUpView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00ac │ + const v26, 0x7f0e00ac │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 296 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v18 │ + move-result-object v17 │ │ - check-cast v18, Landroid/widget/TextView; │ + check-cast v17, Landroid/widget/TextView; │ │ .line 297 │ - .local v18, "thumbsDownView":Landroid/widget/TextView; │ + .local v17, "thumbsDownView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a6 │ + const v26, 0x7f0e00a6 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v21 │ + move-result-object v20 │ │ - check-cast v21, Landroid/widget/TextView; │ + check-cast v20, Landroid/widget/TextView; │ │ .line 298 │ - .local v21, "uploadDateView":Landroid/widget/TextView; │ + .local v20, "uploadDateView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a7 │ + const v26, 0x7f0e00a7 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v6 │ │ check-cast v6, Landroid/widget/TextView; │ │ .line 299 │ .local v6, "descriptionView":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b3 │ + const v26, 0x7f0e00b3 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 300 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v11 │ + move-result-object v10 │ │ - check-cast v11, Landroid/widget/FrameLayout; │ + check-cast v10, Landroid/widget/FrameLayout; │ │ .line 301 │ - .local v11, "nextVideoFrame":Landroid/widget/FrameLayout; │ + .local v10, "nextVideoFrame":Landroid/widget/FrameLayout; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b0 │ + const v26, 0x7f0e00b0 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 302 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v12 │ + move-result-object v11 │ │ - check-cast v12, Landroid/widget/RelativeLayout; │ + check-cast v11, Landroid/widget/RelativeLayout; │ │ .line 303 │ - .local v12, "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ + .local v11, "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b4 │ + const v26, 0x7f0e00b4 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v10 │ + move-result-object v9 │ │ - check-cast v10, Landroid/widget/Button; │ + check-cast v9, Landroid/widget/Button; │ │ .line 304 │ - .local v10, "nextVideoButton":Landroid/widget/Button; │ + .local v9, "nextVideoButton":Landroid/widget/Button; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b5 │ + const v26, 0x7f0e00b5 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v15 │ + move-result-object v14 │ │ - check-cast v15, Landroid/widget/TextView; │ + check-cast v14, Landroid/widget/TextView; │ │ .line 305 │ - .local v15, "similarTitle":Landroid/widget/TextView; │ + .local v14, "similarTitle":Landroid/widget/TextView; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e009f │ + const v26, 0x7f0e009f │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + .line 306 │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v4 │ │ check-cast v4, Landroid/widget/Button; │ │ .line 307 │ .local v4, "backgroundButton":Landroid/widget/Button; │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a1 │ + const v26, 0x7f0e00a1 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v20 │ + move-result-object v19 │ │ .line 308 │ - .local v20, "topView":Landroid/view/View; │ - const/4 v13, 0x0 │ + .local v19, "topView":Landroid/view/View; │ + const/4 v12, 0x0 │ │ .line 309 │ - .local v13, "nextVideoView":Landroid/view/View; │ + .local v12, "nextVideoView":Landroid/view/View; │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->next_video:Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - if-eqz v26, :cond_3 │ + if-eqz v25, :cond_3 │ │ .line 310 │ - const/16 v26, 0x0 │ + const/16 v25, 0x0 │ │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->next_video:Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ - move-object/from16 v27, v0 │ + move-object/from16 v26, v0 │ │ - move-object/from16 v0, v23 │ + .line 311 │ + move-object/from16 v0, v22 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ - move-object/from16 v2, v27 │ + move-object/from16 v2, v26 │ │ - invoke-virtual {v0, v1, v11, v2}, Lorg/schabi/newpipe/VideoInfoItemViewCreator;->getViewFromVideoInfoItem(Landroid/view/View;Landroid/view/ViewGroup;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)Landroid/view/View; │ + invoke-virtual {v0, v1, v10, v2}, Lorg/schabi/newpipe/VideoInfoItemViewCreator;->getViewFromVideoInfoItem(Landroid/view/View;Landroid/view/ViewGroup;Lorg/schabi/newpipe/extractor/StreamPreviewInfo;)Landroid/view/View; │ │ - move-result-object v13 │ + move-result-object v12 │ │ .line 318 │ :goto_0 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->progressBar:Landroid/widget/ProgressBar; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/widget/ProgressBar;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/widget/ProgressBar;->setVisibility(I)V │ │ .line 319 │ - if-eqz v13, :cond_0 │ + if-eqz v12, :cond_0 │ │ .line 320 │ - invoke-virtual {v11, v13}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V │ + invoke-virtual {v10, v12}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V │ │ .line 323 │ :cond_0 │ move-object/from16 v0, p0 │ │ move-object/from16 v1, p1 │ │ - invoke-direct {v0, v1, v11}, Lorg/schabi/newpipe/VideoItemDetailFragment;->initThumbnailViews(Lorg/schabi/newpipe/extractor/StreamInfo;Landroid/view/View;)V │ + invoke-direct {v0, v1, v10}, Lorg/schabi/newpipe/VideoItemDetailFragment;->initThumbnailViews(Lorg/schabi/newpipe/extractor/StreamInfo;Landroid/view/View;)V │ │ .line 325 │ - const/16 v26, 0x0 │ + const/16 v25, 0x0 │ │ - move-object/from16 v0, v17 │ + move-object/from16 v0, v16 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V │ │ .line 326 │ - sget v26, Landroid/os/Build$VERSION;->SDK_INT:I │ + sget v25, Landroid/os/Build$VERSION;->SDK_INT:I │ │ - const/16 v27, 0x12 │ + const/16 v26, 0x12 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ - move/from16 v1, v27 │ + move/from16 v1, v26 │ │ if-ge v0, v1, :cond_4 │ │ .line 327 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->playVideoButton:Landroid/support/design/widget/FloatingActionButton; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const/16 v27, 0x0 │ + const/16 v26, 0x0 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/design/widget/FloatingActionButton;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/support/design/widget/FloatingActionButton;->setVisibility(I)V │ │ .line 333 │ :goto_1 │ move-object/from16 v0, p0 │ │ iget-boolean v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->showNextVideoItem:Z │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - if-nez v26, :cond_1 │ + if-nez v25, :cond_1 │ │ .line 334 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ - invoke-virtual {v12, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V │ + invoke-virtual {v11, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V │ │ .line 335 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ - invoke-virtual {v15, v0}, Landroid/widget/TextView;->setVisibility(I)V │ + invoke-virtual {v14, v0}, Landroid/widget/TextView;->setVisibility(I)V │ │ .line 338 │ :cond_1 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - move-object/from16 v0, v24 │ + move-object/from16 v0, v23 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 340 │ - new-instance v26, Lorg/schabi/newpipe/VideoItemDetailFragment$1; │ + new-instance v25, Lorg/schabi/newpipe/VideoItemDetailFragment$1; │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ move-object/from16 v1, p0 │ │ invoke-direct {v0, v1}, Lorg/schabi/newpipe/VideoItemDetailFragment$1;->(Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ │ - move-object/from16 v0, v20 │ + move-object/from16 v0, v19 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V │ │ .line 360 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - move-object/from16 v0, v24 │ + move-object/from16 v0, v23 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 361 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->uploader:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-virtual/range {v26 .. v26}, Ljava/lang/String;->isEmpty()Z │ + invoke-virtual/range {v25 .. v25}, Ljava/lang/String;->isEmpty()Z │ │ - move-result v26 │ + move-result v25 │ │ - if-nez v26, :cond_5 │ + if-nez v25, :cond_5 │ │ .line 362 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->uploader:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - move-object/from16 v0, v22 │ + move-object/from16 v0, v21 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 366 │ :goto_2 │ move-object/from16 v0, p1 │ │ iget-wide v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->view_count:J │ │ move-wide/from16 v26, v0 │ │ const-wide/16 v28, 0x0 │ │ - cmp-long v26, v26, v28 │ + cmp-long v25, v26, v28 │ │ - if-ltz v26, :cond_6 │ + if-ltz v25, :cond_6 │ │ .line 367 │ move-object/from16 v0, p1 │ │ iget-wide v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->view_count:J │ │ move-wide/from16 v26, v0 │ │ move-wide/from16 v0, v26 │ │ invoke-static {v0, v1, v5}, Lorg/schabi/newpipe/Localization;->localizeViewCount(JLandroid/content/Context;)Ljava/lang/String; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - invoke-virtual/range {v25 .. v26}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ + invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 371 │ :goto_3 │ move-object/from16 v0, p1 │ │ iget v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->dislike_count:I │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - if-ltz v26, :cond_7 │ + if-ltz v25, :cond_7 │ │ .line 372 │ move-object/from16 v0, p1 │ │ iget v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->dislike_count:I │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ int-to-long v0, v0 │ │ move-wide/from16 v26, v0 │ │ move-wide/from16 v0, v26 │ │ invoke-static {v0, v1, v5}, Lorg/schabi/newpipe/Localization;->localizeNumber(JLandroid/content/Context;)Ljava/lang/String; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v18 │ + move-object/from16 v0, v17 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 377 │ :goto_4 │ move-object/from16 v0, p1 │ │ iget v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->like_count:I │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - if-ltz v26, :cond_8 │ + if-ltz v25, :cond_8 │ │ .line 378 │ move-object/from16 v0, p1 │ │ iget v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->like_count:I │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ int-to-long v0, v0 │ │ move-wide/from16 v26, v0 │ │ move-wide/from16 v0, v26 │ │ invoke-static {v0, v1, v5}, Lorg/schabi/newpipe/Localization;->localizeNumber(JLandroid/content/Context;)Ljava/lang/String; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 385 │ :goto_5 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->upload_date:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-virtual/range {v26 .. v26}, Ljava/lang/String;->isEmpty()Z │ + invoke-virtual/range {v25 .. v25}, Ljava/lang/String;->isEmpty()Z │ │ - move-result v26 │ + move-result v25 │ │ - if-nez v26, :cond_9 │ + if-nez v25, :cond_9 │ │ .line 386 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->upload_date:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ invoke-static {v0, v5}, Lorg/schabi/newpipe/Localization;->localizeDate(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v21 │ + move-object/from16 v0, v20 │ │ - move-object/from16 v1, v26 │ + move-object/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 390 │ :goto_6 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->description:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-virtual/range {v26 .. v26}, Ljava/lang/String;->isEmpty()Z │ + invoke-virtual/range {v25 .. v25}, Ljava/lang/String;->isEmpty()Z │ │ - move-result v26 │ + move-result v25 │ │ - if-nez v26, :cond_a │ + if-nez v25, :cond_a │ │ .line 391 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->description:Ljava/lang/String; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-static/range {v26 .. v26}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned; │ + invoke-static/range {v25 .. v25}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ invoke-virtual {v6, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V │ │ .line 396 │ :goto_7 │ invoke-static {}, Landroid/text/method/LinkMovementMethod;->getInstance()Landroid/text/method/MovementMethod; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ invoke-virtual {v6, v0}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V │ │ .line 399 │ - new-instance v16, Ljava/util/Vector; │ + new-instance v15, Ljava/util/Vector; │ │ - invoke-direct/range {v16 .. v16}, Ljava/util/Vector;->()V │ + invoke-direct {v15}, Ljava/util/Vector;->()V │ │ .line 400 │ - .local v16, "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ + .local v15, "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->video_streams:Ljava/util/List; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-interface/range {v26 .. v26}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ + invoke-interface/range {v25 .. v25}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ - move-result-object v9 │ + move-result-object v25 │ │ - .local v9, "i$":Ljava/util/Iterator; │ :cond_2 │ :goto_8 │ - invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface/range {v25 .. v25}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v26 │ │ if-eqz v26, :cond_b │ │ - invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface/range {v25 .. v25}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ move-result-object v8 │ │ check-cast v8, Lorg/schabi/newpipe/extractor/VideoStream; │ │ .line 401 │ .local v8, "i":Lorg/schabi/newpipe/extractor/VideoStream; │ move-object/from16 v0, p0 │ │ - move-object/from16 v1, v16 │ - │ - invoke-direct {v0, v8, v1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->useStream(Lorg/schabi/newpipe/extractor/VideoStream;Ljava/util/Vector;)Z │ + invoke-direct {v0, v8, v15}, Lorg/schabi/newpipe/VideoItemDetailFragment;->useStream(Lorg/schabi/newpipe/extractor/VideoStream;Ljava/util/Vector;)Z │ │ move-result v26 │ │ if-eqz v26, :cond_2 │ │ .line 402 │ - move-object/from16 v0, v16 │ - │ - invoke-virtual {v0, v8}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ + invoke-virtual {v15, v8}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ :try_end_0 │ .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0 │ │ goto :goto_8 │ │ .line 450 │ .end local v4 # "backgroundButton":Landroid/widget/Button; │ .end local v5 # "c":Landroid/content/Context; │ .end local v6 # "descriptionView":Landroid/widget/TextView; │ .end local v8 # "i":Lorg/schabi/newpipe/extractor/VideoStream; │ - .end local v9 # "i$":Ljava/util/Iterator; │ - .end local v10 # "nextVideoButton":Landroid/widget/Button; │ - .end local v11 # "nextVideoFrame":Landroid/widget/FrameLayout; │ - .end local v12 # "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ - .end local v13 # "nextVideoView":Landroid/view/View; │ - .end local v15 # "similarTitle":Landroid/widget/TextView; │ - .end local v16 # "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ - .end local v17 # "textContentLayout":Landroid/widget/RelativeLayout; │ - .end local v18 # "thumbsDownView":Landroid/widget/TextView; │ - .end local v19 # "thumbsUpView":Landroid/widget/TextView; │ - .end local v20 # "topView":Landroid/view/View; │ - .end local v21 # "uploadDateView":Landroid/widget/TextView; │ - .end local v22 # "uploaderView":Landroid/widget/TextView; │ - .end local v23 # "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ - .end local v24 # "videoTitleView":Landroid/widget/TextView; │ - .end local v25 # "viewCountView":Landroid/widget/TextView; │ + .end local v9 # "nextVideoButton":Landroid/widget/Button; │ + .end local v10 # "nextVideoFrame":Landroid/widget/FrameLayout; │ + .end local v11 # "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ + .end local v12 # "nextVideoView":Landroid/view/View; │ + .end local v14 # "similarTitle":Landroid/widget/TextView; │ + .end local v15 # "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ + .end local v16 # "textContentLayout":Landroid/widget/RelativeLayout; │ + .end local v17 # "thumbsDownView":Landroid/widget/TextView; │ + .end local v18 # "thumbsUpView":Landroid/widget/TextView; │ + .end local v19 # "topView":Landroid/view/View; │ + .end local v20 # "uploadDateView":Landroid/widget/TextView; │ + .end local v21 # "uploaderView":Landroid/widget/TextView; │ + .end local v22 # "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ + .end local v23 # "videoTitleView":Landroid/widget/TextView; │ + .end local v24 # "viewCountView":Landroid/widget/TextView; │ :catch_0 │ move-exception v7 │ │ .line 451 │ .local v7, "e":Ljava/lang/NullPointerException; │ - sget-object v26, Lorg/schabi/newpipe/VideoItemDetailFragment;->TAG:Ljava/lang/String; │ + sget-object v25, Lorg/schabi/newpipe/VideoItemDetailFragment;->TAG:Ljava/lang/String; │ │ - const-string v27, "updateInfo(): Fragment closed before thread ended work... or else" │ + const-string v26, "updateInfo(): Fragment closed before thread ended work... or else" │ │ - invoke-static/range {v26 .. v27}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I │ + invoke-static/range {v25 .. v26}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 452 │ invoke-virtual {v7}, Ljava/lang/NullPointerException;->printStackTrace()V │ │ .line 454 │ .end local v7 # "e":Ljava/lang/NullPointerException; │ :goto_9 │ return-void │ │ .line 313 │ .restart local v4 # "backgroundButton":Landroid/widget/Button; │ .restart local v5 # "c":Landroid/content/Context; │ .restart local v6 # "descriptionView":Landroid/widget/TextView; │ - .restart local v10 # "nextVideoButton":Landroid/widget/Button; │ - .restart local v11 # "nextVideoFrame":Landroid/widget/FrameLayout; │ - .restart local v12 # "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ - .restart local v13 # "nextVideoView":Landroid/view/View; │ - .restart local v15 # "similarTitle":Landroid/widget/TextView; │ - .restart local v17 # "textContentLayout":Landroid/widget/RelativeLayout; │ - .restart local v18 # "thumbsDownView":Landroid/widget/TextView; │ - .restart local v19 # "thumbsUpView":Landroid/widget/TextView; │ - .restart local v20 # "topView":Landroid/view/View; │ - .restart local v21 # "uploadDateView":Landroid/widget/TextView; │ - .restart local v22 # "uploaderView":Landroid/widget/TextView; │ - .restart local v23 # "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ - .restart local v24 # "videoTitleView":Landroid/widget/TextView; │ - .restart local v25 # "viewCountView":Landroid/widget/TextView; │ + .restart local v9 # "nextVideoButton":Landroid/widget/Button; │ + .restart local v10 # "nextVideoFrame":Landroid/widget/FrameLayout; │ + .restart local v11 # "nextVideoRootFrame":Landroid/widget/RelativeLayout; │ + .restart local v12 # "nextVideoView":Landroid/view/View; │ + .restart local v14 # "similarTitle":Landroid/widget/TextView; │ + .restart local v16 # "textContentLayout":Landroid/widget/RelativeLayout; │ + .restart local v17 # "thumbsDownView":Landroid/widget/TextView; │ + .restart local v18 # "thumbsUpView":Landroid/widget/TextView; │ + .restart local v19 # "topView":Landroid/view/View; │ + .restart local v20 # "uploadDateView":Landroid/widget/TextView; │ + .restart local v21 # "uploaderView":Landroid/widget/TextView; │ + .restart local v22 # "videoItemViewCreator":Lorg/schabi/newpipe/VideoInfoItemViewCreator; │ + .restart local v23 # "videoTitleView":Landroid/widget/TextView; │ + .restart local v24 # "viewCountView":Landroid/widget/TextView; │ :cond_3 │ :try_start_1 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b2 │ + const v26, 0x7f0e00b2 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ .line 314 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b1 │ + const v26, 0x7f0e00b1 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ .line 315 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b4 │ + const v26, 0x7f0e00b4 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ goto/16 :goto_0 │ │ .line 329 │ :cond_4 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b7 │ + const v26, 0x7f0e00b7 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v14 │ + move-result-object v13 │ │ - check-cast v14, Landroid/widget/ImageView; │ + check-cast v13, Landroid/widget/ImageView; │ │ .line 330 │ - .local v14, "playArrowView":Landroid/widget/ImageView; │ - const/16 v26, 0x0 │ + .local v13, "playArrowView":Landroid/widget/ImageView; │ + const/16 v25, 0x0 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ - invoke-virtual {v14, v0}, Landroid/widget/ImageView;->setVisibility(I)V │ + invoke-virtual {v13, v0}, Landroid/widget/ImageView;->setVisibility(I)V │ │ goto/16 :goto_1 │ │ .line 364 │ - .end local v14 # "playArrowView":Landroid/widget/ImageView; │ + .end local v13 # "playArrowView":Landroid/widget/ImageView; │ :cond_5 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00ad │ + const v26, 0x7f0e00ad │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ goto/16 :goto_2 │ │ .line 369 │ :cond_6 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - invoke-virtual/range {v25 .. v26}, Landroid/widget/TextView;->setVisibility(I)V │ + invoke-virtual/range {v24 .. v25}, Landroid/widget/TextView;->setVisibility(I)V │ │ goto/16 :goto_3 │ │ .line 374 │ :cond_7 │ - const/16 v26, 0x4 │ + const/16 v25, 0x4 │ │ - move-object/from16 v0, v18 │ + move-object/from16 v0, v17 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V │ │ .line 375 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00ab │ + const v26, 0x7f0e00ab │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ goto/16 :goto_4 │ │ .line 380 │ :cond_8 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move-object/from16 v0, v19 │ + move-object/from16 v0, v18 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V │ │ .line 381 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00a9 │ + const v26, 0x7f0e00a9 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ .line 382 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move-object/from16 v0, v18 │ + move-object/from16 v0, v17 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V │ │ .line 383 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00ab │ + const v26, 0x7f0e00ab │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ goto/16 :goto_5 │ │ .line 388 │ :cond_9 │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move-object/from16 v0, v21 │ + move-object/from16 v0, v20 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V │ │ goto/16 :goto_6 │ │ .line 393 │ :cond_a │ - const/16 v26, 0x8 │ + const/16 v25, 0x8 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ invoke-virtual {v6, v0}, Landroid/widget/TextView;->setVisibility(I)V │ │ goto/16 :goto_7 │ │ .line 406 │ - .restart local v9 # "i$":Ljava/util/Iterator; │ - .restart local v16 # "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ + .restart local v15 # "streamsToUse":Ljava/util/Vector;, "Ljava/util/Vector;" │ :cond_b │ - new-instance v26, Lorg/schabi/newpipe/VideoItemDetailFragment$2; │ + new-instance v25, Lorg/schabi/newpipe/VideoItemDetailFragment$2; │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ move-object/from16 v1, p0 │ │ move-object/from16 v2, p1 │ │ invoke-direct {v0, v1, v2}, Lorg/schabi/newpipe/VideoItemDetailFragment$2;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ - invoke-virtual {v10, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V │ + invoke-virtual {v9, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V │ │ .line 419 │ - const/16 v26, 0x0 │ + const/16 v25, 0x0 │ │ - move-object/from16 v0, v17 │ + move-object/from16 v0, v16 │ │ - move/from16 v1, v26 │ + move/from16 v1, v25 │ │ invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V │ │ .line 421 │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->related_videos:Ljava/util/List; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - if-eqz v26, :cond_e │ + if-eqz v25, :cond_e │ │ move-object/from16 v0, p1 │ │ iget-object v0, v0, Lorg/schabi/newpipe/extractor/StreamInfo;->related_videos:Ljava/util/List; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - invoke-interface/range {v26 .. v26}, Ljava/util/List;->isEmpty()Z │ + invoke-interface/range {v25 .. v25}, Ljava/util/List;->isEmpty()Z │ │ - move-result v26 │ + move-result v25 │ │ - if-nez v26, :cond_e │ + if-nez v25, :cond_e │ │ .line 422 │ move-object/from16 v0, p0 │ │ move-object/from16 v1, p1 │ │ - move-object/from16 v2, v23 │ + move-object/from16 v2, v22 │ │ invoke-direct {v0, v1, v2}, Lorg/schabi/newpipe/VideoItemDetailFragment;->initSimilarVideos(Lorg/schabi/newpipe/extractor/StreamInfo;Lorg/schabi/newpipe/VideoInfoItemViewCreator;)V │ │ .line 428 │ :goto_a │ invoke-direct/range {p0 .. p1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->setupActionBarHandler(Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ .line 430 │ move-object/from16 v0, p0 │ │ iget-boolean v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->autoPlayEnabled:Z │ │ - move/from16 v26, v0 │ + move/from16 v25, v0 │ │ - if-eqz v26, :cond_c │ + if-eqz v25, :cond_c │ │ .line 431 │ invoke-virtual/range {p0 .. p1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->playVideo(Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ .line 434 │ :cond_c │ - sget v26, Landroid/os/Build$VERSION;->SDK_INT:I │ + sget v25, Landroid/os/Build$VERSION;->SDK_INT:I │ │ - const/16 v27, 0x12 │ + const/16 v26, 0x12 │ │ - move/from16 v0, v26 │ + move/from16 v0, v25 │ │ - move/from16 v1, v27 │ + move/from16 v1, v26 │ │ if-ge v0, v1, :cond_d │ │ .line 435 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->playVideoButton:Landroid/support/design/widget/FloatingActionButton; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - new-instance v27, Lorg/schabi/newpipe/VideoItemDetailFragment$3; │ + new-instance v26, Lorg/schabi/newpipe/VideoItemDetailFragment$3; │ │ - move-object/from16 v0, v27 │ + move-object/from16 v0, v26 │ │ move-object/from16 v1, p0 │ │ move-object/from16 v2, p1 │ │ invoke-direct {v0, v1, v2}, Lorg/schabi/newpipe/VideoItemDetailFragment$3;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/design/widget/FloatingActionButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V │ + invoke-virtual/range {v25 .. v26}, Landroid/support/design/widget/FloatingActionButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V │ │ .line 443 │ :cond_d │ - new-instance v26, Lorg/schabi/newpipe/VideoItemDetailFragment$4; │ + new-instance v25, Lorg/schabi/newpipe/VideoItemDetailFragment$4; │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ move-object/from16 v1, p0 │ │ move-object/from16 v2, p1 │ │ invoke-direct {v0, v1, v2}, Lorg/schabi/newpipe/VideoItemDetailFragment$4;->(Lorg/schabi/newpipe/VideoItemDetailFragment;Lorg/schabi/newpipe/extractor/StreamInfo;)V │ │ - move-object/from16 v0, v26 │ + move-object/from16 v0, v25 │ │ invoke-virtual {v4, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V │ │ goto/16 :goto_9 │ │ .line 424 │ :cond_e │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b5 │ + const v26, 0x7f0e00b5 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ │ .line 425 │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ - move-object/from16 v26, v0 │ + move-object/from16 v25, v0 │ │ - const v27, 0x7f0e00b6 │ + const v26, 0x7f0e00b6 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ + invoke-virtual/range {v25 .. v26}, Landroid/support/v7/app/AppCompatActivity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v26 │ + move-result-object v25 │ │ - const/16 v27, 0x8 │ + const/16 v26, 0x8 │ │ - invoke-virtual/range {v26 .. v27}, Landroid/view/View;->setVisibility(I)V │ + invoke-virtual/range {v25 .. v26}, Landroid/view/View;->setVisibility(I)V │ :try_end_1 │ .catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_0 │ │ goto :goto_a │ .end method │ │ .method private useStream(Lorg/schabi/newpipe/extractor/VideoStream;Ljava/util/Vector;)Z │ @@ -2136,15 +2147,14 @@ │ .prologue │ .line 765 │ .local p2, "streams":Ljava/util/Vector;, "Ljava/util/Vector;" │ invoke-virtual {p2}, Ljava/util/Vector;->iterator()Ljava/util/Iterator; │ │ move-result-object v1 │ │ - .local v1, "i$":Ljava/util/Iterator; │ :cond_0 │ invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v2 │ │ if-eqz v2, :cond_1 │ │ @@ -2163,23 +2173,23 @@ │ invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z │ │ move-result v2 │ │ if-eqz v2, :cond_0 │ │ .line 767 │ - const/4 v2, 0x0 │ + const/4 v1, 0x0 │ │ .line 770 │ .end local v0 # "i":Lorg/schabi/newpipe/extractor/VideoStream; │ :goto_0 │ - return v2 │ + return v1 │ │ :cond_1 │ - const/4 v2, 0x1 │ + const/4 v1, 0x1 │ │ goto :goto_0 │ .end method │ │ │ # virtual methods │ .method public onActivityCreated(Landroid/os/Bundle;)V │ @@ -2223,14 +2233,15 @@ │ move-result-object v6 │ │ iput-object v6, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->thumbnailWindowLayout:Landroid/view/View; │ │ .line 810 │ const v6, 0x7f0e009f │ │ + .line 811 │ invoke-virtual {v0, v6}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; │ │ move-result-object v1 │ │ check-cast v1, Landroid/widget/Button; │ │ .line 816 │ @@ -2260,14 +2271,15 @@ │ │ .line 820 │ .local v3, "streamingService":Lorg/schabi/newpipe/extractor/StreamingService; │ new-instance v5, Ljava/lang/Thread; │ │ new-instance v6, Lorg/schabi/newpipe/VideoItemDetailFragment$VideoExtractorRunnable; │ │ + .line 821 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemDetailFragment;->getArguments()Landroid/os/Bundle; │ │ move-result-object v7 │ │ const-string v8, "video_url" │ │ invoke-virtual {v7, v8}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; │ @@ -2366,14 +2378,15 @@ │ │ move-result-object v0 │ │ iget-object v1, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v2, 0x7f07005e │ │ + .line 783 │ invoke-virtual {v1, v2}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v1 │ │ const/4 v2, 0x1 │ │ invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z │ @@ -2483,14 +2496,15 @@ │ const/4 v7, 0x0 │ │ .line 857 │ iget-object v4, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->video_streams:Ljava/util/List; │ │ iget-object v5, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->actionBarHandler:Lorg/schabi/newpipe/ActionBarHandler; │ │ + .line 858 │ invoke-virtual {v5}, Lorg/schabi/newpipe/ActionBarHandler;->getSelectedVideoStream()I │ │ move-result v5 │ │ invoke-interface {v4, v5}, Ljava/util/List;->get(I)Ljava/lang/Object; │ │ move-result-object v3 │ @@ -2505,14 +2519,15 @@ │ │ move-result-object v4 │ │ iget-object v5, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v6, 0x7f07006a │ │ + .line 861 │ invoke-virtual {v5, v6}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v5 │ │ invoke-interface {v4, v5, v7}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z │ │ move-result v4 │ @@ -2531,40 +2546,45 @@ │ │ invoke-virtual {v2, v4}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ iget-object v5, v3, Lorg/schabi/newpipe/extractor/VideoStream;->url:Ljava/lang/String; │ │ + .line 867 │ invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; │ │ move-result-object v5 │ │ iget v6, v3, Lorg/schabi/newpipe/extractor/VideoStream;->format:I │ │ + .line 868 │ invoke-static {v6}, Lorg/schabi/newpipe/extractor/MediaFormat;->getMimeById(I)Ljava/lang/String; │ │ move-result-object v6 │ │ + .line 867 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "android.intent.extra.TITLE" │ │ iget-object v6, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ │ + .line 869 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "title" │ │ iget-object v6, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ │ + .line 870 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ .line 872 │ iget-object v4, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ invoke-virtual {v4, v2}, Landroid/support/v7/app/AppCompatActivity;->startActivity(Landroid/content/Intent;)V │ :try_end_0 │ @@ -2602,24 +2622,26 @@ │ │ const v5, 0x7f070040 │ │ new-instance v6, Lorg/schabi/newpipe/VideoItemDetailFragment$15; │ │ invoke-direct {v6, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$15;->(Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ │ + .line 877 │ invoke-virtual {v4, v5, v6}, Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ move-result-object v4 │ │ const v5, 0x7f07001e │ │ new-instance v6, Lorg/schabi/newpipe/VideoItemDetailFragment$14; │ │ invoke-direct {v6, p0}, Lorg/schabi/newpipe/VideoItemDetailFragment$14;->(Lorg/schabi/newpipe/VideoItemDetailFragment;)V │ │ + .line 886 │ invoke-virtual {v4, v5, v6}, Landroid/support/v7/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; │ │ .line 892 │ invoke-virtual {v0}, Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; │ │ move-result-object v4 │ │ @@ -2638,14 +2660,15 @@ │ │ move-result-object v4 │ │ iget-object v5, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ │ const v6, 0x7f0700c4 │ │ + .line 896 │ invoke-virtual {v5, v6}, Landroid/support/v7/app/AppCompatActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v5 │ │ invoke-interface {v4, v5, v7}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z │ │ move-result v4 │ @@ -2672,24 +2695,26 @@ │ │ const-class v6, Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {v4, v5, v6}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V │ │ iget-object v5, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->dashMpdUrl:Ljava/lang/String; │ │ + .line 903 │ invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; │ │ move-result-object v5 │ │ invoke-virtual {v4, v5}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "content_type" │ │ + .line 904 │ invoke-virtual {v4, v5, v7}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; │ │ move-result-object v2 │ │ .line 905 │ .restart local v2 # "intent":Landroid/content/Intent; │ invoke-virtual {p0, v2}, Lorg/schabi/newpipe/VideoItemDetailFragment;->startActivity(Landroid/content/Intent;)V │ @@ -2713,14 +2738,15 @@ │ │ iget-object v4, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->video_only_streams:Ljava/util/List; │ │ if-eqz v4, :cond_3 │ │ iget-object v4, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->video_only_streams:Ljava/util/List; │ │ + .line 907 │ invoke-interface {v4}, Ljava/util/List;->isEmpty()Z │ │ move-result v4 │ │ if-eqz v4, :cond_0 │ │ .line 912 │ @@ -2731,32 +2757,36 @@ │ │ const-class v6, Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {v4, v5, v6}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V │ │ iget-object v5, v3, Lorg/schabi/newpipe/extractor/VideoStream;->url:Ljava/lang/String; │ │ + .line 913 │ invoke-static {v5}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; │ │ move-result-object v5 │ │ iget v6, v3, Lorg/schabi/newpipe/extractor/VideoStream;->format:I │ │ + .line 914 │ invoke-static {v6}, Lorg/schabi/newpipe/extractor/MediaFormat;->getMimeById(I)Ljava/lang/String; │ │ move-result-object v6 │ │ + .line 913 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "content_type" │ │ const/4 v6, 0x3 │ │ + .line 915 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; │ │ move-result-object v2 │ │ .line 917 │ .restart local v2 # "intent":Landroid/content/Intent; │ iget-object v4, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; │ @@ -2776,38 +2806,42 @@ │ │ invoke-direct {v4, v5, v6}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V │ │ const-string v5, "video_title" │ │ iget-object v6, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ │ + .line 924 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "stream_url" │ │ iget-object v6, v3, Lorg/schabi/newpipe/extractor/VideoStream;->url:Ljava/lang/String; │ │ + .line 925 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "video_url" │ │ iget-object v6, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->webpage_url:Ljava/lang/String; │ │ + .line 926 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v4 │ │ const-string v5, "start_position" │ │ iget v6, p1, Lorg/schabi/newpipe/extractor/StreamInfo;->start_position:I │ │ + .line 927 │ invoke-virtual {v4, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent; │ │ move-result-object v2 │ │ .line 928 │ .restart local v2 # "intent":Landroid/content/Intent; │ iget-object v4, p0, Lorg/schabi/newpipe/VideoItemDetailFragment;->activity:Landroid/support/v7/app/AppCompatActivity; ├── smali/org/schabi/newpipe/VideoItemListActivity$2.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$stringResource:I │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemListActivity;I)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemListActivity; │ │ .prologue │ .line 403 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemListActivity$2;->this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ iput p2, p0, Lorg/schabi/newpipe/VideoItemListActivity$2;->val$stringResource:I │ │ @@ -57,12 +58,13 @@ │ │ const/4 v2, 0x0 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 407 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 408 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoItemListActivity$SearchVideoQueryListener.smali │ @@ -96,37 +96,40 @@ │ invoke-virtual {v3, p1}, Lorg/schabi/newpipe/VideoItemListFragment;->search(Ljava/lang/String;)V │ │ .line 86 │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemListActivity$SearchVideoQueryListener;->this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ const-string v4, "input_method" │ │ + .line 87 │ invoke-virtual {v3, v4}, Lorg/schabi/newpipe/VideoItemListActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; │ │ move-result-object v2 │ │ check-cast v2, Landroid/view/inputmethod/InputMethodManager; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1 │ │ .line 90 │ .local v2, "inputManager":Landroid/view/inputmethod/InputMethodManager; │ :try_start_1 │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemListActivity$SearchVideoQueryListener;->this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ + .line 91 │ invoke-virtual {v3}, Lorg/schabi/newpipe/VideoItemListActivity;->getCurrentFocus()Landroid/view/View; │ │ move-result-object v3 │ │ invoke-virtual {v3}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder; │ │ move-result-object v3 │ │ const/4 v4, 0x2 │ │ + .line 90 │ invoke-virtual {v2, v3, v4}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z │ :try_end_1 │ .catch Ljava/lang/NullPointerException; {:try_start_1 .. :try_end_1} :catch_0 │ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1 │ │ .line 103 │ :goto_0 │ @@ -188,14 +191,15 @@ │ │ const/4 v5, 0x0 │ │ invoke-static {v3, v4, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v3 │ │ + .line 95 │ invoke-virtual {v3}, Landroid/widget/Toast;->show()V │ │ .line 96 │ invoke-virtual {v1}, Ljava/lang/NullPointerException;->printStackTrace()V │ :try_end_3 │ .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1 ├── smali/org/schabi/newpipe/VideoItemListActivity.smali │ @@ -96,15 +96,14 @@ │ │ .line 70 │ iput-object v1, p0, Lorg/schabi/newpipe/VideoItemListActivity;->videoFragment:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ .line 71 │ iput-object v1, p0, Lorg/schabi/newpipe/VideoItemListActivity;->menu:Landroid/view/Menu; │ │ - .line 158 │ return-void │ .end method │ │ .method static synthetic access$002(Lorg/schabi/newpipe/VideoItemListActivity;Ljava/lang/String;)Ljava/lang/String; │ .locals 0 │ .param p0, "x0" # Lorg/schabi/newpipe/VideoItemListActivity; │ .param p1, "x1" # Ljava/lang/String; │ @@ -299,14 +298,15 @@ │ invoke-virtual {p0, v4}, Lorg/schabi/newpipe/VideoItemListActivity;->setVolumeControlStream(I)V │ │ .line 221 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemListActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager; │ │ move-result-object v4 │ │ + .line 222 │ invoke-virtual {v4, v10}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment; │ │ move-result-object v4 │ │ check-cast v4, Lorg/schabi/newpipe/VideoItemListFragment; │ │ iput-object v4, p0, Lorg/schabi/newpipe/VideoItemListActivity;->listFragment:Lorg/schabi/newpipe/VideoItemListFragment; │ @@ -371,20 +371,22 @@ │ iput-boolean v9, p0, Lorg/schabi/newpipe/VideoItemListActivity;->mTwoPane:Z │ │ .line 244 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemListActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager; │ │ move-result-object v4 │ │ + .line 245 │ invoke-virtual {v4, v10}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment; │ │ move-result-object v4 │ │ check-cast v4, Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 246 │ invoke-virtual {v4, v9}, Lorg/schabi/newpipe/VideoItemListFragment;->setActivateOnItemClick(Z)V │ │ .line 248 │ const v4, 0x7f0e007d │ │ invoke-virtual {p0, v4}, Lorg/schabi/newpipe/VideoItemListActivity;->findViewById(I)Landroid/view/View; │ │ @@ -467,26 +469,29 @@ │ .line 216 │ invoke-virtual {p0, v10}, Lorg/schabi/newpipe/VideoItemListActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v4 │ │ iget v5, p0, Lorg/schabi/newpipe/VideoItemListActivity;->currentStreamingServiceId:I │ │ + .line 218 │ invoke-static {v5}, Lorg/schabi/newpipe/extractor/ServiceList;->getNameOfService(I)Ljava/lang/String; │ │ move-result-object v5 │ │ const-string v6, "" │ │ const v7, 0x7f07003e │ │ + .line 217 │ invoke-static {v8, v5, v6, v7}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v5 │ │ + .line 216 │ invoke-static {p0, v1, v11, v4, v5}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ goto/16 :goto_0 │ │ .line 262 │ .end local v1 # "e":Ljava/lang/Exception; │ .restart local v2 # "searchView":Landroid/support/v7/widget/SearchView; │ @@ -524,14 +529,15 @@ │ .local v0, "inflater":Landroid/view/MenuInflater; │ iget v3, p0, Lorg/schabi/newpipe/VideoItemListActivity;->mode:I │ │ if-eq v3, v5, :cond_1 │ │ const v3, 0x7f0e007b │ │ + .line 323 │ invoke-virtual {p0, v3}, Lorg/schabi/newpipe/VideoItemListActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v3 │ │ if-nez v3, :cond_1 │ │ .line 324 │ @@ -632,26 +638,29 @@ │ │ .method public onItemSelected(Ljava/lang/String;)V │ .locals 8 │ .param p1, "id" # Ljava/lang/String; │ │ .prologue │ .line 281 │ + .line 282 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemListActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager; │ │ move-result-object v4 │ │ const v5, 0x7f0e007c │ │ + .line 283 │ invoke-virtual {v4, v5}, Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment; │ │ move-result-object v4 │ │ check-cast v4, Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 284 │ invoke-virtual {v4}, Lorg/schabi/newpipe/VideoItemListFragment;->getListAdapter()Landroid/widget/ListAdapter; │ │ move-result-object v2 │ │ check-cast v2, Lorg/schabi/newpipe/VideoListAdapter; │ │ .line 285 │ @@ -728,18 +737,20 @@ │ │ move-result-object v4 │ │ const v5, 0x7f0e007b │ │ iget-object v6, p0, Lorg/schabi/newpipe/VideoItemListActivity;->videoFragment:Lorg/schabi/newpipe/VideoItemDetailFragment; │ │ + .line 304 │ invoke-virtual {v4, v5, v6}, Landroid/support/v4/app/FragmentTransaction;->replace(ILandroid/support/v4/app/Fragment;)Landroid/support/v4/app/FragmentTransaction; │ │ move-result-object v4 │ │ + .line 305 │ invoke-virtual {v4}, Landroid/support/v4/app/FragmentTransaction;->commit()I │ │ .line 315 │ .end local v0 # "arguments":Landroid/os/Bundle; │ :goto_0 │ return-void │ │ @@ -793,20 +804,22 @@ │ │ invoke-virtual {v3, p1}, Lorg/schabi/newpipe/VideoItemDetailFragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-nez v3, :cond_0 │ │ + .line 377 │ invoke-super {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-eqz v3, :cond_1 │ │ + .line 376 │ :cond_0 │ :goto_0 │ return v2 │ │ .line 352 │ :sswitch_0 │ new-instance v1, Landroid/content/Intent; │ @@ -848,26 +861,29 @@ │ │ invoke-direct {v3}, Ljava/util/Vector;->()V │ │ const/4 v4, 0x4 │ │ iget v5, p0, Lorg/schabi/newpipe/VideoItemListActivity;->currentStreamingServiceId:I │ │ + .line 366 │ invoke-static {v5}, Lorg/schabi/newpipe/extractor/ServiceList;->getNameOfService(I)Ljava/lang/String; │ │ move-result-object v5 │ │ const-string v6, "user_report" │ │ const v7, 0x7f0700a8 │ │ + .line 365 │ invoke-static {v4, v5, v6, v7}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v4 │ │ + .line 363 │ invoke-static {p0, v3, v8, v8, v4}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ goto :goto_0 │ │ .line 371 │ :sswitch_3 │ new-instance v1, Landroid/content/Intent; │ @@ -878,15 +894,15 @@ │ │ .line 372 │ .restart local v1 # "intent":Landroid/content/Intent; │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/VideoItemListActivity;->startActivity(Landroid/content/Intent;)V │ │ goto :goto_0 │ │ - .line 376 │ + .line 377 │ .end local v1 # "intent":Landroid/content/Intent; │ :cond_1 │ const/4 v2, 0x0 │ │ goto :goto_0 │ │ .line 350 ├── smali/org/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable.smali │ @@ -87,14 +87,15 @@ │ │ const/4 v3, 0x0 │ │ .line 172 │ :try_start_0 │ iget v0, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->serviceId:I │ │ + .line 173 │ invoke-static {v0}, Lorg/schabi/newpipe/extractor/ServiceList;->getService(I)Lorg/schabi/newpipe/extractor/StreamingService; │ │ move-result-object v0 │ │ new-instance v1, Lorg/schabi/newpipe/Downloader; │ │ invoke-direct {v1}, Lorg/schabi/newpipe/Downloader;->()V │ @@ -123,18 +124,20 @@ │ │ .line 176 │ .local v8, "searchLanguageKey":Ljava/lang/String; │ iget-object v0, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListActivity; │ │ const v1, 0x7f070027 │ │ + .line 177 │ invoke-virtual {v0, v1}, Lorg/schabi/newpipe/VideoItemListActivity;->getString(I)Ljava/lang/String; │ │ move-result-object v0 │ │ + .line 176 │ invoke-interface {v9, v8, v0}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v7 │ │ .line 178 │ .local v7, "searchLanguage":Ljava/lang/String; │ iget-object v0, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->query:Ljava/lang/String; │ @@ -188,26 +191,29 @@ │ │ invoke-virtual {v4, v11}, Lorg/schabi/newpipe/VideoItemListActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v4 │ │ iget v5, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->serviceId:I │ │ + .line 183 │ invoke-static {v5}, Lorg/schabi/newpipe/extractor/ServiceList;->getNameOfService(I)Ljava/lang/String; │ │ move-result-object v5 │ │ iget-object v11, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->query:Ljava/lang/String; │ │ const v12, 0x7f07004a │ │ + .line 182 │ invoke-static {v13, v5, v11, v12}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v5 │ │ + .line 181 │ invoke-static/range {v0 .. v5}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 184 │ invoke-virtual {v2}, Lorg/schabi/newpipe/extractor/ExtractionException;->printStackTrace()V │ │ goto :goto_0 │ │ @@ -247,23 +253,26 @@ │ │ invoke-virtual {v4, v11}, Lorg/schabi/newpipe/VideoItemListActivity;->findViewById(I)Landroid/view/View; │ │ move-result-object v4 │ │ iget v5, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->serviceId:I │ │ + .line 191 │ invoke-static {v5}, Lorg/schabi/newpipe/extractor/ServiceList;->getNameOfService(I)Ljava/lang/String; │ │ move-result-object v5 │ │ iget-object v11, p0, Lorg/schabi/newpipe/VideoItemListActivity$SuggestionSearchRunnable;->query:Ljava/lang/String; │ │ const v12, 0x7f07003e │ │ + .line 190 │ invoke-static {v13, v5, v11, v12}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v5 │ │ + .line 189 │ invoke-static/range {v0 .. v5}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ goto :goto_0 │ .end method ├── smali/org/schabi/newpipe/VideoItemListFragment$1.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemListFragment;)V │ .locals 2 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemListFragment; │ │ .prologue │ .line 280 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -61,14 +62,15 @@ │ │ const/4 v3, 0x1 │ │ if-eq v2, v3, :cond_0 │ │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 291 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->list:Landroid/widget/ListView; │ invoke-static {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->access$600(Lorg/schabi/newpipe/VideoItemListFragment;)Landroid/widget/ListView; │ │ move-result-object v2 │ │ const/4 v3, 0x0 │ │ @@ -76,14 +78,15 @@ │ │ move-result-object v2 │ │ if-eqz v2, :cond_0 │ │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 292 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->list:Landroid/widget/ListView; │ invoke-static {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->access$600(Lorg/schabi/newpipe/VideoItemListFragment;)Landroid/widget/ListView; │ │ move-result-object v2 │ │ invoke-virtual {v2}, Landroid/widget/ListView;->getLastVisiblePosition()I │ │ @@ -106,14 +109,15 @@ │ │ add-int/lit8 v3, v3, -0x1 │ │ if-ne v2, v3, :cond_0 │ │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 293 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->list:Landroid/widget/ListView; │ invoke-static {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->access$600(Lorg/schabi/newpipe/VideoItemListFragment;)Landroid/widget/ListView; │ │ move-result-object v2 │ │ iget-object v3, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ @@ -164,14 +168,15 @@ │ │ cmp-long v2, v2, v4 │ │ if-lez v2, :cond_0 │ │ iget-object v2, p0, Lorg/schabi/newpipe/VideoItemListFragment$1;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ + .line 296 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->loadingNextPage:Z │ invoke-static {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->access$700(Lorg/schabi/newpipe/VideoItemListFragment;)Z │ │ move-result v2 │ │ if-nez v2, :cond_0 ├── smali/org/schabi/newpipe/VideoItemListFragment$2.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$message:Ljava/lang/String; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemListFragment;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemListFragment; │ │ .prologue │ .line 349 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemListFragment$2;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ iput-object p2, p0, Lorg/schabi/newpipe/VideoItemListFragment$2;->val$message:Ljava/lang/String; │ │ @@ -62,12 +63,13 @@ │ │ const/4 v2, 0x0 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 354 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 355 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoItemListFragment$3.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$stringResource:I │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/VideoItemListFragment;I)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/VideoItemListFragment; │ │ .prologue │ .line 360 │ iput-object p1, p0, Lorg/schabi/newpipe/VideoItemListFragment$3;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ iput p2, p0, Lorg/schabi/newpipe/VideoItemListFragment$3;->val$stringResource:I │ │ @@ -66,12 +67,13 @@ │ │ move-result-object v1 │ │ invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 365 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 366 │ return-void │ .end method ├── smali/org/schabi/newpipe/VideoItemListFragment$SearchRunnable.smali │ @@ -74,167 +74,166 @@ │ .line 99 │ return-void │ .end method │ │ │ # virtual methods │ .method public run()V │ - .locals 19 │ + .locals 17 │ │ .prologue │ .line 105 │ - const/4 v15, 0x0 │ + const/4 v13, 0x0 │ │ .line 107 │ - .local v15, "result":Lorg/schabi/newpipe/extractor/SearchResult; │ + .local v13, "result":Lorg/schabi/newpipe/extractor/SearchResult; │ :try_start_0 │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getContext()Landroid/content/Context; │ + invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getContext()Landroid/content/Context; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - invoke-static {v2}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ + invoke-static {v1}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; │ │ - move-result-object v18 │ + move-result-object v16 │ │ .line 108 │ - .local v18, "sp":Landroid/content/SharedPreferences; │ + .local v16, "sp":Landroid/content/SharedPreferences; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getContext()Landroid/content/Context; │ + invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getContext()Landroid/content/Context; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - const v3, 0x7f070050 │ + const v2, 0x7f070050 │ │ - invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String; │ + invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String; │ │ - move-result-object v17 │ + move-result-object v15 │ │ .line 109 │ - .local v17, "searchLanguageKey":Ljava/lang/String; │ + .local v15, "searchLanguageKey":Ljava/lang/String; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ - │ - const v3, 0x7f070027 │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2, v3}, Lorg/schabi/newpipe/VideoItemListFragment;->getString(I)Ljava/lang/String; │ + const v2, 0x7f070027 │ │ - move-result-object v2 │ + .line 110 │ + invoke-virtual {v1, v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getString(I)Ljava/lang/String; │ │ - move-object/from16 v0, v18 │ + move-result-object v1 │ │ - move-object/from16 v1, v17 │ + .line 109 │ + move-object/from16 v0, v16 │ │ - invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-interface {v0, v15, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v16 │ + move-result-object v14 │ │ .line 111 │ - .local v16, "searchLanguage":Ljava/lang/String; │ + .local v14, "searchLanguage":Ljava/lang/String; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->engine:Lorg/schabi/newpipe/extractor/SearchEngine; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->engine:Lorg/schabi/newpipe/extractor/SearchEngine; │ │ move-object/from16 v0, p0 │ │ - iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ + iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ - iget v4, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->page:I │ + iget v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->page:I │ │ - new-instance v5, Lorg/schabi/newpipe/Downloader; │ + new-instance v4, Lorg/schabi/newpipe/Downloader; │ │ - invoke-direct {v5}, Lorg/schabi/newpipe/Downloader;->()V │ - │ - move-object/from16 v0, v16 │ + invoke-direct {v4}, Lorg/schabi/newpipe/Downloader;->()V │ │ - invoke-static {v2, v3, v4, v0, v5}, Lorg/schabi/newpipe/extractor/SearchResult;->getSearchResult(Lorg/schabi/newpipe/extractor/SearchEngine;Ljava/lang/String;ILjava/lang/String;Lorg/schabi/newpipe/extractor/Downloader;)Lorg/schabi/newpipe/extractor/SearchResult; │ + .line 112 │ + invoke-static {v1, v2, v3, v14, v4}, Lorg/schabi/newpipe/extractor/SearchResult;->getSearchResult(Lorg/schabi/newpipe/extractor/SearchEngine;Ljava/lang/String;ILjava/lang/String;Lorg/schabi/newpipe/extractor/Downloader;)Lorg/schabi/newpipe/extractor/SearchResult; │ │ - move-result-object v15 │ + move-result-object v13 │ │ .line 114 │ move-object/from16 v0, p0 │ │ - iget-boolean v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->runs:Z │ + iget-boolean v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->runs:Z │ │ - if-eqz v2, :cond_0 │ + if-eqz v1, :cond_0 │ │ .line 115 │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ - new-instance v3, Lorg/schabi/newpipe/VideoItemListFragment$ResultRunnable; │ + new-instance v2, Lorg/schabi/newpipe/VideoItemListFragment$ResultRunnable; │ │ move-object/from16 v0, p0 │ │ - iget-object v4, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ move-object/from16 v0, p0 │ │ - iget v5, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->requestId:I │ + iget v4, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->requestId:I │ │ - invoke-direct {v3, v4, v15, v5}, Lorg/schabi/newpipe/VideoItemListFragment$ResultRunnable;->(Lorg/schabi/newpipe/VideoItemListFragment;Lorg/schabi/newpipe/extractor/SearchResult;I)V │ + invoke-direct {v2, v3, v13, v4}, Lorg/schabi/newpipe/VideoItemListFragment$ResultRunnable;->(Lorg/schabi/newpipe/VideoItemListFragment;Lorg/schabi/newpipe/extractor/SearchResult;I)V │ │ - invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ + invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ │ .line 120 │ :cond_0 │ - if-eqz v15, :cond_1 │ + if-eqz v13, :cond_1 │ │ - iget-object v2, v15, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ + iget-object v1, v13, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ │ - invoke-interface {v2}, Ljava/util/List;->isEmpty()Z │ + .line 121 │ + invoke-interface {v1}, Ljava/util/List;->isEmpty()Z │ │ - move-result v2 │ + move-result v1 │ │ - if-nez v2, :cond_1 │ + if-nez v1, :cond_1 │ │ .line 122 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->TAG:Ljava/lang/String; │ invoke-static {}, Lorg/schabi/newpipe/VideoItemListFragment;->access$200()Ljava/lang/String; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - const-string v3, "OCCURRED ERRORS DURING SEARCH EXTRACTION:" │ + const-string v2, "OCCURRED ERRORS DURING SEARCH EXTRACTION:" │ │ - invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ + invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 123 │ - iget-object v2, v15, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ + iget-object v1, v13, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ │ - invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ + invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ - move-result-object v14 │ + move-result-object v1 │ │ - .local v14, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v14}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v2 │ │ if-eqz v2, :cond_2 │ │ - invoke-interface {v14}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v9 │ + move-result-object v8 │ │ - check-cast v9, Ljava/lang/Exception; │ + check-cast v8, Ljava/lang/Exception; │ │ .line 124 │ - .local v9, "e":Ljava/lang/Exception; │ - invoke-virtual {v9}, Ljava/lang/Exception;->printStackTrace()V │ + .local v8, "e":Ljava/lang/Exception; │ + invoke-virtual {v8}, Ljava/lang/Exception;->printStackTrace()V │ │ .line 125 │ # getter for: Lorg/schabi/newpipe/VideoItemListFragment;->TAG:Ljava/lang/String; │ invoke-static {}, Lorg/schabi/newpipe/VideoItemListFragment;->access$200()Ljava/lang/String; │ │ move-result-object v2 │ │ @@ -246,224 +245,227 @@ │ .catch Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; {:try_start_0 .. :try_end_0} :catch_1 │ .catch Lorg/schabi/newpipe/extractor/ExtractionException; {:try_start_0 .. :try_end_0} :catch_2 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3 │ │ goto :goto_0 │ │ .line 136 │ - .end local v9 # "e":Ljava/lang/Exception; │ - .end local v14 # "i$":Ljava/util/Iterator; │ - .end local v16 # "searchLanguage":Ljava/lang/String; │ - .end local v17 # "searchLanguageKey":Ljava/lang/String; │ - .end local v18 # "sp":Landroid/content/SharedPreferences; │ + .end local v8 # "e":Ljava/lang/Exception; │ + .end local v14 # "searchLanguage":Ljava/lang/String; │ + .end local v15 # "searchLanguageKey":Ljava/lang/String; │ + .end local v16 # "sp":Landroid/content/SharedPreferences; │ :catch_0 │ - move-exception v9 │ + move-exception v8 │ │ .line 137 │ - .local v9, "e":Ljava/io/IOException; │ + .local v8, "e":Ljava/io/IOException; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ move-object/from16 v0, p0 │ │ - iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ - const v4, 0x7f070046 │ + const v3, 0x7f070046 │ │ # invokes: Lorg/schabi/newpipe/VideoItemListFragment;->postNewNothingFoundToast(Landroid/os/Handler;I)V │ - invoke-static {v2, v3, v4}, Lorg/schabi/newpipe/VideoItemListFragment;->access$300(Lorg/schabi/newpipe/VideoItemListFragment;Landroid/os/Handler;I)V │ + invoke-static {v1, v2, v3}, Lorg/schabi/newpipe/VideoItemListFragment;->access$300(Lorg/schabi/newpipe/VideoItemListFragment;Landroid/os/Handler;I)V │ │ .line 138 │ - invoke-virtual {v9}, Ljava/io/IOException;->printStackTrace()V │ + invoke-virtual {v8}, Ljava/io/IOException;->printStackTrace()V │ │ .line 156 │ - .end local v9 # "e":Ljava/io/IOException; │ + .end local v8 # "e":Ljava/io/IOException; │ :cond_1 │ :goto_1 │ return-void │ │ .line 128 │ - .restart local v14 # "i$":Ljava/util/Iterator; │ - .restart local v16 # "searchLanguage":Ljava/lang/String; │ - .restart local v17 # "searchLanguageKey":Ljava/lang/String; │ - .restart local v18 # "sp":Landroid/content/SharedPreferences; │ + .restart local v14 # "searchLanguage":Ljava/lang/String; │ + .restart local v15 # "searchLanguageKey":Ljava/lang/String; │ + .restart local v16 # "sp":Landroid/content/SharedPreferences; │ :cond_2 │ :try_start_1 │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ + invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ - move-result-object v13 │ + move-result-object v12 │ │ .line 129 │ - .local v13, "a":Landroid/app/Activity; │ - const v2, 0x7f0e007c │ + .local v12, "a":Landroid/app/Activity; │ + const v1, 0x7f0e007c │ │ - invoke-virtual {v13, v2}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; │ + invoke-virtual {v12, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; │ │ - move-result-object v6 │ + move-result-object v5 │ │ .line 130 │ - .local v6, "rootView":Landroid/view/View; │ + .local v5, "rootView":Landroid/view/View; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ move-object/from16 v0, p0 │ │ - iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v3}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ + invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - iget-object v4, v15, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ + iget-object v3, v13, Lorg/schabi/newpipe/extractor/SearchResult;->errors:Ljava/util/List; │ │ - const/4 v5, 0x0 │ + const/4 v4, 0x0 │ │ - const/4 v7, 0x0 │ + const/4 v6, 0x0 │ │ - const-string v8, "Youtube" │ + const-string v7, "Youtube" │ │ move-object/from16 v0, p0 │ │ - iget-object v10, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ + iget-object v9, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ │ - const v11, 0x7f070076 │ + const v10, 0x7f070076 │ │ - invoke-static {v7, v8, v10, v11}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + .line 131 │ + invoke-static {v6, v7, v9, v10}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - move-result-object v7 │ + move-result-object v6 │ │ - invoke-static/range {v2 .. v7}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ + .line 130 │ + invoke-static/range {v1 .. v6}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ :try_end_1 │ .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 │ .catch Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; {:try_start_1 .. :try_end_1} :catch_1 │ .catch Lorg/schabi/newpipe/extractor/ExtractionException; {:try_start_1 .. :try_end_1} :catch_2 │ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3 │ │ goto :goto_1 │ │ .line 139 │ - .end local v6 # "rootView":Landroid/view/View; │ - .end local v13 # "a":Landroid/app/Activity; │ - .end local v14 # "i$":Ljava/util/Iterator; │ - .end local v16 # "searchLanguage":Ljava/lang/String; │ - .end local v17 # "searchLanguageKey":Ljava/lang/String; │ - .end local v18 # "sp":Landroid/content/SharedPreferences; │ + .end local v5 # "rootView":Landroid/view/View; │ + .end local v12 # "a":Landroid/app/Activity; │ + .end local v14 # "searchLanguage":Ljava/lang/String; │ + .end local v15 # "searchLanguageKey":Ljava/lang/String; │ + .end local v16 # "sp":Landroid/content/SharedPreferences; │ :catch_1 │ - move-exception v9 │ + move-exception v8 │ │ .line 140 │ - .local v9, "e":Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ + .local v8, "e":Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ move-object/from16 v0, p0 │ │ - iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ - invoke-virtual {v9}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->getMessage()Ljava/lang/String; │ + invoke-virtual {v8}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->getMessage()Ljava/lang/String; │ │ - move-result-object v4 │ + move-result-object v3 │ │ # invokes: Lorg/schabi/newpipe/VideoItemListFragment;->postNewErrorToast(Landroid/os/Handler;Ljava/lang/String;)V │ - invoke-static {v2, v3, v4}, Lorg/schabi/newpipe/VideoItemListFragment;->access$400(Lorg/schabi/newpipe/VideoItemListFragment;Landroid/os/Handler;Ljava/lang/String;)V │ + invoke-static {v1, v2, v3}, Lorg/schabi/newpipe/VideoItemListFragment;->access$400(Lorg/schabi/newpipe/VideoItemListFragment;Landroid/os/Handler;Ljava/lang/String;)V │ │ goto :goto_1 │ │ .line 141 │ - .end local v9 # "e":Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ + .end local v8 # "e":Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ :catch_2 │ - move-exception v9 │ + move-exception v8 │ │ .line 142 │ - .local v9, "e":Lorg/schabi/newpipe/extractor/ExtractionException; │ + .local v8, "e":Lorg/schabi/newpipe/extractor/ExtractionException; │ move-object/from16 v0, p0 │ │ - iget-object v7, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v6, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ + invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ - move-result-object v8 │ + move-result-object v7 │ │ - const/4 v10, 0x0 │ + const/4 v9, 0x0 │ │ - const/4 v11, 0x0 │ + const/4 v10, 0x0 │ │ - const/4 v2, 0x0 │ + const/4 v1, 0x0 │ │ - const-string v3, "Youtube" │ + const-string v2, "Youtube" │ │ move-object/from16 v0, p0 │ │ - iget-object v4, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ + iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ │ - const v5, 0x7f07004a │ + const v4, 0x7f07004a │ │ - invoke-static {v2, v3, v4, v5}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + .line 143 │ + invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - move-result-object v12 │ + move-result-object v11 │ │ - invoke-static/range {v7 .. v12}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ + .line 142 │ + invoke-static/range {v6 .. v11}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 147 │ - invoke-virtual {v9}, Lorg/schabi/newpipe/extractor/ExtractionException;->printStackTrace()V │ + invoke-virtual {v8}, Lorg/schabi/newpipe/extractor/ExtractionException;->printStackTrace()V │ │ goto :goto_1 │ │ .line 149 │ - .end local v9 # "e":Lorg/schabi/newpipe/extractor/ExtractionException; │ + .end local v8 # "e":Lorg/schabi/newpipe/extractor/ExtractionException; │ :catch_3 │ - move-exception v9 │ + move-exception v8 │ │ .line 150 │ - .local v9, "e":Ljava/lang/Exception; │ + .local v8, "e":Ljava/lang/Exception; │ move-object/from16 v0, p0 │ │ - iget-object v7, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ + iget-object v6, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->h:Landroid/os/Handler; │ │ move-object/from16 v0, p0 │ │ - iget-object v2, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ + iget-object v1, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->this$0:Lorg/schabi/newpipe/VideoItemListFragment; │ │ - invoke-virtual {v2}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ + invoke-virtual {v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ - move-result-object v8 │ + move-result-object v7 │ │ - const/4 v10, 0x0 │ + const/4 v9, 0x0 │ │ - const/4 v11, 0x0 │ + const/4 v10, 0x0 │ │ - const/4 v2, 0x0 │ + const/4 v1, 0x0 │ │ - const-string v3, "Youtube" │ + const-string v2, "Youtube" │ │ move-object/from16 v0, p0 │ │ - iget-object v4, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ + iget-object v3, v0, Lorg/schabi/newpipe/VideoItemListFragment$SearchRunnable;->query:Ljava/lang/String; │ │ - const v5, 0x7f07003e │ + const v4, 0x7f07003e │ │ - invoke-static {v2, v3, v4, v5}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ + .line 151 │ + invoke-static {v1, v2, v3, v4}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ - move-result-object v12 │ + move-result-object v11 │ │ - invoke-static/range {v7 .. v12}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ + .line 150 │ + invoke-static/range {v6 .. v11}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/os/Handler;Landroid/content/Context;Ljava/lang/Exception;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ .line 154 │ - invoke-virtual {v9}, Ljava/lang/Exception;->printStackTrace()V │ + invoke-virtual {v8}, Ljava/lang/Exception;->printStackTrace()V │ │ goto/16 :goto_1 │ .end method │ │ .method terminate()V │ .locals 1 ├── smali/org/schabi/newpipe/VideoItemListFragment.smali │ @@ -486,14 +486,15 @@ │ │ const/4 v3, 0x0 │ │ invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v1 │ │ + .line 217 │ invoke-virtual {v1}, Landroid/widget/Toast;->show()V │ │ .line 218 │ sget-object v1, Lorg/schabi/newpipe/VideoItemListFragment;->TAG:Ljava/lang/String; │ │ const-string v2, "Trying to set value while activity doesn\'t exist anymore." │ │ @@ -526,14 +527,15 @@ │ │ const/4 v3, 0x0 │ │ invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v1 │ │ + .line 221 │ invoke-virtual {v1}, Landroid/widget/Toast;->show()V │ │ .line 222 │ invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V │ :try_end_2 │ .catchall {:try_start_2 .. :try_end_2} :catchall_0 │ │ @@ -584,14 +586,15 @@ │ .line 204 │ invoke-virtual {p0}, Lorg/schabi/newpipe/VideoItemListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; │ │ move-result-object v0 │ │ const v1, 0x7f070030 │ │ + .line 205 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/VideoItemListFragment;->getString(I)Ljava/lang/String; │ │ move-result-object v1 │ │ new-array v2, v5, [Ljava/lang/Object; │ │ const/4 v3, 0x0 │ @@ -600,18 +603,20 @@ │ │ aput-object v4, v2, v3 │ │ invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 204 │ invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 206 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 209 │ :cond_0 │ return-void │ .end method │ │ @@ -719,14 +724,15 @@ │ │ const v1, 0x7f04003f │ │ const/4 v2, 0x0 │ │ const/4 v3, 0x0 │ │ + .line 267 │ invoke-virtual {v0, v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View; │ │ move-result-object v0 │ │ iput-object v0, p0, Lorg/schabi/newpipe/VideoItemListFragment;->footer:Landroid/view/View; │ │ .line 270 │ @@ -735,14 +741,15 @@ │ invoke-virtual {p0, v0}, Lorg/schabi/newpipe/VideoItemListFragment;->setListAdapter(Landroid/widget/ListAdapter;)V │ │ .line 273 │ if-eqz p2, :cond_0 │ │ const-string v0, "activated_position" │ │ + .line 275 │ invoke-virtual {p2, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z │ │ move-result v0 │ │ if-eqz v0, :cond_0 │ │ .line 276 ├── smali/org/schabi/newpipe/download/DownloadDialog$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/DownloadDialog;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/DownloadDialog; │ │ .prologue │ .line 71 │ iput-object p1, p0, Lorg/schabi/newpipe/download/DownloadDialog$1;->this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/download/DownloadDialog$3.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$tCount:Landroid/widget/TextView; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/DownloadDialog;Landroid/widget/TextView;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/DownloadDialog; │ │ .prologue │ .line 134 │ iput-object p1, p0, Lorg/schabi/newpipe/download/DownloadDialog$3;->this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ iput-object p2, p0, Lorg/schabi/newpipe/download/DownloadDialog$3;->val$tCount:Landroid/widget/TextView; ├── smali/org/schabi/newpipe/download/DownloadDialog$4.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/DownloadDialog;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/DownloadDialog; │ │ .prologue │ .line 162 │ iput-object p1, p0, Lorg/schabi/newpipe/download/DownloadDialog$4;->this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/download/DownloadDialog.smali │ @@ -114,66 +114,65 @@ │ .line 196 │ new-instance v0, Ljava/util/ArrayList; │ │ invoke-direct {v0}, Ljava/util/ArrayList;->()V │ │ .line 197 │ .local v0, "forbiddenCharsPatterns":Ljava/util/List;, "Ljava/util/List;" │ - const-string v4, "[:]+" │ + const-string v3, "[:]+" │ │ - invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ + invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ │ .line 198 │ - const-string v4, "[\\*\"/\\\\\\[\\]\\:\\;\\|\\=\\,]+" │ + const-string v3, "[\\*\"/\\\\\\[\\]\\:\\;\\|\\=\\,]+" │ │ - invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ + invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ │ .line 199 │ - const-string v4, "[^\\w\\d\\.]+" │ + const-string v3, "[^\\w\\d\\.]+" │ │ - invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ + invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z │ │ .line 200 │ - move-object v2, p1 │ + move-object v1, p1 │ │ .line 201 │ - .local v2, "nameToTest":Ljava/lang/String; │ + .local v1, "nameToTest":Ljava/lang/String; │ invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator; │ │ - move-result-object v1 │ + move-result-object v3 │ │ - .local v1, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v4 │ │ if-eqz v4, :cond_0 │ │ - invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Ljava/lang/String; │ + check-cast v2, Ljava/lang/String; │ │ .line 202 │ - .local v3, "pattern":Ljava/lang/String; │ + .local v2, "pattern":Ljava/lang/String; │ const-string v4, "_" │ │ - invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-virtual {v1, v2, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v2 │ + move-result-object v1 │ │ .line 203 │ goto :goto_0 │ │ .line 204 │ - .end local v3 # "pattern":Ljava/lang/String; │ + .end local v2 # "pattern":Ljava/lang/String; │ :cond_0 │ - return-object v2 │ + return-object v1 │ .end method │ │ .method private download()V │ .locals 12 │ │ .prologue │ .line 211 │ @@ -256,46 +255,50 @@ │ if-eqz v8, :cond_1 │ │ .line 224 │ iget-object v8, p0, Lorg/schabi/newpipe/download/DownloadDialog;->mManager:Lus/shandian/giga/get/DownloadManager; │ │ const-string v9, "audio_url" │ │ + .line 225 │ invoke-virtual {v0, v9}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v9 │ │ new-instance v10, Ljava/lang/StringBuilder; │ │ invoke-direct {v10}, Ljava/lang/StringBuilder;->()V │ │ invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v10 │ │ const-string v11, "file_suffix_audio" │ │ + .line 226 │ invoke-virtual {v0, v11}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v11 │ │ invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v10 │ │ invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v10 │ │ + .line 227 │ invoke-virtual {v5}, Landroid/widget/SeekBar;->getProgress()I │ │ move-result v11 │ │ add-int/lit8 v11, v11, 0x1 │ │ + .line 224 │ invoke-interface {v8, v9, v10, v11}, Lus/shandian/giga/get/DownloadManager;->startMission(Ljava/lang/String;Ljava/lang/String;I)I │ │ move-result v4 │ │ .line 228 │ .local v4, "res":I │ iget-object v8, p0, Lorg/schabi/newpipe/download/DownloadDialog;->mBinder:Lus/shandian/giga/service/DownloadManagerService$DMBinder; │ @@ -318,46 +321,50 @@ │ if-eqz v8, :cond_2 │ │ .line 232 │ iget-object v8, p0, Lorg/schabi/newpipe/download/DownloadDialog;->mManager:Lus/shandian/giga/get/DownloadManager; │ │ const-string v9, "video_url" │ │ + .line 233 │ invoke-virtual {v0, v9}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v9 │ │ new-instance v10, Ljava/lang/StringBuilder; │ │ invoke-direct {v10}, Ljava/lang/StringBuilder;->()V │ │ invoke-virtual {v10, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v10 │ │ const-string v11, "file_suffix_video" │ │ + .line 234 │ invoke-virtual {v0, v11}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v11 │ │ invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v10 │ │ invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v10 │ │ + .line 235 │ invoke-virtual {v5}, Landroid/widget/SeekBar;->getProgress()I │ │ move-result v11 │ │ add-int/lit8 v11, v11, 0x1 │ │ + .line 232 │ invoke-interface {v8, v9, v10, v11}, Lus/shandian/giga/get/DownloadManager;->startMission(Ljava/lang/String;Ljava/lang/String;I)I │ │ move-result v4 │ │ .line 236 │ .restart local v4 # "res":I │ iget-object v8, p0, Lorg/schabi/newpipe/download/DownloadDialog;->mBinder:Lus/shandian/giga/service/DownloadManagerService$DMBinder; ├── smali/org/schabi/newpipe/download/FileDownloader.smali │ @@ -642,51 +642,56 @@ │ │ iget-object v2, p0, Lorg/schabi/newpipe/download/FileDownloader;->context:Landroid/content/Context; │ │ invoke-direct {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->(Landroid/content/Context;)V │ │ const v2, 0x1080081 │ │ + .line 91 │ invoke-virtual {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v1 │ │ check-cast v0, Landroid/graphics/drawable/BitmapDrawable; │ │ + .line 92 │ .end local v0 # "icon":Landroid/graphics/drawable/Drawable; │ invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v1 │ │ iget-object v2, p0, Lorg/schabi/newpipe/download/FileDownloader;->saveFilePath:Ljava/io/File; │ │ + .line 93 │ invoke-virtual {v2}, Ljava/io/File;->getName()Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v1 │ │ iget-object v2, p0, Lorg/schabi/newpipe/download/FileDownloader;->saveFilePath:Ljava/io/File; │ │ + .line 94 │ invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v1 │ │ iget v2, p0, Lorg/schabi/newpipe/download/FileDownloader;->fileSize:I │ │ + .line 95 │ invoke-virtual {v1, v2, v3, v3}, Landroid/support/v4/app/NotificationCompat$Builder;->setProgress(IIZ)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v1 │ │ iput-object v1, p0, Lorg/schabi/newpipe/download/FileDownloader;->builder:Landroid/support/v4/app/NotificationCompat$Builder; │ │ .line 96 ├── smali/org/schabi/newpipe/download/MainActivity$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/MainActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/MainActivity; │ │ .prologue │ .line 70 │ iput-object p1, p0, Lorg/schabi/newpipe/download/MainActivity$1;->this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/download/MainActivity$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/MainActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/MainActivity; │ │ .prologue │ .line 111 │ iput-object p1, p0, Lorg/schabi/newpipe/download/MainActivity$2;->this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/download/MainActivity$3.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$tCount:Landroid/widget/TextView; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/MainActivity;Landroid/widget/TextView;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/MainActivity; │ │ .prologue │ .line 163 │ iput-object p1, p0, Lorg/schabi/newpipe/download/MainActivity$3;->this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ iput-object p2, p0, Lorg/schabi/newpipe/download/MainActivity$3;->val$tCount:Landroid/widget/TextView; ├── smali/org/schabi/newpipe/download/MainActivity$4.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$dialog:Landroid/app/AlertDialog; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/MainActivity;Landroid/app/AlertDialog;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/MainActivity; │ │ .prologue │ .line 200 │ iput-object p1, p0, Lorg/schabi/newpipe/download/MainActivity$4;->this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ iput-object p2, p0, Lorg/schabi/newpipe/download/MainActivity$4;->val$dialog:Landroid/app/AlertDialog; ├── smali/org/schabi/newpipe/download/MainActivity$5.smali │ @@ -26,14 +26,15 @@ │ │ .field final synthetic val$threads:Landroid/widget/SeekBar; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/MainActivity;Landroid/widget/EditText;Landroid/widget/SeekBar;Landroid/app/AlertDialog;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/MainActivity; │ │ .prologue │ .line 207 │ iput-object p1, p0, Lorg/schabi/newpipe/download/MainActivity$5;->this$0:Lorg/schabi/newpipe/download/MainActivity; │ │ iput-object p2, p0, Lorg/schabi/newpipe/download/MainActivity$5;->val$name:Landroid/widget/EditText; ├── smali/org/schabi/newpipe/download/DownloadDialog$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/download/DownloadDialog;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/download/DownloadDialog; │ │ .prologue │ .line 127 │ iput-object p1, p0, Lorg/schabi/newpipe/download/DownloadDialog$2;->this$0:Lorg/schabi/newpipe/download/DownloadDialog; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/download/MainActivity.smali │ @@ -279,22 +279,25 @@ │ .line 193 │ new-instance v8, Landroid/app/AlertDialog$Builder; │ │ invoke-direct {v8, p0}, Landroid/app/AlertDialog$Builder;->(Landroid/content/Context;)V │ │ const/4 v9, 0x1 │ │ + .line 194 │ invoke-virtual {v8, v9}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder; │ │ move-result-object v8 │ │ + .line 195 │ invoke-virtual {v8, v7}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder; │ │ move-result-object v8 │ │ + .line 196 │ invoke-virtual {v8}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; │ │ move-result-object v1 │ │ .line 198 │ .local v1, "dialog":Landroid/app/AlertDialog; │ invoke-virtual {v1}, Landroid/app/AlertDialog;->show()V │ @@ -337,24 +340,27 @@ │ │ move-result-object v0 │ │ const v1, 0x7f0e0069 │ │ iget-object v2, p0, Lorg/schabi/newpipe/download/MainActivity;->mFragment:Lus/shandian/giga/ui/fragment/MissionsFragment; │ │ + .line 149 │ invoke-virtual {v0, v1, v2}, Landroid/app/FragmentTransaction;->replace(ILandroid/app/Fragment;)Landroid/app/FragmentTransaction; │ │ move-result-object v0 │ │ const/16 v1, 0x1003 │ │ + .line 150 │ invoke-virtual {v0, v1}, Landroid/app/FragmentTransaction;->setTransition(I)Landroid/app/FragmentTransaction; │ │ move-result-object v0 │ │ + .line 151 │ invoke-virtual {v0}, Landroid/app/FragmentTransaction;->commit()I │ │ .line 152 │ return-void │ .end method │ │ │ @@ -600,20 +606,22 @@ │ │ invoke-virtual {v3, p1}, Lus/shandian/giga/ui/fragment/MissionsFragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-nez v3, :cond_0 │ │ + .line 279 │ invoke-super {p0, p1}, Landroid/support/v7/app/AppCompatActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z │ │ move-result v3 │ │ if-eqz v3, :cond_1 │ │ + .line 278 │ :cond_0 │ :goto_0 │ return v2 │ │ .line 259 │ :sswitch_0 │ new-instance v1, Landroid/content/Intent; │ @@ -657,23 +665,25 @@ │ │ const/4 v4, 0x4 │ │ const-string v5, "user_report" │ │ const v6, 0x7f0700a8 │ │ + .line 272 │ invoke-static {v4, v7, v5, v6}, Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;->make(ILjava/lang/String;Ljava/lang/String;I)Lorg/schabi/newpipe/ErrorActivity$ErrorInfo; │ │ move-result-object v4 │ │ + .line 270 │ invoke-static {p0, v3, v7, v7, v4}, Lorg/schabi/newpipe/ErrorActivity;->reportError(Landroid/content/Context;Ljava/util/List;Ljava/lang/Class;Landroid/view/View;Lorg/schabi/newpipe/ErrorActivity$ErrorInfo;)V │ │ goto :goto_0 │ │ - .line 278 │ + .line 279 │ :cond_1 │ const/4 v2, 0x0 │ │ goto :goto_0 │ │ .line 257 │ :sswitch_data_0 ├── smali/org/schabi/newpipe/extractor/DashMpdParser.smali │ @@ -223,31 +223,35 @@ │ if-eqz v14, :cond_2 │ │ .line 70 │ const-string v14, "" │ │ const-string v15, "bandwidth" │ │ + .line 71 │ invoke-interface {v12, v14, v15}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v14 │ │ + .line 70 │ invoke-static {v14}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v3 │ │ .line 72 │ const-string v14, "" │ │ const-string v15, "audioSamplingRate" │ │ + .line 73 │ invoke-interface {v12, v14, v15}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v14 │ │ + .line 72 │ invoke-static {v14}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v5 │ │ goto :goto_1 │ │ .line 74 │ @@ -267,14 +271,15 @@ │ │ .line 81 │ :pswitch_1 │ if-eqz v6, :cond_0 │ │ const-string v14, "audio" │ │ + .line 82 │ invoke-virtual {v4, v14}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z │ │ move-result v14 │ │ if-eqz v14, :cond_0 │ │ .line 83 ├── smali/org/schabi/newpipe/extractor/MediaFormat.smali │ @@ -216,152 +216,143 @@ │ .locals 5 │ .param p0, "ident" # I │ │ .prologue │ .line 78 │ invoke-static {}, Lorg/schabi/newpipe/extractor/MediaFormat;->values()[Lorg/schabi/newpipe/extractor/MediaFormat; │ │ - move-result-object v0 │ + move-result-object v2 │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/MediaFormat; │ - array-length v2, v0 │ + array-length v3, v2 │ │ - .local v2, "len$":I │ const/4 v1, 0x0 │ │ - .local v1, "i$":I │ :goto_0 │ - if-ge v1, v2, :cond_1 │ + if-ge v1, v3, :cond_1 │ │ - aget-object v3, v0, v1 │ + aget-object v0, v2, v1 │ │ .line 79 │ - .local v3, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ - iget v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ + .local v0, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + iget v4, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ │ if-ne v4, p0, :cond_0 │ │ - iget-object v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->mimeType:Ljava/lang/String; │ + iget-object v1, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->mimeType:Ljava/lang/String; │ │ .line 81 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :goto_1 │ - return-object v4 │ + return-object v1 │ │ .line 78 │ - .restart local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .restart local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_0 │ add-int/lit8 v1, v1, 0x1 │ │ goto :goto_0 │ │ .line 81 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_1 │ - const-string v4, "" │ + const-string v1, "" │ │ goto :goto_1 │ .end method │ │ .method public static getNameById(I)Ljava/lang/String; │ .locals 5 │ .param p0, "ident" # I │ │ .prologue │ .line 56 │ invoke-static {}, Lorg/schabi/newpipe/extractor/MediaFormat;->values()[Lorg/schabi/newpipe/extractor/MediaFormat; │ │ - move-result-object v0 │ + move-result-object v2 │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/MediaFormat; │ - array-length v2, v0 │ + array-length v3, v2 │ │ - .local v2, "len$":I │ const/4 v1, 0x0 │ │ - .local v1, "i$":I │ :goto_0 │ - if-ge v1, v2, :cond_1 │ + if-ge v1, v3, :cond_1 │ │ - aget-object v3, v0, v1 │ + aget-object v0, v2, v1 │ │ .line 57 │ - .local v3, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ - iget v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ + .local v0, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + iget v4, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ │ if-ne v4, p0, :cond_0 │ │ - iget-object v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->name:Ljava/lang/String; │ + iget-object v1, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->name:Ljava/lang/String; │ │ .line 59 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :goto_1 │ - return-object v4 │ + return-object v1 │ │ .line 56 │ - .restart local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .restart local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_0 │ add-int/lit8 v1, v1, 0x1 │ │ goto :goto_0 │ │ .line 59 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_1 │ - const-string v4, "" │ + const-string v1, "" │ │ goto :goto_1 │ .end method │ │ .method public static getSuffixById(I)Ljava/lang/String; │ .locals 5 │ .param p0, "ident" # I │ │ .prologue │ .line 67 │ invoke-static {}, Lorg/schabi/newpipe/extractor/MediaFormat;->values()[Lorg/schabi/newpipe/extractor/MediaFormat; │ │ - move-result-object v0 │ + move-result-object v2 │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/MediaFormat; │ - array-length v2, v0 │ + array-length v3, v2 │ │ - .local v2, "len$":I │ const/4 v1, 0x0 │ │ - .local v1, "i$":I │ :goto_0 │ - if-ge v1, v2, :cond_1 │ + if-ge v1, v3, :cond_1 │ │ - aget-object v3, v0, v1 │ + aget-object v0, v2, v1 │ │ .line 68 │ - .local v3, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ - iget v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ + .local v0, "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + iget v4, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->id:I │ │ if-ne v4, p0, :cond_0 │ │ - iget-object v4, v3, Lorg/schabi/newpipe/extractor/MediaFormat;->suffix:Ljava/lang/String; │ + iget-object v1, v0, Lorg/schabi/newpipe/extractor/MediaFormat;->suffix:Ljava/lang/String; │ │ .line 70 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :goto_1 │ - return-object v4 │ + return-object v1 │ │ .line 67 │ - .restart local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .restart local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_0 │ add-int/lit8 v1, v1, 0x1 │ │ goto :goto_0 │ │ .line 70 │ - .end local v3 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ + .end local v0 # "vf":Lorg/schabi/newpipe/extractor/MediaFormat; │ :cond_1 │ - const-string v4, "" │ + const-string v1, "" │ │ goto :goto_1 │ .end method │ │ .method public static valueOf(Ljava/lang/String;)Lorg/schabi/newpipe/extractor/MediaFormat; │ .locals 1 │ .param p0, "name" # Ljava/lang/String; ├── smali/org/schabi/newpipe/extractor/Parser.smali │ @@ -44,89 +44,86 @@ │ Ljava/io/UnsupportedEncodingException; │ } │ .end annotation │ │ .prologue │ const/4 v10, 0x1 │ │ - const/4 v9, 0x0 │ + const/4 v4, 0x0 │ │ .line 58 │ - new-instance v4, Ljava/util/HashMap; │ + new-instance v1, Ljava/util/HashMap; │ │ - invoke-direct {v4}, Ljava/util/HashMap;->()V │ + invoke-direct {v1}, Ljava/util/HashMap;->()V │ │ .line 59 │ - .local v4, "map":Ljava/util/Map;, "Ljava/util/Map;" │ - const-string v6, "&" │ + .local v1, "map":Ljava/util/Map;, "Ljava/util/Map;" │ + const-string v3, "&" │ │ - invoke-virtual {p0, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ + invoke-virtual {p0, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ │ - move-result-object v1 │ + move-result-object v5 │ │ - .local v1, "arr$":[Ljava/lang/String; │ - array-length v3, v1 │ + array-length v6, v5 │ │ - .local v3, "len$":I │ - const/4 v2, 0x0 │ + move v3, v4 │ │ - .local v2, "i$":I │ :goto_0 │ - if-ge v2, v3, :cond_1 │ + if-ge v3, v6, :cond_1 │ │ - aget-object v0, v1, v2 │ + aget-object v0, v5, v3 │ │ .line 60 │ .local v0, "arg":Ljava/lang/String; │ - const-string v6, "=" │ + const-string v7, "=" │ │ - invoke-virtual {v0, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ + invoke-virtual {v0, v7}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v2 │ │ .line 61 │ - .local v5, "splitArg":[Ljava/lang/String; │ - array-length v6, v5 │ + .local v2, "splitArg":[Ljava/lang/String; │ + array-length v7, v2 │ │ - if-le v6, v10, :cond_0 │ + if-le v7, v10, :cond_0 │ │ .line 62 │ - aget-object v6, v5, v9 │ + aget-object v7, v2, v4 │ │ - aget-object v7, v5, v10 │ + aget-object v8, v2, v10 │ │ - const-string v8, "UTF-8" │ + const-string v9, "UTF-8" │ │ - invoke-static {v7, v8}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-static {v8, v9}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v7 │ + move-result-object v8 │ │ - invoke-interface {v4, v6, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v1, v7, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; │ │ .line 59 │ :goto_1 │ - add-int/lit8 v2, v2, 0x1 │ + add-int/lit8 v3, v3, 0x1 │ │ goto :goto_0 │ │ .line 64 │ :cond_0 │ - aget-object v6, v5, v9 │ + aget-object v7, v2, v4 │ │ - const-string v7, "" │ + const-string v8, "" │ │ - invoke-interface {v4, v6, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v1, v7, v8}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; │ │ goto :goto_1 │ │ .line 67 │ .end local v0 # "arg":Ljava/lang/String; │ - .end local v5 # "splitArg":[Ljava/lang/String; │ + .end local v2 # "splitArg":[Ljava/lang/String; │ :cond_1 │ - return-object v4 │ + return-object v1 │ .end method │ │ .method public static matchGroup1(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ .locals 6 │ .param p0, "pattern" # Ljava/lang/String; │ .param p1, "input" # Ljava/lang/String; │ .annotation system Ldalvik/annotation/Throws; ├── smali/org/schabi/newpipe/extractor/ServiceList.smali │ @@ -173,85 +173,82 @@ │ .line 60 │ const-string v1, "" │ │ goto :goto_0 │ .end method │ │ .method public static getService(I)Lorg/schabi/newpipe/extractor/StreamingService; │ - .locals 7 │ + .locals 5 │ .param p0, "serviceId" # I │ .annotation system Ldalvik/annotation/Throws; │ value = { │ Lorg/schabi/newpipe/extractor/ExtractionException; │ } │ .end annotation │ │ .prologue │ .line 44 │ - sget-object v0, Lorg/schabi/newpipe/extractor/ServiceList;->services:[Lorg/schabi/newpipe/extractor/StreamingService; │ + sget-object v2, Lorg/schabi/newpipe/extractor/ServiceList;->services:[Lorg/schabi/newpipe/extractor/StreamingService; │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/StreamingService; │ - array-length v2, v0 │ + array-length v3, v2 │ │ - .local v2, "len$":I │ const/4 v1, 0x0 │ │ - .local v1, "i$":I │ :goto_0 │ - if-ge v1, v2, :cond_1 │ + if-ge v1, v3, :cond_1 │ │ - aget-object v3, v0, v1 │ + aget-object v0, v2, v1 │ │ .line 45 │ - .local v3, "s":Lorg/schabi/newpipe/extractor/StreamingService; │ - invoke-virtual {v3}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceId()I │ + .local v0, "s":Lorg/schabi/newpipe/extractor/StreamingService; │ + invoke-virtual {v0}, Lorg/schabi/newpipe/extractor/StreamingService;->getServiceId()I │ │ move-result v4 │ │ if-ne v4, p0, :cond_0 │ │ .line 46 │ - return-object v3 │ + return-object v0 │ │ .line 44 │ :cond_0 │ add-int/lit8 v1, v1, 0x1 │ │ goto :goto_0 │ │ .line 49 │ - .end local v3 # "s":Lorg/schabi/newpipe/extractor/StreamingService; │ + .end local v0 # "s":Lorg/schabi/newpipe/extractor/StreamingService; │ :cond_1 │ - new-instance v4, Lorg/schabi/newpipe/extractor/ExtractionException; │ + new-instance v1, Lorg/schabi/newpipe/extractor/ExtractionException; │ │ - new-instance v5, Ljava/lang/StringBuilder; │ + new-instance v2, Ljava/lang/StringBuilder; │ │ - invoke-direct {v5}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v2}, Ljava/lang/StringBuilder;->()V │ │ - const-string v6, "Service not known: " │ + const-string v3, "Service not known: " │ │ - invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v5 │ + move-result-object v2 │ │ invoke-static {p0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v3 │ │ - invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v5 │ + move-result-object v2 │ │ - invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v2 │ │ - invoke-direct {v4, v5}, Lorg/schabi/newpipe/extractor/ExtractionException;->(Ljava/lang/String;)V │ + invoke-direct {v1, v2}, Lorg/schabi/newpipe/extractor/ExtractionException;->(Ljava/lang/String;)V │ │ - throw v4 │ + throw v1 │ .end method │ │ .method public static getService(Ljava/lang/String;)Lorg/schabi/newpipe/extractor/StreamingService; │ .locals 2 │ .param p0, "serviceName" # Ljava/lang/String; │ .annotation system Ldalvik/annotation/Throws; │ value = { ├── smali/org/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ │ # direct methods │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamExtractor;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ │ .prologue │ .line 50 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException;->this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ .line 51 │ @@ -32,14 +33,15 @@ │ │ .line 52 │ return-void │ .end method │ │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamExtractor;Ljava/lang/String;Ljava/lang/Throwable;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ .param p3, "cause" # Ljava/lang/Throwable; │ │ .prologue │ .line 53 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamExtractor$ContentNotAvailableException;->this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; ├── smali/org/schabi/newpipe/extractor/StreamExtractor$ExctractorInitException.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ │ # direct methods │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamExtractor;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ │ .prologue │ .line 38 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamExtractor$ExctractorInitException;->this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ .line 39 │ @@ -32,14 +33,15 @@ │ │ .line 40 │ return-void │ .end method │ │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamExtractor;Ljava/lang/String;Ljava/lang/Throwable;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ .param p3, "cause" # Ljava/lang/Throwable; │ │ .prologue │ .line 44 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamExtractor$ExctractorInitException;->this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ @@ -48,14 +50,15 @@ │ │ .line 46 │ return-void │ .end method │ │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamExtractor;Ljava/lang/Throwable;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamExtractor; │ .param p2, "cause" # Ljava/lang/Throwable; │ │ .prologue │ .line 41 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamExtractor$ExctractorInitException;->this$0:Lorg/schabi/newpipe/extractor/StreamExtractor; │ │ .line 42 ├── smali/org/schabi/newpipe/extractor/StreamInfo.smali │ @@ -371,26 +371,28 @@ │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->webpage_url:Ljava/lang/String; │ │ if-eqz v1, :cond_0 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->webpage_url:Ljava/lang/String; │ │ + .line 98 │ invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z │ │ move-result v1 │ │ if-nez v1, :cond_0 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->id:Ljava/lang/String; │ │ if-eqz v1, :cond_0 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->id:Ljava/lang/String; │ │ + .line 99 │ invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z │ │ move-result v1 │ │ if-nez v1, :cond_0 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->title:Ljava/lang/String; │ @@ -551,14 +553,15 @@ │ iget-object v3, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->next_video:Lorg/schabi/newpipe/extractor/StreamPreviewInfo; │ │ if-eqz v3, :cond_1 │ │ .line 235 │ new-instance v0, Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ │ + .line 236 │ invoke-virtual {p1}, Lorg/schabi/newpipe/extractor/StreamExtractor;->getUrlIdHandler()Lorg/schabi/newpipe/extractor/StreamUrlIdHandler; │ │ move-result-object v3 │ │ invoke-virtual {p1}, Lorg/schabi/newpipe/extractor/StreamExtractor;->getServiceId()I │ │ move-result v4 │ @@ -853,18 +856,20 @@ │ .line 135 │ :cond_0 │ :try_start_2 │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->audio_streams:Ljava/util/List; │ │ iget-object v2, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->dashMpdUrl:Ljava/lang/String; │ │ + .line 136 │ invoke-static {v2, p2}, Lorg/schabi/newpipe/extractor/DashMpdParser;->getAudioStreams(Ljava/lang/String;Lorg/schabi/newpipe/extractor/Downloader;)Ljava/util/List; │ │ move-result-object v2 │ │ + .line 135 │ invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z │ :try_end_2 │ .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2 │ │ .line 144 │ :cond_1 │ :goto_2 │ @@ -905,27 +910,29 @@ │ :cond_2 │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->audio_streams:Ljava/util/List; │ │ if-eqz v1, :cond_3 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->audio_streams:Ljava/util/List; │ │ + .line 160 │ invoke-interface {v1}, Ljava/util/List;->isEmpty()Z │ │ move-result v1 │ │ if-eqz v1, :cond_5 │ │ :cond_3 │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->dashMpdUrl:Ljava/lang/String; │ │ if-eqz v1, :cond_4 │ │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/StreamInfo;->dashMpdUrl:Ljava/lang/String; │ │ + .line 161 │ invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z │ │ move-result v1 │ │ if-eqz v1, :cond_5 │ │ .line 162 ├── smali/org/schabi/newpipe/extractor/StreamingService$ServiceInfo.smali │ @@ -19,14 +19,15 @@ │ │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/StreamingService; │ │ │ # direct methods │ .method public constructor (Lorg/schabi/newpipe/extractor/StreamingService;)V │ .locals 1 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/StreamingService; │ │ .prologue │ .line 26 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/StreamingService$ServiceInfo;->this$0:Lorg/schabi/newpipe/extractor/StreamingService; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.smali │ @@ -102,36 +102,40 @@ │ :goto_0 │ invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v5 │ │ mul-int/lit8 v5, v5, 0x18 │ │ + .line 61 │ invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v6 │ │ mul-int/lit8 v6, v6, 0x3c │ │ add-int/2addr v5, v6 │ │ + .line 62 │ invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v6 │ │ add-int/2addr v5, v6 │ │ mul-int/lit8 v5, v5, 0x3c │ │ + .line 63 │ invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ move-result v6 │ │ add-int/2addr v5, v6 │ │ + .line 60 │ return v5 │ │ .line 46 │ .end local v3 # "seconds":Ljava/lang/String; │ :pswitch_1 │ aget-object v1, v4, v6 ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$1.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$li:Lorg/jsoup/nodes/Element; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;Lorg/jsoup/nodes/Element;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ .prologue │ .line 695 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$1;->this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ iput-object p2, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$1;->val$li:Lorg/jsoup/nodes/Element; │ │ @@ -50,26 +51,28 @@ │ │ .prologue │ .line 716 │ iget-object v0, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$1;->val$li:Lorg/jsoup/nodes/Element; │ │ const-string v1, "span.video-time" │ │ + .line 717 │ invoke-virtual {v0, v1}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v0 │ │ invoke-virtual {v0}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v0 │ │ invoke-virtual {v0}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ move-result-object v0 │ │ + .line 716 │ invoke-static {v0}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper;->parseDurationString(Ljava/lang/String;)I │ │ move-result v0 │ │ return v0 │ .end method │ │ @@ -257,14 +260,15 @@ │ │ const-string v2, "span.view-count" │ │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ + .line 740 │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ move-result-object v1 │ @@ -273,14 +277,15 @@ │ │ const-string v3, "" │ │ invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 739 │ invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-wide v2 │ │ .line 743 ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;Ljava/lang/String;Ljava/lang/Throwable;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ .param p3, "cause" # Ljava/lang/Throwable; │ │ .prologue │ .line 58 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$DecryptException;->this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine.smali │ @@ -69,126 +69,121 @@ │ .line 61 │ invoke-virtual {p0}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeSearchEngine;->getStreamPreviewInfoSearchCollector()Lorg/schabi/newpipe/extractor/StreamPreviewInfoSearchCollector; │ │ move-result-object v0 │ │ .line 74 │ .local v0, "collector":Lorg/schabi/newpipe/extractor/StreamPreviewInfoSearchCollector; │ - new-instance v8, Ljava/lang/StringBuilder; │ + new-instance v7, Ljava/lang/StringBuilder; │ │ - invoke-direct {v8}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v7}, Ljava/lang/StringBuilder;->()V │ │ - const-string v9, "https://www.youtube.com/results?search_query=" │ + const-string v8, "https://www.youtube.com/results?search_query=" │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ - │ - move-result-object v8 │ + invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - const-string v9, "UTF-8" │ - │ - invoke-static {p1, v9}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + move-result-object v7 │ │ - move-result-object v9 │ + const-string v8, "UTF-8" │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + .line 75 │ + invoke-static {p1, v8}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v8 │ │ - const-string v9, "&page=" │ + invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + move-result-object v7 │ │ - move-result-object v8 │ + const-string v8, "&page=" │ │ - invoke-static {p2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ + invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v9 │ + move-result-object v7 │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + .line 76 │ + invoke-static {p2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ move-result-object v8 │ │ - const-string v9, "&filters=" │ + invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ - │ - move-result-object v8 │ + move-result-object v7 │ │ - const-string v9, "video" │ + const-string v8, "&filters=video" │ │ - invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v8 │ + move-result-object v7 │ │ - invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v7 │ + move-result-object v6 │ │ .line 82 │ - .local v7, "url":Ljava/lang/String; │ + .local v6, "url":Ljava/lang/String; │ invoke-virtual {p3}, Ljava/lang/String;->isEmpty()Z │ │ - move-result v8 │ + move-result v7 │ │ - if-nez v8, :cond_1 │ + if-nez v7, :cond_1 │ │ .line 84 │ - invoke-interface {p4, v7, p3}, Lorg/schabi/newpipe/extractor/Downloader;->download(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-interface {p4, v6, p3}, Lorg/schabi/newpipe/extractor/Downloader;->download(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v5 │ │ .line 91 │ - .local v6, "site":Ljava/lang/String; │ + .local v5, "site":Ljava/lang/String; │ :goto_0 │ - invoke-static {v6, v7}, Lorg/jsoup/Jsoup;->parse(Ljava/lang/String;Ljava/lang/String;)Lorg/jsoup/nodes/Document; │ + invoke-static {v5, v6}, Lorg/jsoup/Jsoup;->parse(Ljava/lang/String;Ljava/lang/String;)Lorg/jsoup/nodes/Document; │ │ move-result-object v1 │ │ .line 92 │ .local v1, "doc":Lorg/jsoup/nodes/Document; │ - const-string v8, "ol[class=\"item-section\"]" │ + const-string v7, "ol[class=\"item-section\"]" │ │ - invoke-virtual {v1, v8}, Lorg/jsoup/nodes/Document;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v1, v7}, Lorg/jsoup/nodes/Document;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ - move-result-object v8 │ + move-result-object v7 │ │ - invoke-virtual {v8}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ + invoke-virtual {v7}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ - move-result-object v5 │ + move-result-object v4 │ │ .line 94 │ - .local v5, "list":Lorg/jsoup/nodes/Element; │ - invoke-virtual {v5}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ + .local v4, "list":Lorg/jsoup/nodes/Element; │ + invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ │ - move-result-object v8 │ + move-result-object v7 │ │ - invoke-virtual {v8}, Lorg/jsoup/select/Elements;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v7}, Lorg/jsoup/select/Elements;->iterator()Ljava/util/Iterator; │ │ - move-result-object v3 │ + move-result-object v7 │ │ - .local v3, "i$":Ljava/util/Iterator; │ :cond_0 │ :goto_1 │ - invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v8 │ │ if-eqz v8, :cond_5 │ │ - invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - check-cast v4, Lorg/jsoup/nodes/Element; │ + check-cast v3, Lorg/jsoup/nodes/Element; │ │ .line 109 │ - .local v4, "item":Lorg/jsoup/nodes/Element; │ + .local v3, "item":Lorg/jsoup/nodes/Element; │ const-string v8, "div[class*=\"spell-correction\"]" │ │ - invoke-virtual {v4, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v3, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v8 │ │ invoke-virtual {v8}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v2 │ │ @@ -209,115 +204,113 @@ │ invoke-virtual {v8}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ move-result-object v8 │ │ invoke-virtual {v0, v8}, Lorg/schabi/newpipe/extractor/StreamPreviewInfoSearchCollector;->setSuggestion(Ljava/lang/String;)V │ │ .line 111 │ - invoke-virtual {v5}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ + invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ │ move-result-object v8 │ │ invoke-virtual {v8}, Lorg/jsoup/select/Elements;->size()I │ │ move-result v8 │ │ const/4 v9, 0x1 │ │ if-ne v8, v9, :cond_0 │ │ .line 112 │ - new-instance v8, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ + new-instance v7, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ │ - new-instance v9, Ljava/lang/StringBuilder; │ + new-instance v8, Ljava/lang/StringBuilder; │ │ - invoke-direct {v9}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v8}, Ljava/lang/StringBuilder;->()V │ │ - const-string v10, "Did you mean: " │ + const-string v9, "Did you mean: " │ │ - invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v9 │ + move-result-object v8 │ │ - const-string v10, "a" │ + const-string v9, "a" │ │ - invoke-virtual {v2, v10}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v2, v9}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ - move-result-object v10 │ + move-result-object v9 │ │ - invoke-virtual {v10}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ + invoke-virtual {v9}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ - move-result-object v10 │ + move-result-object v9 │ │ - invoke-virtual {v10}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ + invoke-virtual {v9}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ - move-result-object v10 │ + move-result-object v9 │ │ - invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v9 │ + move-result-object v8 │ │ - invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v9 │ + move-result-object v8 │ │ - invoke-direct {v8, v9}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->(Ljava/lang/String;)V │ + invoke-direct {v7, v8}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->(Ljava/lang/String;)V │ │ - throw v8 │ + throw v7 │ │ .line 87 │ .end local v1 # "doc":Lorg/jsoup/nodes/Document; │ .end local v2 # "el":Lorg/jsoup/nodes/Element; │ - .end local v3 # "i$":Ljava/util/Iterator; │ - .end local v4 # "item":Lorg/jsoup/nodes/Element; │ - .end local v5 # "list":Lorg/jsoup/nodes/Element; │ - .end local v6 # "site":Ljava/lang/String; │ + .end local v3 # "item":Lorg/jsoup/nodes/Element; │ + .end local v4 # "list":Lorg/jsoup/nodes/Element; │ + .end local v5 # "site":Ljava/lang/String; │ :cond_1 │ - invoke-interface {p4, v7}, Lorg/schabi/newpipe/extractor/Downloader;->download(Ljava/lang/String;)Ljava/lang/String; │ + invoke-interface {p4, v6}, Lorg/schabi/newpipe/extractor/Downloader;->download(Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v5 │ │ - .restart local v6 # "site":Ljava/lang/String; │ + .restart local v5 # "site":Ljava/lang/String; │ goto :goto_0 │ │ .line 115 │ .restart local v1 # "doc":Lorg/jsoup/nodes/Document; │ .restart local v2 # "el":Lorg/jsoup/nodes/Element; │ - .restart local v3 # "i$":Ljava/util/Iterator; │ - .restart local v4 # "item":Lorg/jsoup/nodes/Element; │ - .restart local v5 # "list":Lorg/jsoup/nodes/Element; │ + .restart local v3 # "item":Lorg/jsoup/nodes/Element; │ + .restart local v4 # "list":Lorg/jsoup/nodes/Element; │ :cond_2 │ const-string v8, "div[class*=\"search-message\"]" │ │ - invoke-virtual {v4, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v3, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v8 │ │ invoke-virtual {v8}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v2 │ │ if-eqz v2, :cond_3 │ │ .line 117 │ - new-instance v8, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ + new-instance v7, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException; │ │ invoke-virtual {v2}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ - move-result-object v9 │ + move-result-object v8 │ │ - invoke-direct {v8, v9}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->(Ljava/lang/String;)V │ + invoke-direct {v7, v8}, Lorg/schabi/newpipe/extractor/SearchEngine$NothingFoundException;->(Ljava/lang/String;)V │ │ - throw v8 │ + throw v7 │ │ .line 120 │ :cond_3 │ const-string v8, "div[class*=\"yt-lockup-video\"" │ │ - invoke-virtual {v4, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v3, v8}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v8 │ │ invoke-virtual {v8}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v2 │ │ @@ -364,15 +357,15 @@ │ │ invoke-virtual {v0, v8}, Lorg/schabi/newpipe/extractor/StreamPreviewInfoSearchCollector;->addError(Ljava/lang/Exception;)V │ │ goto/16 :goto_1 │ │ .line 128 │ .end local v2 # "el":Lorg/jsoup/nodes/Element; │ - .end local v4 # "item":Lorg/jsoup/nodes/Element; │ + .end local v3 # "item":Lorg/jsoup/nodes/Element; │ :cond_5 │ return-object v0 │ .end method │ │ .method public suggestionList(Ljava/lang/String;Ljava/lang/String;Lorg/schabi/newpipe/extractor/Downloader;)Ljava/util/ArrayList; │ .locals 16 │ .param p1, "query" # Ljava/lang/String; │ @@ -415,14 +408,15 @@ │ │ invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v13 │ │ const-string v14, "UTF-8" │ │ + .line 154 │ move-object/from16 v0, p2 │ │ invoke-static {v0, v14}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v14 │ │ invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ @@ -433,14 +427,15 @@ │ │ invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v13 │ │ const-string v14, "UTF-8" │ │ + .line 155 │ move-object/from16 v0, p1 │ │ invoke-static {v0, v14}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v14 │ │ invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ @@ -480,36 +475,38 @@ │ .local v1, "dBuilder":Ljavax/xml/parsers/DocumentBuilder; │ new-instance v13, Lorg/xml/sax/InputSource; │ │ new-instance v14, Ljava/io/ByteArrayInputStream; │ │ const-string v15, "utf-8" │ │ + .line 168 │ invoke-virtual {v9, v15}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B │ │ move-result-object v15 │ │ invoke-direct {v14, v15}, Ljava/io/ByteArrayInputStream;->([B)V │ │ invoke-direct {v13, v14}, Lorg/xml/sax/InputSource;->(Ljava/io/InputStream;)V │ │ + .line 167 │ invoke-virtual {v1, v13}, Ljavax/xml/parsers/DocumentBuilder;->parse(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document; │ │ move-result-object v3 │ │ .line 169 │ invoke-interface {v3}, Lorg/w3c/dom/Document;->getDocumentElement()Lorg/w3c/dom/Element; │ │ move-result-object v13 │ │ invoke-interface {v13}, Lorg/w3c/dom/Element;->normalize()V │ :try_end_0 │ .catch Ljavax/xml/parsers/ParserConfigurationException; {:try_start_0 .. :try_end_0} :catch_0 │ - .catch Lorg/xml/sax/SAXException; {:try_start_0 .. :try_end_0} :catch_2 │ - .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_3 │ + .catch Lorg/xml/sax/SAXException; {:try_start_0 .. :try_end_0} :catch_3 │ + .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2 │ │ .line 175 │ :try_start_1 │ const-string v13, "CompleteSuggestion" │ │ invoke-interface {v3, v13}, Lorg/w3c/dom/Document;->getElementsByTagName(Ljava/lang/String;)Lorg/w3c/dom/NodeList; ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$GemaException.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ │ .prologue │ .line 66 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$GemaException;->this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ .line 67 ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$LiveStreamException.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;Ljava/lang/String;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ .param p2, "message" # Ljava/lang/String; │ │ .prologue │ .line 72 │ iput-object p1, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$LiveStreamException;->this$0:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor; │ │ .line 73 ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.smali │ @@ -530,26 +530,29 @@ │ .line 201 │ const-string v5, "https://www.youtube.com/get_video_info?video_id=%%video_id%%$$el_type$$&ps=default&eurl=&gl=US&hl=en" │ │ const-string v6, "%%video_id%%" │ │ iget-object v7, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->urlidhandler:Lorg/schabi/newpipe/extractor/StreamUrlIdHandler; │ │ + .line 202 │ invoke-interface {v7, p2}, Lorg/schabi/newpipe/extractor/StreamUrlIdHandler;->getVideoId(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v7 │ │ + .line 201 │ invoke-virtual {v5, v6, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v5 │ │ const-string v6, "$$el_type$$" │ │ const-string v7, "&el=info" │ │ + .line 202 │ invoke-virtual {v5, v6, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v3 │ │ .line 203 │ .local v3, "videoInfoUrl":Ljava/lang/String; │ iget-object v5, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->downloader:Lorg/schabi/newpipe/extractor/Downloader; │ @@ -802,89 +805,86 @@ │ :cond_0 │ const-string v1, "" │ │ goto :goto_0 │ .end method │ │ .method public static getItagItem(I)Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - .locals 7 │ + .locals 5 │ .param p0, "itag" # I │ .annotation system Ldalvik/annotation/Throws; │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; │ } │ .end annotation │ │ .prologue │ .line 162 │ - sget-object v0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagList:[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + sget-object v2, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagList:[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - array-length v3, v0 │ + array-length v3, v2 │ │ - .local v3, "len$":I │ const/4 v1, 0x0 │ │ - .local v1, "i$":I │ :goto_0 │ if-ge v1, v3, :cond_1 │ │ - aget-object v2, v0, v1 │ + aget-object v0, v2, v1 │ │ .line 163 │ - .local v2, "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - iget v4, v2, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->id:I │ + .local v0, "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + iget v4, v0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->id:I │ │ if-ne p0, v4, :cond_0 │ │ .line 164 │ - return-object v2 │ + return-object v0 │ │ .line 162 │ :cond_0 │ add-int/lit8 v1, v1, 0x1 │ │ goto :goto_0 │ │ .line 167 │ - .end local v2 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + .end local v0 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ :cond_1 │ - new-instance v4, Lorg/schabi/newpipe/extractor/ParsingException; │ + new-instance v1, Lorg/schabi/newpipe/extractor/ParsingException; │ │ - new-instance v5, Ljava/lang/StringBuilder; │ + new-instance v2, Ljava/lang/StringBuilder; │ │ - invoke-direct {v5}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v2}, Ljava/lang/StringBuilder;->()V │ │ - const-string v6, "itag=" │ + const-string v3, "itag=" │ │ - invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v5 │ + move-result-object v2 │ │ invoke-static {p0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ - move-result-object v6 │ + move-result-object v3 │ │ - invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v5 │ + move-result-object v2 │ │ - const-string v6, " not supported" │ + const-string v3, " not supported" │ │ - invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v5 │ + move-result-object v2 │ │ - invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v2 │ │ - invoke-direct {v4, v5}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;)V │ + invoke-direct {v1, v2}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;)V │ │ - throw v4 │ + throw v1 │ .end method │ │ .method private getPlayerArgs(Lorg/json/JSONObject;)Lorg/json/JSONObject; │ .locals 5 │ .param p1, "playerConfig" # Lorg/json/JSONObject; │ .annotation system Ldalvik/annotation/Throws; │ value = { │ @@ -932,14 +932,15 @@ │ move-result v3 │ │ if-nez v3, :cond_1 │ │ :cond_0 │ const-string v3, "url_encoded_fmt_stream_map" │ │ + .line 249 │ invoke-virtual {v2, v3}, Lorg/json/JSONObject;->get(Ljava/lang/String;)Ljava/lang/Object; │ │ move-result-object v3 │ │ invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String; │ │ move-result-object v3 │ @@ -1001,14 +1002,15 @@ │ .end annotation │ │ .prologue │ .line 221 │ :try_start_0 │ const-string v3, "ytplayer.config\\s*=\\s*(\\{.*?\\});" │ │ + .line 222 │ invoke-static {v3, p1}, Lorg/schabi/newpipe/extractor/Parser;->matchGroup1(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v2 │ │ .line 223 │ .local v2, "ytPlayerConfigRaw":Ljava/lang/String; │ new-instance v3, Lorg/json/JSONObject; │ @@ -1366,60 +1368,52 @@ │ │ invoke-direct {v7, v8, v1}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ │ throw v7 │ .end method │ │ .method public static itagIsSupported(I)Z │ - .locals 5 │ + .locals 6 │ .param p0, "itag" # I │ │ .prologue │ + const/4 v1, 0x0 │ + │ .line 153 │ - sget-object v0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagList:[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + sget-object v3, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagList:[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ │ - .local v0, "arr$":[Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - array-length v3, v0 │ + array-length v4, v3 │ │ - .local v3, "len$":I │ - const/4 v1, 0x0 │ + move v2, v1 │ │ - .local v1, "i$":I │ :goto_0 │ - if-ge v1, v3, :cond_1 │ + if-ge v2, v4, :cond_0 │ │ - aget-object v2, v0, v1 │ + aget-object v0, v3, v2 │ │ .line 154 │ - .local v2, "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - iget v4, v2, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->id:I │ + .local v0, "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + iget v5, v0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->id:I │ │ - if-ne p0, v4, :cond_0 │ + if-ne p0, v5, :cond_1 │ │ .line 155 │ - const/4 v4, 0x1 │ + const/4 v1, 0x1 │ │ .line 158 │ - .end local v2 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - :goto_1 │ - return v4 │ - │ - .line 153 │ - .restart local v2 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + .end local v0 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ :cond_0 │ - add-int/lit8 v1, v1, 0x1 │ - │ - goto :goto_0 │ + return v1 │ │ - .line 158 │ - .end local v2 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + .line 153 │ + .restart local v0 # "item":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ :cond_1 │ - const/4 v4, 0x0 │ + add-int/lit8 v2, v2, 0x1 │ │ - goto :goto_1 │ + goto :goto_0 │ .end method │ │ .method private loadDecryptionCode(Ljava/lang/String;)Ljava/lang/String; │ .locals 14 │ .param p1, "playerUrl" # Ljava/lang/String; │ .annotation system Ldalvik/annotation/Throws; │ value = { │ @@ -1440,14 +1434,15 @@ │ │ move-result-object v10 │ │ .line 777 │ .local v10, "playerCode":Ljava/lang/String; │ const-string v11, "\\.sig\\|\\|([a-zA-Z0-9$]+)\\(" │ │ + .line 778 │ invoke-static {v11, v10}, Lorg/schabi/newpipe/extractor/Parser;->matchGroup1(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v3 │ │ .line 780 │ .local v3, "decryptionFuncName":Ljava/lang/String; │ new-instance v11, Ljava/lang/StringBuilder; │ @@ -1460,14 +1455,15 @@ │ │ move-result-object v11 │ │ const-string v12, "$" │ │ const-string v13, "\\$" │ │ + .line 781 │ invoke-virtual {v3, v12, v13}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v12 │ │ invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v11 │ @@ -1512,14 +1508,15 @@ │ │ move-result-object v2 │ │ .line 785 │ .local v2, "decryptionFunc":Ljava/lang/String; │ const-string v11, ";([A-Za-z0-9_\\$]{2})\\...\\(" │ │ + .line 786 │ invoke-static {v11, v2}, Lorg/schabi/newpipe/extractor/Parser;->matchGroup1(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v7 │ │ .line 788 │ .local v7, "helperObjectName":Ljava/lang/String; │ new-instance v11, Ljava/lang/StringBuilder; │ @@ -1532,14 +1529,15 @@ │ │ move-result-object v11 │ │ const-string v12, "$" │ │ const-string v13, "\\$" │ │ + .line 789 │ invoke-virtual {v7, v12, v13}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v12 │ │ invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v11 │ @@ -1665,32 +1663,35 @@ │ │ move-result-object v1 │ │ const-string v2, "property" │ │ const-string v3, "og:restrictions:age" │ │ + .line 594 │ invoke-virtual {v1, v2, v3}, Lorg/jsoup/nodes/Element;->getElementsByAttributeValue(Ljava/lang/String;Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ const-string v2, "content" │ │ + .line 595 │ invoke-virtual {v1, v2}, Lorg/jsoup/select/Elements;->attr(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v1 │ │ const-string v2, "+" │ │ const-string v3, "" │ │ invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 593 │ invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ @@ -1730,227 +1731,225 @@ │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; │ } │ .end annotation │ │ .prologue │ .line 440 │ - new-instance v1, Ljava/util/Vector; │ + new-instance v0, Ljava/util/Vector; │ │ - invoke-direct {v1}, Ljava/util/Vector;->()V │ + invoke-direct {v0}, Ljava/util/Vector;->()V │ │ .line 444 │ - .local v1, "audioStreams":Ljava/util/Vector;, "Ljava/util/Vector;" │ + .local v0, "audioStreams":Ljava/util/Vector;, "Ljava/util/Vector;" │ :try_start_0 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ │ - if-nez v11, :cond_2 │ + if-nez v8, :cond_2 │ │ .line 445 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->videoInfoPage:Ljava/util/Map; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->videoInfoPage:Ljava/util/Map; │ │ - const-string v12, "adaptive_fmts" │ + const-string v9, "adaptive_fmts" │ │ - invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v8, v9}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Ljava/lang/String; │ + check-cast v2, Ljava/lang/String; │ │ .line 449 │ - .local v3, "encodedUrlMap":Ljava/lang/String; │ + .local v2, "encodedUrlMap":Ljava/lang/String; │ :goto_0 │ - const-string v11, "," │ + const-string v8, "," │ │ - invoke-virtual {v3, v11}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ + invoke-virtual {v2, v8}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ │ - move-result-object v0 │ + move-result-object v10 │ │ - .local v0, "arr$":[Ljava/lang/String; │ - array-length v7, v0 │ + array-length v11, v10 │ │ - .local v7, "len$":I │ - const/4 v4, 0x0 │ + const/4 v8, 0x0 │ + │ + move v9, v8 │ │ - .local v4, "i$":I │ :goto_1 │ - if-ge v4, v7, :cond_3 │ + if-ge v9, v11, :cond_3 │ │ - aget-object v10, v0, v4 │ + aget-object v7, v10, v9 │ │ .line 452 │ - .local v10, "url_data_str":Ljava/lang/String; │ - const/4 v11, 0x1 │ + .local v7, "url_data_str":Ljava/lang/String; │ + const/4 v8, 0x1 │ │ - invoke-static {v10, v11}, Lorg/jsoup/parser/Parser;->unescapeEntities(Ljava/lang/String;Z)Ljava/lang/String; │ + .line 453 │ + invoke-static {v7, v8}, Lorg/jsoup/parser/Parser;->unescapeEntities(Ljava/lang/String;Z)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-static {v11}, Lorg/schabi/newpipe/extractor/Parser;->compatParseMap(Ljava/lang/String;)Ljava/util/Map; │ + .line 452 │ + invoke-static {v8}, Lorg/schabi/newpipe/extractor/Parser;->compatParseMap(Ljava/lang/String;)Ljava/util/Map; │ │ - move-result-object v9 │ + move-result-object v6 │ │ .line 455 │ - .local v9, "tags":Ljava/util/Map;, "Ljava/util/Map;" │ - const-string v11, "itag" │ + .local v6, "tags":Ljava/util/Map;, "Ljava/util/Map;" │ + const-string v8, "itag" │ │ - invoke-interface {v9, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v6, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - check-cast v11, Ljava/lang/String; │ + check-cast v8, Ljava/lang/String; │ │ - invoke-static {v11}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ + invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ - move-result v5 │ + move-result v3 │ │ .line 457 │ - .local v5, "itag":I │ - invoke-static {v5}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagIsSupported(I)Z │ + .local v3, "itag":I │ + invoke-static {v3}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagIsSupported(I)Z │ │ - move-result v11 │ + move-result v8 │ │ - if-eqz v11, :cond_1 │ + if-eqz v8, :cond_1 │ │ .line 458 │ - invoke-static {v5}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->getItagItem(I)Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + invoke-static {v3}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->getItagItem(I)Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ │ - move-result-object v6 │ + move-result-object v4 │ │ .line 459 │ - .local v6, "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - iget-object v11, v6, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->itagType:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ + .local v4, "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + iget-object v8, v4, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->itagType:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ │ sget-object v12, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType;->AUDIO:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ │ - if-ne v11, v12, :cond_1 │ + if-ne v8, v12, :cond_1 │ │ .line 460 │ - const-string v11, "url" │ + const-string v8, "url" │ │ - invoke-interface {v9, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v6, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v8 │ + move-result-object v5 │ │ - check-cast v8, Ljava/lang/String; │ + check-cast v5, Ljava/lang/String; │ │ .line 462 │ - .local v8, "streamUrl":Ljava/lang/String; │ - const-string v11, "s" │ + .local v5, "streamUrl":Ljava/lang/String; │ + const-string v8, "s" │ │ - invoke-interface {v9, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v6, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - if-eqz v11, :cond_0 │ + if-eqz v8, :cond_0 │ │ .line 463 │ - new-instance v11, Ljava/lang/StringBuilder; │ + new-instance v8, Ljava/lang/StringBuilder; │ │ - invoke-direct {v11}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v8}, Ljava/lang/StringBuilder;->()V │ │ - invoke-virtual {v11, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v11 │ + move-result-object v8 │ │ const-string v12, "&signature=" │ │ - invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v12 │ │ - const-string v11, "s" │ + const-string v8, "s" │ │ - invoke-interface {v9, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + .line 464 │ + invoke-interface {v6, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - check-cast v11, Ljava/lang/String; │ + check-cast v8, Ljava/lang/String; │ │ sget-object v13, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptionCode:Ljava/lang/String; │ │ - invoke-direct {p0, v11, v13}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptSignature(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-direct {p0, v8, v13}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptSignature(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-virtual {v12, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v12, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v8 │ + move-result-object v5 │ │ .line 467 │ :cond_0 │ - new-instance v11, Lorg/schabi/newpipe/extractor/AudioStream; │ + new-instance v8, Lorg/schabi/newpipe/extractor/AudioStream; │ │ - iget v12, v6, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->mediaFormatId:I │ + iget v12, v4, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->mediaFormatId:I │ │ - iget v13, v6, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->bandWidth:I │ + iget v13, v4, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->bandWidth:I │ │ - iget v14, v6, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->samplingRate:I │ + iget v14, v4, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->samplingRate:I │ │ - invoke-direct {v11, v8, v12, v13, v14}, Lorg/schabi/newpipe/extractor/AudioStream;->(Ljava/lang/String;III)V │ + invoke-direct {v8, v5, v12, v13, v14}, Lorg/schabi/newpipe/extractor/AudioStream;->(Ljava/lang/String;III)V │ │ - invoke-virtual {v1, v11}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ + invoke-virtual {v0, v8}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ │ .line 449 │ - .end local v6 # "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - .end local v8 # "streamUrl":Ljava/lang/String; │ + .end local v4 # "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + .end local v5 # "streamUrl":Ljava/lang/String; │ :cond_1 │ - add-int/lit8 v4, v4, 0x1 │ + add-int/lit8 v8, v9, 0x1 │ + │ + move v9, v8 │ │ goto :goto_1 │ │ .line 447 │ - .end local v0 # "arr$":[Ljava/lang/String; │ - .end local v3 # "encodedUrlMap":Ljava/lang/String; │ - .end local v4 # "i$":I │ - .end local v5 # "itag":I │ - .end local v7 # "len$":I │ - .end local v9 # "tags":Ljava/util/Map;, "Ljava/util/Map;" │ - .end local v10 # "url_data_str":Ljava/lang/String; │ + .end local v2 # "encodedUrlMap":Ljava/lang/String; │ + .end local v3 # "itag":I │ + .end local v6 # "tags":Ljava/util/Map;, "Ljava/util/Map;" │ + .end local v7 # "url_data_str":Ljava/lang/String; │ :cond_2 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ │ - const-string v12, "adaptive_fmts" │ + const-string v9, "adaptive_fmts" │ │ - invoke-virtual {v11, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; │ + invoke-virtual {v8, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ - move-result-object v3 │ + move-result-object v2 │ │ - .restart local v3 # "encodedUrlMap":Ljava/lang/String; │ - goto :goto_0 │ + .restart local v2 # "encodedUrlMap":Ljava/lang/String; │ + goto/16 :goto_0 │ │ .line 474 │ - .end local v3 # "encodedUrlMap":Ljava/lang/String; │ + .end local v2 # "encodedUrlMap":Ljava/lang/String; │ :catch_0 │ - move-exception v2 │ + move-exception v1 │ │ .line 475 │ - .local v2, "e":Ljava/lang/Exception; │ - new-instance v11, Lorg/schabi/newpipe/extractor/ParsingException; │ + .local v1, "e":Ljava/lang/Exception; │ + new-instance v8, Lorg/schabi/newpipe/extractor/ParsingException; │ │ - const-string v12, "Could not get audiostreams" │ + const-string v9, "Could not get audiostreams" │ │ - invoke-direct {v11, v12, v2}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ + invoke-direct {v8, v9, v1}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ │ - throw v11 │ + throw v8 │ │ .line 477 │ - .end local v2 # "e":Ljava/lang/Exception; │ - .restart local v0 # "arr$":[Ljava/lang/String; │ - .restart local v3 # "encodedUrlMap":Ljava/lang/String; │ - .restart local v4 # "i$":I │ - .restart local v7 # "len$":I │ + .end local v1 # "e":Ljava/lang/Exception; │ + .restart local v2 # "encodedUrlMap":Ljava/lang/String; │ :cond_3 │ - return-object v1 │ + return-object v0 │ .end method │ │ .method public getAverageRating()Ljava/lang/String; │ .locals 3 │ .annotation system Ldalvik/annotation/Throws; │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; │ @@ -2425,22 +2424,24 @@ │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ const-string v2, "li" │ │ + .line 658 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ + .line 657 │ invoke-direct {p0, v1}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->extractVideoPreviewInfo(Lorg/jsoup/nodes/Element;)Lorg/schabi/newpipe/extractor/StreamPreviewInfoExtractor; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-object v1 │ │ return-object v1 │ @@ -2467,15 +2468,15 @@ │ .line 682 │ iget-object v0, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->pageUrl:Ljava/lang/String; │ │ return-object v0 │ .end method │ │ .method public getRelatedVideos()Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ - .locals 6 │ + .locals 5 │ .annotation system Ldalvik/annotation/Throws; │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; │ } │ .end annotation │ │ .prologue │ @@ -2483,95 +2484,92 @@ │ :try_start_0 │ invoke-virtual {p0}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->getStreamPreviewInfoCollector()Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ │ move-result-object v0 │ │ .line 668 │ .local v0, "collector":Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ - iget-object v4, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->doc:Lorg/jsoup/nodes/Document; │ + iget-object v3, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->doc:Lorg/jsoup/nodes/Document; │ │ - const-string v5, "ul[id=\"watch-related\"]" │ + const-string v4, "ul[id=\"watch-related\"]" │ │ - invoke-virtual {v4, v5}, Lorg/jsoup/nodes/Document;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v3, v4}, Lorg/jsoup/nodes/Document;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - invoke-virtual {v4}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ + invoke-virtual {v3}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - invoke-virtual {v4}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ + invoke-virtual {v3}, Lorg/jsoup/nodes/Element;->children()Lorg/jsoup/select/Elements; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - invoke-virtual {v4}, Lorg/jsoup/select/Elements;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v3}, Lorg/jsoup/select/Elements;->iterator()Ljava/util/Iterator; │ │ - move-result-object v2 │ + move-result-object v3 │ │ - .local v2, "i$":Ljava/util/Iterator; │ :cond_0 │ :goto_0 │ - invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v4 │ │ if-eqz v4, :cond_1 │ │ - invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Lorg/jsoup/nodes/Element; │ + check-cast v2, Lorg/jsoup/nodes/Element; │ │ .line 670 │ - .local v3, "li":Lorg/jsoup/nodes/Element; │ + .local v2, "li":Lorg/jsoup/nodes/Element; │ const-string v4, "a[class*=\"content-link\"]" │ │ - invoke-virtual {v3, v4}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ + invoke-virtual {v2, v4}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v4 │ │ invoke-virtual {v4}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v4 │ │ if-eqz v4, :cond_0 │ │ .line 671 │ - invoke-direct {p0, v3}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->extractVideoPreviewInfo(Lorg/jsoup/nodes/Element;)Lorg/schabi/newpipe/extractor/StreamPreviewInfoExtractor; │ + invoke-direct {p0, v2}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->extractVideoPreviewInfo(Lorg/jsoup/nodes/Element;)Lorg/schabi/newpipe/extractor/StreamPreviewInfoExtractor; │ │ move-result-object v4 │ │ invoke-virtual {v0, v4}, Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector;->commit(Lorg/schabi/newpipe/extractor/StreamPreviewInfoExtractor;)V │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ goto :goto_0 │ │ .line 675 │ .end local v0 # "collector":Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ - .end local v2 # "i$":Ljava/util/Iterator; │ - .end local v3 # "li":Lorg/jsoup/nodes/Element; │ + .end local v2 # "li":Lorg/jsoup/nodes/Element; │ :catch_0 │ move-exception v1 │ │ .line 676 │ .local v1, "e":Ljava/lang/Exception; │ - new-instance v4, Lorg/schabi/newpipe/extractor/ParsingException; │ + new-instance v3, Lorg/schabi/newpipe/extractor/ParsingException; │ │ - const-string v5, "Could not get related videos" │ + const-string v4, "Could not get related videos" │ │ - invoke-direct {v4, v5, v1}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ + invoke-direct {v3, v4, v1}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ │ - throw v4 │ + throw v3 │ │ .line 674 │ .end local v1 # "e":Ljava/lang/Exception; │ .restart local v0 # "collector":Lorg/schabi/newpipe/extractor/StreamPreviewInfoCollector; │ - .restart local v2 # "i$":Ljava/util/Iterator; │ :cond_1 │ return-object v0 │ .end method │ │ .method public getStreamType()Lorg/schabi/newpipe/extractor/AbstractVideoInfo$StreamType; │ .locals 1 │ .annotation system Ldalvik/annotation/Throws; │ @@ -2832,20 +2830,22 @@ │ .local v0, "e":Ljava/lang/Exception; │ invoke-virtual {v6}, Ljava/lang/String;->isEmpty()Z │ │ move-result v8 │ │ if-eqz v8, :cond_0 │ │ + .line 565 │ invoke-virtual {v4}, Ljava/lang/String;->isEmpty()Z │ │ move-result v8 │ │ if-eqz v8, :cond_0 │ │ + .line 566 │ invoke-virtual {v2}, Ljava/lang/String;->isEmpty()Z │ │ move-result v8 │ │ if-eqz v8, :cond_0 │ │ .line 567 │ @@ -3161,30 +3161,33 @@ │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ const-string v2, "img" │ │ + .line 409 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ const-string v2, "abs:data-thumb" │ │ + .line 410 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->attr(Ljava/lang/String;)Ljava/lang/String; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-object v1 │ │ + .line 408 │ return-object v1 │ │ .line 411 │ :catch_0 │ move-exception v0 │ │ .line 412 │ @@ -3239,275 +3242,267 @@ │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; │ } │ .end annotation │ │ .prologue │ .line 482 │ - new-instance v10, Ljava/util/Vector; │ + new-instance v7, Ljava/util/Vector; │ │ - invoke-direct {v10}, Ljava/util/Vector;->()V │ + invoke-direct {v7}, Ljava/util/Vector;->()V │ │ .line 487 │ - .local v10, "videoStreams":Ljava/util/Vector;, "Ljava/util/Vector;" │ + .local v7, "videoStreams":Ljava/util/Vector;, "Ljava/util/Vector;" │ :try_start_0 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ │ - if-nez v11, :cond_2 │ + if-nez v8, :cond_2 │ │ .line 488 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->videoInfoPage:Ljava/util/Map; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->videoInfoPage:Ljava/util/Map; │ │ - const-string v12, "url_encoded_fmt_stream_map" │ + const-string v9, "url_encoded_fmt_stream_map" │ │ - invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v8, v9}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - check-cast v2, Ljava/lang/String; │ + check-cast v1, Ljava/lang/String; │ │ .line 492 │ - .local v2, "encodedUrlMap":Ljava/lang/String; │ + .local v1, "encodedUrlMap":Ljava/lang/String; │ :goto_0 │ - const-string v11, "," │ + const-string v8, "," │ │ - invoke-virtual {v2, v11}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ + invoke-virtual {v1, v8}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; │ │ - move-result-object v0 │ + move-result-object v10 │ │ - .local v0, "arr$":[Ljava/lang/String; │ - array-length v6, v0 │ + array-length v11, v10 │ │ - .local v6, "len$":I │ - const/4 v3, 0x0 │ + const/4 v8, 0x0 │ + │ + move v9, v8 │ │ - .local v3, "i$":I │ :goto_1 │ - if-ge v3, v6, :cond_3 │ + if-ge v9, v11, :cond_3 │ │ - aget-object v9, v0, v3 │ + aget-object v6, v10, v9 │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1 │ │ .line 496 │ - .local v9, "url_data_str":Ljava/lang/String; │ - const/4 v11, 0x1 │ + .local v6, "url_data_str":Ljava/lang/String; │ + const/4 v8, 0x1 │ │ + .line 497 │ :try_start_1 │ - invoke-static {v9, v11}, Lorg/jsoup/parser/Parser;->unescapeEntities(Ljava/lang/String;Z)Ljava/lang/String; │ + invoke-static {v6, v8}, Lorg/jsoup/parser/Parser;->unescapeEntities(Ljava/lang/String;Z)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-static {v11}, Lorg/schabi/newpipe/extractor/Parser;->compatParseMap(Ljava/lang/String;)Ljava/util/Map; │ + .line 496 │ + invoke-static {v8}, Lorg/schabi/newpipe/extractor/Parser;->compatParseMap(Ljava/lang/String;)Ljava/util/Map; │ │ - move-result-object v8 │ + move-result-object v5 │ │ .line 499 │ - .local v8, "tags":Ljava/util/Map;, "Ljava/util/Map;" │ - const-string v11, "itag" │ + .local v5, "tags":Ljava/util/Map;, "Ljava/util/Map;" │ + const-string v8, "itag" │ │ - invoke-interface {v8, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v5, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - check-cast v11, Ljava/lang/String; │ + check-cast v8, Ljava/lang/String; │ │ - invoke-static {v11}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ + invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I │ │ - move-result v4 │ + move-result v2 │ │ .line 501 │ - .local v4, "itag":I │ - invoke-static {v4}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagIsSupported(I)Z │ + .local v2, "itag":I │ + invoke-static {v2}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->itagIsSupported(I)Z │ │ - move-result v11 │ + move-result v8 │ │ - if-eqz v11, :cond_1 │ + if-eqz v8, :cond_1 │ │ .line 502 │ - invoke-static {v4}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->getItagItem(I)Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + invoke-static {v2}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->getItagItem(I)Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ │ - move-result-object v5 │ + move-result-object v3 │ │ .line 503 │ - .local v5, "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - iget-object v11, v5, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->itagType:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ + .local v3, "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + iget-object v8, v3, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->itagType:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ │ sget-object v12, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType;->VIDEO:Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagType; │ │ - if-ne v11, v12, :cond_1 │ + if-ne v8, v12, :cond_1 │ │ .line 504 │ - const-string v11, "url" │ + const-string v8, "url" │ │ - invoke-interface {v8, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v5, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v7 │ + move-result-object v4 │ │ - check-cast v7, Ljava/lang/String; │ + check-cast v4, Ljava/lang/String; │ │ .line 506 │ - .local v7, "streamUrl":Ljava/lang/String; │ - const-string v11, "s" │ + .local v4, "streamUrl":Ljava/lang/String; │ + const-string v8, "s" │ │ - invoke-interface {v8, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-interface {v5, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - if-eqz v11, :cond_0 │ + if-eqz v8, :cond_0 │ │ .line 507 │ - new-instance v11, Ljava/lang/StringBuilder; │ + new-instance v8, Ljava/lang/StringBuilder; │ │ - invoke-direct {v11}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v8}, Ljava/lang/StringBuilder;->()V │ │ - invoke-virtual {v11, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v11 │ + move-result-object v8 │ │ const-string v12, "&signature=" │ │ - invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v8, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v12 │ │ - const-string v11, "s" │ + const-string v8, "s" │ │ - invoke-interface {v8, v11}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + .line 508 │ + invoke-interface {v5, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - check-cast v11, Ljava/lang/String; │ + check-cast v8, Ljava/lang/String; │ │ sget-object v13, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptionCode:Ljava/lang/String; │ │ - invoke-direct {p0, v11, v13}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptSignature(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ + invoke-direct {p0, v8, v13}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->decryptSignature(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-virtual {v12, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v12, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v7 │ + move-result-object v4 │ │ .line 510 │ :cond_0 │ - new-instance v11, Lorg/schabi/newpipe/extractor/VideoStream; │ + new-instance v8, Lorg/schabi/newpipe/extractor/VideoStream; │ │ - iget v12, v5, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->mediaFormatId:I │ + iget v12, v3, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->mediaFormatId:I │ │ - iget-object v13, v5, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->resolutionString:Ljava/lang/String; │ + iget-object v13, v3, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem;->resolutionString:Ljava/lang/String; │ │ - invoke-direct {v11, v7, v12, v13}, Lorg/schabi/newpipe/extractor/VideoStream;->(Ljava/lang/String;ILjava/lang/String;)V │ + invoke-direct {v8, v4, v12, v13}, Lorg/schabi/newpipe/extractor/VideoStream;->(Ljava/lang/String;ILjava/lang/String;)V │ │ - invoke-virtual {v10, v11}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ + invoke-virtual {v7, v8}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z │ :try_end_1 │ .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0 │ │ .line 492 │ - .end local v4 # "itag":I │ - .end local v5 # "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ - .end local v7 # "streamUrl":Ljava/lang/String; │ - .end local v8 # "tags":Ljava/util/Map;, "Ljava/util/Map;" │ + .end local v2 # "itag":I │ + .end local v3 # "itagItem":Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor$ItagItem; │ + .end local v4 # "streamUrl":Ljava/lang/String; │ + .end local v5 # "tags":Ljava/util/Map;, "Ljava/util/Map;" │ :cond_1 │ :goto_2 │ - add-int/lit8 v3, v3, 0x1 │ + add-int/lit8 v8, v9, 0x1 │ + │ + move v9, v8 │ │ goto :goto_1 │ │ .line 490 │ - .end local v0 # "arr$":[Ljava/lang/String; │ - .end local v2 # "encodedUrlMap":Ljava/lang/String; │ - .end local v3 # "i$":I │ - .end local v6 # "len$":I │ - .end local v9 # "url_data_str":Ljava/lang/String; │ + .end local v1 # "encodedUrlMap":Ljava/lang/String; │ + .end local v6 # "url_data_str":Ljava/lang/String; │ :cond_2 │ :try_start_2 │ - iget-object v11, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ + iget-object v8, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor;->playerArgs:Lorg/json/JSONObject; │ │ - const-string v12, "url_encoded_fmt_stream_map" │ + const-string v9, "url_encoded_fmt_stream_map" │ │ - invoke-virtual {v11, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; │ + invoke-virtual {v8, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - .restart local v2 # "encodedUrlMap":Ljava/lang/String; │ + .restart local v1 # "encodedUrlMap":Ljava/lang/String; │ goto :goto_0 │ │ .line 516 │ - .restart local v0 # "arr$":[Ljava/lang/String; │ - .restart local v3 # "i$":I │ - .restart local v6 # "len$":I │ - .restart local v9 # "url_data_str":Ljava/lang/String; │ + .restart local v6 # "url_data_str":Ljava/lang/String; │ :catch_0 │ - move-exception v1 │ + move-exception v0 │ │ .line 518 │ - .local v1, "e":Ljava/lang/Exception; │ - sget-object v11, Ljava/lang/System;->err:Ljava/io/PrintStream; │ + .local v0, "e":Ljava/lang/Exception; │ + sget-object v8, Ljava/lang/System;->err:Ljava/io/PrintStream; │ │ const-string v12, "Could not get Video stream." │ │ - invoke-virtual {v11, v12}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V │ + invoke-virtual {v8, v12}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V │ │ .line 519 │ - invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V │ + invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V │ :try_end_2 │ .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1 │ │ goto :goto_2 │ │ .line 523 │ - .end local v0 # "arr$":[Ljava/lang/String; │ - .end local v1 # "e":Ljava/lang/Exception; │ - .end local v2 # "encodedUrlMap":Ljava/lang/String; │ - .end local v3 # "i$":I │ - .end local v6 # "len$":I │ - .end local v9 # "url_data_str":Ljava/lang/String; │ + .end local v0 # "e":Ljava/lang/Exception; │ + .end local v1 # "encodedUrlMap":Ljava/lang/String; │ + .end local v6 # "url_data_str":Ljava/lang/String; │ :catch_1 │ - move-exception v1 │ + move-exception v0 │ │ .line 524 │ - .restart local v1 # "e":Ljava/lang/Exception; │ - new-instance v11, Lorg/schabi/newpipe/extractor/ParsingException; │ + .restart local v0 # "e":Ljava/lang/Exception; │ + new-instance v8, Lorg/schabi/newpipe/extractor/ParsingException; │ │ - const-string v12, "Failed to get video streams" │ + const-string v9, "Failed to get video streams" │ │ - invoke-direct {v11, v12, v1}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ + invoke-direct {v8, v9, v0}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;Ljava/lang/Throwable;)V │ │ - throw v11 │ + throw v8 │ │ .line 527 │ - .end local v1 # "e":Ljava/lang/Exception; │ - .restart local v0 # "arr$":[Ljava/lang/String; │ - .restart local v2 # "encodedUrlMap":Ljava/lang/String; │ - .restart local v3 # "i$":I │ - .restart local v6 # "len$":I │ + .end local v0 # "e":Ljava/lang/Exception; │ + .restart local v1 # "encodedUrlMap":Ljava/lang/String; │ :cond_3 │ - invoke-virtual {v10}, Ljava/util/Vector;->isEmpty()Z │ + invoke-virtual {v7}, Ljava/util/Vector;->isEmpty()Z │ │ - move-result v11 │ + move-result v8 │ │ - if-eqz v11, :cond_4 │ + if-eqz v8, :cond_4 │ │ .line 528 │ - new-instance v11, Lorg/schabi/newpipe/extractor/ParsingException; │ + new-instance v8, Lorg/schabi/newpipe/extractor/ParsingException; │ │ - const-string v12, "Failed to get any video stream" │ + const-string v9, "Failed to get any video stream" │ │ - invoke-direct {v11, v12}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;)V │ + invoke-direct {v8, v9}, Lorg/schabi/newpipe/extractor/ParsingException;->(Ljava/lang/String;)V │ │ - throw v11 │ + throw v8 │ │ .line 530 │ :cond_4 │ - return-object v10 │ + return-object v7 │ .end method │ │ .method public getViewCount()J │ .locals 4 │ .annotation system Ldalvik/annotation/Throws; │ value = { │ Lorg/schabi/newpipe/extractor/ParsingException; ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamPreviewInfoExtractor.smali │ @@ -87,26 +87,28 @@ │ .prologue │ .line 60 │ :try_start_0 │ iget-object v1, p0, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamPreviewInfoExtractor;->item:Lorg/jsoup/nodes/Element; │ │ const-string v2, "span[class=\"video-time\"]" │ │ + .line 61 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 60 │ invoke-static {v1}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper;->parseDurationString(Ljava/lang/String;)I │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result v1 │ │ .line 65 │ @@ -210,14 +212,15 @@ │ │ invoke-virtual {v3}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v3 │ │ const-string v4, "img" │ │ + .line 136 │ invoke-virtual {v3, v4}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v3 │ │ invoke-virtual {v3}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ @@ -363,28 +366,31 @@ │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ const-string v2, "li" │ │ + .line 89 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ + .line 90 │ invoke-virtual {v1}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-object v1 │ │ + .line 88 │ return-object v1 │ │ .line 91 │ :catch_0 │ move-exception v0 │ │ .line 92 │ @@ -419,28 +425,31 @@ │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ const-string v2, "a" │ │ + .line 78 │ invoke-virtual {v1, v2}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v1 │ │ invoke-virtual {v1}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v1 │ │ + .line 79 │ invoke-virtual {v1}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ :try_end_0 │ .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-object v1 │ │ + .line 77 │ return-object v1 │ │ .line 80 │ :catch_0 │ move-exception v0 │ │ .line 81 │ @@ -475,26 +484,28 @@ │ │ invoke-virtual {v3}, Lorg/jsoup/select/Elements;->first()Lorg/jsoup/nodes/Element; │ │ move-result-object v3 │ │ const-string v4, "li" │ │ + .line 102 │ invoke-virtual {v3, v4}, Lorg/jsoup/nodes/Element;->select(Ljava/lang/String;)Lorg/jsoup/select/Elements; │ │ move-result-object v3 │ │ const/4 v4, 0x1 │ │ invoke-virtual {v3, v4}, Lorg/jsoup/select/Elements;->get(I)Ljava/lang/Object; │ │ move-result-object v3 │ │ check-cast v3, Lorg/jsoup/nodes/Element; │ │ + .line 103 │ invoke-virtual {v3}, Lorg/jsoup/nodes/Element;->text()Ljava/lang/String; │ :try_end_0 │ .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0 │ │ move-result-object v1 │ │ .line 114 │ @@ -505,30 +516,33 @@ │ │ move-result-object v3 │ │ const-string v4, " " │ │ const-string v5, "" │ │ + .line 115 │ invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v3 │ │ const-string v4, "." │ │ const-string v5, "" │ │ + .line 116 │ invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v3 │ │ const-string v4, "," │ │ const-string v5, "" │ │ + .line 117 │ invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; │ │ move-result-object v2 │ │ .line 120 │ .local v2, "output":Ljava/lang/String; │ :try_start_1 │ @@ -573,14 +587,15 @@ │ │ const-string v5, "Could not parse yt-lockup-meta although available: " │ │ invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v4 │ │ + .line 110 │ invoke-virtual {p0}, Lorg/schabi/newpipe/extractor/services/youtube/YoutubeStreamPreviewInfoExtractor;->getTitle()Ljava/lang/String; │ │ move-result-object v5 │ │ invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v4 ├── smali/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamUrlIdHandler.smali │ @@ -31,26 +31,29 @@ │ │ move-result v0 │ │ if-nez v0, :cond_0 │ │ const-string v0, "youtu.be" │ │ + .line 90 │ invoke-virtual {p1, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z │ │ move-result v0 │ │ if-eqz v0, :cond_1 │ │ :cond_0 │ const/4 v0, 0x1 │ │ + .line 89 │ :goto_0 │ return v0 │ │ + .line 90 │ :cond_1 │ const/4 v0, 0x0 │ │ goto :goto_0 │ .end method │ │ .method public cleanUrl(Ljava/lang/String;)Ljava/lang/String; ├── smali/org/schabi/newpipe/player/BackgroundPlayer$PlayerThread$1.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$1:Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;)V │ .locals 0 │ + .param p1, "this$1" # Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread; │ │ .prologue │ .line 206 │ iput-object p1, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread$1;->this$1:Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread; │ │ invoke-direct {p0}, Landroid/content/BroadcastReceiver;->()V ├── smali/org/schabi/newpipe/player/BackgroundPlayer$PlayerThread.smali │ @@ -226,44 +226,48 @@ │ .line 274 │ iget-object v8, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->owner:Lorg/schabi/newpipe/player/BackgroundPlayer; │ │ iget v9, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->noteID:I │ │ new-instance v10, Landroid/content/Intent; │ │ + .line 275 │ # getter for: Lorg/schabi/newpipe/player/BackgroundPlayer;->ACTION_PLAYPAUSE:Ljava/lang/String; │ invoke-static {}, Lorg/schabi/newpipe/player/BackgroundPlayer;->access$100()Ljava/lang/String; │ │ move-result-object v11 │ │ invoke-direct {v10, v11}, Landroid/content/Intent;->(Ljava/lang/String;)V │ │ const/high16 v11, 0x8000000 │ │ + .line 274 │ invoke-static {v8, v9, v10, v11}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; │ │ move-result-object v4 │ │ .line 276 │ .local v4, "playPI":Landroid/app/PendingIntent; │ iget-object v8, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->owner:Lorg/schabi/newpipe/player/BackgroundPlayer; │ │ iget v9, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->noteID:I │ │ new-instance v10, Landroid/content/Intent; │ │ + .line 277 │ # getter for: Lorg/schabi/newpipe/player/BackgroundPlayer;->ACTION_STOP:Ljava/lang/String; │ invoke-static {}, Lorg/schabi/newpipe/player/BackgroundPlayer;->access$200()Ljava/lang/String; │ │ move-result-object v11 │ │ invoke-direct {v10, v11}, Landroid/content/Intent;->(Ljava/lang/String;)V │ │ const/high16 v11, 0x8000000 │ │ + .line 276 │ invoke-static {v8, v9, v10, v11}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; │ │ move-result-object v6 │ │ .line 284 │ .local v6, "stopPI":Landroid/app/PendingIntent; │ new-instance v3, Landroid/content/Intent; │ @@ -321,30 +325,34 @@ │ │ .line 292 │ .local v2, "openDetailView":Landroid/app/PendingIntent; │ iget-object v8, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->noteBuilder:Landroid/support/v7/app/NotificationCompat$Builder; │ │ const/4 v9, 0x1 │ │ + .line 293 │ invoke-virtual {v8, v9}, Landroid/support/v7/app/NotificationCompat$Builder;->setOngoing(Z)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v8 │ │ + .line 294 │ invoke-virtual {v8, v6}, Landroid/support/v4/app/NotificationCompat$Builder;->setDeleteIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v8 │ │ const v9, 0x7f020061 │ │ + .line 297 │ invoke-virtual {v8, v9}, Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v8 │ │ const v9, 0x7f07001b │ │ + .line 299 │ invoke-virtual {v5, v9}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String; │ │ move-result-object v9 │ │ const/4 v10, 0x1 │ │ new-array v10, v10, [Ljava/lang/Object; │ @@ -355,20 +363,22 @@ │ │ aput-object v12, v10, v11 │ │ invoke-static {v9, v10}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; │ │ move-result-object v9 │ │ + .line 298 │ invoke-virtual {v8, v9}, Landroid/support/v4/app/NotificationCompat$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v8 │ │ iget-object v9, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->this$0:Lorg/schabi/newpipe/player/BackgroundPlayer; │ │ + .line 301 │ invoke-virtual {v9}, Lorg/schabi/newpipe/player/BackgroundPlayer;->getApplicationContext()Landroid/content/Context; │ │ move-result-object v9 │ │ iget v10, p0, Lorg/schabi/newpipe/player/BackgroundPlayer$PlayerThread;->noteID:I │ │ const/high16 v11, 0x8000000 │ @@ -377,14 +387,15 @@ │ │ move-result-object v9 │ │ invoke-virtual {v8, v9}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v8 │ │ + .line 304 │ invoke-virtual {v8, v2}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ .line 307 │ new-instance v7, Landroid/widget/RemoteViews; │ │ const-string v8, "org.schabi.newpipe" ├── smali/org/schabi/newpipe/player/BackgroundPlayer.smali │ @@ -243,14 +243,15 @@ │ │ const/4 v4, 0x0 │ │ invoke-static {p0, v3, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v3 │ │ + .line 85 │ invoke-virtual {v3}, Landroid/widget/Toast;->show()V │ │ .line 87 │ invoke-virtual {p1}, Landroid/content/Intent;->getDataString()Ljava/lang/String; │ │ move-result-object v1 ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 144 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$1;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -130,23 +131,24 @@ │ .line 183 │ .end local v2 # "unsupportedDrmException":Lcom/google/android/exoplayer/drm/UnsupportedDrmException; │ :cond_4 │ instance-of v3, p1, Lcom/google/android/exoplayer/ExoPlaybackException; │ │ if-eqz v3, :cond_0 │ │ + .line 184 │ invoke-virtual {p1}, Ljava/lang/Exception;->getCause()Ljava/lang/Throwable; │ │ move-result-object v3 │ │ instance-of v3, v3, Lcom/google/android/exoplayer/MediaCodecTrackRenderer$DecoderInitializationException; │ │ if-eqz v3, :cond_0 │ │ - .line 186 │ + .line 187 │ invoke-virtual {p1}, Ljava/lang/Exception;->getCause()Ljava/lang/Throwable; │ │ move-result-object v0 │ │ check-cast v0, Lcom/google/android/exoplayer/MediaCodecTrackRenderer$DecoderInitializationException; │ │ .line 188 ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 218 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$2;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$3.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 239 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$3;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$4.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 246 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$4;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ @@ -58,29 +59,28 @@ │ const/4 v10, 0x1 │ │ const/4 v9, 0x0 │ │ .line 249 │ invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set; │ │ - move-result-object v5 │ + move-result-object v4 │ │ - invoke-interface {v5}, Ljava/util/Set;->iterator()Ljava/util/Iterator; │ + invoke-interface {v4}, Ljava/util/Set;->iterator()Ljava/util/Iterator; │ │ - move-result-object v2 │ + move-result-object v4 │ │ - .local v2, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v5 │ │ if-eqz v5, :cond_3 │ │ - invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ move-result-object v0 │ │ check-cast v0, Ljava/util/Map$Entry; │ │ .line 250 │ .local v0, "entry":Ljava/util/Map$Entry;, "Ljava/util/Map$Entry;" │ @@ -95,48 +95,48 @@ │ move-result v5 │ │ if-eqz v5, :cond_0 │ │ .line 251 │ invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; │ │ - move-result-object v4 │ + move-result-object v3 │ │ - check-cast v4, Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ + check-cast v3, Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ │ .line 252 │ - .local v4, "txxxMetadata":Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ + .local v3, "txxxMetadata":Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ const-string v5, "PlayerActivity" │ │ const-string v6, "ID3 TimedMetadata %s: description=%s, value=%s" │ │ new-array v7, v12, [Ljava/lang/Object; │ │ const-string v8, "TXXX" │ │ aput-object v8, v7, v9 │ │ - iget-object v8, v4, Lcom/google/android/exoplayer/metadata/TxxxMetadata;->description:Ljava/lang/String; │ + iget-object v8, v3, Lcom/google/android/exoplayer/metadata/TxxxMetadata;->description:Ljava/lang/String; │ │ aput-object v8, v7, v10 │ │ - iget-object v8, v4, Lcom/google/android/exoplayer/metadata/TxxxMetadata;->value:Ljava/lang/String; │ + iget-object v8, v3, Lcom/google/android/exoplayer/metadata/TxxxMetadata;->value:Ljava/lang/String; │ │ aput-object v8, v7, v11 │ │ invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; │ │ move-result-object v6 │ │ invoke-static {v5, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I │ │ goto :goto_0 │ │ .line 254 │ - .end local v4 # "txxxMetadata":Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ + .end local v3 # "txxxMetadata":Lcom/google/android/exoplayer/metadata/TxxxMetadata; │ :cond_0 │ const-string v5, "PRIV" │ │ invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; │ │ move-result-object v6 │ │ @@ -145,44 +145,44 @@ │ move-result v5 │ │ if-eqz v5, :cond_1 │ │ .line 255 │ invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Lcom/google/android/exoplayer/metadata/PrivMetadata; │ + check-cast v2, Lcom/google/android/exoplayer/metadata/PrivMetadata; │ │ .line 256 │ - .local v3, "privMetadata":Lcom/google/android/exoplayer/metadata/PrivMetadata; │ + .local v2, "privMetadata":Lcom/google/android/exoplayer/metadata/PrivMetadata; │ const-string v5, "PlayerActivity" │ │ const-string v6, "ID3 TimedMetadata %s: owner=%s" │ │ new-array v7, v11, [Ljava/lang/Object; │ │ const-string v8, "PRIV" │ │ aput-object v8, v7, v9 │ │ - iget-object v8, v3, Lcom/google/android/exoplayer/metadata/PrivMetadata;->owner:Ljava/lang/String; │ + iget-object v8, v2, Lcom/google/android/exoplayer/metadata/PrivMetadata;->owner:Ljava/lang/String; │ │ aput-object v8, v7, v10 │ │ invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; │ │ move-result-object v6 │ │ invoke-static {v5, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I │ │ goto :goto_0 │ │ .line 258 │ - .end local v3 # "privMetadata":Lcom/google/android/exoplayer/metadata/PrivMetadata; │ + .end local v2 # "privMetadata":Lcom/google/android/exoplayer/metadata/PrivMetadata; │ :cond_1 │ const-string v5, "GEOB" │ │ invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; │ │ move-result-object v6 ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$5.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 270 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$5;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$6.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 292 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$6;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/ExoPlayerActivity$7.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ .prologue │ .line 303 │ iput-object p1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity$7;->this$0:Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/ExoPlayerActivity.smali │ @@ -137,15 +137,14 @@ │ .line 270 │ new-instance v0, Lorg/schabi/newpipe/player/ExoPlayerActivity$5; │ │ invoke-direct {v0, p0}, Lorg/schabi/newpipe/player/ExoPlayerActivity$5;->(Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ │ iput-object v0, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity;->audioCapabilitiesListener:Lcom/google/android/exoplayer/audio/AudioCapabilitiesReceiver$Listener; │ │ - .line 530 │ return-void │ .end method │ │ .method static synthetic access$000(Lorg/schabi/newpipe/player/ExoPlayerActivity;)V │ .locals 0 │ .param p0, "x0" # Lorg/schabi/newpipe/player/ExoPlayerActivity; │ │ @@ -397,14 +396,15 @@ │ value = 0x13 │ .end annotation │ │ .prologue │ .line 504 │ const-string v1, "captioning" │ │ + .line 505 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/player/ExoPlayerActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; │ │ move-result-object v0 │ │ check-cast v0, Landroid/view/accessibility/CaptioningManager; │ │ .line 506 │ @@ -422,14 +422,15 @@ │ value = 0x13 │ .end annotation │ │ .prologue │ .line 511 │ const-string v1, "captioning" │ │ + .line 512 │ invoke-virtual {p0, v1}, Lorg/schabi/newpipe/player/ExoPlayerActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; │ │ move-result-object v0 │ │ check-cast v0, Landroid/view/accessibility/CaptioningManager; │ │ .line 513 │ @@ -481,15 +482,15 @@ │ :goto_0 │ invoke-static {v0}, Lcom/google/android/exoplayer/util/Util;->inferContentType(Ljava/lang/String;)I │ │ move-result v1 │ │ return v1 │ │ - .line 525 │ + .line 526 │ .end local v0 # "lastPathSegment":Ljava/lang/String; │ :cond_0 │ invoke-virtual {p0}, Landroid/net/Uri;->getLastPathSegment()Ljava/lang/String; │ │ move-result-object v0 │ │ goto :goto_0 │ @@ -730,33 +731,37 @@ │ .line 414 │ sget v0, Lcom/google/android/exoplayer/util/Util;->SDK_INT:I │ │ const/16 v1, 0x17 │ │ if-lt v0, v1, :cond_0 │ │ + .line 415 │ invoke-static {p1}, Lcom/google/android/exoplayer/util/Util;->isLocalFileUri(Landroid/net/Uri;)Z │ │ move-result v0 │ │ if-eqz v0, :cond_0 │ │ const-string v0, "android.permission.READ_EXTERNAL_STORAGE" │ │ + .line 416 │ invoke-virtual {p0, v0}, Lorg/schabi/newpipe/player/ExoPlayerActivity;->checkSelfPermission(Ljava/lang/String;)I │ │ move-result v0 │ │ if-eqz v0, :cond_0 │ │ const/4 v0, 0x1 │ │ + .line 414 │ :goto_0 │ return v0 │ │ + .line 416 │ :cond_0 │ const/4 v0, 0x0 │ │ goto :goto_0 │ .end method │ │ .method private showControls()V │ @@ -1051,14 +1056,15 @@ │ │ const v1, 0x7f0700a2 │ │ invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast; │ │ move-result-object v0 │ │ + .line 389 │ invoke-virtual {v0}, Landroid/widget/Toast;->show()V │ │ .line 390 │ invoke-virtual {p0}, Lorg/schabi/newpipe/player/ExoPlayerActivity;->finish()V │ │ goto :goto_0 │ .end method │ @@ -1086,22 +1092,24 @@ │ .line 347 │ const-string v1, "content_type" │ │ iget-object v2, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity;->contentUri:Landroid/net/Uri; │ │ const-string v3, "type" │ │ + .line 348 │ invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; │ │ move-result-object v3 │ │ invoke-static {v2, v3}, Lorg/schabi/newpipe/player/ExoPlayerActivity;->inferContentType(Landroid/net/Uri;Ljava/lang/String;)I │ │ move-result v2 │ │ + .line 347 │ invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I │ │ move-result v1 │ │ iput v1, p0, Lorg/schabi/newpipe/player/ExoPlayerActivity;->contentType:I │ │ .line 349 ├── smali/org/schabi/newpipe/player/PlayVideoActivity$1.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/PlayVideoActivity;Landroid/content/Context;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/PlayVideoActivity; │ .param p2, "x0" # Landroid/content/Context; │ │ .prologue │ .line 103 │ iput-object p1, p0, Lorg/schabi/newpipe/player/PlayVideoActivity$1;->this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ invoke-direct {p0, p2}, Landroid/widget/MediaController;->(Landroid/content/Context;)V │ @@ -50,14 +51,15 @@ │ .local v0, "keyCode":I │ invoke-virtual {p1}, Landroid/view/KeyEvent;->getRepeatCount()I │ │ move-result v3 │ │ if-nez v3, :cond_1 │ │ + .line 108 │ invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I │ │ move-result v3 │ │ if-nez v3, :cond_1 │ │ move v1, v2 │ @@ -85,15 +87,15 @@ │ invoke-virtual {v3}, Lorg/schabi/newpipe/player/PlayVideoActivity;->finish()V │ │ .line 120 │ :cond_0 │ :goto_1 │ return v2 │ │ - .line 107 │ + .line 108 │ .end local v1 # "uniqueDown":Z │ :cond_1 │ const/4 v1, 0x0 │ │ goto :goto_0 │ │ .line 115 ├── smali/org/schabi/newpipe/player/PlayVideoActivity$2.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/PlayVideoActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ .prologue │ .line 136 │ iput-object p1, p0, Lorg/schabi/newpipe/player/PlayVideoActivity$2;->this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/PlayVideoActivity$3.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/PlayVideoActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ .prologue │ .line 152 │ iput-object p1, p0, Lorg/schabi/newpipe/player/PlayVideoActivity$3;->this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/PlayVideoActivity$4.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/PlayVideoActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ .prologue │ .line 163 │ iput-object p1, p0, Lorg/schabi/newpipe/player/PlayVideoActivity$4;->this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/PlayVideoActivity$5.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ │ # direct methods │ .method constructor (Lorg/schabi/newpipe/player/PlayVideoActivity;)V │ .locals 0 │ + .param p1, "this$0" # Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ .prologue │ .line 269 │ iput-object p1, p0, Lorg/schabi/newpipe/player/PlayVideoActivity$5;->this$0:Lorg/schabi/newpipe/player/PlayVideoActivity; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/org/schabi/newpipe/player/PlayVideoActivity.smali │ @@ -265,32 +265,36 @@ │ .line 314 │ sget v0, Landroid/os/Build$VERSION;->SDK_INT:I │ │ const/16 v1, 0x11 │ │ if-ge v0, v1, :cond_0 │ │ + .line 315 │ invoke-direct {p0}, Lorg/schabi/newpipe/player/PlayVideoActivity;->getNavigationBarHeight()I │ │ move-result v0 │ │ if-nez v0, :cond_0 │ │ + .line 316 │ invoke-direct {p0}, Lorg/schabi/newpipe/player/PlayVideoActivity;->getNavigationBarWidth()I │ │ move-result v0 │ │ if-eqz v0, :cond_1 │ │ :cond_0 │ const/4 v0, 0x1 │ │ + .line 314 │ :goto_0 │ return v0 │ │ + .line 316 │ :cond_1 │ const/4 v0, 0x0 │ │ goto :goto_0 │ .end method │ │ .method private checkIfLandscape()Z ├── smali/org/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder.smali │ @@ -256,14 +256,15 @@ │ .line 207 │ :cond_2 │ :try_start_0 │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 208 │ invoke-virtual {v4}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getPlaybackLooper()Landroid/os/Looper; │ │ move-result-object v4 │ │ move-object/from16 v0, p0 │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->drmCallback:Lcom/google/android/exoplayer/drm/MediaDrmCallback; │ @@ -278,14 +279,15 @@ │ │ move-result-object v9 │ │ move-object/from16 v0, p0 │ │ iget-object v10, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 207 │ invoke-static {v4, v5, v7, v9, v10}, Lcom/google/android/exoplayer/drm/StreamingDrmSessionManager;->newWidevineInstance(Landroid/os/Looper;Lcom/google/android/exoplayer/drm/MediaDrmCallback;Ljava/util/HashMap;Landroid/os/Handler;Lcom/google/android/exoplayer/drm/StreamingDrmSessionManager$EventListener;)Lcom/google/android/exoplayer/drm/StreamingDrmSessionManager; │ │ move-result-object v20 │ │ .line 209 │ invoke-static/range {v20 .. v20}, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->getWidevineSecurityLevel(Lcom/google/android/exoplayer/drm/StreamingDrmSessionManager;)I │ :try_end_0 │ @@ -326,14 +328,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ const/4 v7, 0x1 │ │ + .line 219 │ move/from16 v0, v41 │ │ invoke-static {v5, v7, v0}, Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector;->newVideoInstance(Landroid/content/Context;ZZ)Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector; │ │ move-result-object v5 │ │ new-instance v7, Lcom/google/android/exoplayer/chunk/FormatEvaluator$AdaptiveEvaluator; │ @@ -428,14 +431,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->manifestFetcher:Lcom/google/android/exoplayer/util/ManifestFetcher; │ │ move-object/from16 v22, v0 │ │ + .line 232 │ invoke-static {}, Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector;->newAudioInstance()Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector; │ │ move-result-object v23 │ │ const/16 v25, 0x0 │ │ const-wide/16 v26, 0x7530 │ @@ -494,14 +498,15 @@ │ │ move-object/from16 v32, v0 │ │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ + .line 239 │ invoke-static {v4}, Lcom/google/android/exoplayer/audio/AudioCapabilities;->getCapabilities(Landroid/content/Context;)Lcom/google/android/exoplayer/audio/AudioCapabilities; │ │ move-result-object v33 │ │ const/16 v34, 0x3 │ │ move-object/from16 v27, v25 │ @@ -536,14 +541,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->manifestFetcher:Lcom/google/android/exoplayer/util/ManifestFetcher; │ │ move-object/from16 v28, v0 │ │ + .line 244 │ invoke-static {}, Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector;->newTextInstance()Lcom/google/android/exoplayer/dash/DefaultDashTrackSelector; │ │ move-result-object v29 │ │ const/16 v31, 0x0 │ │ const-wide/16 v32, 0x7530 │ @@ -592,14 +598,15 @@ │ .local v31, "textSampleSource":Lcom/google/android/exoplayer/chunk/ChunkSampleSource; │ new-instance v47, Lcom/google/android/exoplayer/text/TextTrackRenderer; │ │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 250 │ invoke-virtual {v12}, Landroid/os/Handler;->getLooper()Landroid/os/Looper; │ │ move-result-object v5 │ │ const/4 v7, 0x0 │ │ new-array v7, v7, [Lcom/google/android/exoplayer/text/SubtitleParser; │ @@ -709,14 +716,15 @@ │ │ :goto_0 │ return v1 │ │ :cond_0 │ const-string v1, "L3" │ │ + .line 263 │ invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z │ │ move-result v1 │ │ if-eqz v1, :cond_1 │ │ const/4 v1, 0x3 │ @@ -797,18 +805,20 @@ │ .line 146 │ iget-object v0, p0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->manifestDataSource:Lcom/google/android/exoplayer/upstream/UriDataSource; │ │ iget-object v1, p1, Lcom/google/android/exoplayer/dash/mpd/MediaPresentationDescription;->utcTiming:Lcom/google/android/exoplayer/dash/mpd/UtcTimingElement; │ │ iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->manifestFetcher:Lcom/google/android/exoplayer/util/ManifestFetcher; │ │ + .line 147 │ invoke-virtual {v2}, Lcom/google/android/exoplayer/util/ManifestFetcher;->getManifestLoadCompleteTimestamp()J │ │ move-result-wide v2 │ │ + .line 146 │ invoke-static {v0, v1, v2, v3, p0}, Lcom/google/android/exoplayer/dash/mpd/UtcTimingElementResolver;->resolveTimingElement(Lcom/google/android/exoplayer/upstream/UriDataSource;Lcom/google/android/exoplayer/dash/mpd/UtcTimingElement;JLcom/google/android/exoplayer/dash/mpd/UtcTimingElementResolver$UtcTimingCallback;)V │ │ goto :goto_0 │ │ .line 149 │ :cond_1 │ invoke-direct {p0}, Lorg/schabi/newpipe/player/exoplayer/DashRendererBuilder$AsyncRendererBuilder;->buildRenderers()V ├── smali/org/schabi/newpipe/player/exoplayer/EventLogger.smali │ @@ -308,14 +308,15 @@ │ │ const-string v2, ", " │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ + .line 126 │ invoke-static {p2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ @@ -326,14 +327,15 @@ │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 125 │ invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 127 │ return-void │ .end method │ │ .method public onAudioTrackInitializationError(Lcom/google/android/exoplayer/audio/AudioTrack$InitializationException;)V │ @@ -550,14 +552,15 @@ │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ int-to-long v2, p1 │ │ + .line 89 │ invoke-direct {p0, v2, v3}, Lorg/schabi/newpipe/player/exoplayer/EventLogger;->getTimeString(J)Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ @@ -578,14 +581,15 @@ │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 88 │ invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 90 │ return-void │ .end method │ │ .method public onCryptoError(Landroid/media/MediaCodec$CryptoException;)V │ @@ -1047,14 +1051,15 @@ │ │ const-string v2, ", " │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ + .line 69 │ invoke-direct {p0, p2}, Lorg/schabi/newpipe/player/exoplayer/EventLogger;->getStateString(I)Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ @@ -1065,14 +1070,15 @@ │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 68 │ invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 70 │ return-void │ .end method │ │ .method public onVideoFormatEnabled(Lcom/google/android/exoplayer/chunk/Format;IJ)V │ @@ -1117,14 +1123,15 @@ │ │ const-string v2, ", " │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ │ + .line 120 │ invoke-static {p2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; │ │ move-result-object v2 │ │ invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v1 │ @@ -1135,14 +1142,15 @@ │ │ move-result-object v1 │ │ invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ move-result-object v1 │ │ + .line 119 │ invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I │ │ .line 121 │ return-void │ .end method │ │ .method public onVideoSizeChanged(IIIF)V ├── smali/org/schabi/newpipe/player/exoplayer/ExtractorRendererBuilder.smali │ @@ -114,14 +114,15 @@ │ │ sget-object v12, Lcom/google/android/exoplayer/MediaCodecSelector;->DEFAULT:Lcom/google/android/exoplayer/MediaCodecSelector; │ │ const/4 v13, 0x1 │ │ const-wide/16 v14, 0x1388 │ │ + .line 69 │ invoke-virtual/range {p1 .. p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getMainHandler()Landroid/os/Handler; │ │ move-result-object v16 │ │ const/16 v18, 0x32 │ │ move-object v11, v4 │ @@ -136,22 +137,24 @@ │ │ sget-object v12, Lcom/google/android/exoplayer/MediaCodecSelector;->DEFAULT:Lcom/google/android/exoplayer/MediaCodecSelector; │ │ const/4 v13, 0x0 │ │ const/4 v14, 0x1 │ │ + .line 71 │ invoke-virtual/range {p1 .. p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getMainHandler()Landroid/os/Handler; │ │ move-result-object v15 │ │ move-object/from16 v0, p0 │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/ExtractorRendererBuilder;->context:Landroid/content/Context; │ │ + .line 72 │ invoke-static {v5}, Lcom/google/android/exoplayer/audio/AudioCapabilities;->getCapabilities(Landroid/content/Context;)Lcom/google/android/exoplayer/audio/AudioCapabilities; │ │ move-result-object v17 │ │ const/16 v18, 0x3 │ │ move-object v11, v4 │ @@ -160,14 +163,15 @@ │ │ invoke-direct/range {v10 .. v18}, Lcom/google/android/exoplayer/MediaCodecAudioTrackRenderer;->(Lcom/google/android/exoplayer/SampleSource;Lcom/google/android/exoplayer/MediaCodecSelector;Lcom/google/android/exoplayer/drm/DrmSessionManager;ZLandroid/os/Handler;Lcom/google/android/exoplayer/MediaCodecAudioTrackRenderer$EventListener;Lcom/google/android/exoplayer/audio/AudioCapabilities;I)V │ │ .line 73 │ .local v10, "audioRenderer":Lcom/google/android/exoplayer/MediaCodecAudioTrackRenderer; │ new-instance v21, Lcom/google/android/exoplayer/text/TextTrackRenderer; │ │ + .line 74 │ invoke-virtual/range {p1 .. p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getMainHandler()Landroid/os/Handler; │ │ move-result-object v5 │ │ invoke-virtual {v5}, Landroid/os/Handler;->getLooper()Landroid/os/Looper; │ │ move-result-object v5 ├── smali/org/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder.smali │ @@ -207,14 +207,15 @@ │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->url:Ljava/lang/String; │ │ move-object/from16 v0, p0 │ │ iget-object v6, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ + .line 139 │ invoke-static {v6}, Lcom/google/android/exoplayer/hls/DefaultHlsTrackSelector;->newDefaultInstance(Landroid/content/Context;)Lcom/google/android/exoplayer/hls/DefaultHlsTrackSelector; │ │ move-result-object v7 │ │ const/4 v10, 0x1 │ │ move-object/from16 v6, p1 │ @@ -277,28 +278,30 @@ │ │ const/16 v20, 0x1 │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 147 │ invoke-virtual {v3}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getMainHandler()Landroid/os/Handler; │ │ move-result-object v21 │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ move-object/from16 v22, v0 │ │ move-object/from16 v0, p0 │ │ iget-object v3, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ + .line 148 │ invoke-static {v3}, Lcom/google/android/exoplayer/audio/AudioCapabilities;->getCapabilities(Landroid/content/Context;)Lcom/google/android/exoplayer/audio/AudioCapabilities; │ │ move-result-object v23 │ │ const/16 v24, 0x3 │ │ move-object/from16 v17, v10 │ @@ -313,14 +316,15 @@ │ │ invoke-direct {v3}, Lcom/google/android/exoplayer/metadata/Id3Parser;->()V │ │ move-object/from16 v0, p0 │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 150 │ invoke-virtual {v14}, Landroid/os/Handler;->getLooper()Landroid/os/Looper; │ │ move-result-object v6 │ │ move-object/from16 v0, v27 │ │ invoke-direct {v0, v10, v3, v5, v6}, Lcom/google/android/exoplayer/metadata/MetadataTrackRenderer;->(Lcom/google/android/exoplayer/SampleSource;Lcom/google/android/exoplayer/metadata/MetadataParser;Lcom/google/android/exoplayer/metadata/MetadataTrackRenderer$MetadataRenderer;Landroid/os/Looper;)V │ @@ -380,14 +384,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/HlsRendererBuilder$AsyncRendererBuilder;->url:Ljava/lang/String; │ │ move-object/from16 v20, v0 │ │ + .line 161 │ invoke-static {}, Lcom/google/android/exoplayer/hls/DefaultHlsTrackSelector;->newVttInstance()Lcom/google/android/exoplayer/hls/DefaultHlsTrackSelector; │ │ move-result-object v22 │ │ const/16 v25, 0x1 │ │ move-object/from16 v21, p1 ├── smali/org/schabi/newpipe/player/exoplayer/NPExoPlayer.smali │ @@ -208,74 +208,72 @@ │ .end method │ │ .method private maybeReportPlayerState()V │ .locals 5 │ │ .prologue │ .line 574 │ - iget-object v4, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->player:Lcom/google/android/exoplayer/ExoPlayer; │ + iget-object v3, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->player:Lcom/google/android/exoplayer/ExoPlayer; │ │ - invoke-interface {v4}, Lcom/google/android/exoplayer/ExoPlayer;->getPlayWhenReady()Z │ + invoke-interface {v3}, Lcom/google/android/exoplayer/ExoPlayer;->getPlayWhenReady()Z │ │ - move-result v2 │ + move-result v1 │ │ .line 575 │ - .local v2, "playWhenReady":Z │ + .local v1, "playWhenReady":Z │ invoke-virtual {p0}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getPlaybackState()I │ │ - move-result v3 │ + move-result v2 │ │ .line 576 │ - .local v3, "playbackState":I │ - iget-boolean v4, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlayWhenReady:Z │ + .local v2, "playbackState":I │ + iget-boolean v3, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlayWhenReady:Z │ │ - if-ne v4, v2, :cond_0 │ + if-ne v3, v1, :cond_0 │ │ - iget v4, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlaybackState:I │ + iget v3, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlaybackState:I │ │ - if-eq v4, v3, :cond_2 │ + if-eq v3, v2, :cond_2 │ │ .line 577 │ :cond_0 │ - iget-object v4, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ + iget-object v3, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ │ - invoke-virtual {v4}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v3}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v3 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v4 │ │ if-eqz v4, :cond_1 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + check-cast v0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ │ .line 578 │ - .local v1, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ - invoke-interface {v1, v2, v3}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onStateChanged(ZI)V │ + .local v0, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + invoke-interface {v0, v1, v2}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onStateChanged(ZI)V │ │ goto :goto_0 │ │ .line 580 │ - .end local v1 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + .end local v0 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ :cond_1 │ - iput-boolean v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlayWhenReady:Z │ + iput-boolean v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlayWhenReady:Z │ │ .line 581 │ - iput v3, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlaybackState:I │ + iput v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->lastReportedPlaybackState:I │ │ .line 583 │ - .end local v0 # "i$":Ljava/util/Iterator; │ :cond_2 │ return-void │ .end method │ │ .method private pushSurface(Z)V │ .locals 4 │ .param p1, "blockForSurfacePush" # Z │ @@ -1095,47 +1093,46 @@ │ │ .method public onPlayerError(Lcom/google/android/exoplayer/ExoPlaybackException;)V │ .locals 3 │ .param p1, "exception" # Lcom/google/android/exoplayer/ExoPlaybackException; │ │ .prologue │ .line 410 │ - const/4 v2, 0x1 │ + const/4 v1, 0x1 │ │ - iput v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->rendererBuildingState:I │ + iput v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->rendererBuildingState:I │ │ .line 411 │ - iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ + iget-object v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ │ - invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v1 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v2 │ │ if-eqz v2, :cond_0 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + check-cast v0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ │ .line 412 │ - .local v1, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ - invoke-interface {v1, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onError(Ljava/lang/Exception;)V │ + .local v0, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + invoke-interface {v0, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onError(Ljava/lang/Exception;)V │ │ goto :goto_0 │ │ .line 414 │ - .end local v1 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + .end local v0 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ :cond_0 │ return-void │ .end method │ │ .method public onPlayerStateChanged(ZI)V │ .locals 0 │ .param p1, "playWhenReady" # Z │ @@ -1251,57 +1248,56 @@ │ │ .method onRenderersError(Ljava/lang/Exception;)V │ .locals 3 │ .param p1, "e" # Ljava/lang/Exception; │ │ .prologue │ .line 325 │ - iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->internalErrorListener:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener; │ + iget-object v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->internalErrorListener:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener; │ │ - if-eqz v2, :cond_0 │ + if-eqz v1, :cond_0 │ │ .line 326 │ - iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->internalErrorListener:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener; │ + iget-object v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->internalErrorListener:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener; │ │ - invoke-interface {v2, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener;->onRendererInitializationError(Ljava/lang/Exception;)V │ + invoke-interface {v1, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$InternalErrorListener;->onRendererInitializationError(Ljava/lang/Exception;)V │ │ .line 328 │ :cond_0 │ - iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ + iget-object v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ │ - invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v1 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v2 │ │ if-eqz v2, :cond_1 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + check-cast v0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ │ .line 329 │ - .local v1, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ - invoke-interface {v1, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onError(Ljava/lang/Exception;)V │ + .local v0, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + invoke-interface {v0, p1}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onError(Ljava/lang/Exception;)V │ │ goto :goto_0 │ │ .line 331 │ - .end local v1 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + .end local v0 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ :cond_1 │ - const/4 v2, 0x1 │ + const/4 v1, 0x1 │ │ - iput v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->rendererBuildingState:I │ + iput v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->rendererBuildingState:I │ │ .line 332 │ invoke-direct {p0}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->maybeReportPlayerState()V │ │ .line 333 │ return-void │ .end method │ @@ -1322,42 +1318,41 @@ │ .param p1, "width" # I │ .param p2, "height" # I │ .param p3, "unappliedRotationDegrees" # I │ .param p4, "pixelWidthHeightRatio" # F │ │ .prologue │ .line 419 │ - iget-object v2, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ + iget-object v1, p0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->listeners:Ljava/util/concurrent/CopyOnWriteArrayList; │ │ - invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v1 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z │ │ move-result v2 │ │ if-eqz v2, :cond_0 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + check-cast v0, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ │ .line 420 │ - .local v1, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ - invoke-interface {v1, p1, p2, p3, p4}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onVideoSizeChanged(IIIF)V │ + .local v0, "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + invoke-interface {v0, p1, p2, p3, p4}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener;->onVideoSizeChanged(IIIF)V │ │ goto :goto_0 │ │ .line 422 │ - .end local v1 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ + .end local v0 # "listener":Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer$Listener; │ :cond_0 │ return-void │ .end method │ │ .method public prepare()V │ .locals 3 ├── smali/org/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder.smali │ @@ -234,14 +234,15 @@ │ │ iget-object v3, v4, Lcom/google/android/exoplayer/smoothstreaming/SmoothStreamingManifest$ProtectionElement;->uuid:Ljava/util/UUID; │ │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 154 │ invoke-virtual {v4}, Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer;->getPlaybackLooper()Landroid/os/Looper; │ │ move-result-object v4 │ │ move-object/from16 v0, p0 │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->drmCallback:Lcom/google/android/exoplayer/drm/MediaDrmCallback; │ @@ -293,14 +294,15 @@ │ │ iget-object v5, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ const/4 v8, 0x1 │ │ const/4 v9, 0x0 │ │ + .line 164 │ invoke-static {v5, v8, v9}, Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector;->newVideoInstance(Landroid/content/Context;ZZ)Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector; │ │ move-result-object v5 │ │ new-instance v7, Lcom/google/android/exoplayer/chunk/FormatEvaluator$AdaptiveEvaluator; │ │ move-object/from16 v0, v32 │ @@ -385,14 +387,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->manifestFetcher:Lcom/google/android/exoplayer/util/ManifestFetcher; │ │ move-object/from16 v16, v0 │ │ + .line 176 │ invoke-static {}, Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector;->newAudioInstance()Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector; │ │ move-result-object v17 │ │ const/16 v19, 0x0 │ │ const-wide/16 v20, 0x7530 │ @@ -435,14 +438,15 @@ │ │ move-object/from16 v26, v0 │ │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->context:Landroid/content/Context; │ │ + .line 183 │ invoke-static {v4}, Lcom/google/android/exoplayer/audio/AudioCapabilities;->getCapabilities(Landroid/content/Context;)Lcom/google/android/exoplayer/audio/AudioCapabilities; │ │ move-result-object v27 │ │ const/16 v28, 0x3 │ │ move-object/from16 v21, v19 │ @@ -477,14 +481,15 @@ │ │ move-object/from16 v0, p0 │ │ iget-object v0, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->manifestFetcher:Lcom/google/android/exoplayer/util/ManifestFetcher; │ │ move-object/from16 v22, v0 │ │ + .line 188 │ invoke-static {}, Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector;->newTextInstance()Lcom/google/android/exoplayer/smoothstreaming/DefaultSmoothStreamingTrackSelector; │ │ move-result-object v23 │ │ const/16 v25, 0x0 │ │ const-wide/16 v26, 0x7530 │ @@ -517,14 +522,15 @@ │ .local v25, "textSampleSource":Lcom/google/android/exoplayer/chunk/ChunkSampleSource; │ new-instance v36, Lcom/google/android/exoplayer/text/TextTrackRenderer; │ │ move-object/from16 v0, p0 │ │ iget-object v4, v0, Lorg/schabi/newpipe/player/exoplayer/SmoothStreamingRendererBuilder$AsyncRendererBuilder;->player:Lorg/schabi/newpipe/player/exoplayer/NPExoPlayer; │ │ + .line 194 │ invoke-virtual {v11}, Landroid/os/Handler;->getLooper()Landroid/os/Looper; │ │ move-result-object v5 │ │ const/4 v8, 0x0 │ │ new-array v8, v8, [Lcom/google/android/exoplayer/text/SubtitleParser; ├── smali/us/shandian/giga/get/DownloadManagerImpl.smali │ @@ -150,106 +150,101 @@ │ :cond_2 │ const/4 v0, 0x0 │ │ goto :goto_0 │ .end method │ │ .method private loadMissions()V │ - .locals 13 │ + .locals 12 │ │ .prologue │ - const/4 v12, 0x1 │ + const/4 v11, 0x1 │ │ - const/4 v11, 0x0 │ + const/4 v6, 0x0 │ │ .line 68 │ - new-instance v1, Ljava/io/File; │ + new-instance v0, Ljava/io/File; │ │ - iget-object v8, p0, Lus/shandian/giga/get/DownloadManagerImpl;->mLocation:Ljava/lang/String; │ + iget-object v5, p0, Lus/shandian/giga/get/DownloadManagerImpl;->mLocation:Ljava/lang/String; │ │ - invoke-direct {v1, v8}, Ljava/io/File;->(Ljava/lang/String;)V │ + invoke-direct {v0, v5}, Ljava/io/File;->(Ljava/lang/String;)V │ │ .line 70 │ - .local v1, "f":Ljava/io/File; │ - invoke-virtual {v1}, Ljava/io/File;->exists()Z │ + .local v0, "f":Ljava/io/File; │ + invoke-virtual {v0}, Ljava/io/File;->exists()Z │ │ - move-result v8 │ + move-result v5 │ │ - if-eqz v8, :cond_4 │ + if-eqz v5, :cond_4 │ │ - invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z │ + invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z │ │ - move-result v8 │ + move-result v5 │ │ - if-eqz v8, :cond_4 │ + if-eqz v5, :cond_4 │ │ .line 71 │ - invoke-virtual {v1}, Ljava/io/File;->listFiles()[Ljava/io/File; │ + invoke-virtual {v0}, Ljava/io/File;->listFiles()[Ljava/io/File; │ │ - move-result-object v7 │ + move-result-object v4 │ │ .line 73 │ - .local v7, "subs":[Ljava/io/File; │ - move-object v0, v7 │ - │ - .local v0, "arr$":[Ljava/io/File; │ - array-length v3, v0 │ + .local v4, "subs":[Ljava/io/File; │ + array-length v7, v4 │ │ - .local v3, "len$":I │ - const/4 v2, 0x0 │ + move v5, v6 │ │ - .local v2, "i$":I │ :goto_0 │ - if-ge v2, v3, :cond_4 │ + if-ge v5, v7, :cond_4 │ │ - aget-object v6, v0, v2 │ + aget-object v3, v4, v5 │ │ .line 74 │ - .local v6, "sub":Ljava/io/File; │ - invoke-virtual {v6}, Ljava/io/File;->isDirectory()Z │ + .local v3, "sub":Ljava/io/File; │ + invoke-virtual {v3}, Ljava/io/File;->isDirectory()Z │ │ move-result v8 │ │ if-eqz v8, :cond_1 │ │ .line 73 │ :cond_0 │ :goto_1 │ - add-int/lit8 v2, v2, 0x1 │ + add-int/lit8 v5, v5, 0x1 │ │ goto :goto_0 │ │ .line 78 │ :cond_1 │ - invoke-virtual {v6}, Ljava/io/File;->getName()Ljava/lang/String; │ + invoke-virtual {v3}, Ljava/io/File;->getName()Ljava/lang/String; │ │ move-result-object v8 │ │ const-string v9, ".giga" │ │ invoke-virtual {v8, v9}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z │ │ move-result v8 │ │ if-eqz v8, :cond_3 │ │ .line 79 │ - invoke-virtual {v6}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String; │ + invoke-virtual {v3}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String; │ │ move-result-object v8 │ │ invoke-static {v8}, Lus/shandian/giga/util/Utility;->readFromFile(Ljava/lang/String;)Ljava/lang/String; │ │ - move-result-object v5 │ + move-result-object v2 │ │ .line 80 │ - .local v5, "str":Ljava/lang/String; │ - if-eqz v5, :cond_0 │ + .local v2, "str":Ljava/lang/String; │ + if-eqz v2, :cond_0 │ │ - invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String; │ + invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String; │ │ move-result-object v8 │ │ const-string v9, "" │ │ invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z │ │ @@ -260,48 +255,48 @@ │ .line 87 │ new-instance v8, Lcom/google/gson/Gson; │ │ invoke-direct {v8}, Lcom/google/gson/Gson;->()V │ │ const-class v9, Lus/shandian/giga/get/DownloadMission; │ │ - invoke-virtual {v8, v5, v9}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; │ + invoke-virtual {v8, v2, v9}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; │ │ - move-result-object v4 │ + move-result-object v1 │ │ - check-cast v4, Lus/shandian/giga/get/DownloadMission; │ + check-cast v1, Lus/shandian/giga/get/DownloadMission; │ │ .line 89 │ - .local v4, "mis":Lus/shandian/giga/get/DownloadMission; │ - iget-boolean v8, v4, Lus/shandian/giga/get/DownloadMission;->finished:Z │ + .local v1, "mis":Lus/shandian/giga/get/DownloadMission; │ + iget-boolean v8, v1, Lus/shandian/giga/get/DownloadMission;->finished:Z │ │ if-eqz v8, :cond_2 │ │ .line 90 │ - invoke-virtual {v6}, Ljava/io/File;->delete()Z │ + invoke-virtual {v3}, Ljava/io/File;->delete()Z │ │ goto :goto_1 │ │ .line 94 │ :cond_2 │ - iput-boolean v11, v4, Lus/shandian/giga/get/DownloadMission;->running:Z │ + iput-boolean v6, v1, Lus/shandian/giga/get/DownloadMission;->running:Z │ │ .line 95 │ - iput-boolean v12, v4, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ + iput-boolean v11, v1, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ │ .line 96 │ - invoke-direct {p0, v4}, Lus/shandian/giga/get/DownloadManagerImpl;->insertMission(Lus/shandian/giga/get/DownloadMission;)I │ + invoke-direct {p0, v1}, Lus/shandian/giga/get/DownloadManagerImpl;->insertMission(Lus/shandian/giga/get/DownloadMission;)I │ │ goto :goto_1 │ │ .line 98 │ - .end local v4 # "mis":Lus/shandian/giga/get/DownloadMission; │ - .end local v5 # "str":Ljava/lang/String; │ + .end local v1 # "mis":Lus/shandian/giga/get/DownloadMission; │ + .end local v2 # "str":Ljava/lang/String; │ :cond_3 │ - invoke-virtual {v6}, Ljava/io/File;->getName()Ljava/lang/String; │ + invoke-virtual {v3}, Ljava/io/File;->getName()Ljava/lang/String; │ │ move-result-object v8 │ │ const-string v9, "." │ │ invoke-virtual {v8, v9}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z │ │ @@ -311,15 +306,15 @@ │ │ new-instance v8, Ljava/io/File; │ │ new-instance v9, Ljava/lang/StringBuilder; │ │ invoke-direct {v9}, Ljava/lang/StringBuilder;->()V │ │ - invoke-virtual {v6}, Ljava/io/File;->getPath()Ljava/lang/String; │ + invoke-virtual {v3}, Ljava/io/File;->getPath()Ljava/lang/String; │ │ move-result-object v10 │ │ invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ move-result-object v9 │ │ @@ -338,68 +333,65 @@ │ invoke-virtual {v8}, Ljava/io/File;->exists()Z │ │ move-result v8 │ │ if-nez v8, :cond_0 │ │ .line 100 │ - new-instance v4, Lus/shandian/giga/get/DownloadMission; │ + new-instance v1, Lus/shandian/giga/get/DownloadMission; │ │ - invoke-direct {v4}, Lus/shandian/giga/get/DownloadMission;->()V │ + invoke-direct {v1}, Lus/shandian/giga/get/DownloadMission;->()V │ │ .line 101 │ - .restart local v4 # "mis":Lus/shandian/giga/get/DownloadMission; │ - invoke-virtual {v6}, Ljava/io/File;->length()J │ + .restart local v1 # "mis":Lus/shandian/giga/get/DownloadMission; │ + invoke-virtual {v3}, Ljava/io/File;->length()J │ │ move-result-wide v8 │ │ - iput-wide v8, v4, Lus/shandian/giga/get/DownloadMission;->length:J │ + iput-wide v8, v1, Lus/shandian/giga/get/DownloadMission;->length:J │ │ .line 102 │ - iget-wide v8, v4, Lus/shandian/giga/get/DownloadMission;->length:J │ + iget-wide v8, v1, Lus/shandian/giga/get/DownloadMission;->length:J │ │ - iput-wide v8, v4, Lus/shandian/giga/get/DownloadMission;->done:J │ + iput-wide v8, v1, Lus/shandian/giga/get/DownloadMission;->done:J │ │ .line 103 │ - iput-boolean v12, v4, Lus/shandian/giga/get/DownloadMission;->finished:Z │ + iput-boolean v11, v1, Lus/shandian/giga/get/DownloadMission;->finished:Z │ │ .line 104 │ - iput-boolean v11, v4, Lus/shandian/giga/get/DownloadMission;->running:Z │ + iput-boolean v6, v1, Lus/shandian/giga/get/DownloadMission;->running:Z │ │ .line 105 │ - invoke-virtual {v6}, Ljava/io/File;->getName()Ljava/lang/String; │ + invoke-virtual {v3}, Ljava/io/File;->getName()Ljava/lang/String; │ │ move-result-object v8 │ │ - iput-object v8, v4, Lus/shandian/giga/get/DownloadMission;->name:Ljava/lang/String; │ + iput-object v8, v1, Lus/shandian/giga/get/DownloadMission;->name:Ljava/lang/String; │ │ .line 106 │ iget-object v8, p0, Lus/shandian/giga/get/DownloadManagerImpl;->mLocation:Ljava/lang/String; │ │ - iput-object v8, v4, Lus/shandian/giga/get/DownloadMission;->location:Ljava/lang/String; │ + iput-object v8, v1, Lus/shandian/giga/get/DownloadMission;->location:Ljava/lang/String; │ │ .line 107 │ - invoke-virtual {v6}, Ljava/io/File;->lastModified()J │ + invoke-virtual {v3}, Ljava/io/File;->lastModified()J │ │ move-result-wide v8 │ │ - iput-wide v8, v4, Lus/shandian/giga/get/DownloadMission;->timestamp:J │ + iput-wide v8, v1, Lus/shandian/giga/get/DownloadMission;->timestamp:J │ │ .line 108 │ - invoke-direct {p0, v4}, Lus/shandian/giga/get/DownloadManagerImpl;->insertMission(Lus/shandian/giga/get/DownloadMission;)I │ + invoke-direct {p0, v1}, Lus/shandian/giga/get/DownloadManagerImpl;->insertMission(Lus/shandian/giga/get/DownloadMission;)I │ │ goto/16 :goto_1 │ │ .line 112 │ - .end local v0 # "arr$":[Ljava/io/File; │ - .end local v2 # "i$":I │ - .end local v3 # "len$":I │ - .end local v4 # "mis":Lus/shandian/giga/get/DownloadMission; │ - .end local v6 # "sub":Ljava/io/File; │ - .end local v7 # "subs":[Ljava/io/File; │ + .end local v1 # "mis":Lus/shandian/giga/get/DownloadMission; │ + .end local v3 # "sub":Ljava/io/File; │ + .end local v4 # "subs":[Ljava/io/File; │ :cond_4 │ return-void │ .end method │ │ │ # virtual methods │ .method public deleteMission(I)V ├── smali/us/shandian/giga/get/DownloadMission$1.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/get/DownloadMission; │ │ .prologue │ .line 93 │ iput-object p1, p0, Lus/shandian/giga/get/DownloadMission$1;->this$0:Lus/shandian/giga/get/DownloadMission; │ │ iput-object p2, p0, Lus/shandian/giga/get/DownloadMission$1;->val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; ├── smali/us/shandian/giga/get/DownloadMission$2.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/get/DownloadMission; │ │ .prologue │ .line 128 │ iput-object p1, p0, Lus/shandian/giga/get/DownloadMission$2;->this$0:Lus/shandian/giga/get/DownloadMission; │ │ iput-object p2, p0, Lus/shandian/giga/get/DownloadMission$2;->val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; ├── smali/us/shandian/giga/get/DownloadMission$3.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/get/DownloadMission; │ │ .prologue │ .line 145 │ iput-object p1, p0, Lus/shandian/giga/get/DownloadMission$3;->this$0:Lus/shandian/giga/get/DownloadMission; │ │ iput-object p2, p0, Lus/shandian/giga/get/DownloadMission$3;->val$listener:Lus/shandian/giga/get/DownloadMission$MissionListener; ├── smali/us/shandian/giga/get/DownloadMission$4.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lus/shandian/giga/get/DownloadMission; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/get/DownloadMission;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/get/DownloadMission; │ │ .prologue │ .line 210 │ iput-object p1, p0, Lus/shandian/giga/get/DownloadMission$4;->this$0:Lus/shandian/giga/get/DownloadMission; │ │ invoke-direct {p0}, Ljava/lang/Thread;->()V ├── smali/us/shandian/giga/get/DownloadMission.smali │ @@ -335,84 +335,83 @@ │ .end method │ │ .method private onFinish()V │ .locals 5 │ │ .prologue │ .line 114 │ - iget v3, p0, Lus/shandian/giga/get/DownloadMission;->errCode:I │ + iget v2, p0, Lus/shandian/giga/get/DownloadMission;->errCode:I │ │ - if-lez v3, :cond_1 │ + if-lez v2, :cond_1 │ │ .line 136 │ :cond_0 │ return-void │ │ .line 120 │ :cond_1 │ - const/4 v3, 0x0 │ + const/4 v2, 0x0 │ │ - iput-boolean v3, p0, Lus/shandian/giga/get/DownloadMission;->running:Z │ + iput-boolean v2, p0, Lus/shandian/giga/get/DownloadMission;->running:Z │ │ .line 121 │ - const/4 v3, 0x1 │ + const/4 v2, 0x1 │ │ - iput-boolean v3, p0, Lus/shandian/giga/get/DownloadMission;->finished:Z │ + iput-boolean v2, p0, Lus/shandian/giga/get/DownloadMission;->finished:Z │ │ .line 123 │ invoke-direct {p0}, Lus/shandian/giga/get/DownloadMission;->deleteThisFromFile()V │ │ .line 125 │ - iget-object v3, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ + iget-object v2, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ │ - invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v3 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :cond_2 │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ - move-result v3 │ + move-result v2 │ │ - if-eqz v3, :cond_0 │ + if-eqz v2, :cond_0 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - check-cast v2, Ljava/lang/ref/WeakReference; │ + check-cast v1, Ljava/lang/ref/WeakReference; │ │ .line 126 │ - .local v2, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ - invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ + .local v1, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ + invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lus/shandian/giga/get/DownloadMission$MissionListener; │ + check-cast v0, Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ .line 127 │ - .local v1, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ - if-eqz v1, :cond_2 │ + .local v0, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ + if-eqz v0, :cond_2 │ │ .line 128 │ - sget-object v3, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ + sget-object v2, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ │ - invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-virtual {v2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Landroid/os/Handler; │ + check-cast v2, Landroid/os/Handler; │ │ new-instance v4, Lus/shandian/giga/get/DownloadMission$2; │ │ - invoke-direct {v4, p0, v1}, Lus/shandian/giga/get/DownloadMission$2;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ + invoke-direct {v4, p0, v0}, Lus/shandian/giga/get/DownloadMission$2;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ │ - invoke-virtual {v3, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ + invoke-virtual {v2, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ │ goto :goto_0 │ .end method │ │ │ # virtual methods │ .method public declared-synchronized addListener(Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ @@ -583,75 +582,72 @@ │ :try_start_0 │ iput p1, p0, Lus/shandian/giga/get/DownloadMission;->errCode:I │ │ .line 141 │ invoke-virtual {p0}, Lus/shandian/giga/get/DownloadMission;->writeThisToFile()V │ │ .line 143 │ - iget-object v3, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ + iget-object v2, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ │ - invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v3 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ - move-result v3 │ + move-result v2 │ │ - if-eqz v3, :cond_0 │ + if-eqz v2, :cond_0 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - check-cast v2, Ljava/lang/ref/WeakReference; │ + check-cast v1, Ljava/lang/ref/WeakReference; │ │ .line 144 │ - .local v2, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ - invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ + .local v1, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ + invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lus/shandian/giga/get/DownloadMission$MissionListener; │ + check-cast v0, Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ .line 145 │ - .local v1, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ - sget-object v3, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ + .local v0, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ + sget-object v2, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ │ - invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-virtual {v2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Landroid/os/Handler; │ + check-cast v2, Landroid/os/Handler; │ │ new-instance v4, Lus/shandian/giga/get/DownloadMission$3; │ │ - invoke-direct {v4, p0, v1}, Lus/shandian/giga/get/DownloadMission$3;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ + invoke-direct {v4, p0, v0}, Lus/shandian/giga/get/DownloadMission$3;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ │ - invoke-virtual {v3, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ + invoke-virtual {v2, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ :try_end_0 │ .catchall {:try_start_0 .. :try_end_0} :catchall_0 │ │ goto :goto_0 │ │ .line 139 │ - .end local v0 # "i$":Ljava/util/Iterator; │ - .end local v1 # "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ - .end local v2 # "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ + .end local v0 # "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ + .end local v1 # "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ :catchall_0 │ - move-exception v3 │ + move-exception v2 │ │ monitor-exit p0 │ │ - throw v3 │ + throw v2 │ │ .line 152 │ - .restart local v0 # "i$":Ljava/util/Iterator; │ :cond_0 │ monitor-exit p0 │ │ return-void │ .end method │ │ .method public declared-synchronized notifyFinished()V │ @@ -704,145 +700,143 @@ │ │ monitor-exit p0 │ │ throw v0 │ .end method │ │ .method public declared-synchronized notifyProgress(J)V │ - .locals 9 │ + .locals 7 │ .param p1, "deltaLen" # J │ │ .prologue │ .line 74 │ monitor-enter p0 │ │ :try_start_0 │ - iget-boolean v3, p0, Lus/shandian/giga/get/DownloadMission;->running:Z │ + iget-boolean v2, p0, Lus/shandian/giga/get/DownloadMission;->running:Z │ :try_end_0 │ .catchall {:try_start_0 .. :try_end_0} :catchall_0 │ │ - if-nez v3, :cond_1 │ + if-nez v2, :cond_1 │ │ .line 101 │ :cond_0 │ monitor-exit p0 │ │ return-void │ │ .line 76 │ :cond_1 │ :try_start_1 │ - iget-boolean v3, p0, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ + iget-boolean v2, p0, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ │ - if-eqz v3, :cond_2 │ + if-eqz v2, :cond_2 │ │ .line 77 │ - const/4 v3, 0x0 │ + const/4 v2, 0x0 │ │ - iput-boolean v3, p0, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ + iput-boolean v2, p0, Lus/shandian/giga/get/DownloadMission;->recovered:Z │ │ .line 80 │ :cond_2 │ - iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ + iget-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ │ - add-long/2addr v4, p1 │ + add-long/2addr v2, p1 │ │ - iput-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ + iput-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ │ .line 82 │ - iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ + iget-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ │ - iget-wide v6, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ + iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ │ - cmp-long v3, v4, v6 │ + cmp-long v2, v2, v4 │ │ - if-lez v3, :cond_3 │ + if-lez v2, :cond_3 │ │ .line 83 │ - iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ + iget-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ │ - iput-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ + iput-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ │ .line 86 │ :cond_3 │ - iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ + iget-wide v2, p0, Lus/shandian/giga/get/DownloadMission;->done:J │ │ - iget-wide v6, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ + iget-wide v4, p0, Lus/shandian/giga/get/DownloadMission;->length:J │ │ - cmp-long v3, v4, v6 │ + cmp-long v2, v2, v4 │ │ - if-eqz v3, :cond_4 │ + if-eqz v2, :cond_4 │ │ .line 87 │ invoke-virtual {p0}, Lus/shandian/giga/get/DownloadMission;->writeThisToFile()V │ │ .line 90 │ :cond_4 │ - iget-object v3, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ + iget-object v2, p0, Lus/shandian/giga/get/DownloadMission;->mListeners:Ljava/util/ArrayList; │ │ - invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ + invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; │ │ - move-result-object v0 │ + move-result-object v3 │ │ - .local v0, "i$":Ljava/util/Iterator; │ :cond_5 │ :goto_0 │ - invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z │ + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z │ │ - move-result v3 │ + move-result v2 │ │ - if-eqz v3, :cond_0 │ + if-eqz v2, :cond_0 │ │ - invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; │ │ - move-result-object v2 │ + move-result-object v1 │ │ - check-cast v2, Ljava/lang/ref/WeakReference; │ + check-cast v1, Ljava/lang/ref/WeakReference; │ │ .line 91 │ - .local v2, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ - invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ + .local v1, "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ + invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object; │ │ - move-result-object v1 │ + move-result-object v0 │ │ - check-cast v1, Lus/shandian/giga/get/DownloadMission$MissionListener; │ + check-cast v0, Lus/shandian/giga/get/DownloadMission$MissionListener; │ │ .line 92 │ - .local v1, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ - if-eqz v1, :cond_5 │ + .local v0, "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ + if-eqz v0, :cond_5 │ │ .line 93 │ - sget-object v3, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ + sget-object v2, Lus/shandian/giga/get/DownloadMission$MissionListener;->handlerStore:Ljava/util/HashMap; │ │ - invoke-virtual {v3, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ + invoke-virtual {v2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; │ │ - move-result-object v3 │ + move-result-object v2 │ │ - check-cast v3, Landroid/os/Handler; │ + check-cast v2, Landroid/os/Handler; │ │ new-instance v4, Lus/shandian/giga/get/DownloadMission$1; │ │ - invoke-direct {v4, p0, v1}, Lus/shandian/giga/get/DownloadMission$1;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ + invoke-direct {v4, p0, v0}, Lus/shandian/giga/get/DownloadMission$1;->(Lus/shandian/giga/get/DownloadMission;Lus/shandian/giga/get/DownloadMission$MissionListener;)V │ │ - invoke-virtual {v3, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ + invoke-virtual {v2, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z │ :try_end_1 │ .catchall {:try_start_1 .. :try_end_1} :catchall_0 │ │ goto :goto_0 │ │ .line 74 │ - .end local v0 # "i$":Ljava/util/Iterator; │ - .end local v1 # "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ - .end local v2 # "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ + .end local v0 # "listener":Lus/shandian/giga/get/DownloadMission$MissionListener; │ + .end local v1 # "ref":Ljava/lang/ref/WeakReference;, "Ljava/lang/ref/WeakReference;" │ :catchall_0 │ - move-exception v3 │ + move-exception v2 │ │ monitor-exit p0 │ │ - throw v3 │ + throw v2 │ .end method │ │ .method public pause()V │ .locals 1 │ │ .prologue │ .line 193 │ @@ -1111,13 +1105,14 @@ │ iput-boolean v0, p0, Lus/shandian/giga/get/DownloadMission;->mWritingToFile:Z │ │ .line 210 │ new-instance v0, Lus/shandian/giga/get/DownloadMission$4; │ │ invoke-direct {v0, p0}, Lus/shandian/giga/get/DownloadMission$4;->(Lus/shandian/giga/get/DownloadMission;)V │ │ + .line 216 │ invoke-virtual {v0}, Lus/shandian/giga/get/DownloadMission$4;->start()V │ │ .line 218 │ :cond_0 │ return-void │ .end method ├── smali/us/shandian/giga/service/DownloadManagerService$1.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lus/shandian/giga/service/DownloadManagerService; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/service/DownloadManagerService;Landroid/os/Looper;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/service/DownloadManagerService; │ .param p2, "x0" # Landroid/os/Looper; │ │ .prologue │ .line 83 │ iput-object p1, p0, Lus/shandian/giga/service/DownloadManagerService$1;->this$0:Lus/shandian/giga/service/DownloadManagerService; │ │ invoke-direct {p0, p2}, Landroid/os/Handler;->(Landroid/os/Looper;)V ├── smali/us/shandian/giga/service/DownloadManagerService$DMBinder.smali │ @@ -17,14 +17,15 @@ │ # instance fields │ .field final synthetic this$0:Lus/shandian/giga/service/DownloadManagerService; │ │ │ # direct methods │ .method public constructor (Lus/shandian/giga/service/DownloadManagerService;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/service/DownloadManagerService; │ │ .prologue │ .line 169 │ iput-object p1, p0, Lus/shandian/giga/service/DownloadManagerService$DMBinder;->this$0:Lus/shandian/giga/service/DownloadManagerService; │ │ invoke-direct {p0}, Landroid/os/Binder;->()V ├── smali/us/shandian/giga/service/DownloadManagerService.smali │ @@ -57,15 +57,14 @@ │ .line 34 │ invoke-static {}, Ljava/lang/System;->currentTimeMillis()J │ │ move-result-wide v0 │ │ iput-wide v0, p0, Lus/shandian/giga/service/DownloadManagerService;->mLastTimeStamp:J │ │ - .line 169 │ return-void │ .end method │ │ .method static synthetic access$000(Lus/shandian/giga/service/DownloadManagerService;)Lus/shandian/giga/get/DownloadManager; │ .locals 1 │ .param p0, "x0" # Lus/shandian/giga/service/DownloadManagerService; │ │ @@ -220,51 +219,56 @@ │ │ .line 60 │ .local v2, "icon":Landroid/graphics/drawable/Drawable; │ new-instance v6, Landroid/support/v4/app/NotificationCompat$Builder; │ │ invoke-direct {v6, p0}, Landroid/support/v4/app/NotificationCompat$Builder;->(Landroid/content/Context;)V │ │ + .line 61 │ invoke-static {p0, v8, v1, v8}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; │ │ move-result-object v7 │ │ invoke-virtual {v6, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v6 │ │ const v7, 0x1080081 │ │ + .line 62 │ invoke-virtual {v6, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v6 │ │ check-cast v2, Landroid/graphics/drawable/BitmapDrawable; │ │ + .line 63 │ .end local v2 # "icon":Landroid/graphics/drawable/Drawable; │ invoke-virtual {v2}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap; │ │ move-result-object v7 │ │ invoke-virtual {v6, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setLargeIcon(Landroid/graphics/Bitmap;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v6 │ │ const v7, 0x7f0700b2 │ │ + .line 64 │ invoke-virtual {p0, v7}, Lus/shandian/giga/service/DownloadManagerService;->getString(I)Ljava/lang/String; │ │ move-result-object v7 │ │ invoke-virtual {v6, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v6 │ │ const v7, 0x7f0700b3 │ │ + .line 65 │ invoke-virtual {p0, v7}, Lus/shandian/giga/service/DownloadManagerService;->getString(I)Ljava/lang/String; │ │ move-result-object v7 │ │ invoke-virtual {v6, v7}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; │ │ move-result-object v0 │ @@ -275,20 +279,22 @@ │ │ const-class v7, Lorg/schabi/newpipe/download/MainActivity; │ │ invoke-direct {v6, p0, v7}, Landroid/content/Intent;->(Landroid/content/Context;Ljava/lang/Class;)V │ │ const-string v7, "us.shandian.giga.intent.LIST" │ │ + .line 72 │ invoke-virtual {v6, v7}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent; │ │ move-result-object v6 │ │ const/high16 v7, 0x8000000 │ │ + .line 68 │ invoke-static {p0, v8, v6, v7}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; │ │ move-result-object v4 │ │ .line 76 │ .local v4, "pendingIntent":Landroid/app/PendingIntent; │ invoke-virtual {v0, v4}, Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; ├── smali/us/shandian/giga/ui/adapter/MissionAdapter$1.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$h:Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/ui/adapter/MissionAdapter;Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/ui/adapter/MissionAdapter; │ │ .prologue │ .line 60 │ iput-object p1, p0, Lus/shandian/giga/ui/adapter/MissionAdapter$1;->this$0:Lus/shandian/giga/ui/adapter/MissionAdapter; │ │ iput-object p2, p0, Lus/shandian/giga/ui/adapter/MissionAdapter$1;->val$h:Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder; ├── smali/us/shandian/giga/ui/adapter/MissionAdapter$2.smali │ @@ -22,14 +22,15 @@ │ │ .field final synthetic val$h:Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/ui/adapter/MissionAdapter;Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/ui/adapter/MissionAdapter; │ │ .prologue │ .line 199 │ iput-object p1, p0, Lus/shandian/giga/ui/adapter/MissionAdapter$2;->this$0:Lus/shandian/giga/ui/adapter/MissionAdapter; │ │ iput-object p2, p0, Lus/shandian/giga/ui/adapter/MissionAdapter$2;->val$h:Lus/shandian/giga/ui/adapter/MissionAdapter$ViewHolder; ├── smali/us/shandian/giga/ui/fragment/MissionsFragment$1.smali │ @@ -20,14 +20,15 @@ │ # instance fields │ .field final synthetic this$0:Lus/shandian/giga/ui/fragment/MissionsFragment; │ │ │ # direct methods │ .method constructor (Lus/shandian/giga/ui/fragment/MissionsFragment;)V │ .locals 0 │ + .param p1, "this$0" # Lus/shandian/giga/ui/fragment/MissionsFragment; │ │ .prologue │ .line 44 │ iput-object p1, p0, Lus/shandian/giga/ui/fragment/MissionsFragment$1;->this$0:Lus/shandian/giga/ui/fragment/MissionsFragment; │ │ invoke-direct {p0}, Ljava/lang/Object;->()V ├── smali/us/shandian/giga/util/Utility.smali │ @@ -2,201 +2,188 @@ │ .super Ljava/lang/Object; │ .source "Utility.java" │ │ │ # annotations │ .annotation system Ldalvik/annotation/MemberClasses; │ value = { │ - Lus/shandian/giga/util/Utility$1;, │ Lus/shandian/giga/util/Utility$FileType; │ } │ .end annotation │ │ │ # direct methods │ .method public constructor ()V │ .locals 0 │ │ .prologue │ .line 27 │ invoke-direct {p0}, Ljava/lang/Object;->()V │ │ - .line 30 │ return-void │ .end method │ │ .method public static checksum(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; │ - .locals 13 │ + .locals 12 │ .param p0, "path" # Ljava/lang/String; │ .param p1, "algorithm" # Ljava/lang/String; │ │ .prologue │ + const/4 v8, 0x0 │ + │ .line 235 │ - const/4 v9, 0x0 │ + const/4 v6, 0x0 │ │ .line 238 │ - .local v9, "md":Ljava/security/MessageDigest; │ + .local v6, "md":Ljava/security/MessageDigest; │ :try_start_0 │ invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest; │ :try_end_0 │ .catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_1 │ │ - move-result-object v9 │ + move-result-object v6 │ │ .line 243 │ - const/4 v5, 0x0 │ + const/4 v4, 0x0 │ │ .line 246 │ - .local v5, "i":Ljava/io/FileInputStream; │ + .local v4, "i":Ljava/io/FileInputStream; │ :try_start_1 │ - new-instance v5, Ljava/io/FileInputStream; │ + new-instance v4, Ljava/io/FileInputStream; │ │ - .end local v5 # "i":Ljava/io/FileInputStream; │ - invoke-direct {v5, p0}, Ljava/io/FileInputStream;->(Ljava/lang/String;)V │ + .end local v4 # "i":Ljava/io/FileInputStream; │ + invoke-direct {v4, p0}, Ljava/io/FileInputStream;->(Ljava/lang/String;)V │ :try_end_1 │ .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_2 │ │ .line 251 │ - .restart local v5 # "i":Ljava/io/FileInputStream; │ - const/16 v11, 0x400 │ + .restart local v4 # "i":Ljava/io/FileInputStream; │ + const/16 v9, 0x400 │ │ - new-array v2, v11, [B │ + new-array v1, v9, [B │ │ .line 252 │ - .local v2, "buf":[B │ - const/4 v7, 0x0 │ + .local v1, "buf":[B │ + const/4 v5, 0x0 │ │ .line 255 │ - .local v7, "len":I │ + .local v5, "len":I │ :goto_0 │ :try_start_2 │ - invoke-virtual {v5, v2}, Ljava/io/FileInputStream;->read([B)I │ + invoke-virtual {v4, v1}, Ljava/io/FileInputStream;->read([B)I │ │ - move-result v7 │ + move-result v5 │ │ - const/4 v11, -0x1 │ + const/4 v9, -0x1 │ │ - if-eq v7, v11, :cond_0 │ + if-eq v5, v9, :cond_0 │ │ .line 256 │ - const/4 v11, 0x0 │ + const/4 v9, 0x0 │ │ - invoke-virtual {v9, v2, v11, v7}, Ljava/security/MessageDigest;->update([BII)V │ + invoke-virtual {v6, v1, v9, v5}, Ljava/security/MessageDigest;->update([BII)V │ :try_end_2 │ .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0 │ │ goto :goto_0 │ │ .line 258 │ :catch_0 │ - move-exception v11 │ + move-exception v9 │ │ .line 262 │ :cond_0 │ - invoke-virtual {v9}, Ljava/security/MessageDigest;->digest()[B │ + invoke-virtual {v6}, Ljava/security/MessageDigest;->digest()[B │ │ - move-result-object v3 │ + move-result-object v2 │ │ .line 265 │ - .local v3, "digest":[B │ - new-instance v10, Ljava/lang/StringBuilder; │ + .local v2, "digest":[B │ + new-instance v7, Ljava/lang/StringBuilder; │ │ - invoke-direct {v10}, Ljava/lang/StringBuilder;->()V │ + invoke-direct {v7}, Ljava/lang/StringBuilder;->()V │ │ .line 266 │ - .local v10, "sb":Ljava/lang/StringBuilder; │ - move-object v0, v3 │ - │ - .local v0, "arr$":[B │ - array-length v8, v0 │ - │ - .local v8, "len$":I │ - const/4 v6, 0x0 │ + .local v7, "sb":Ljava/lang/StringBuilder; │ + array-length v9, v2 │ │ - .local v6, "i$":I │ :goto_1 │ - if-ge v6, v8, :cond_1 │ + if-ge v8, v9, :cond_1 │ │ - aget-byte v1, v0, v6 │ + aget-byte v0, v2, v8 │ │ .line 267 │ - .local v1, "b":B │ - and-int/lit16 v11, v1, 0xff │ + .local v0, "b":B │ + and-int/lit16 v10, v0, 0xff │ │ - add-int/lit16 v11, v11, 0x100 │ + add-int/lit16 v10, v10, 0x100 │ │ - const/16 v12, 0x10 │ + const/16 v11, 0x10 │ │ - invoke-static {v11, v12}, Ljava/lang/Integer;->toString(II)Ljava/lang/String; │ + invoke-static {v10, v11}, Ljava/lang/Integer;->toString(II)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v10 │ │ - const/4 v12, 0x1 │ + const/4 v11, 0x1 │ │ - invoke-virtual {v11, v12}, Ljava/lang/String;->substring(I)Ljava/lang/String; │ + invoke-virtual {v10, v11}, Ljava/lang/String;->substring(I)Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v10 │ │ - invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ + invoke-virtual {v7, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; │ │ .line 266 │ - add-int/lit8 v6, v6, 0x1 │ + add-int/lit8 v8, v8, 0x1 │ │ goto :goto_1 │ │ .line 239 │ - .end local v0 # "arr$":[B │ - .end local v1 # "b":B │ - .end local v2 # "buf":[B │ - .end local v3 # "digest":[B │ - .end local v5 # "i":Ljava/io/FileInputStream; │ - .end local v6 # "i$":I │ - .end local v7 # "len":I │ - .end local v8 # "len$":I │ - .end local v10 # "sb":Ljava/lang/StringBuilder; │ + .end local v0 # "b":B │ + .end local v1 # "buf":[B │ + .end local v2 # "digest":[B │ + .end local v4 # "i":Ljava/io/FileInputStream; │ + .end local v5 # "len":I │ + .end local v7 # "sb":Ljava/lang/StringBuilder; │ :catch_1 │ - move-exception v4 │ + move-exception v3 │ │ .line 240 │ - .local v4, "e":Ljava/security/NoSuchAlgorithmException; │ - new-instance v11, Ljava/lang/RuntimeException; │ + .local v3, "e":Ljava/security/NoSuchAlgorithmException; │ + new-instance v8, Ljava/lang/RuntimeException; │ │ - invoke-direct {v11, v4}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V │ + invoke-direct {v8, v3}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V │ │ - throw v11 │ + throw v8 │ │ .line 247 │ - .end local v4 # "e":Ljava/security/NoSuchAlgorithmException; │ + .end local v3 # "e":Ljava/security/NoSuchAlgorithmException; │ :catch_2 │ - move-exception v4 │ + move-exception v3 │ │ .line 248 │ - .local v4, "e":Ljava/io/FileNotFoundException; │ - new-instance v11, Ljava/lang/RuntimeException; │ + .local v3, "e":Ljava/io/FileNotFoundException; │ + new-instance v8, Ljava/lang/RuntimeException; │ │ - invoke-direct {v11, v4}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V │ + invoke-direct {v8, v3}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V │ │ - throw v11 │ + throw v8 │ │ .line 270 │ - .end local v4 # "e":Ljava/io/FileNotFoundException; │ - .restart local v0 # "arr$":[B │ - .restart local v2 # "buf":[B │ - .restart local v3 # "digest":[B │ - .restart local v5 # "i":Ljava/io/FileInputStream; │ - .restart local v6 # "i$":I │ - .restart local v7 # "len":I │ - .restart local v8 # "len$":I │ - .restart local v10 # "sb":Ljava/lang/StringBuilder; │ + .end local v3 # "e":Ljava/io/FileNotFoundException; │ + .restart local v1 # "buf":[B │ + .restart local v2 # "digest":[B │ + .restart local v4 # "i":Ljava/io/FileInputStream; │ + .restart local v5 # "len":I │ + .restart local v7 # "sb":Ljava/lang/StringBuilder; │ :cond_1 │ - invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ + invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; │ │ - move-result-object v11 │ + move-result-object v8 │ │ - return-object v11 │ + return-object v8 │ .end method │ │ .method public static copyToClipboard(Landroid/content/Context;Ljava/lang/String;)V │ .locals 3 │ .param p0, "context" # Landroid/content/Context; │ .param p1, "str" # Ljava/lang/String; │ │ @@ -767,14 +754,15 @@ │ │ move-result v0 │ │ if-nez v0, :cond_3 │ │ const-string v0, ".flv" │ │ + .line 151 │ invoke-virtual {p0, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z │ │ move-result v0 │ │ if-nez v0, :cond_3 │ │ const-string v0, ".webp" │ @@ -903,14 +891,15 @@ │ │ move-result v0 │ │ if-nez v0, :cond_b │ │ const-string v0, "tar" │ │ + .line 160 │ invoke-virtual {p0, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z │ │ move-result v0 │ │ if-nez v0, :cond_b │ │ const-string v0, ".bz"