docs: Added call to build to code snippet

Bug: 28986465
Change-Id: Idca4b02859fdd1ce7f5b633c2a2a183ea3034f41
This commit is contained in:
Eric Schmidt
2016-07-15 14:41:55 -07:00
parent 84d59bc35d
commit 6a2c8abfce

View File

@@ -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>