Пример #1
0
 public void c(CharSequence paramCharSequence) {
   if (Build.VERSION.SDK_INT >= 14) {
     q = paramCharSequence;
     paramCharSequence = Long.valueOf(new Date().getTime());
     if ((paramCharSequence.longValue() - b >= 300L) || (u == v)) {
       break label91;
     }
   }
   for (; ; ) {
     return;
     if (paramCharSequence != null) {
       q = TextUtils.ellipsize(paramCharSequence, y, 200.0F, TextUtils.TruncateAt.MIDDLE);
       break;
     }
     q = "";
     break;
     label91:
     b = paramCharSequence.longValue();
     if (Build.VERSION.SDK_INT >= 14) {
       al.a(x).a("setContentText", CharSequence.class, q);
     }
     while (k) {
       c();
       return;
       if (u != -1L) {
         w.b(q + "  " + u * 100L / v + "%");
       } else {
         w.b(q);
       }
     }
   }
 }
Пример #2
0
 public void c(int paramInt) {
   u = paramInt;
   Object localObject = Long.valueOf(new Date().getTime());
   if ((((Long) localObject).longValue() - a < 300L) && (u != v)) {}
   do {
     return;
     a = ((Long) localObject).longValue();
   } while (!k);
   if (Build.VERSION.SDK_INT >= 14) {
     localObject = al.a(x);
     Class localClass1 = Integer.TYPE;
     Class localClass2 = Integer.TYPE;
     Class localClass3 = Boolean.TYPE;
     int i1 = (int) v;
     ((al) localObject)
         .a(
             "setProgress",
             new Class[] {localClass1, localClass2, localClass3},
             new Object[] {
               Integer.valueOf(i1), Integer.valueOf(paramInt), Boolean.valueOf(false)
             });
   }
   for (; ; ) {
     c();
     return;
     long l1 = u * 100L / v;
     w.b(q + "  " + l1 + "%");
   }
 }
Пример #3
0
 public void a(RemoteViews paramRemoteViews) {
   if (Build.VERSION.SDK_INT >= 14) {
     al.a(x).a("setContent", paramRemoteViews);
     return;
   }
   w.a(paramRemoteViews);
 }
Пример #4
0
 public void c() {
   for (; ; ) {
     try {
       if (A) {
         return;
       }
       if (Build.VERSION.SDK_INT >= 14) {
         l = ((Notification) al.a(x).a("getNotification"));
         Notification localNotification = l;
         flags |= z;
         j.notify(m, l);
         if (!A) {
           break;
         }
         j.cancel(m);
         return;
       }
     } catch (Exception localException) {
       localException.printStackTrace();
       return;
     }
     l = w.a();
   }
   k = true;
 }
Пример #5
0
 public void a(Intent paramIntent, boolean paramBoolean) {
   if (!paramIntent.getComponent().getClassName().equals(FileExplorerActivity.class.getName())) {
     paramIntent.setAction(Long.toString(System.currentTimeMillis()));
     if (!paramBoolean) {
       break label99;
     }
     r = PendingIntent.getActivity(i, 0, paramIntent, 134217728);
     label50:
     if (Build.VERSION.SDK_INT < 14) {
       break label118;
     }
     al.a(x).a("setContentIntent", r);
   }
   for (; ; ) {
     if (k) {
       c();
     }
     return;
     paramIntent.addFlags(603979776);
     break;
     label99:
     r = PendingIntent.getBroadcast(i, 0, paramIntent, 134217728);
     break label50;
     label118:
     w.a(r);
   }
 }
Пример #6
0
 public void b(CharSequence paramCharSequence) {
   p = paramCharSequence;
   if (Build.VERSION.SDK_INT >= 14) {
     al.a(x).a("setContentTitle", CharSequence.class, paramCharSequence);
   }
   for (; ; ) {
     if (k) {
       c();
     }
     return;
     w.a(paramCharSequence);
   }
 }
Пример #7
0
 public void a(CharSequence paramCharSequence) {
   o = paramCharSequence;
   if (Build.VERSION.SDK_INT >= 14) {
     al.a(x).a("setTicker", CharSequence.class, paramCharSequence);
   }
   for (; ; ) {
     if (k) {
       c();
     }
     return;
     w.c(paramCharSequence);
   }
 }
Пример #8
0
 public void a(int paramInt) {
   n = paramInt;
   if (Build.VERSION.SDK_INT >= 14) {
     al.a(x).a("setSmallIcon", Integer.TYPE, Integer.valueOf(paramInt));
   }
   for (; ; ) {
     if (k) {
       c();
     }
     return;
     w.a(paramInt);
   }
 }
Пример #9
0
 public void a() {
   if (k) {
     if (Build.VERSION.SDK_INT < 14) {
       break label80;
     }
     al.a(x)
         .a(
             "setProgress",
             new Class[] {Integer.TYPE, Integer.TYPE, Boolean.TYPE},
             new Object[] {Integer.valueOf(0), Integer.valueOf(0), Boolean.valueOf(false)});
   }
   for (; ; ) {
     c();
     return;
     label80:
     w.b(q);
   }
 }
Пример #10
0
 public void b(Intent paramIntent, boolean paramBoolean) {
   if (paramBoolean) {
     s = PendingIntent.getActivity(i, 0, paramIntent, 134217728);
     if (Build.VERSION.SDK_INT < 14) {
       break label77;
     }
     al.a(x).a("setDeleteIntent", s);
   }
   for (; ; ) {
     if (k) {
       c();
     }
     return;
     s = PendingIntent.getBroadcast(i, 0, paramIntent, 134217728);
     break;
     label77:
     w.b(s);
   }
 }
Пример #11
0
 public void a(boolean paramBoolean) {
   t = paramBoolean;
   if (Build.VERSION.SDK_INT >= 14) {
     al.a(x).a("setOngoing", Boolean.TYPE, Boolean.valueOf(paramBoolean));
   }
   for (; ; ) {
     if ((!paramBoolean) && (d != null)) {}
     synchronized (c) {
       if ((B) && (c.remove(Integer.valueOf(m))) && (c.isEmpty())) {
         d.stopForeground(true);
         f = false;
       }
       if (k) {
         c();
       }
       return;
       w.a(paramBoolean);
     }
   }
 }
Пример #12
0
 public Notification d() {
   if (Build.VERSION.SDK_INT >= 14) {}
   for (l = ((Notification) al.a(x).a("getNotification")); ; l = w.a()) {
     return l;
   }
 }