private void a(e eVar) {
   C0596r.e("isManualSetWeight", this.q + a.f);
   C0596r.e(i, "weightadvdata " + eVar.toString());
   P p = new P();
   p.a = eVar;
   this.t = eVar.j();
   if (eVar.f() && eVar.d()) {
     this.t = 0.0f;
   }
   this.s.sendEmptyMessage(123);
   if (eVar.f() && !eVar.d()) {
     h = false;
     C0401a.a(this.p, C0401a.gk, C0401a.gm);
     UserInfo userInfo = new UserInfo();
     userInfo.name = Keeper.getCurrentUserInfoByTag(Keeper.CURRENT_USER_NAME);
     String currentUserInfoByTag = Keeper.getCurrentUserInfoByTag(Keeper.CURRENT_USER_GENDER);
     if (currentUserInfoByTag.isEmpty()) {
       userInfo.gender = 1;
     } else {
       userInfo.gender = Integer.parseInt(currentUserInfoByTag);
     }
     userInfo.birthday = Keeper.getCurrentUserInfoByTag(Keeper.CURRENT_USER_BIRTH);
     currentUserInfoByTag = Keeper.getCurrentUserInfoByTag(Keeper.CURRENT_USER_HEIGHT);
     if (currentUserInfoByTag.isEmpty()) {
       userInfo.height = 100;
     } else {
       userInfo.height = Integer.parseInt(currentUserInfoByTag);
     }
     userInfo.weight = aA.c(this.t, p.a.h(), 0);
     eVar.a(aA.a(userInfo.height, Birthday.fromStr(userInfo.birthday).getAge(), userInfo.weight));
     new f(this, userInfo, eVar).execute(new Void[0]);
   }
 }