360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 ca.java 源代码,内容仅作参考
package com.qihoo.appstore.activities;
import android.app.ProgressDialog;
import android.widget.Spinner;
import android.widget.Toast;
import com.qihoo.freewifi.push.R;
import java.util.HashMap;
public class ca implements com.qihoo.appstore.s.f {
com.qihoo.appstore.s.e f801a;
final String f802b;
final String c;
final FeedBackActivity d;
private boolean e;
private ProgressDialog f;
public ca(FeedBackActivity feedBackActivity, String str, String str2) {
this.d = feedBackActivity;
this.f802b = str;
this.c = str2;
}
@Override
public void a() {
this.f = new ProgressDialog(this.d);
this.f.setMessage(this.d.getString(R.string.send_feedback));
this.f.setOnCancelListener(new cb(this));
this.f.show();
}
@Override
public void a(com.qihoo.appstore.s.e eVar) {
this.f801a = eVar;
}
@Override
public void a(String... strArr) {
Spinner spinner;
HashMap a2;
boolean z;
boolean z2;
boolean z3;
boolean z4;
try {
FeedBackActivity feedBackActivity = this.d;
FeedBackActivity feedBackActivity2 = this.d;
String str = this.f802b;
String str2 = this.c;
spinner = this.d.h;
a2 = feedBackActivity.a(feedBackActivity2, str, str2, spinner.getSelectedItem().toString());
z = this.d.l;
} catch (Exception e) {
e.printStackTrace();
this.e = false;
}
if (z) {
z4 = this.d.q;
if (!z4) {
this.e = ay.a(this.d, "http://care.help.360.cn/care/upload", a2);
if (com.qihoo360.mobilesafe.a.a.f5313a) {
return;
}
com.qihoo.appstore.utils.bk.b("FeedBackActivity", "isSuccess====" + this.e);
return;
}
}
FeedBackActivity feedBackActivity3 = this.d;
z2 = this.d.q;
boolean z5 = !z2;
z3 = this.d.q;
this.e = ay.a(feedBackActivity3, "http://care.help.360.cn/care/upload", a2, z5, z3);
if (com.qihoo360.mobilesafe.a.a.f5313a) {
}
}
@Override
public void b() {
try {
if (this.f != null) {
this.f.cancel();
}
if (!this.e) {
Toast.makeText(this.d, R.string.error_successful, 1).show();
} else {
Toast.makeText(this.d, R.string.commit_successful, 1).show();
this.d.c();
}
} catch (Exception e) {
if (com.qihoo360.mobilesafe.a.a.f5313a) {
com.qihoo.appstore.utils.bk.b("cd", "onPostExecute Exception!!!");
}
}
}
}