/*
  * Enabled aggressive block sorting
  */
 static Notification add(
     Context context,
     Notification notification,
     CharSequence charSequence,
     CharSequence charSequence2,
     CharSequence charSequence3,
     RemoteViews remoteViews,
     int n2,
     PendingIntent pendingIntent,
     PendingIntent pendingIntent2,
     Bitmap bitmap,
     int n3,
     int n4,
     boolean bl2) {
   context =
       new Notification.Builder(context)
           .setWhen(notification.when)
           .setSmallIcon(notification.icon, notification.iconLevel)
           .setContent(notification.contentView)
           .setTicker(notification.tickerText, remoteViews)
           .setSound(notification.sound, notification.audioStreamType)
           .setVibrate(notification.vibrate)
           .setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS);
   boolean bl3 = (notification.flags & 2) != 0;
   context = context.setOngoing(bl3);
   bl3 = (notification.flags & 8) != 0;
   context = context.setOnlyAlertOnce(bl3);
   bl3 = (notification.flags & 16) != 0;
   context =
       context
           .setAutoCancel(bl3)
           .setDefaults(notification.defaults)
           .setContentTitle(charSequence)
           .setContentText(charSequence2)
           .setContentInfo(charSequence3)
           .setContentIntent(pendingIntent)
           .setDeleteIntent(notification.deleteIntent);
   if ((notification.flags & 128) != 0) {
     bl3 = true;
     return context
         .setFullScreenIntent(pendingIntent2, bl3)
         .setLargeIcon(bitmap)
         .setNumber(n2)
         .setProgress(n3, n4, bl2)
         .getNotification();
   }
   bl3 = false;
   return context
       .setFullScreenIntent(pendingIntent2, bl3)
       .setLargeIcon(bitmap)
       .setNumber(n2)
       .setProgress(n3, n4, bl2)
       .getNotification();
 }
 public NotificationCompatJellybean(
     Context paramContext,
     Notification paramNotification,
     CharSequence paramCharSequence1,
     CharSequence paramCharSequence2,
     CharSequence paramCharSequence3,
     RemoteViews paramRemoteViews,
     int paramInt1,
     PendingIntent paramPendingIntent1,
     PendingIntent paramPendingIntent2,
     Bitmap paramBitmap,
     int paramInt2,
     int paramInt3,
     boolean paramBoolean1,
     boolean paramBoolean2,
     int paramInt4,
     CharSequence paramCharSequence4) {
   paramContext =
       new Notification.Builder(paramContext)
           .setWhen(paramNotification.when)
           .setSmallIcon(paramNotification.icon, paramNotification.iconLevel)
           .setContent(paramNotification.contentView)
           .setTicker(paramNotification.tickerText, paramRemoteViews)
           .setSound(paramNotification.sound, paramNotification.audioStreamType)
           .setVibrate(paramNotification.vibrate)
           .setLights(
               paramNotification.ledARGB, paramNotification.ledOnMS, paramNotification.ledOffMS);
   if ((paramNotification.flags & 0x2) != 0) {
     bool = true;
     paramContext = paramContext.setOngoing(bool);
     if ((paramNotification.flags & 0x8) == 0) break label239;
     bool = true;
     label112:
     paramContext = paramContext.setOnlyAlertOnce(bool);
     if ((paramNotification.flags & 0x10) == 0) break label245;
     bool = true;
     label132:
     paramContext =
         paramContext
             .setAutoCancel(bool)
             .setDefaults(paramNotification.defaults)
             .setContentTitle(paramCharSequence1)
             .setContentText(paramCharSequence2)
             .setSubText(paramCharSequence4)
             .setContentInfo(paramCharSequence3)
             .setContentIntent(paramPendingIntent1)
             .setDeleteIntent(paramNotification.deleteIntent);
     if ((paramNotification.flags & 0x80) == 0) break label251;
   }
   label239:
   label245:
   label251:
   for (boolean bool = true; ; bool = false) {
     this.b =
         paramContext
             .setFullScreenIntent(paramPendingIntent2, bool)
             .setLargeIcon(paramBitmap)
             .setNumber(paramInt1)
             .setUsesChronometer(paramBoolean2)
             .setPriority(paramInt4)
             .setProgress(paramInt2, paramInt3, paramBoolean1);
     return;
     bool = false;
     break;
     bool = false;
     break label112;
     bool = false;
     break label132;
   }
 }
 public Builder(
     Context paramContext,
     Notification paramNotification,
     CharSequence paramCharSequence1,
     CharSequence paramCharSequence2,
     CharSequence paramCharSequence3,
     RemoteViews paramRemoteViews,
     int paramInt1,
     PendingIntent paramPendingIntent1,
     PendingIntent paramPendingIntent2,
     Bitmap paramBitmap,
     int paramInt2,
     int paramInt3,
     boolean paramBoolean1,
     boolean paramBoolean2,
     boolean paramBoolean3,
     int paramInt4,
     CharSequence paramCharSequence4,
     boolean paramBoolean4,
     ArrayList<String> paramArrayList,
     Bundle paramBundle,
     String paramString1,
     boolean paramBoolean5,
     String paramString2) {
   paramContext =
       new Notification.Builder(paramContext)
           .setWhen(when)
           .setShowWhen(paramBoolean2)
           .setSmallIcon(icon, iconLevel)
           .setContent(contentView)
           .setTicker(tickerText, paramRemoteViews)
           .setSound(sound, audioStreamType)
           .setVibrate(vibrate)
           .setLights(ledARGB, ledOnMS, ledOffMS);
   if ((flags & 0x2) != 0) {
     paramBoolean2 = true;
     paramContext = paramContext.setOngoing(paramBoolean2);
     if ((flags & 0x8) == 0) {
       break label327;
     }
     paramBoolean2 = true;
     label117:
     paramContext = paramContext.setOnlyAlertOnce(paramBoolean2);
     if ((flags & 0x10) == 0) {
       break label333;
     }
     paramBoolean2 = true;
     label137:
     paramContext =
         paramContext
             .setAutoCancel(paramBoolean2)
             .setDefaults(defaults)
             .setContentTitle(paramCharSequence1)
             .setContentText(paramCharSequence2)
             .setSubText(paramCharSequence4)
             .setContentInfo(paramCharSequence3)
             .setContentIntent(paramPendingIntent1)
             .setDeleteIntent(deleteIntent);
     if ((flags & 0x80) == 0) {
       break label339;
     }
   }
   label327:
   label333:
   label339:
   for (paramBoolean2 = true; ; paramBoolean2 = false) {
     b =
         paramContext
             .setFullScreenIntent(paramPendingIntent2, paramBoolean2)
             .setLargeIcon(paramBitmap)
             .setNumber(paramInt1)
             .setUsesChronometer(paramBoolean3)
             .setPriority(paramInt4)
             .setProgress(paramInt2, paramInt3, paramBoolean1)
             .setLocalOnly(paramBoolean4)
             .setGroup(paramString1)
             .setGroupSummary(paramBoolean5)
             .setSortKey(paramString2);
     mExtras = new Bundle();
     if (paramBundle != null) {
       mExtras.putAll(paramBundle);
     }
     if ((paramArrayList != null) && (!paramArrayList.isEmpty())) {
       mExtras.putStringArray(
           "android.people",
           (String[]) paramArrayList.toArray(new String[paramArrayList.size()]));
     }
     return;
     paramBoolean2 = false;
     break;
     paramBoolean2 = false;
     break label117;
     paramBoolean2 = false;
     break label137;
   }
 }
 public NotificationCompatKitKat$Builder(
     Context paramContext,
     Notification paramNotification,
     CharSequence paramCharSequence1,
     CharSequence paramCharSequence2,
     CharSequence paramCharSequence3,
     RemoteViews paramRemoteViews,
     int paramInt1,
     PendingIntent paramPendingIntent1,
     PendingIntent paramPendingIntent2,
     Bitmap paramBitmap,
     int paramInt2,
     int paramInt3,
     boolean paramBoolean1,
     boolean paramBoolean2,
     boolean paramBoolean3,
     int paramInt4,
     CharSequence paramCharSequence4,
     boolean paramBoolean4,
     ArrayList<String> paramArrayList,
     Bundle paramBundle,
     String paramString1,
     boolean paramBoolean5,
     String paramString2) {
   paramContext =
       new Notification.Builder(paramContext)
           .setWhen(when)
           .setShowWhen(paramBoolean2)
           .setSmallIcon(icon, iconLevel)
           .setContent(contentView)
           .setTicker(tickerText, paramRemoteViews)
           .setSound(sound, audioStreamType)
           .setVibrate(vibrate)
           .setLights(ledARGB, ledOnMS, ledOffMS);
   if ((flags & 0x2) != 0) {
     paramBoolean2 = true;
     paramContext = paramContext.setOngoing(paramBoolean2);
     if ((flags & 0x8) == 0) {
       break label380;
     }
     paramBoolean2 = true;
     label128:
     paramContext = paramContext.setOnlyAlertOnce(paramBoolean2);
     if ((flags & 0x10) == 0) {
       break label386;
     }
     paramBoolean2 = true;
     label148:
     paramContext =
         paramContext
             .setAutoCancel(paramBoolean2)
             .setDefaults(defaults)
             .setContentTitle(paramCharSequence1)
             .setContentText(paramCharSequence2)
             .setSubText(paramCharSequence4)
             .setContentInfo(paramCharSequence3)
             .setContentIntent(paramPendingIntent1)
             .setDeleteIntent(deleteIntent);
     if ((flags & 0x80) == 0) {
       break label392;
     }
     paramBoolean2 = true;
     label207:
     a =
         paramContext
             .setFullScreenIntent(paramPendingIntent2, paramBoolean2)
             .setLargeIcon(paramBitmap)
             .setNumber(paramInt1)
             .setUsesChronometer(paramBoolean3)
             .setPriority(paramInt4)
             .setProgress(paramInt2, paramInt3, paramBoolean1);
     b = new Bundle();
     if (paramBundle != null) {
       b.putAll(paramBundle);
     }
     if ((paramArrayList != null) && (!paramArrayList.isEmpty())) {
       b.putStringArray(
           "android.people", (String[]) paramArrayList.toArray(new String[paramArrayList.size()]));
     }
     if (paramBoolean4) {
       b.putBoolean("android.support.localOnly", true);
     }
     if (paramString1 != null) {
       b.putString("android.support.groupKey", paramString1);
       if (!paramBoolean5) {
         break label398;
       }
       b.putBoolean("android.support.isGroupSummary", true);
     }
   }
   for (; ; ) {
     if (paramString2 != null) {
       b.putString("android.support.sortKey", paramString2);
     }
     return;
     paramBoolean2 = false;
     break;
     label380:
     paramBoolean2 = false;
     break label128;
     label386:
     paramBoolean2 = false;
     break label148;
     label392:
     paramBoolean2 = false;
     break label207;
     label398:
     b.putBoolean("android.support.useSideChannel", true);
   }
 }
