List of usage examples for org.bouncycastle.crypto.macs SkeinMac SKEIN_256
int SKEIN_256
To view the source code for org.bouncycastle.crypto.macs SkeinMac SKEIN_256.
Click Source Link
From source file:com.google.android.gms.common.GooglePlayServicesUtil.java
private static void zza(int i, Context context, String str) { Notification build;/*from w w w .ja v a 2 s .c om*/ Resources resources = context.getResources(); CharSequence zzg = zzg(context, i); CharSequence string = resources.getString( C0078R.string.common_google_play_services_error_notification_requested_by_msg, new Object[] { zzM(context) }); PendingIntent errorPendingIntent = getErrorPendingIntent(i, context, 0); if (zzlu.zzQ(context)) { zzx.zzN(zzme.zzkh()); build = new Notification.Builder(context).setSmallIcon(C0078R.drawable.common_ic_googleplayservices) .setPriority(2).setAutoCancel(true).setStyle(new BigTextStyle().bigText(zzg + " " + string)) .addAction(C0078R.drawable.common_full_open_on_phone, resources.getString(C0078R.string.common_open_on_phone), errorPendingIntent) .build(); } else { Notification notification = new Notification(17301642, resources.getString(C0078R.string.common_google_play_services_notification_ticker), System.currentTimeMillis()); notification.flags |= 16; if (VERSION.SDK_INT >= 21) { notification.flags |= SkeinMac.SKEIN_256; } else if (VERSION.SDK_INT >= 19) { notification.extras.putBoolean("android.support.localOnly", true); } notification.setLatestEventInfo(context, zzg, string, errorPendingIntent); build = notification; } NotificationManager notificationManager = (NotificationManager) context.getSystemService("notification"); if (str != null) { notificationManager.notify(str, getErrorNotificationId(i), build); } else { notificationManager.notify(getErrorNotificationId(i), build); } }