Added getFlags() to ShadowPendingIntent