summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Eric Schmidt <erschmid@google.com> 2016-07-15 14:41:55 -0700
committer Eric Schmidt <erschmid@google.com> 2016-07-15 22:09:42 +0000
commit6a2c8abfcee2928a937fcd76c03b253154042b4f (patch)
treef3ceff2d3927b47ccd673ca438186fa2c8b8987d
parent84d59bc35db8369ac9949a8cde3c1e8cca6157fc (diff)
docs: Added call to build to code snippet
Bug: 28986465 Change-Id: Idca4b02859fdd1ce7f5b633c2a2a183ea3034f41
-rw-r--r--docs/html/preview/features/notification-updates.jd3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/html/preview/features/notification-updates.jd b/docs/html/preview/features/notification-updates.jd
index af449cbecb5f..fd65e120d9e5 100644
--- a/docs/html/preview/features/notification-updates.jd
+++ b/docs/html/preview/features/notification-updates.jd
@@ -395,5 +395,6 @@ Notification notification = new Notification.Builder()
.addMessage("Hi", timestamp1, null) // Pass in null for user.
.addMessage("What's up?", timestamp2, "Coworker")
.addMessage("Not much", timestamp3, null)
- .addMessage("How about lunch?", timestamp4, "Coworker"));
+ .addMessage("How about lunch?", timestamp4, "Coworker"))
+ .build();
</pre>