Revert "Merge "Allow notifications to not specify a contentIntent.""
This reverts commit8885321046, reversing changes made to61b8aaadd7.
This commit is contained in:
@@ -741,6 +741,10 @@ public class NotificationManagerService extends INotificationManager.Stub
|
||||
throw new IllegalArgumentException("contentView required: pkg=" + pkg
|
||||
+ " id=" + id + " notification=" + notification);
|
||||
}
|
||||
if (notification.contentIntent == null) {
|
||||
throw new IllegalArgumentException("contentIntent required: pkg=" + pkg
|
||||
+ " id=" + id + " notification=" + notification);
|
||||
}
|
||||
}
|
||||
|
||||
synchronized (mNotificationList) {
|
||||
|
||||
Reference in New Issue
Block a user