Prevent NotificationManagerService from using bad stream type

When deriving AudioAttributes from a Notification instance,
 and having to use the legacy stream type field, make sure
 it has a valid value, or use the default notification
 attributes.

Bug 17408227

Change-Id: Icd1a122b33b8eceb1f6a177699885b0fb8a99b7c
1 file changed