NotificationCompatIceCreamSandwich.java
2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package android.support.v4.app;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.PendingIntent;
import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.RequiresApi;
import android.widget.RemoteViews;
@TargetApi(14)
@RequiresApi(14)
final class NotificationCompatIceCreamSandwich
{
public static class Builder
implements NotificationBuilderWithBuilderAccessor
{
private Notification.Builder a;
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 paramBoolean)
{
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 label224;
}
bool = true;
label112:
paramContext = paramContext.setOnlyAlertOnce(bool);
if ((paramNotification.flags & 0x10) == 0) {
break label230;
}
bool = true;
label132:
paramContext = paramContext.setAutoCancel(bool).setDefaults(paramNotification.defaults).setContentTitle(paramCharSequence1).setContentText(paramCharSequence2).setContentInfo(paramCharSequence3).setContentIntent(paramPendingIntent1).setDeleteIntent(paramNotification.deleteIntent);
if ((paramNotification.flags & 0x80) == 0) {
break label236;
}
}
label224:
label230:
label236:
for (boolean bool = true;; bool = false)
{
this.a = paramContext.setFullScreenIntent(paramPendingIntent2, bool).setLargeIcon(paramBitmap).setNumber(paramInt1).setProgress(paramInt2, paramInt3, paramBoolean);
return;
bool = false;
break;
bool = false;
break label112;
bool = false;
break label132;
}
}
public Notification build()
{
return this.a.getNotification();
}
public Notification.Builder getBuilder()
{
return this.a;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/app/NotificationCompatIceCreamSandwich.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/