---
title: "Building Android Conversation Bubbles"
description: "Slack added Android 11 Conversation Bubbles for DMs on top of MessagingStyle notifications, Sharing Shortcuts and BubbleMetadata."
url: "https://swe.quest/articles/building-android-conversation-bubbles-874909de6c53cf84"
canonical: "https://slack.engineering/building-android-conversation-bubbles/"
source: "Slack Engineering"
published: "2021-08-25"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["mobile","jvm","product-engineering"]
---

# Building Android Conversation Bubbles

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2021-08-25, 10 min read, Case study. Original: [https://slack.engineering/building-android-conversation-bubbles/](https://slack.engineering/building-android-conversation-bubbles/)

## Summary

Slack added Android 11 Conversation Bubbles for DMs on top of MessagingStyle notifications, Sharing Shortcuts and BubbleMetadata. Shortcut icons are generated asynchronously via JobScheduler to stay within background execution limits, and a trampoline Activity routes between share, launcher and Bubble entry points. Bubble launches are detected by checking for a 'TaskVirtualDisplay' display name. Fixes include skipping notification cancellation while a Bubble is active, re-emitting the active workspace on Bubble pause to keep the single websocket correct, and gating Bubbles off in Work Profiles via UserManager.isManagedProfile() due to an Android 11 bug affecting about 5% of users.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Java & JVM](https://swe.quest/tags/jvm.md) (Languages)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)

## Prerequisites

- Android Activity lifecycle ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))
- Android notifications ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))
- Kotlin basics ([easy posts on Java & JVM](https://swe.quest/tags/jvm.md?difficulty=easy))

## Keywords

Android 11, Conversation Bubbles, MessagingStyle, Sharing Shortcuts, BubbleMetadata, Work Profiles, JobScheduler, Slack

## Related posts

- [How Slack Rebuilt Notifications 📣](https://swe.quest/articles/how-slack-rebuilt-notifications-6d74dae5d4cbcb88.md): Slack Engineering · 2026-03-19 · Medium · 7 min read · Product engineering, Schema migrations, Mobile, Communications
  Slack replaced four conflicting desktop/mobile notification preference systems with one unified model that separates what to be notified about (All new posts, Mentions, Mute) from how notifications arrive (independent desktop and mobile push toggles).
- [Android VPAT journey](https://swe.quest/articles/android-vpat-journey-439f8202d752a0b0.md): Slack Engineering · 2025-11-19 · Medium · 9 min read · Accessibility, Mobile, Design systems
  After a third-party VPAT audit following its IA4 redesign, Slack's Android team triaged recurring accessibility issues and fixed most of them: TalkBack now announces errors from OutlinedTextField and SKBanner, list headings are marked, and a custom SKListAccessibilityDelegate overrides CollectionInfo so decorative dividers aren't counted as list items.
- [Slack Bots on Sprites: OAuth is Easy Now](https://swe.quest/articles/slack-bots-on-sprites-oauth-is-easy-now-b82e289ea1ba6759.md): Fly.io · 2026-01-27 · Medium · 2 min read · Serverless, Identity & auth, JavaScript
  Fly.io Sprites remove the usual hassle of hosting a Slack bot's OAuth flow by giving each bot a public URL, a persistent filesystem for storing tokens, and automatic hibernation and wake.
- [Badging for Home Screen Web Apps](https://swe.quest/articles/badging-for-home-screen-web-apps-42741870aac64b42.md): WebKit · 2023-04-25 · Medium · 4 min read · Browsers, Mobile, JavaScript, Frontend
  WebKit on iOS and iPadOS 16.4 supports the W3C Badging API, but only for web apps added to the Home Screen.
- [The User Activation API](https://swe.quest/articles/the-user-activation-api-d7992ed3de9583af.md): WebKit · 2023-02-15 · Medium · 6 min read · Browsers, JavaScript, Security
  Browsers gate APIs like window.open(), navigator.share() and PaymentRequest.show() on "user activation": a per-window transient timer started by specific events (keydown, mousedown, pointerdown/up, touchend), plus sticky activation recording that one has ever occurred.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
