private void a() {
   String str = b.getText().toString().trim();
   if (StringUtils.d(str)) {
     AppData.a(EventIri.UpdatePrimaryEmail, "is_email_changed", Boolean.valueOf(false));
     as.a(AppData.b().getString(2131165845), 1);
   }
   do {
     return;
     if (!Patterns.EMAIL_ADDRESS.matcher(str).matches()) {
       AppData.a(EventIri.UpdatePrimaryEmail, "is_email_changed", Boolean.valueOf(false));
       as.a(AppData.b().getString(2131165836), 1);
       return;
     }
     if (str.equalsIgnoreCase(a.i())) {
       AppData.a(EventIri.UpdatePrimaryEmail, "is_email_changed", Boolean.valueOf(false));
       setResult(0);
       finish();
       return;
     }
     if ((c != null) && (c.u()) && (!str.equalsIgnoreCase(c.b()))) {
       c.a(true);
     }
   } while ((c != null) && (c.u()));
   c = new ex(str, d);
   c.f(new Void[0]);
   showLoadingDialog(c);
   AppData.a(EventIri.UpdatePrimaryEmail, "is_email_changed", Boolean.valueOf(true));
 }
 public void onCreate(Bundle paramBundle) {
   super.onCreate(paramBundle);
   setContentView(2130903076);
   a = AppData.b().q();
   b = ((EditText) findViewById(2131689746));
   b.setText(a.i());
 }
 public void onNewIntent(Intent paramIntent) {
   b.setText(a.i());
 }