am 49dc64d1: am 0932eb35: am 8028e4a0: am 1f14c107: am 0689fad8: Merge "docs: fix some notification code for wear stacks" into klp-docs
* commit '49dc64d1a5c6f4df3e24b85bfeb52bb5e650c58b':
docs: fix some notification code for wear stacks
<code>setGroup()</code></a> for each notification you want in the stack, passing the same
group key. For example:</p>
<code>setGroup()</code></a> for each notification you want in the stack and specify a
group key. Then call <a href="{@docRoot}reference/android/preview/support/v4/app/NotificationManagerCompat.html#notify(int, android.app.Notification)"><code>notify()</code></a> to send it to the wearable.</p>
<pre style="clear:right">
final static String GROUP_KEY_EMAILS = "group_key_emails";
// Build the notification and pass this builder to WearableNotifications.Builder
NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext)
.setContentTitle("New mail from " + sender)
.setContentText(subject)
.setContentTitle("New mail from " + sender1)
.setContentText(subject1)
.setSmallIcon(R.drawable.new_mail);
Notification notif = new WearableNotifications.Builder(builder)
Notification notif1 = new WearableNotifications.Builder(builder)
<p>Later on, when you create another notification, specify
the same group key. When you call <a href="{@docRoot}reference/android/preview/support/v4/app/NotificationManagerCompat.html#notify(int, android.app.Notification)"><code>notify()</code></a>, this notification appears
in the same stack as the previous notification, instead of as a new card:</p>
<pre style="clear:right">
builder = new NotificationCompat.Builder(mContext)
.setContentTitle("New mail from " + sender2)
.setContentText(subject2)
.setSmallIcon(R.drawable.new_mail);
// Use the same group as the previous notification
Notification notif2 = new WearableNotifications.Builder(builder)