Code with Finding: |
/*
* Decompiled with CFR 0_128.
*
* Could not load the following classes:
* android.app.Activity
* android.app.AlertDialog
* android.app.AlertDialog$Builder
* android.app.Dialog
* android.content.ActivityNotFoundException
* android.content.ComponentName
* android.content.Context
* android.content.DialogInterface
* android.content.DialogInterface$OnClickListener
* android.content.Intent
* android.content.pm.PackageManager
* android.content.res.Resources
* android.net.Uri
* android.os.AsyncTask
* android.os.Bundle
* android.provider.ContactsContract
* android.provider.ContactsContract$Contacts
* android.text.TextUtils
* 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.ViewTreeObserver
* android.view.ViewTreeObserver$OnGlobalLayoutListener
* android.widget.AbsListView
* android.widget.AbsListView$OnScrollListener
* android.widget.AdapterView
* android.widget.AdapterView$AdapterContextMenuInfo
* android.widget.AdapterView$OnItemClickListener
* android.widget.Button
* android.widget.ImageButton
* android.widget.ListAdapter
* android.widget.ListView
* android.widget.TextView
* com.actionbarsherlock.app.ActionBar
* com.actionbarsherlock.view.Menu
* com.actionbarsherlock.view.MenuItem
* com.whatsapp.App
* com.whatsapp.DialogToastListActivity
* com.whatsapp.ab
* com.whatsapp.aco
* com.whatsapp.act
* com.whatsapp.ae5
* com.whatsapp.axn
* com.whatsapp.axw
* com.whatsapp.axy
* com.whatsapp.ayj
* com.whatsapp.b1
* com.whatsapp.bm
* com.whatsapp.bo
* com.whatsapp.dy
* com.whatsapp.f5
* com.whatsapp.fn
* com.whatsapp.fz
* com.whatsapp.g7
* com.whatsapp.h1
* com.whatsapp.h9
* com.whatsapp.hx
* com.whatsapp.k4
* com.whatsapp.kl
* com.whatsapp.l0
* com.whatsapp.lp
* com.whatsapp.oq
* com.whatsapp.pa
* com.whatsapp.q0
* com.whatsapp.r7
* com.whatsapp.rr
* com.whatsapp.um
* com.whatsapp.up
* com.whatsapp.util.Log
* com.whatsapp.util.ao
* com.whatsapp.util.bu
* com.whatsapp.xq
* com.whatsapp.yo
* com.whatsapp.zg
*/
package com.whatsapp;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.text.TextUtils;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.widget.AbsListView;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuItem;
import com.whatsapp.App;
import com.whatsapp.ContactInfo;
import com.whatsapp.ContactPicker;
import com.whatsapp.Conversation;
import com.whatsapp.DialogToastListActivity;
import com.whatsapp.a9f;
import com.whatsapp.ab;
import com.whatsapp.aco;
import com.whatsapp.act;
import com.whatsapp.ae5;
import com.whatsapp.axn;
import com.whatsapp.axw;
import com.whatsapp.axy;
import com.whatsapp.ayj;
import com.whatsapp.b1;
import com.whatsapp.bm;
import com.whatsapp.bo;
import com.whatsapp.dy;
import com.whatsapp.f5;
import com.whatsapp.fn;
import com.whatsapp.fz;
import com.whatsapp.g7;
import com.whatsapp.h1;
import com.whatsapp.h9;
import com.whatsapp.hx;
import com.whatsapp.k4;
import com.whatsapp.kl;
import com.whatsapp.l0;
import com.whatsapp.lp;
import com.whatsapp.oq;
import com.whatsapp.pa;
import com.whatsapp.q0;
import com.whatsapp.q2;
import com.whatsapp.r7;
import com.whatsapp.rr;
import com.whatsapp.um;
import com.whatsapp.up;
import com.whatsapp.util.Log;
import com.whatsapp.util.ao;
import com.whatsapp.util.bu;
import com.whatsapp.xq;
import com.whatsapp.yo;
import com.whatsapp.zg;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
public class ListChatInfo
extends DialogToastListActivity
implements pa {
private static final String[] z;
private final up i = new um(this);
private a9f j;
private TextView k;
private View l;
private ListView m;
private h1 n;
private ArrayList o = new ArrayList();
private TextView p;
private ae5 q = new ae5();
private ImageButton r;
private View.OnClickListener s = new kl(this);
private TextView t;
private a9f u;
private l0 v;
/*
* Enabled aggressive block sorting
*/
static {
String[] arrstring = new String[21];
String string = "\u0014&4\u000eI\u0013&<4@\u000e'";
int n = -1;
String[] arrstring2 = arrstring;
int n2 = 0;
block28 : 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 = "\u000b*+\u001fI\u000f\",\u0002D\u0001,w\nN\u0003c=\u0013C\u001471\u0005MG 7\u0005^\u0006 ,Q\n\u0006 ,\u0002\\\u000e7!KD\b7x\rE\u0012-<G\n\u001717\tK\u0005/!K^\u0006!4\u000e^";
n2 = 1;
arrstring2 = arrstring;
n = 0;
continue block28;
}
case 0: {
arrstring2[n2] = string2;
string = "'0v\u001cB\u00067+\nZ\u0017m6\u000e^";
n2 = 2;
arrstring2 = arrstring;
n = 1;
continue block28;
}
case 1: {
arrstring2[n2] = string2;
string = "\u0017+7\u0005O87!\u001bO";
n2 = 3;
arrstring2 = arrstring;
n = 2;
continue block28;
}
case 2: {
arrstring2[n2] = string2;
string = "\u0006-<\u0019E\u000e'v\u0002D\u0013&6\u001f\u0004\u0006 ,\u0002E\tm\u0011%y\"\u0011\f4e5\u001c\u001d/c3";
n2 = 4;
arrstring2 = arrstring;
n = 3;
continue block28;
}
case 3: {
arrstring2[n2] = string2;
n2 = 5;
arrstring2 = arrstring;
string = "\u0017+7\u0005O";
n = 4;
continue block28;
}
case 4: {
arrstring2[n2] = string2;
n2 = 6;
string = "\u0011-<EK\t'*\u0004C\u0003m;\u001eX\u0014,*EC\u0013&5DI\b-,\nI\u0013";
n = 5;
arrstring2 = arrstring;
continue block28;
}
case 5: {
arrstring2[n2] = string2;
n2 = 7;
string = "\u0000*<";
n = 6;
arrstring2 = arrstring;
continue block28;
}
case 6: {
arrstring2[n2] = string2;
n2 = 8;
string = "\u000017\u001eZG*6\rEH 7\u0005^\u0002;,KY\u001e0,\u000eGG 7\u0005^\u0006 ,KF\u000e0,KI\b64\u000f\n\t,,KL\b66\u000f";
n = 7;
arrstring2 = arrstring;
continue block28;
}
case 7: {
arrstring2[n2] = string2;
n2 = 9;
string = "\u0006-<\u0019E\u000e'v\u0002D\u0013&6\u001f\u0004\u0006 ,\u0002E\tm\u0011%y\"\u0011\f";
n = 8;
arrstring2 = arrstring;
continue block28;
}
case 8: {
arrstring2[n2] = string2;
n2 = 10;
string = "\u0017+7\u0005O";
n = 9;
arrstring2 = arrstring;
continue block28;
}
case 9: {
arrstring2[n2] = string2;
n2 = 11;
string = "\u0000*<";
n = 10;
arrstring2 = arrstring;
continue block28;
}
case 10: {
arrstring2[n2] = string2;
n2 = 12;
string = "\u000b*+\u001fu\u0004+9\u001fu\u000e->\u0004\u0005\u0015&+\u001eF\u0013l;\u0004D\u0013\";\u001f\n\t,,KK\u0003'=\u000f";
n = 11;
arrstring2 = arrstring;
continue block28;
}
case 11: {
arrstring2[n2] = string2;
n2 = 13;
string = "\u000b*+\u001fu\u0004+9\u001fu\u000e->\u0004\u0005\u0015&+\u001eF\u0013l+\u0000C\u0017l;\u0004D\u0013\";\u001f\n\t,,KK\u0003'=\u000f";
n = 12;
arrstring2 = arrstring;
continue block28;
}
case 12: {
arrstring2[n2] = string2;
n2 = 14;
string = "\u0004,6\u001fK\u00047";
n = 13;
arrstring2 = arrstring;
continue block28;
}
case 13: {
arrstring2[n2] = string2;
n2 = 15;
string = "\u000b*+\u001fu\u0004+9\u001fu\u000e->\u0004\u0005\u0003&+\u001fX\b:";
n = 14;
arrstring2 = arrstring;
continue block28;
}
case 14: {
arrstring2[n2] = string2;
n2 = 16;
string = "\u000b*+\u001fI\u000f\",\u0002D\u0001,w\bX\u0002\",\u0002E\tn,\u0002G\u0002l=\u0019X\b1x";
n = 15;
arrstring2 = arrstring;
continue block28;
}
case 15: {
arrstring2[n2] = string2;
n2 = 17;
string = "\u000b\"!\u0004_\u0013\u001c1\u0005L\u000b\",\u000eX";
n = 16;
arrstring2 = arrstring;
continue block28;
}
case 16: {
arrstring2[n2] = string2;
n2 = 18;
string = "\u000b*+\u001fu\u0004+9\u001fu\u000e->\u0004\u0005\u00041=\n^\u0002";
n = 17;
arrstring2 = arrstring;
continue block28;
}
case 17: {
arrstring2[n2] = string2;
n2 = 19;
string = "\u0014&4\u000eI\u0013&<4@\u000e'";
n = 18;
arrstring2 = arrstring;
continue block28;
}
case 18: {
arrstring2[n2] = string2;
n2 = 20;
string = "\u0000*<";
n = 19;
arrstring2 = arrstring;
continue block28;
}
case 19:
}
arrstring2[n2] = string2;
z = arrstring;
return;
}
char c = arrc[n4];
switch (n4 % 5) {
default: {
n5 = 42;
break;
}
case 0: {
n5 = 103;
break;
}
case 1: {
n5 = 67;
break;
}
case 2: {
n5 = 88;
break;
}
case 3: {
n5 = 107;
}
}
arrc[n4] = (char)(n5 ^ c);
++n4;
} while (true);
break;
} while (true);
}
static void a(ListChatInfo listChatInfo) {
listChatInfo.g();
}
static void a(ListChatInfo listChatInfo, a9f a9f2) {
listChatInfo.a(a9f2);
}
static void a(ListChatInfo listChatInfo, ArrayList arrayList) {
listChatInfo.a(arrayList);
}
private void a(a9f a9f2) {
h9.a((String)this.j.e, (String)a9f2.e);
this.o.remove((Object)a9f2);
this.c();
}
public static void a(a9f a9f2, Activity activity) {
Intent intent = new Intent((Context)activity, ListChatInfo.class);
intent.putExtra(z[7], a9f2.e);
activity.startActivity(intent);
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
private void a(ArrayList arrayList) {
a9f a9f2 = this.j;
String string = a9f2 == null ? null : this.j.e;
ContactInfo.a(arrayList, string, (Activity)this);
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private boolean a(a9f var1_1, int var2_2) {
switch (var2_2) {
default: {
return true;
}
case 0: {
if (var1_1.m == null) return true;
ContactInfo.a(var1_1, (Activity)this);
return true;
}
case 2: {
if (var1_1 != null) ** GOTO lbl16
App.b((Context)this, (int)2131624363, (int)0);
if (App.U == false) return true;
lbl16: // 2 sources:
this.b(var1_1);
return true;
}
case 3: {
this.e();
return true;
}
case 1: {
this.startActivity(Conversation.a(var1_1));
return true;
}
case 4: {
App.b((a9f)var1_1, (Activity)this);
return true;
}
case 5:
}
this.showDialog(6);
return true;
}
static a9f b(ListChatInfo listChatInfo, a9f a9f2) {
listChatInfo.u = a9f2;
return a9f2;
}
static ArrayList b(ListChatInfo listChatInfo) {
return listChatInfo.o;
}
/*
* Loose catch block
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void b() {
block9 : {
int n;
boolean bl;
block11 : {
block10 : {
bl = App.U;
View view = this.m.getChildAt(0);
if (view == null) return;
if (this.m.getWidth() <= this.m.getHeight()) break block9;
int n2 = this.m.getFirstVisiblePosition();
if (n2 != 0) break block10;
n = view.getTop();
if (!bl) break block11;
}
n = 1 + (- this.l.getHeight());
}
this.l.offsetTopAndBottom(n - this.l.getTop());
if (!bl) return;
}
if (this.l.getTop() == 0) return;
this.l.offsetTopAndBottom(- this.l.getTop());
return;
{
catch (NumberFormatException numberFormatException) {
throw numberFormatException;
}
}
catch (NumberFormatException numberFormatException) {
throw numberFormatException;
}
catch (NumberFormatException numberFormatException) {
throw numberFormatException;
}
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void b(a9f var1_1) {
var2_2 = var1_1.a();
var3_3 = new Intent(ListChatInfo.z[9], ContactsContract.Contacts.CONTENT_URI);
var3_3.putExtra(ListChatInfo.z[10], var2_2);
var3_3.setComponent(var3_3.resolveActivity(this.getPackageManager()));
var8_4 = var3_3.getComponent();
if (var8_4 == null) ** GOTO lbl13
{
catch (NumberFormatException var4_5) {
throw var4_5;
}
}
this.startActivityForResult(var3_3, 10);
if (App.U == false) return;
lbl13: // 2 sources:
Log.i((String)ListChatInfo.z[8]);
App.s();
return;
}
static ae5 c(ListChatInfo listChatInfo) {
return listChatInfo.q;
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void c() {
block5 : {
var3_1 = ab.l;
if (var3_1 != 0) ** GOTO lbl7
this.p.setText((CharSequence)Integer.toString(this.o.size()));
if (!App.U) break block5;
lbl7: // 2 sources:
var4_2 = this.p;
var5_3 = new Object[]{this.o.size(), ab.l};
var4_2.setText((CharSequence)this.getString(2131624644, var5_3));
{
catch (NumberFormatException var2_5) {
throw var2_5;
}
}
}
Collections.sort(this.o, new b1(this.getApplicationContext()));
this.n.notifyDataSetChanged();
this.h();
return;
catch (NumberFormatException var1_4) {
throw var1_4;
}
}
static void d(ListChatInfo listChatInfo) {
listChatInfo.b();
}
static a9f e(ListChatInfo listChatInfo) {
return listChatInfo.j;
}
private void e() {
try {
Intent intent = new Intent(z[4]);
intent.setType(z[6]);
intent.putExtra(z[5], this.u.a((Context)this));
intent.putExtra(z[3], 2);
intent.setFlags(524288);
this.startActivityForResult(intent, 11);
return;
}
catch (ActivityNotFoundException activityNotFoundException) {
this.showDialog(4);
return;
}
}
private void e(String string) {
h9.c((String)this.j.e, (String)string);
a9f a9f2 = App.ay.i(string);
this.o.add(a9f2);
this.c();
}
/*
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
private void f() {
block4 : {
try {
String string = ao.h((Context)this, (long)Long.parseLong(this.j.H));
this.k.setText((CharSequence)this.getResources().getString(2131624383, new Object[]{string}));
this.k.setVisibility(0);
}
catch (NumberFormatException numberFormatException) {
Log.e((String)(z[16] + numberFormatException));
this.k.setVisibility(8);
}
if (this.v == null) break block4;
this.v.cancel(true);
}
this.setSupportProgressBarIndeterminateVisibility(true);
this.v = new l0(this, null);
q0.a((AsyncTask)this.v, (Object[])new Void[0]);
}
static void f(ListChatInfo listChatInfo) {
listChatInfo.h();
}
private void g() {
block3 : {
block2 : {
if (this.o.size() >= ab.l) break block2;
Intent intent = new Intent((Context)this, ContactPicker.class);
intent.putExtra(z[11], this.j.e);
this.startActivityForResult(intent, 1);
if (!App.U) break block3;
}
AlertDialog alertDialog = new AlertDialog.Builder((Context)this).create();
alertDialog.setTitle((CharSequence)this.getString(2131623987));
Object[] arrobject = new Object[]{ab.l};
alertDialog.setMessage((CharSequence)this.getString(2131624034, arrobject));
alertDialog.setButton((CharSequence)this.getString(2131624636), (DialogInterface.OnClickListener)new oq(this));
alertDialog.show();
}
}
static void g(ListChatInfo listChatInfo) {
listChatInfo.f();
}
static a9f h(ListChatInfo listChatInfo) {
return listChatInfo.u;
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void h() {
var3_1 = TextUtils.isEmpty((CharSequence)this.j.F);
if (!var3_1) ** GOTO lbl12
{
catch (NumberFormatException var1_5) {
throw var1_5;
}
}
var4_2 = this.t;
var5_3 = App.B.a(2131558405, this.o.size());
var6_4 = new Object[]{this.o.size()};
var4_2.setText((CharSequence)String.format(var5_3, var6_4));
if (App.U == false) return;
lbl12: // 2 sources:
this.t.setText(bu.c((String)this.j.a((Context)this), (Context)this.getBaseContext()));
return;
}
/*
* Loose catch block
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void a() {
boolean bl = App.U;
this.o.clear();
for (String string : h9.b((String)this.j.e).a()) {
a9f a9f2 = App.ay.i(string);
if (!this.o.contains((Object)a9f2)) {
this.o.add(a9f2);
}
if (!bl) continue;
}
this.c();
return;
catch (NumberFormatException numberFormatException) {
throw numberFormatException;
}
}
public void a(String string) {
}
public void a(Collection collection) {
}
public void b(String string) {
}
public void c(String string) {
a9f a9f2;
if (!string.equals(App.a9() + z[2]) && (a9f2 = App.ay.i(string)) != null) {
axw axw2 = new axw(a9f2);
a9f.a(this.o, (hx)axw2);
this.n.notifyDataSetChanged();
}
}
public void d(String string) {
a9f a9f2;
if (!h9.g((String)string) && (a9f2 = App.ay.i(string)) != null) {
axy axy2 = new axy(a9f2);
a9f.a(this.o, (hx)axy2);
this.n.notifyDataSetChanged();
}
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
protected void onActivityResult(int var1_1, int var2_2, Intent var3_3) {
var4_4 = App.U;
switch (var1_1) {
default: {
return;
}
case 10: {
if (var2_2 != -1) ** GOTO lbl20
if (var3_3 == null) ** GOTO lbl14
var12_5 = var3_3.getData();
if (var12_5 == null) ** GOTO lbl14
App.ay.a(var3_3.getData(), this.u);
if (!var4_4) ** GOTO lbl16
lbl14: // 3 sources:
App.ay.e(this.u);
lbl16: // 3 sources:
this.c();
Conversation.h(this.u.e);
if (var4_4 == false) return;
lbl20: // 3 sources:
Log.i((String)ListChatInfo.z[12]);
if (var4_4 == false) return;
}
case 11: {
if (var2_2 == -1) {
App.ay.e(this.u);
this.c();
Conversation.h(this.u.e);
if (var4_4 == false) return;
}
Log.i((String)ListChatInfo.z[13]);
if (var4_4 == false) return;
}
case 1:
}
if (var2_2 != -1) return;
this.e(var3_3.getStringExtra(ListChatInfo.z[14]));
return;
catch (NumberFormatException var11_6) {
throw var11_6;
}
catch (NumberFormatException var10_8) {
throw var10_8;
}
}
public boolean onContextItemSelected(android.view.MenuItem menuItem) {
this.u = (a9f)((Object)((AdapterView.AdapterContextMenuInfo)menuItem.getMenuInfo()).targetView.getTag());
this.a(this.u, menuItem.getItemId());
return true;
}
/*
* Loose catch block
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void onCreate(Bundle bundle) {
boolean bl = App.U;
Log.i((String)z[18]);
super.onCreate(bundle);
this.requestWindowFeature(5L);
this.getSupportActionBar().setDisplayHomeAsUpEnabled(true);
this.setContentView(2130903150);
String string2 = this.getIntent().getStringExtra(z[20]);
this.j = App.ay.i(string2);
this.m = this.getListView();
this.n = new h1(this, (Context)this, 2130903186, (List)this.o);
LayoutInflater layoutInflater = (LayoutInflater)this.getBaseContext().getSystemService(z[17]);
View view = lp.a((LayoutInflater)layoutInflater, (int)2130903151, (ViewGroup)this.m, (boolean)false);
View view2 = lp.a((LayoutInflater)layoutInflater, (int)2130903152, (ViewGroup)this.m, (boolean)false);
this.m.addFooterView(view, (Object)null, false);
this.m.addHeaderView(view2, (Object)null, false);
this.l = this.findViewById(2131427513);
this.l.setClickable(true);
this.m.setOnScrollListener((AbsListView.OnScrollListener)new g7(this));
this.m.getViewTreeObserver().addOnGlobalLayoutListener((ViewTreeObserver.OnGlobalLayoutListener)new r7(this));
this.m.setOnItemClickListener((AdapterView.OnItemClickListener)new f5(this));
view2.setClickable(false);
view2.setFocusable(false);
aco aco2 = new aco(this);
View view3 = view.findViewById(2131427826);
((TextView)view3.findViewById(2131427828)).setText(2131623972);
view3.setVisibility(0);
view3.setOnClickListener((View.OnClickListener)aco2);
view3.setBackgroundResource(2130839006);
view2.findViewById(2131427617).setVisibility(8);
view2.findViewById(2131427835).setVisibility(8);
this.findViewById(2131427593).setVisibility(8);
this.k = (TextView)this.findViewById(2131427822);
this.findViewById(2131427823).setVisibility(8);
((TextView)this.findViewById(2131427842)).setText(2131624710);
rr rr2 = new rr(this);
view2.findViewById(2131427618).setOnClickListener((View.OnClickListener)rr2);
view2.findViewById(2131427619).setOnClickListener((View.OnClickListener)rr2);
this.m.setAdapter((ListAdapter)this.n);
this.registerForContextMenu((View)this.m);
this.t = (TextView)this.findViewById(2131427821);
this.r = (ImageButton)this.findViewById(2131427825);
this.r.setOnClickListener(this.s);
TextView textView = this.p = (TextView)this.findViewById(2131427843);
Object[] arrobject = new Object[]{this.o.size(), ab.l};
textView.setText((CharSequence)this.getString(2131624644, arrobject));
Button button = (Button)this.findViewById(2131427829);
button.setText(2131624235);
button.setOnClickListener((View.OnClickListener)new bm(this));
for (String string3 : h9.b((String)this.j.e).a()) {
a9f a9f2 = App.ay.i(string3);
if (!this.o.contains((Object)a9f2)) {
this.o.add(a9f2);
}
if (!bl) continue;
}
this.h();
this.f();
this.c();
App.aW.a(this.i);
App.b((pa)this);
if (bundle == null) return;
String string = bundle.getString(z[19]);
if (string == null) return;
this.u = App.ay.i(string);
return;
catch (NumberFormatException numberFormatException) {
throw numberFormatException;
}
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void onCreateContextMenu(ContextMenu var1_1, View var2_2, ContextMenu.ContextMenuInfo var3_3) {
block8 : {
super.onCreateContextMenu(var1_1, var2_2, var3_3);
var4_4 = (a9f)((AdapterView.AdapterContextMenuInfo)var3_3).targetView.getTag();
if (var4_4 == null) {
return;
}
var7_5 = new Object[]{var4_4.e()};
var1_1.add(0, 1, 0, (CharSequence)this.getString(2131624529, var7_5));
var9_6 = new Object[]{var4_4.e()};
var1_1.add(0, 4, 0, (CharSequence)this.getString(2131624048, var9_6));
var11_7 = var4_4.m;
if (var11_7 != null) ** GOTO lbl16
var1_1.add(0, 2, 0, (CharSequence)this.getString(2131623974));
var1_1.add(0, 3, 0, (CharSequence)this.getString(2131623977));
if (!App.U) break block8;
lbl16: // 2 sources:
var12_8 = new Object[]{var4_4.e()};
var1_1.add(0, 0, 0, (CharSequence)this.getString(2131625087, var12_8));
{
catch (NumberFormatException var6_12) {
throw var6_12;
}
}
}
if (this.o.size() <= 1) return;
var15_9 = new Object[]{var4_4.e()};
var1_1.add(0, 5, 0, (CharSequence)this.getString(2131624795, var15_9));
return;
catch (NumberFormatException var5_11) {
throw var5_11;
}
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
protected Dialog onCreateDialog(int n) {
switch (n) {
default: {
return super.onCreateDialog(n);
}
case 50: {
fz fz2 = new fz(this);
return new axn((Activity)this, 2131624256, App.ay.h((String)this.j.e).F, (fn)fz2, ab.h, 0, 0);
}
case 2: {
String string;
if (TextUtils.isEmpty((CharSequence)this.j.a((Context)this))) {
string = this.getString(2131624237);
if (!App.U) return new AlertDialog.Builder((Context)this).setMessage(bu.c((String)string, (Context)this.getBaseContext())).setCancelable(true).setNegativeButton(2131624060, (DialogInterface.OnClickListener)new ayj(this)).setPositiveButton(2131624636, (DialogInterface.OnClickListener)new k4(this)).create();
}
Object[] arrobject = new Object[]{this.j.a((Context)this)};
string = this.getString(2131624236, arrobject);
return new AlertDialog.Builder((Context)this).setMessage(bu.c((String)string, (Context)this.getBaseContext())).setCancelable(true).setNegativeButton(2131624060, (DialogInterface.OnClickListener)new ayj(this)).setPositiveButton(2131624636, (DialogInterface.OnClickListener)new k4(this)).create();
}
case 6: {
if (this.u == null) return super.onCreateDialog(n);
Object[] arrobject = new Object[]{this.u.a((Context)this)};
String string = this.getString(2131624800, arrobject);
return new AlertDialog.Builder((Context)this).setMessage(bu.c((String)string, (Context)this.getBaseContext())).setCancelable(true).setNegativeButton(2131624060, (DialogInterface.OnClickListener)new yo(this)).setPositiveButton(2131624636, (DialogInterface.OnClickListener)new xq(this)).create();
}
case 4:
}
Log.w((String)z[1]);
return new AlertDialog.Builder((Context)this).setMessage(2131623970).setNeutralButton(2131624636, (DialogInterface.OnClickListener)new act(this)).create();
}
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(0, 1, 0, 2131623972).setIcon(2130838781).setShowAsAction(2);
return super.onCreateOptionsMenu(menu);
}
public void onDestroy() {
block2 : {
Log.i((String)z[15]);
super.onDestroy();
if (this.v == null) break block2;
this.v.cancel(true);
}
this.q.a();
App.aW.b(this.i);
App.a((pa)this);
}
/*
* 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: Tried to end blocks [0[TRYBLOCK]], but top level block is 1[SWITCH]
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:418)
// org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:470)
// 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");
}
protected void onSaveInstanceState(Bundle bundle) {
super.onSaveInstanceState(bundle);
if (this.u != null) {
bundle.putString(z[0], this.u.e);
}
return;
}
}
|