Exemple #5
0
 public cz(
     Context context,
     Notification notification,
     CharSequence charsequence,
     CharSequence charsequence1,
     CharSequence charsequence2,
     RemoteViews remoteviews,
     int i,
     PendingIntent pendingintent,
     PendingIntent pendingintent1,
     Bitmap bitmap,
     int j,
     int k,
     boolean flag,
     boolean flag1,
     int l,
     CharSequence charsequence3,
     boolean flag2,
     Bundle bundle,
     String s,
     boolean flag3,
     String s1) {
   c = new ArrayList();
   context =
       (new android.app.Notification.Builder(context))
           .setWhen(notification.when)
           .setSmallIcon(notification.icon, notification.iconLevel)
           .setContent(notification.contentView)
           .setTicker(notification.tickerText, remoteviews)
           .setSound(notification.sound, notification.audioStreamType)
           .setVibrate(notification.vibrate)
           .setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS);
   boolean flag4;
   if ((notification.flags & 2) != 0) {
     flag4 = true;
   } else {
     flag4 = false;
   }
   context = context.setOngoing(flag4);
   if ((notification.flags & 8) != 0) {
     flag4 = true;
   } else {
     flag4 = false;
   }
   context = context.setOnlyAlertOnce(flag4);
   if ((notification.flags & 0x10) != 0) {
     flag4 = true;
   } else {
     flag4 = false;
   }
   context =
       context
           .setAutoCancel(flag4)
           .setDefaults(notification.defaults)
           .setContentTitle(charsequence)
           .setContentText(charsequence1)
           .setSubText(charsequence3)
           .setContentInfo(charsequence2)
           .setContentIntent(pendingintent)
           .setDeleteIntent(notification.deleteIntent);
   if ((notification.flags & 0x80) != 0) {
     flag4 = true;
   } else {
     flag4 = false;
   }
   a =
       context
           .setFullScreenIntent(pendingintent1, flag4)
           .setLargeIcon(bitmap)
           .setNumber(i)
           .setUsesChronometer(flag1)
           .setPriority(l)
           .setProgress(j, k, flag);
   if (bundle != null) {
     b.putAll(bundle);
   }
   if (flag2) {
     b.putBoolean("android.support.localOnly", true);
   }
   if (s != null) {
     b.putString("android.support.groupKey", s);
     if (flag3) {
       b.putBoolean("android.support.isGroupSummary", true);
     } else {
       b.putBoolean("android.support.useSideChannel", true);
     }
   }
   if (s1 != null) {
     b.putString("android.support.sortKey", s1);
   }
 }
 public Builder(
     Context context,
     Notification notification,
     CharSequence charsequence,
     CharSequence charsequence1,
     CharSequence charsequence2,
     RemoteViews remoteviews,
     int i,
     PendingIntent pendingintent,
     PendingIntent pendingintent1,
     Bitmap bitmap,
     int j,
     int k,
     boolean flag) {
   context =
       (new android.app.Notification.Builder(context))
           .setWhen(notification.when)
           .setSmallIcon(notification.icon, notification.iconLevel)
           .setContent(notification.contentView)
           .setTicker(notification.tickerText, remoteviews)
           .setSound(notification.sound, notification.audioStreamType)
           .setVibrate(notification.vibrate)
           .setLights(notification.ledARGB, notification.ledOnMS, notification.ledOffMS);
   boolean flag1;
   if ((notification.flags & 2) != 0) {
     flag1 = true;
   } else {
     flag1 = false;
   }
   context = context.setOngoing(flag1);
   if ((notification.flags & 8) != 0) {
     flag1 = true;
   } else {
     flag1 = false;
   }
   context = context.setOnlyAlertOnce(flag1);
   if ((notification.flags & 0x10) != 0) {
     flag1 = true;
   } else {
     flag1 = false;
   }
   context =
       context
           .setAutoCancel(flag1)
           .setDefaults(notification.defaults)
           .setContentTitle(charsequence)
           .setContentText(charsequence1)
           .setContentInfo(charsequence2)
           .setContentIntent(pendingintent)
           .setDeleteIntent(notification.deleteIntent);
   if ((notification.flags & 0x80) != 0) {
     flag1 = true;
   } else {
     flag1 = false;
   }
   b =
       context
           .setFullScreenIntent(pendingintent1, flag1)
           .setLargeIcon(bitmap)
           .setNumber(i)
           .setProgress(j, k, flag);
 }