Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.Activity
* android.content.ActivityNotFoundException
* android.content.Context
* android.content.Intent
* android.content.SharedPreferences
* android.content.SharedPreferences$Editor
* android.media.AsyncPlayer
* android.net.Uri
* android.os.Build
* android.os.Build$VERSION
* android.os.Bundle
* android.support.v4.app.DialogFragment
* android.support.v4.app.FragmentActivity
* android.view.ContextMenu
* android.view.ContextMenu$ContextMenuInfo
* android.view.LayoutInflater
* android.view.MenuItem
* android.view.View
* android.view.View$OnClickListener
* android.view.ViewGroup
* android.view.animation.AlphaAnimation
* android.view.animation.Animation
* android.view.animation.Animation$AnimationListener
* android.view.animation.AnimationSet
* android.view.animation.ScaleAnimation
* android.view.animation.TranslateAnimation
* android.widget.AbsListView
* android.widget.AbsListView$OnScrollListener
* android.widget.AdapterView
* android.widget.AdapterView$AdapterContextMenuInfo
* android.widget.AdapterView$OnItemClickListener
* android.widget.Filter
* android.widget.ListAdapter
* android.widget.ListView
* android.widget.TextView
* com.actionbarsherlock.app.SherlockListFragment
* com.actionbarsherlock.view.Menu
* com.actionbarsherlock.view.MenuInflater
* com.actionbarsherlock.view.MenuItem
* com.whatsapp.App
* com.whatsapp.a9h
* com.whatsapp.ac_
* com.whatsapp.ae5
* com.whatsapp.as4
* com.whatsapp.avt
* com.whatsapp.awn
* com.whatsapp.ayo
* com.whatsapp.az
* com.whatsapp.bn
* com.whatsapp.dy
* com.whatsapp.h9
* com.whatsapp.kw
* com.whatsapp.l3
* com.whatsapp.m8
* com.whatsapp.notification.p
* com.whatsapp.pa
* com.whatsapp.protocol.ad
* com.whatsapp.py
* com.whatsapp.si
* com.whatsapp.util.Log
* com.whatsapp.util.r
* com.whatsapp.util.undobar.UndoBarController
* com.whatsapp.xm
* com.whatsapp.zg
*/
package com.whatsapp;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.AsyncPlayer;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentActivity;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.ScaleAnimation;
import android.view.animation.TranslateAnimation;
import android.widget.AbsListView;
import android.widget.AdapterView;
import android.widget.Filter;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.actionbarsherlock.app.SherlockListFragment;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
import com.whatsapp.App;
import com.whatsapp.Conversation;
import com.whatsapp.a9f;
import com.whatsapp.a9h;
import com.whatsapp.ac_;
import com.whatsapp.ae5;
import com.whatsapp.as4;
import com.whatsapp.avt;
import com.whatsapp.awn;
import com.whatsapp.ayo;
import com.whatsapp.az;
import com.whatsapp.bn;
import com.whatsapp.dy;
import com.whatsapp.h9;
import com.whatsapp.kw;
import com.whatsapp.l3;
import com.whatsapp.m8;
import com.whatsapp.notification.p;
import com.whatsapp.pa;
import com.whatsapp.protocol.ad;
import com.whatsapp.py;
import com.whatsapp.q2;
import com.whatsapp.si;
import com.whatsapp.sl;
import com.whatsapp.util.Log;
import com.whatsapp.util.r;
import com.whatsapp.util.undobar.UndoBarController;
import com.whatsapp.xm;
import com.whatsapp.zg;
import java.util.ArrayList;
import java.util.Collection;
/*
* Duplicate member names - consider using --renamedupmembers true
*/
public class ConversationsFragment
extends SherlockListFragment
implements pa,
ac_,
ayo {
private static final String[] z;
private int b;
private avt c = null;
private ListView d;
private String e;
private String f;
private m8 g;
private ae5 h = new ae5();
TextView i;
private ArrayList j;
TextView k;
/*
* Enabled aggressive block sorting
*/
static {
String[] arrstring = new String[28];
String string = "yx\u0019+;xB\u0016&.iB\u0016!:si";
int n = -1;
String[] arrstring2 = arrstring;
int n2 = 0;
block35 : do {
char[] arrc = string.toCharArray();
int n3 = arrc.length;
int n4 = 0;
do {
int n5;
if (n3 <= n4) {
String string2 = new String(arrc).intern();
switch (n) {
default: {
arrstring2[n2] = string2;
string = "~r\u0018`8u|\u0001=.mm*>=x{\u0010<*s~\u0010=";
n2 = 1;
arrstring2 = arrstring;
n = 0;
continue block35;
}
case 0: {
arrstring2[n2] = string2;
string = "mu\u001a *";
n2 = 2;
arrstring2 = arrstring;
n = 1;
continue block35;
}
case 1: {
arrstring2[n2] = string2;
string = "mu\u001a *Bi\f>*";
n2 = 3;
arrstring2 = arrstring;
n = 2;
continue block35;
}
case 2: {
arrstring2[n2] = string2;
string = "mu\u001a *";
n2 = 4;
arrstring2 = arrstring;
n = 3;
continue block35;
}
case 3: {
arrstring2[n2] = string2;
n2 = 5;
arrstring2 = arrstring;
string = "|s\u0011< ty['!ix\u001b:a|~\u0001' s3<\u0000\u001cXO!\u0011\u0000OB0\n\u0006I";
n = 4;
continue block35;
}
case 4: {
arrstring2[n2] = string2;
n2 = 6;
string = "~r\u001b8*on\u0014:&rs\u0006a,rs\u0001+7i=\u00067<ix\u0018n,rs\u0001/,i=\u0019'<i=\u0016!:qyU i=\u0013!:sy";
n = 5;
arrstring2 = arrstring;
continue block35;
}
case 5: {
arrstring2[n2] = string2;
n2 = 7;
string = "ks\u0011`.sy\u0007!&y3\u0016;=nr\u0007`&ix\u0018a,rs\u0001/,i";
n = 6;
arrstring2 = arrstring;
continue block35;
}
case 6: {
arrstring2[n2] = string2;
n2 = 8;
string = "~r\u001b8*on\u0014:&rs\u0006a+xq\u0010:*2z\u0007!:m'";
n = 7;
arrstring2 = arrstring;
continue block35;
}
case 7: {
arrstring2[n2] = string2;
n2 = 9;
string = "|s\u0011< ty['!ix\u001b:a|~\u0001' s3<\u0000\u001cXO!";
n = 8;
arrstring2 = arrstring;
continue block35;
}
case 8: {
arrstring2[n2] = string2;
n2 = 10;
string = "zo\u001a;?Bs\u001a:&~x5:*pm";
n = 9;
arrstring2 = arrstring;
continue block35;
}
case 9: {
arrstring2[n2] = string2;
n2 = 11;
string = "~r\u001b8*on\u0014:&rs\u0006a,ox\u0014:*";
n = 10;
arrstring2 = arrstring;
continue block35;
}
case 10: {
arrstring2[n2] = string2;
n2 = 12;
string = "Qr\u001b)\u001fox\u0006=*yO\u001a9\u0005ty";
n = 11;
arrstring2 = arrstring;
continue block35;
}
case 11: {
arrstring2[n2] = string2;
n2 = 13;
string = "~r\u001b8*on\u0014:&rs\u0006a,ox\u0014:*";
n = 12;
arrstring2 = arrstring;
continue block35;
}
case 12: {
arrstring2[n2] = string2;
n2 = 14;
string = "~r\u001b8*on\u0014:&rs\u0006a?|h\u0006+";
n = 13;
arrstring2 = arrstring;
continue block35;
}
case 13: {
arrstring2[n2] = string2;
n2 = 15;
string = "o\u001a/+~|\u0006:";
n = 14;
arrstring2 = arrstring;
continue block35;
}
case 14: {
arrstring2[n2] = string2;
n2 = 16;
string = "zo\u001a;?Bs\u001a:&~x5:*pm";
n = 15;
arrstring2 = arrstring;
continue block35;
}
case 15: {
arrstring2[n2] = string2;
n2 = 17;
string = "~r\u001b8*on\u0014:&rs\u0006a,rs\u0001+7i2\u001b;#q";
n = 16;
arrstring2 = arrstring;
continue block35;
}
case 16: {
arrstring2[n2] = string2;
n2 = 18;
string = "wt\u0011";
n = 17;
arrstring2 = arrstring;
continue block35;
}
case 17: {
arrstring2[n2] = string2;
n2 = 19;
string = "Qr\u001b)\u001fox\u0006=*yO\u001a9\u0005ty";
n = 18;
arrstring2 = arrstring;
continue block35;
}
case 18: {
arrstring2[n2] = string2;
n2 = 20;
string = "~r\u001b8*on\u0014:&rs\u0006a=xn\u0000#*";
n = 19;
arrstring2 = arrstring;
continue block35;
}
case 19: {
arrstring2[n2] = string2;
n2 = 21;
string = "~r\u001b8*on\u0014:&rs\u0006a=xn\u0000\";=~\u001a ;|~\u0001n!riU/+yx\u0011";
n = 20;
arrstring2 = arrstring;
continue block35;
}
case 20: {
arrstring2[n2] = string2;
n2 = 22;
string = "~r\u001b:.~i";
n = 21;
arrstring2 = arrstring;
continue block35;
}
case 21: {
arrstring2[n2] = string2;
n2 = 23;
string = "~r\u001b8*on\u0014:&rs\u0006a=xn\u0000\";2n\u001e'?2~\u001a ;|~\u0001n!riU/+yx\u0011";
n = 22;
arrstring2 = arrstring;
continue block35;
}
case 22: {
arrstring2[n2] = string2;
n2 = 24;
string = "~r\u001b8*on\u0014:&rs\u0006a+xn\u0001< d";
n = 23;
arrstring2 = arrstring;
continue block35;
}
case 23: {
arrstring2[n2] = string2;
n2 = 25;
string = "~r\u0018`8u|\u0001=.mm*>=x{\u0010<*s~\u0010=";
n = 24;
arrstring2 = arrstring;
continue block35;
}
case 24: {
arrstring2[n2] = string2;
n2 = 26;
string = "yx\u0019+;xB\u0016&.iB\u0016!:si";
n = 25;
arrstring2 = arrstring;
continue block35;
}
case 25: {
arrstring2[n2] = string2;
n2 = 27;
string = "~r\u001b8*on\u0014:&rs\u0006a<xi\u0011+#xi\u0010-'|iZ(.tq\u0010*";
n = 26;
arrstring2 = arrstring;
continue block35;
}
case 26:
}
arrstring2[n2] = string2;
z = arrstring;
return;
}
char c = arrc[n4];
switch (n4 % 5) {
default: {
n5 = 79;
break;
}
case 0: {
n5 = 29;
break;
}
case 1: {
n5 = 29;
break;
}
case 2: {
n5 = 117;
break;
}
case 3: {
n5 = 78;
}
}
arrc[n4] = (char)(n5 ^ c);
++n4;
} while (true);
break;
} while (true);
}
static int a(ConversationsFragment conversationsFragment) {
return conversationsFragment.b;
}
private DialogFragment a(a9f a9f2, DialogFragment dialogFragment) {
Bundle bundle = new Bundle();
bundle.putString(z[18], a9f2.e);
dialogFragment.setArguments(bundle);
return dialogFragment;
}
static View a(ConversationsFragment conversationsFragment, String string) {
return conversationsFragment.a(string);
}
private View a(String string) {
boolean bl = App.U;
if (string == null) {
return null;
}
int n = 0;
do {
int n2;
block11 : {
block10 : {
if (n >= this.d.getChildCount()) break block10;
View view = this.d.getChildAt(n);
Object object = view.getTag();
if (object instanceof kw) {
kw kw2 = (kw)object;
boolean bl2 = string.equals(kw2.d);
if (bl2) {
return view;
}
}
n2 = n + 1;
if (!bl) break block11;
}
return null;
}
n = n2;
} while (true);
}
static ArrayList a(ConversationsFragment conversationsFragment, ArrayList arrayList) {
conversationsFragment.j = arrayList;
return arrayList;
}
static void a(int n) {
ConversationsFragment.c(n);
}
private void a(Context context, String string) {
View view;
if (this.g != null && (view = this.a(string)) != null) {
kw kw2 = (kw)view.getTag();
a9f a9f2 = py.b((String)string);
this.g.a(context, view, a9f2, a9f2.e.contains(z[10]), kw2);
}
}
static int b() {
return ConversationsFragment.c();
}
static String b(ConversationsFragment conversationsFragment, String string) {
conversationsFragment.e = string;
return string;
}
private void b(View view) {
AnimationSet animationSet = new AnimationSet(true);
ScaleAnimation scaleAnimation = new ScaleAnimation(1.0f, 0.0f, 1.0f, 0.0f, 1, 0.5f, 1, 0.5f);
AlphaAnimation alphaAnimation = new AlphaAnimation(1.0f, 0.0f);
animationSet.addAnimation((Animation)scaleAnimation);
animationSet.addAnimation((Animation)alphaAnimation);
int n = view.getTop();
animationSet.setDuration(300L);
view.startAnimation((Animation)animationSet);
animationSet.setAnimationListener((Animation.AnimationListener)new xm(this, n));
}
static void b(ConversationsFragment conversationsFragment) {
conversationsFragment.f();
}
private static int c() {
return App.r.getSharedPreferences(z[1], 0).getInt(z[0], 0);
}
private static void c(int n) {
SharedPreferences.Editor editor = App.r.getSharedPreferences(z[25], 0).edit();
editor.putInt(z[26], n);
if (!editor.commit()) {
Log.e((String)z[27]);
}
return;
}
static void c(ConversationsFragment conversationsFragment) {
conversationsFragment.g();
}
static ListView d(ConversationsFragment conversationsFragment) {
return conversationsFragment.d;
}
static m8 e(ConversationsFragment conversationsFragment) {
return conversationsFragment.g;
}
static ae5 f(ConversationsFragment conversationsFragment) {
return conversationsFragment.h;
}
private void f() {
if (this.g != null) {
this.g.notifyDataSetChanged();
}
return;
}
static ArrayList g(ConversationsFragment conversationsFragment) {
return conversationsFragment.j;
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void g() {
var1_1 = App.ay.b();
var2_2 = this.getView().findViewById(2131427738);
var3_3 = this.getView().findViewById(2131427737);
if (var1_1 <= 0) ** GOTO lbl10
var3_3.setVisibility(0);
this.d.setEmptyView(var3_3);
var2_2.setVisibility(8);
if (App.U == false) return;
lbl10: // 2 sources:
var2_2.setVisibility(0);
this.d.setEmptyView(var2_2);
var3_3.setVisibility(8);
return;
}
static avt h(ConversationsFragment conversationsFragment) {
return conversationsFragment.c;
}
static String i(ConversationsFragment conversationsFragment) {
return conversationsFragment.e;
}
static String j(ConversationsFragment conversationsFragment) {
return conversationsFragment.f;
}
protected ArrayList a() {
return py.g();
}
/*
* Loose catch block
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void a() {
this.f();
m8 m82 = this.g;
if (m82 == null) return;
{
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
if (this.g.getCount() != 0) return;
this.g();
return;
}
protected void a(View view) {
App.aW.b(this.f, false);
}
public void a(CharSequence charSequence) {
this.g.getFilter().filter(charSequence);
}
public void a(String string) {
this.a((Context)App.r, string);
}
public void a(String string, boolean bl) {
this.getActivity().runOnUiThread((Runnable)new as4(this, string, bl));
}
public void a(Collection collection) {
}
/*
* Exception decompiling
*/
public void b() {
// This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
// org.benf.cfr.reader.util.ConfusedCFRException: Started 2 blocks at once
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.getStartingBlocks(Op04StructuredStatement.java:395)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:473)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:2880)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:816)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:196)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:141)
// org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:95)
// org.benf.cfr.reader.entities.Method.analyse(Method.java:370)
// org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:852)
// org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:753)
// org.benf.cfr.reader.Main.doClass(Main.java:46)
// org.benf.cfr.reader.Main.main(Main.java:190)
// ReviewPreparator.unZipIt(ReviewPreparator.java:54)
// PrepareAndSendToReview$.$anonfun$prepareAndSendToReview$4(PrepareAndSendToReview.scala:37)
// scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
// scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:320)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.TraversableLike.map(TraversableLike.scala:234)
// scala.collection.TraversableLike.map$(TraversableLike.scala:227)
// scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
// scala.collection.SetLike.map(SetLike.scala:101)
// scala.collection.SetLike.map$(SetLike.scala:101)
// scala.collection.AbstractSet.map(Set.scala:47)
// PrepareAndSendToReview$.prepareAndSendToReview(PrepareAndSendToReview.scala:35)
// PrepareAndSendToReview$.main(PrepareAndSendToReview.scala:12)
// PrepareAndSendToReview.main(PrepareAndSendToReview.scala)
throw new IllegalStateException("Decompilation failed");
}
void b(int n) {
((awn)this.getActivity()).a(n);
}
public void b(String string) {
this.a((Context)App.r, string);
}
public void c(String string) {
this.a((Context)App.r, string);
}
/*
* Unable to fully structure code
* Enabled aggressive exception aggregation
*/
protected void d() {
block11 : {
block10 : {
var4_1 = this.b = py.b();
if (var4_1 <= 0) break block10;
var8_2 = this.i;
var9_3 = new Object[]{this.b};
var8_2.setText((CharSequence)this.getString(2131624013, var9_3));
this.i.setVisibility(0);
this.k.setVisibility(8);
var10_4 = App.U;
if (!var10_4) ** GOTO lbl21
}
this.i.setVisibility(8);
var5_5 = this.k;
var6_6 = ConversationsFragment.c();
var7_7 = 0;
if (var6_6 >= 3) break block11;
lbl19: // 2 sources:
do {
var5_5.setVisibility(var7_7);
lbl21: // 2 sources:
return;
break;
} while (true);
catch (ActivityNotFoundException var1_8) {
throw var1_8;
}
}
var7_7 = 8;
** while (true)
}
/*
* Enabled aggressive block sorting
* Lifted jumps to return sites
*/
protected void d(int n) {
boolean bl = App.U;
if (this.d.getLastVisiblePosition() >= -1 + this.d.getAdapter().getCount()) return;
int n2 = this.d.getChildCount();
int n3 = 0;
int n4 = 0;
while (n4 < n2) {
int n5;
View view = this.d.getChildAt(n4);
if (view.getTop() >= n) {
TranslateAnimation translateAnimation = new TranslateAnimation(1, 0.0f, 1, 0.0f, 1, 1.0f, 1, 0.0f);
translateAnimation.setDuration(150L);
translateAnimation.setStartOffset((long)(8 * (int)Math.sqrt(n3 * 300)));
translateAnimation.setFillAfter(false);
view.startAnimation((Animation)translateAnimation);
n5 = n3 + 1;
} else {
n5 = n3;
}
int n6 = n4 + 1;
if (bl) {
return;
}
n4 = n6;
n3 = n5;
}
}
public void d(String string) {
this.a((Context)App.r, string);
}
protected void e() {
View view = this.getActivity().getLayoutInflater().inflate(2130903128, (ViewGroup)this.d, false);
this.d.addFooterView(view, (Object)null, true);
this.k = (TextView)view.findViewById(2131427752);
View view2 = this.getActivity().getLayoutInflater().inflate(2130903128, (ViewGroup)this.d, false);
view2.setBackgroundResource(2130839101);
view2.setOnClickListener((View.OnClickListener)new a9h(this));
this.d.addFooterView(view2, (Object)null, true);
this.i = (TextView)view2.findViewById(2131427752);
}
public void e(String string) {
this.getActivity().runOnUiThread((Runnable)new l3(this));
}
void f(String string) {
((awn)this.getActivity()).f(string);
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public void onActivityCreated(Bundle bundle) {
r r2;
block15 : {
block14 : {
block13 : {
boolean bl;
ListView listView;
block12 : {
block11 : {
block10 : {
bl = true;
r2 = new r(z[13]);
super.onActivityCreated(bundle);
this.setHasOptionsMenu(true);
if (this.c != null) break block10;
this.c = new avt();
this.c.g = this.getString(2131624438);
this.c.b = this.getString(2131624380);
this.c.i = this.getString(2131624381);
this.c.e = this.getString(2131624190);
this.c.c = this.getString(2131624184);
this.c.a = this.getString(2131624194);
this.c.j = this.getString(2131624193);
this.c.h = this.getString(2131624191);
this.c.f = this.getString(2131624189);
this.c.d = this.getString(2131624436);
}
Log.i((String)z[11]);
App.aK();
App.b((pa)this);
App.b((ac_)this);
this.j = this.a();
listView = this.d = this.getListView();
int n = Build.VERSION.SDK_INT;
if (n >= 11) break block11;
break block12;
}
bl = false;
}
listView.setFastScrollEnabled(bl);
if (Build.VERSION.SDK_INT >= 11) break block13;
this.d.setSelector(2130839101);
}
this.d.setScrollbarFadingEnabled(true);
this.e();
this.d();
this.d.setOnScrollListener((AbsListView.OnScrollListener)new bn(this));
this.g = new m8(this);
this.d.setAdapter((ListAdapter)this.g);
this.d.setOnItemClickListener((AdapterView.OnItemClickListener)new az(this));
if (this.g.getCount() != 0) break block14;
this.g();
}
this.registerForContextMenu((View)this.d);
this.getView().findViewById(2131427803).setOnClickListener((View.OnClickListener)new si(this));
this.getView().findViewById(2131427736).setOnClickListener((View.OnClickListener)new sl(this));
if (bundle == null) break block15;
this.f = bundle.getString(z[12]);
}
r2.b();
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void onActivityResult(int var1_1, int var2_2, Intent var3_3) {
var4_4 = App.U;
switch (var1_1) {
default: {
return;
}
case 1: {
if (var2_2 != -1) return;
var12_5 = var3_3.getStringExtra(ConversationsFragment.z[22]);
var13_6 = App.ay.i(var12_5);
this.startActivity(Conversation.a(var13_6));
if (var4_4 == false) return;
}
case 10: {
if (var2_2 != -1) ** GOTO lbl25
var8_7 = App.ay.i(this.f);
if (var3_3 == null) ** GOTO lbl22
var11_8 = var3_3.getData();
if (var11_8 == null) ** GOTO lbl22
App.ay.a(var3_3.getData(), var8_7);
if (!var4_4) ** GOTO lbl23
lbl22: // 3 sources:
App.ay.e(var8_7);
lbl23: // 2 sources:
if (var4_4 == false) return;
lbl25: // 3 sources:
Log.i((String)ConversationsFragment.z[21]);
if (var4_4 == false) return;
}
case 11:
}
if (var2_2 != -1) ** GOTO lbl33
var6_9 = App.ay.i(this.f);
App.ay.e(var6_9);
if (var4_4 == false) return;
lbl33: // 2 sources:
Log.i((String)ConversationsFragment.z[23]);
return;
catch (ActivityNotFoundException var14_11) {
throw var14_11;
}
catch (ActivityNotFoundException var10_12) {
throw var10_12;
}
catch (ActivityNotFoundException var7_14) {
throw var7_14;
}
}
/*
* Exception decompiling
*/
public boolean onContextItemSelected(android.view.MenuItem var1_1) {
// This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
// org.benf.cfr.reader.util.ConfusedCFRException: Started 8 blocks at once
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.getStartingBlocks(Op04StructuredStatement.java:395)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:473)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:2880)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:816)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:196)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:141)
// org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:95)
// org.benf.cfr.reader.entities.Method.analyse(Method.java:370)
// org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:852)
// org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:753)
// org.benf.cfr.reader.Main.doClass(Main.java:46)
// org.benf.cfr.reader.Main.main(Main.java:190)
// ReviewPreparator.unZipIt(ReviewPreparator.java:54)
// PrepareAndSendToReview$.$anonfun$prepareAndSendToReview$4(PrepareAndSendToReview.scala:37)
// scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
// scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:320)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.TraversableLike.map(TraversableLike.scala:234)
// scala.collection.TraversableLike.map$(TraversableLike.scala:227)
// scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
// scala.collection.SetLike.map(SetLike.scala:101)
// scala.collection.SetLike.map$(SetLike.scala:101)
// scala.collection.AbstractSet.map(Set.scala:47)
// PrepareAndSendToReview$.prepareAndSendToReview(PrepareAndSendToReview.scala:35)
// PrepareAndSendToReview$.main(PrepareAndSendToReview.scala:12)
// PrepareAndSendToReview.main(PrepareAndSendToReview.scala)
throw new IllegalStateException("Decompilation failed");
}
/*
* Unable to fully structure code
* Enabled aggressive exception aggregation
*/
public void onCreateContextMenu(ContextMenu var1_1, View var2_2, ContextMenu.ContextMenuInfo var3_3) {
block79 : {
block78 : {
block76 : {
block77 : {
block75 : {
block73 : {
block74 : {
block72 : {
block71 : {
var4_4 = App.U;
super.onCreateContextMenu(var1_1, var2_2, var3_3);
var5_5 = (kw)((AdapterView.AdapterContextMenuInfo)var3_3).targetView.getTag();
if (var5_5 == null) {
Log.i((String)ConversationsFragment.z[17]);
lbl7: // 5 sources:
do {
return;
break;
} while (true);
}
this.f = var5_5.d;
var6_7 = App.ay.i(this.f);
if (ConversationsFragment.z[15].equals(var5_5.d)) {
var1_1.add(0, 2131427341, 0, (CharSequence)this.getString(2131624227));
return;
}
var10_9 = var6_7.c();
if (!var10_9) break block71;
var60_10 = var6_7.e.contains(ConversationsFragment.z[16]);
if (var60_10) ** GOTO lbl7
{
catch (ActivityNotFoundException var9_12) {
throw var9_12;
}
}
var1_1.add(0, 2131427341, 0, (CharSequence)this.getString(2131624233));
return;
catch (ActivityNotFoundException var8_11) {
throw var8_11;
}
}
var12_13 = var6_7.e.equals(h9.f());
if (var12_13) ** GOTO lbl7
var16_14 = var6_7.m;
if (var16_14 != null) ** GOTO lbl61
var50_15 = var6_7.h();
if (!var50_15) break block72;
var57_16 = var5_5.m.getVisibility();
if (var57_16 == 0) ** GOTO lbl7
var1_1.add(0, 2131427343, 0, (CharSequence)this.getString(2131624413));
if (!var4_4) break block73;
}
var53_17 = var6_7.b();
if (!var53_17) break block74;
var1_1.add(0, 2131427343, 0, (CharSequence)this.getString(2131624479));
if (!var4_4) break block73;
}
var1_1.add(0, 2131427336, 0, (CharSequence)this.getString(2131623974));
var1_1.add(0, 2131427337, 0, (CharSequence)this.getString(2131623977));
if (!var4_4) break block73;
lbl61: // 2 sources:
var1_1.add(0, 2131427339, 0, (CharSequence)this.getString(2131625085));
}
var21_18 = var6_7.b();
if (var21_18) break block75;
if (App.aH()) break block75;
var1_1.add(0, 2131427340, 0, (CharSequence)this.getString(2131623982));
}
var28_19 = App.aW.i(var6_7.e);
if (!var28_19) break block76;
var46_20 = a9f.g(var6_7.e);
if (!var46_20) break block77;
var1_1.add(0, 2131427344, 0, (CharSequence)this.getString(2131625043));
if (!var4_4) break block78;
}
var1_1.add(0, 2131427344, 0, (CharSequence)this.getString(2131625044));
if (!var4_4) break block78;
}
var29_21 = a9f.g(var6_7.e);
if (!var29_21) ** GOTO lbl90
var1_1.add(0, 2131427338, 0, (CharSequence)this.getString(2131624010));
if (!var4_4) break block78;
lbl90: // 2 sources:
var1_1.add(0, 2131427338, 0, (CharSequence)this.getString(2131624011));
}
var33_22 = var6_7.h();
if (!var33_22) ** GOTO lbl104
var41_23 = h9.c((String)var6_7.e);
if (!var41_23) break block79;
var42_24 = 2131624312;
lbl99: // 2 sources:
do {
block80 : {
var1_1.add(0, 2131427341, 0, (CharSequence)this.getString(var42_24));
if (!var4_4) break block80;
lbl104: // 3 sources:
var36_25 = var6_7.b();
if (!var36_25) ** GOTO lbl109
var1_1.add(0, 2131427341, 0, (CharSequence)this.getString(2131624235));
if (!var4_4) break block80;
lbl109: // 2 sources:
var1_1.add(0, 2131427341, 0, (CharSequence)this.getString(2131624228));
}
if (App.aW.a(this.f) == null) ** continue;
var1_1.add(0, 2131427342, 0, (CharSequence)this.getString(2131624261));
return;
break;
} while (true);
catch (ActivityNotFoundException var11_27) {
throw var11_27;
}
catch (ActivityNotFoundException var13_28) {
throw var13_28;
}
catch (ActivityNotFoundException var58_31) {
throw var58_31;
}
catch (ActivityNotFoundException var19_35) {
throw var19_35;
}
catch (ActivityNotFoundException var22_37) {
throw var22_37;
}
catch (ActivityNotFoundException var31_43) {
throw var31_43;
}
}
var42_24 = 2131624233;
** while (true)
catch (ActivityNotFoundException var43_45) {
throw var43_45;
}
}
public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {
super.onCreateOptionsMenu(menu, menuInflater);
}
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
return layoutInflater.inflate(2130903125, viewGroup, false);
}
public void onDestroy() {
Log.i((String)z[24]);
super.onDestroy();
App.a((pa)this);
App.a((ac_)this);
this.h.a();
}
/*
* Exception decompiling
*/
public boolean onOptionsItemSelected(MenuItem var1_1) {
// This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
// org.benf.cfr.reader.util.ConfusedCFRException: Started 3 blocks at once
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.getStartingBlocks(Op04StructuredStatement.java:395)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:473)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:2880)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:816)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:196)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:141)
// org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:95)
// org.benf.cfr.reader.entities.Method.analyse(Method.java:370)
// org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:852)
// org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:753)
// org.benf.cfr.reader.Main.doClass(Main.java:46)
// org.benf.cfr.reader.Main.main(Main.java:190)
// ReviewPreparator.unZipIt(ReviewPreparator.java:54)
// PrepareAndSendToReview$.$anonfun$prepareAndSendToReview$4(PrepareAndSendToReview.scala:37)
// scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
// scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:320)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:976)
// scala.collection.TraversableLike.map(TraversableLike.scala:234)
// scala.collection.TraversableLike.map$(TraversableLike.scala:227)
// scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
// scala.collection.SetLike.map(SetLike.scala:101)
// scala.collection.SetLike.map$(SetLike.scala:101)
// scala.collection.AbstractSet.map(Set.scala:47)
// PrepareAndSendToReview$.prepareAndSendToReview(PrepareAndSendToReview.scala:35)
// PrepareAndSendToReview$.main(PrepareAndSendToReview.scala:12)
// PrepareAndSendToReview.main(PrepareAndSendToReview.scala)
throw new IllegalStateException("Decompilation failed");
}
public void onPause() {
Log.i((String)z[14]);
super.onPause();
UndoBarController.b((Activity)this.getActivity());
}
public void onResume() {
Log.i((String)z[20]);
super.onResume();
p.b();
App.aL.stop();
}
public void onSaveInstanceState(Bundle bundle) {
super.onSaveInstanceState(bundle);
bundle.putString(z[19], this.f);
}
public void onStart() {
super.onStart();
}
public void onStop() {
super.onStop();
}
}
|