commit | cba11026001bdffaac3ef4bbd5041819db20ac89 | [log] [tgz] |
---|---|---|
author | Jake Wharton <jakew@google.com> | Wed Jan 24 11:35:39 2018 -0500 |
committer | Jake Wharton <jakew@google.com> | Wed Jan 24 11:35:39 2018 -0500 |
tree | 2149e9dcdbd6e604d4e76ac77c1bc81895dd045e | |
parent | ee6d0022b5385f77a6889554cd31b5b12be6a9ac [diff] |
Add @NonNull annotation to match overload. Test: none Bug: 72404262 Change-Id: Ia43bac5083e77f7c5a8d75a20902ba0139be7ed3
diff --git a/compat/src/main/java/android/support/v4/app/NotificationManagerCompat.java b/compat/src/main/java/android/support/v4/app/NotificationManagerCompat.java index 07fcb6c..7099cb9 100644 --- a/compat/src/main/java/android/support/v4/app/NotificationManagerCompat.java +++ b/compat/src/main/java/android/support/v4/app/NotificationManagerCompat.java
@@ -190,7 +190,7 @@ * @param id the ID of the notification * @param notification the notification to post to the system */ - public void notify(int id, Notification notification) { + public void notify(int id, @NonNull Notification notification) { notify(null, id, notification); }