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.res.Resources
* android.graphics.Bitmap
* android.graphics.Paint
* android.graphics.drawable.Drawable
* android.os.AsyncTask
* android.os.Bundle
* android.os.Handler
* android.text.TextPaint
* android.text.TextUtils
* android.text.format.DateUtils
* android.text.format.Formatter
* android.view.LayoutInflater
* android.view.View
* android.view.View$OnClickListener
* android.view.ViewGroup
* android.view.ViewGroup$LayoutParams
* android.view.ViewTreeObserver
* android.view.ViewTreeObserver$OnGlobalLayoutListener
* android.widget.AbsListView
* android.widget.AbsListView$OnScrollListener
* android.widget.AdapterView
* android.widget.AdapterView$OnItemClickListener
* android.widget.HorizontalScrollView
* android.widget.ImageView
* android.widget.ImageView$ScaleType
* android.widget.LinearLayout
* 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.DialogToastActivity
* com.whatsapp.ThumbnailTextButton
* com.whatsapp.a_g
* com.whatsapp.a_k
* com.whatsapp.abk
* com.whatsapp.ad6
* com.whatsapp.ae5
* com.whatsapp.agq
* com.whatsapp.avk
* com.whatsapp.axy
* com.whatsapp.bl
* com.whatsapp.dy
* com.whatsapp.hx
* com.whatsapp.lp
* com.whatsapp.mt
* com.whatsapp.p2
* com.whatsapp.pa
* com.whatsapp.protocol.ad
* com.whatsapp.py
* com.whatsapp.q0
* com.whatsapp.qm
* com.whatsapp.qv
* com.whatsapp.r4
* com.whatsapp.rm
* com.whatsapp.uf
* com.whatsapp.up
* com.whatsapp.util.Log
* com.whatsapp.util.a9
* com.whatsapp.util.aq
* com.whatsapp.util.b6
* com.whatsapp.util.bu
* com.whatsapp.wo
* com.whatsapp.zk
* com.whatsapp.zv
*/
package com.whatsapp;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.format.DateUtils;
import android.text.format.Formatter;
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.HorizontalScrollView;
import android.widget.ImageView;
import android.widget.LinearLayout;
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.DialogToastActivity;
import com.whatsapp.ThumbnailTextButton;
import com.whatsapp.a9f;
import com.whatsapp.a_g;
import com.whatsapp.a_k;
import com.whatsapp.a_w;
import com.whatsapp.abk;
import com.whatsapp.ad6;
import com.whatsapp.ae5;
import com.whatsapp.agq;
import com.whatsapp.avk;
import com.whatsapp.axy;
import com.whatsapp.bl;
import com.whatsapp.dy;
import com.whatsapp.hx;
import com.whatsapp.lp;
import com.whatsapp.mt;
import com.whatsapp.p2;
import com.whatsapp.pa;
import com.whatsapp.protocol.ad;
import com.whatsapp.py;
import com.whatsapp.q0;
import com.whatsapp.q2;
import com.whatsapp.qm;
import com.whatsapp.qv;
import com.whatsapp.r4;
import com.whatsapp.rm;
import com.whatsapp.uf;
import com.whatsapp.up;
import com.whatsapp.util.Log;
import com.whatsapp.util.a9;
import com.whatsapp.util.aq;
import com.whatsapp.util.b6;
import com.whatsapp.util.bu;
import com.whatsapp.wo;
import com.whatsapp.zk;
import com.whatsapp.zv;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.UnknownFormatConversionException;
public class ContactInfo
extends DialogToastActivity
implements pa {
private static final String[] z;
private View j;
private final up k = new uf(this);
private CharSequence l;
private View m;
private a9f n;
private zv o;
private ae5 p = new ae5();
private avk q;
private ListView r;
private ImageView s;
private LinearLayout t;
Runnable u = new rm(this);
Handler v = new Handler();
/*
* Enabled aggressive block sorting
*/
static {
String[] arrstring = new String[22];
String string = "A33I8";
int n = -1;
String[] arrstring2 = arrstring;
int n2 = 0;
block29 : 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 = "R42S<R/5I;^t3W)\u0011(%T)T6|D2_/=D)\u001175T)\u001183R1U{2H)\u0011=3R3U";
n2 = 1;
arrstring2 = arrstring;
n = 0;
continue block29;
}
case 0: {
arrstring2[n2] = string2;
string = "P58U2X?rN3E>2SsP8(N2_u\nn\u0018f";
n2 = 2;
arrstring2 = arrstring;
n = 1;
continue block29;
}
case 1: {
arrstring2[n2] = string2;
string = "[28";
n2 = 3;
arrstring2 = arrstring;
n = 2;
continue block29;
}
case 2: {
arrstring2[n2] = string2;
string = "A33I8n/%W8";
n2 = 4;
arrstring2 = arrstring;
n = 3;
continue block29;
}
case 3: {
arrstring2[n2] = string2;
n2 = 5;
arrstring2 = arrstring;
string = "P58U2X?rN3E>2SsP8(N2_u\u0015i\u000et\t\bx\u0012c\u0004\u0019c\u0014e";
n = 4;
continue block29;
}
case 4: {
arrstring2[n2] = string2;
n2 = 6;
string = "G58\t<_?.H4Uu?R/B4.\t4E>1\b>^5(F>E";
n = 5;
arrstring2 = arrstring;
continue block29;
}
case 5: {
arrstring2[n2] = string2;
n2 = 7;
string = "P58U2X?rN3E>2SsP8(N2_u\u0015i\u000et\t\b";
n = 6;
arrstring2 = arrstring;
continue block29;
}
case 6: {
arrstring2[n2] = string2;
n2 = 8;
string = "A33I8";
n = 7;
arrstring2 = arrstring;
continue block29;
}
case 7: {
arrstring2[n2] = string2;
n2 = 9;
string = "]:%H(E\u00045I;]:(B/";
n = 8;
arrstring2 = arrstring;
continue block29;
}
case 8: {
arrstring2[n2] = string2;
n2 = 10;
string = "R42S<R/5I;^t?U8P/9";
n = 9;
arrstring2 = arrstring;
continue block29;
}
case 9: {
arrstring2[n2] = string2;
n2 = 11;
string = "R42S<R/5I;^t.B.D7(\b>^5(F>E{2H)\u0011:8C8U{";
n = 10;
arrstring2 = arrstring;
continue block29;
}
case 10: {
arrstring2[n2] = string2;
n2 = 12;
string = "R42S<R/5I;^t.B.D7(\b.Z2,\b>^5(F>E{2H)\u0011:8C8U{";
n = 11;
arrstring2 = arrstring;
continue block29;
}
case 11: {
arrstring2[n2] = string2;
n2 = 13;
string = "[28";
n = 12;
arrstring2 = arrstring;
continue block29;
}
case 12: {
arrstring2[n2] = string2;
n2 = 14;
string = "[28";
n = 13;
arrstring2 = arrstring;
continue block29;
}
case 13: {
arrstring2[n2] = string2;
n2 = 15;
string = "R42S<R/5I;^t8B.E)3^";
n = 14;
arrstring2 = arrstring;
continue block29;
}
case 14: {
arrstring2[n2] = string2;
n2 = 16;
string = "[28";
n = 15;
arrstring2 = arrstring;
continue block29;
}
case 15: {
arrstring2[n2] = string2;
n2 = 17;
string = "[28";
n = 16;
arrstring2 = arrstring;
continue block29;
}
case 16: {
arrstring2[n2] = string2;
n2 = 18;
string = "R42S<R/5I;^t)W9P/9";
n = 17;
arrstring2 = arrstring;
continue block29;
}
case 17: {
arrstring2[n2] = string2;
n2 = 19;
string = "[28";
n = 18;
arrstring2 = arrstring;
continue block29;
}
case 18: {
arrstring2[n2] = string2;
n2 = 20;
string = "[28";
n = 19;
arrstring2 = arrstring;
continue block29;
}
case 19: {
arrstring2[n2] = string2;
n2 = 21;
string = "]:%H(E\u00045I;]:(B/";
n = 20;
arrstring2 = arrstring;
continue block29;
}
case 20:
}
arrstring2[n2] = string2;
z = arrstring;
return;
}
char c = arrc[n4];
switch (n4 % 5) {
default: {
n5 = 93;
break;
}
case 0: {
n5 = 49;
break;
}
case 1: {
n5 = 91;
break;
}
case 2: {
n5 = 92;
break;
}
case 3: {
n5 = 39;
}
}
arrc[n4] = (char)(n5 ^ c);
++n4;
} while (true);
break;
} while (true);
}
/*
* Exception decompiling
*/
protected static int a(Context var0, String var1_1, a_g var2_2) {
// 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 6 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");
}
/*
* Enabled force condition propagation
* Lifted jumps to return sites
*/
private void a(Bitmap bitmap) {
this.m.setVisibility(8);
if (bitmap == null) return;
this.s.setImageBitmap(bitmap);
}
static void a(ContactInfo contactInfo) {
contactInfo.e();
}
static void a(ContactInfo contactInfo, Bitmap bitmap) {
contactInfo.a(bitmap);
}
static void a(ContactInfo contactInfo, ArrayList arrayList) {
contactInfo.b(arrayList);
}
static void a(ContactInfo contactInfo, List list) {
contactInfo.a(list);
}
public static void a(a9f a9f2, Activity activity) {
Intent intent = new Intent((Context)activity, ContactInfo.class);
intent.putExtra(z[20], 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.n;
String string = a9f2 == null ? null : this.n.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
*/
protected static void a(ArrayList var0, String var1_1, Activity var2_2) {
block26 : {
block27 : {
block23 : {
block22 : {
var3_3 = App.U;
var4_4 = var2_2.findViewById(2131427617);
if (var0 == null) ** GOTO lbl6
if (!var0.isEmpty()) break block22;
lbl6: // 2 sources:
var4_4.setVisibility(8);
if (var3_3 == false) return;
}
var4_4.setVisibility(0);
var6_5 = (ViewGroup)var2_2.findViewById(2131427622);
var6_5.removeAllViews();
var7_6 = var2_2.getResources().getDimensionPixelSize(2131361865);
var8_7 = var2_2.getResources().getDimensionPixelSize(2131361864);
var9_8 = var2_2.getResources().getDimensionPixelSize(2131361863);
var10_9 = new ImageView((Context)var2_2);
var10_9.setBackgroundResource(2130839101);
var10_9.setLayoutParams(new ViewGroup.LayoutParams(var7_6 + var8_7, var7_6 + var8_7));
var10_9.setPadding(var8_7, var8_7, var8_7, var8_7);
var10_9.setOnClickListener((View.OnClickListener)new bl(var2_2, var1_1));
var10_9.setImageDrawable((Drawable)new aq(var2_2.getResources().getDrawable(2130838776)));
var10_9.setScaleType(ImageView.ScaleType.CENTER);
var13_10 = App.J();
if (var13_10) break block23;
if (var0.size() < 12) break block23;
var6_5.addView((View)var10_9);
{
catch (ActivityNotFoundException var12_21) {
throw var12_21;
}
}
}
var14_11 = var0.iterator();
break block27;
catch (ActivityNotFoundException var5_19) {
throw var5_19;
}
catch (ActivityNotFoundException var11_20) {
throw var11_20;
}
}
while (var14_11.hasNext()) {
block24 : {
block28 : {
block25 : {
var19_12 = (ad)var14_11.next();
var20_13 = new ThumbnailTextButton((Context)var2_2);
var20_13.setScaleType(ImageView.ScaleType.CENTER_CROP);
var20_13.setLayoutParams(new ViewGroup.LayoutParams(var7_6 + var8_7, var7_6 + var8_7));
var20_13.setPadding(var8_7, var8_7, var8_7, var8_7);
var20_13.setRadius(var9_8);
var20_13.setTextSize((float)(var7_6 / 6));
var20_13.setTextGravity(5);
var23_14 = var19_12.N;
if (var23_14 == 3) ** GOTO lbl53
if (var19_12.N != 2) break block24;
lbl53: // 2 sources:
if ((var24_15 = var19_12.s) == 0) break block25;
var25_16 = DateUtils.formatElapsedTime((long)var19_12.s);
if (!var3_3) break block28;
}
var25_16 = Formatter.formatShortFileSize((Context)App.r, (long)var19_12.C);
}
var20_13.setText((CharSequence)var25_16);
if (var19_12.N != 3) break block24;
var20_13.setIcon(var2_2.getResources().getDrawable(2130838943));
}
var20_13.setOnClickListener((View.OnClickListener)new abk(var2_2, var19_12, var1_1));
b6.b((ad)var19_12, (ImageView)var20_13, (a9)new p2(var7_6));
var6_5.addView((View)var20_13);
if (!var3_3) continue;
}
var17_17 = App.J();
if (!var17_17) break block26;
if (var0.size() < 12) return;
var6_5.addView((View)var10_9);
if (var3_3 == false) return;
{
catch (ActivityNotFoundException var16_26) {
throw var16_26;
}
}
}
var18_18 = (HorizontalScrollView)var2_2.findViewById(2131427621);
var18_18.getViewTreeObserver().addOnGlobalLayoutListener((ViewTreeObserver.OnGlobalLayoutListener)new qv(var18_18));
return;
catch (ActivityNotFoundException var21_22) {
throw var21_22;
}
catch (ActivityNotFoundException var26_24) {
throw var26_24;
}
catch (ActivityNotFoundException var15_25) {
throw var15_25;
}
}
private void a(List list) {
block3 : {
block2 : {
this.q.a(list);
if (this.q.getCount() != 0) break block2;
this.findViewById(2131427623).setVisibility(8);
boolean bl2 = App.U;
if (!bl2) break block3;
}
this.findViewById(2131427623).setVisibility(0);
((TextView)this.findViewById(2131427625)).setText((CharSequence)Integer.toString(this.q.getCount()));
}
}
static a9f b(ContactInfo contactInfo) {
return contactInfo.n;
}
/*
* 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 bl2;
block11 : {
block10 : {
bl2 = App.U;
View view = this.r.getChildAt(0);
if (view == null) return;
if (this.r.getWidth() <= this.r.getHeight()) break block9;
int n2 = this.r.getFirstVisiblePosition();
if (n2 != 0) break block10;
n = view.getTop();
if (!bl2) break block11;
}
n = 1 + (- this.j.getHeight());
}
this.j.offsetTopAndBottom(n - this.j.getTop());
if (!bl2) return;
}
if (this.j.getTop() == 0) return;
this.j.offsetTopAndBottom(- this.j.getTop());
return;
{
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
static void b(ContactInfo contactInfo, ArrayList arrayList) {
contactInfo.a(arrayList);
}
/*
* 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(ArrayList arrayList) {
bl2 = App.U;
layoutInflater = (LayoutInflater)this.getBaseContext().getSystemService(ContactInfo.z[21]);
if (this.t == null) {
this.t = new LinearLayout((Context)this);
this.t.setOrientation(1);
((ListView)this.findViewById(16908298)).addFooterView((View)this.t, (Object)null, false);
}
this.t.removeAllViews();
view = new View((Context)this);
this.t.addView(view, -1, this.getResources().getDimensionPixelSize(2131361814));
iterator = arrayList.iterator();
n = 0;
while (iterator.hasNext()) {
block47 : {
block46 : {
block45 : {
block44 : {
block43 : {
block42 : {
ad62 = (ad6)iterator.next();
view2 = lp.a((LayoutInflater)layoutInflater, (int)2130903089, (ViewGroup)null, (boolean)false);
n3 = arrayList.size();
if (n3 != 1) break block42;
view2.setBackgroundResource(2130839005);
if (!bl2) break block43;
}
if (n == 0) {
view2.setBackgroundResource(2130839005);
if (!bl2) break block43;
}
if (n == 1) {
view7 = new View((Context)this);
this.t.addView(view7, -1, this.getResources().getDimensionPixelSize(2131361814));
view2.setBackgroundResource(2130839009);
((TextView)view2.findViewById(2131427604)).setText(2131624144);
if (!bl2) break block43;
}
n4 = arrayList.size();
if (n != n4 - 1) ** GOTO lbl39
view2.setBackgroundResource(2130839006);
if (!bl2) break block43;
lbl39: // 2 sources:
view2.setBackgroundResource(2130839008);
}
this.t.addView(view2, -1, -2);
view2.findViewById(2131427605).setVisibility(0);
view6 = view2.findViewById(2131427603);
view3 = view2.findViewById(2131427611);
view4 = view2.findViewById(2131427610);
mt.b((TextView)((TextView)view2.findViewById(2131427604)));
if (n != 0 && n != 1) ** GOTO lbl52
view6.setVisibility(0);
if (!bl2) break block44;
lbl52: // 2 sources:
view6.setVisibility(8);
}
view5 = view2.findViewById(2131427543);
n5 = arrayList.size();
if (n != n5 - 1 && n != 0) ** GOTO lbl61
view5.setVisibility(8);
if (!bl2) break block45;
lbl61: // 2 sources:
view5.setVisibility(0);
}
string = ad6.a((ad6)ad62);
if (string != null) ** GOTO lbl70
view3.setVisibility(8);
view4.setVisibility(8);
if (!bl2) break block46;
lbl70: // 2 sources:
view3.setVisibility(0);
view4.setVisibility(0);
view3.setOnClickListener((View.OnClickListener)new r4(this, ad62));
{
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
}
((TextView)view2.findViewById(2131427608)).setText((CharSequence)ad6.b((ad6)ad62));
textView = (TextView)view2.findViewById(2131427607);
arrobject = new Object[]{ad6.d((ad6)ad62)};
textView.setText((CharSequence)this.getString(2131624048, arrobject));
view2.findViewById(2131427606).setOnClickListener((View.OnClickListener)new a_w(this, ad62));
n2 = n + 1;
if (bl2) {
break;
}
break block47;
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
n = n2;
}
view8 = new View((Context)this);
this.t.addView(view8, -1, this.getResources().getDimensionPixelSize(2131361814));
}
/*
* 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() {
var1_1 = (TextView)this.findViewById(2131427614);
if (this.n.c == 0L) ** GOTO lbl10
var4_2 = DateUtils.getRelativeTimeSpanString((long)App.b((long)this.n.c), (long)System.currentTimeMillis(), (long)0L, (int)0);
{
catch (UnknownFormatConversionException var3_4) {
Log.c((Throwable)var3_4);
var1_1.setText((CharSequence)"");
if (App.U == false) return;
lbl10: // 2 sources:
var1_1.setText((CharSequence)"");
return;
}
}
if (TextUtils.equals((CharSequence)this.l, (CharSequence)var4_2) != false) return;
this.l = var4_2;
var1_1.setText(this.l);
return;
}
static void c(ContactInfo contactInfo) {
contactInfo.c();
}
private long d() {
long l = this.n.c;
if (l == 0L) {
return 60000L;
}
long l2 = System.currentTimeMillis() - App.b((long)this.n.c);
if (l2 < 60000L) {
return 500L;
}
if (l2 < 3600000L) {
return 5000L;
}
return 20000L;
}
static ae5 d(ContactInfo contactInfo) {
return contactInfo.p;
}
static long e(ContactInfo contactInfo) {
return contactInfo.d();
}
/*
* Unable to fully structure code
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
private void e() {
block11 : {
block10 : {
block9 : {
Log.i((String)ContactInfo.z[18]);
this.n = py.b((String)this.getIntent().getStringExtra(ContactInfo.z[19]));
var1_1 = (TextView)this.findViewById(2131427624);
var2_2 = new Object[]{this.n.e()};
var1_1.setText((CharSequence)this.getString(2131624442, var2_2));
var3_3 = this.getResources().getDimensionPixelSize(2131361867);
this.a(Bitmap.createScaledBitmap((Bitmap)this.n.g(), (int)var3_3, (int)var3_3, (boolean)true));
var4_4 = (TextView)this.findViewById(2131427596);
var4_4.setText(bu.b((String)this.n.a((Context)this), (Context)this.getBaseContext(), (Paint)var4_4.getPaint()));
((TextView)this.findViewById(2131427597)).setText((CharSequence)this.n.q());
var5_5 = (TextView)this.findViewById(2131427616);
var6_6 = this.findViewById(2131427612);
var9_7 = this.n.a;
if (var9_7 == null) ** GOTO lbl28
var6_6.setVisibility(0);
this.c();
this.v.removeCallbacks(this.u);
if (this.n.c == 0L) break block9;
this.v.postDelayed(this.u, this.d());
{
catch (ActivityNotFoundException var8_9) {
throw var8_9;
}
}
}
var5_5.setText(bu.a((String)this.n.a, (Context)this.getBaseContext()));
if (!App.U) break block10;
lbl28: // 2 sources:
var6_6.setVisibility(8);
}
if (this.o == null) break block11;
this.o.cancel(true);
}
this.o = new zv(this);
q0.a((AsyncTask)this.o, (Object[])new Void[0]);
return;
catch (ActivityNotFoundException var7_8) {
throw var7_8;
}
}
static void f(ContactInfo contactInfo) {
contactInfo.b();
}
static avk g(ContactInfo contactInfo) {
return contactInfo.q;
}
public void a() {
this.e();
this.supportInvalidateOptionsMenu();
}
public void a(String string) {
if (string.equals(this.getIntent().getStringExtra(z[13]))) {
this.e();
}
return;
}
public void a(Collection collection) {
}
public void b(String string) {
if (string.equals(this.getIntent().getStringExtra(z[16]))) {
((TextView)this.findViewById(2131427597)).setText((CharSequence)this.n.q());
}
}
public void c(String string) {
if (string.equals(this.getIntent().getStringExtra(z[14]))) {
this.e();
}
return;
}
/*
* Loose catch block
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
* Lifted jumps to return sites
*/
public void d(String string) {
a9f a9f2;
block7 : {
if (!string.equals(this.getIntent().getStringExtra(z[17]))) break block7;
this.e();
boolean bl2 = App.U;
if (!bl2) return;
}
if ((a9f2 = App.ay.i(string)) == null) return;
axy axy2 = new axy(a9f2);
avk avk2 = this.q;
if (avk2 == null) return;
if (!a9f.a(this.q.c, (hx)axy2)) return;
this.q.notifyDataSetChanged();
return;
{
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
catch (ActivityNotFoundException activityNotFoundException) {
throw activityNotFoundException;
}
}
/*
* Exception decompiling
*/
protected void onActivityResult(int var1_1, int var2_2, Intent var3_3) {
// 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 4 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 onCreate(Bundle bundle) {
Log.i((String)z[10]);
super.onCreate(bundle);
this.requestWindowFeature(5L);
this.getSupportActionBar().setDisplayHomeAsUpEnabled(true);
this.setContentView(2130903088);
this.r = (ListView)this.findViewById(16908298);
View view = lp.a((LayoutInflater)((LayoutInflater)this.getBaseContext().getSystemService(z[9])), (int)2130903090, (ViewGroup)this.r, (boolean)false);
this.r.addHeaderView(view, (Object)null, false);
this.j = this.findViewById(2131427513);
this.j.setClickable(true);
this.r.setOnScrollListener((AbsListView.OnScrollListener)new zk(this));
this.r.getViewTreeObserver().addOnGlobalLayoutListener((ViewTreeObserver.OnGlobalLayoutListener)new agq(this));
this.s = (ImageView)this.findViewById(2131427593);
this.s.setOnClickListener((View.OnClickListener)new qm(this));
this.m = this.findViewById(2131427592);
a_k a_k2 = new a_k(this);
this.findViewById(2131427618).setOnClickListener((View.OnClickListener)a_k2);
this.findViewById(2131427619).setOnClickListener((View.OnClickListener)a_k2);
this.r.setOnItemClickListener((AdapterView.OnItemClickListener)new wo(this));
mt.b((TextView)((TextView)this.findViewById(2131427618)));
mt.b((TextView)((TextView)this.findViewById(2131427613)));
mt.b((TextView)((TextView)this.findViewById(2131427624)));
this.q = new avk(this, (Context)this, 2130903186);
this.r.setAdapter((ListAdapter)this.q);
this.a((List)null);
this.a((ArrayList)null);
this.setSupportProgressBarIndeterminateVisibility(true);
this.e();
b6.b((String)this.n.e);
App.aW.a(this.k);
App.b((pa)this);
}
/*
* Exception decompiling
*/
public boolean onCreateOptionsMenu(Menu 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 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");
}
public void onDestroy() {
block2 : {
super.onDestroy();
Log.i((String)z[15]);
if (this.o == null) break block2;
this.o.cancel(true);
}
App.a((pa)this);
App.aW.b(this.k);
this.p.a();
b6.c((String)this.n.e);
this.v.removeCallbacks(this.u);
}
/*
* 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.CannotPerformDecode: reachable test BLOCK was exited and re-entered.
// org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters.Misc.getFarthestReachableInRange(Misc.java:143)
// org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters.SwitchReplacer.examineSwitchContiguity(SwitchReplacer.java:385)
// org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters.SwitchReplacer.replaceRawSwitches(SwitchReplacer.java:65)
// org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:401)
// 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 onResume() {
super.onResume();
App.a((a9f)this.n);
}
}
|