Merge "docs: Removing extra semicolons in Wear notif examples." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ae6e37e64
@@ -45,7 +45,7 @@ final static String GROUP_KEY_EMAILS = "group_key_emails";
|
|||||||
Notification notif = new NotificationCompat.Builder(mContext)
|
Notification notif = new NotificationCompat.Builder(mContext)
|
||||||
.setContentTitle("New mail from " + sender1)
|
.setContentTitle("New mail from " + sender1)
|
||||||
.setContentText(subject1)
|
.setContentText(subject1)
|
||||||
.setSmallIcon(R.drawable.new_mail);
|
.setSmallIcon(R.drawable.new_mail)
|
||||||
.setGroup(GROUP_KEY_EMAILS)
|
.setGroup(GROUP_KEY_EMAILS)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@@ -65,7 +65,7 @@ instead of as a new card:</p>
|
|||||||
Notification notif2 = new NotificationCompat.Builder(mContext)
|
Notification notif2 = new NotificationCompat.Builder(mContext)
|
||||||
.setContentTitle("New mail from " + sender2)
|
.setContentTitle("New mail from " + sender2)
|
||||||
.setContentText(subject2)
|
.setContentText(subject2)
|
||||||
.setSmallIcon(R.drawable.new_mail);
|
.setSmallIcon(R.drawable.new_mail)
|
||||||
.setGroup(GROUP_KEY_EMAILS)
|
.setGroup(GROUP_KEY_EMAILS)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user