Exemplo n.º 1
1
 public c(Context paramContext, boolean paramBoolean) {
   i = paramContext;
   B = paramBoolean;
   j = ((NotificationManager) i.getSystemService("notification"));
   k = false;
   m = (g.addAndGet(1) + (int) SystemClock.elapsedRealtime());
   y.setTextSize(16.0F);
   if (Build.VERSION.SDK_INT >= 14) {
     paramContext = i;
     x =
         h.b(
             null,
             "android.app.Notification$Builder",
             new Class[] {Context.class},
             new Context[] {paramContext});
   }
   for (; ; ) {
     if (d != null) {}
     synchronized (c) {
       if (B) {
         c.add(Integer.valueOf(m));
         if (!f) {
           if (!bd.j()) {
             break label305;
           }
           paramContext =
               new Notification(
                   2130837892, FexApplication.a().getText(2131428105), System.currentTimeMillis());
           PendingIntent localPendingIntent =
               PendingIntent.getActivity(FexApplication.a(), 0, new Intent(), 0);
           paramContext.setLatestEventInfo(
               FexApplication.a(),
               FexApplication.a().getText(2131427488),
               FexApplication.a().getText(2131428105),
               localPendingIntent);
           flags |= 0x20;
           d.startForeground(g.addAndGet(1) + (int) SystemClock.elapsedRealtime(), paramContext);
           f = true;
         }
       }
       return;
       w = new af(i);
       continue;
       label305:
       paramContext = new Notification(0, null, System.currentTimeMillis());
     }
   }
 }
 public static List<ChatFeedItem> a(List<bih> paramList) {
   ArrayList localArrayList = new ArrayList(paramList.size());
   String str = akr.l();
   Iterator localIterator = paramList.iterator();
   while (localIterator.hasNext()) {
     bih localbih = (bih) localIterator.next();
     if (localbih.d()) {
       paramList = localbih.c();
       if (paramList.b()) {
         switch (paramList.a().d()) {
           default:
             paramList = new ale(paramList);
         }
       }
       for (; ; ) {
         paramList.d(localbih.g());
         localArrayList.add(paramList);
         break;
         paramList = new ald(paramList);
         continue;
         paramList = new ChatMedia(paramList);
         continue;
         ReleaseManager.a();
         ReleaseManager.k();
         paramList = new alc(paramList);
         continue;
         paramList = new alb(paramList);
         continue;
         paramList = new alb(paramList);
         continue;
         paramList = new ale(paramList);
       }
     }
     if (localbih.b()) {
       localArrayList.add(avr.a(localbih.a()));
     } else if (localbih.f()) {
       paramList = CashTransaction.a.a(localbih.e());
       if ((!TextUtils.equals(str, mRecipientUsername))
           || (mTransactionStatus != CashTransaction.TransactionStatus.INITIATED)) {
         paramList = new CashFeedItem(paramList);
         mIterToken = localbih.g();
         localArrayList.add(paramList);
       }
     }
   }
   return localArrayList;
 }