ScreenSync MCP guide

Testing Android 16 Live Updates with Claude Code and MCP

Automate Android 16 Live Updates, ProgressStyle notifications, status bar chip truncation checks, and SystemUI promotion validation on physical devices with Claude Code and ScreenSync MCP.

Minimal 3D render of an Android smartphone displaying a live progress-centric notification card linked by glowing purple optical fibers to a developer laptop

Validating Android 16 Live Updates and progress-centric notifications on physical hardware introduces subtle visual, permission, and SystemUI promotion bugs that standard unit tests and headless emulators miss entirely. Unlike conventional alerts that sit passively inside the notification drawer, promoted ongoing notifications dynamically render across the status bar as compact chips, pin to the top of the notification shade, and surface on the lock screen and Always-On Display (AOD). A single unverified manifest permission, an unsupported custom RemoteViews layout, or a missing setOngoing(true) flag causes Android SystemUI to silently demote a Live Update back into a collapsed standard card without throwing a runtime crash. By connecting Claude Code to real Android devices via the Model Context Protocol (MCP) using ScreenSync MCP, engineering teams can automate end-to-end promotion checks, verify Notification.ProgressStyle segment geometry visually, and triage SystemUI demotion flags in seconds.

Key Takeaways

  • Zero-crash silent demotion detection: ScreenSync MCP pairs get_ui_hierarchy and get_latest_screenshot with adb shell dumpsys notification --noredact so Claude Code catches silent SystemUI demotions when hasPromotableCharacteristics() fails or user promotion toggles are disabled.
  • Dual-channel physical device pipeline: Screen frames stream from Android 7.0+ devices via Android's native MediaProjection API (requiring no root and no ADB for capture) at roughly 94 ms median LAN latency, while control_tap, control_swipe, and control_type execute deterministically over USB or wireless ADB.
  • Full-surface 226-tool coverage: ScreenSync MCP exposes 29 phone and desktop tools (12 control_*, 3 os_*, and 14 capture and hub tools) alongside 197 web_* browser tools through a Chrome/Edge MV3 extension, letting agents drive web dispatch consoles and observe live mobile status chips simultaneously.
  • ProgressStyle visual geometry auditing: Using get_latest_screenshot and record_screen, Claude Code verifies multi-segment progress bars, ProgressStyle.Point milestones, tracker icons, and setShortCriticalText() truncation inside the Android 16 status bar pill.
  • Local-first LAN privacy: Display frames travel directly from the Android client to your local desktop hub over your own network on port 3000 without touching EpsolDev servers, while screenshots explicitly requested by an AI agent are sent to that agent's configured model provider.

Why Android 16 Live Updates Require Real-Device Verification

Android 16 Live Updates require real-device verification because SystemUI promotion, status bar chip truncation, and Always-On Display rendering are controlled by OEM system processes outside your application sandbox. Robolectric and standard in-process instrumentation tests validate notification builder properties in isolation, whereas physical hardware reveals whether SystemUI actually promotes, pins, or silently demotes the live surface.

Introduced in Android 16 (API level 36, Build.VERSION_CODES.BAKLAVA), Live Updates—implemented via promoted ongoing notifications and Notification.ProgressStyle—give rideshare, food delivery, workout, and navigation apps a persistent, glanceable status lane. When an order or trip transitions from confirmed to in-transit, Android elevates the notification to a status bar pill chip, pins the expanded progress tracker to the top of the shade, and renders live progress on the lock screen. If you already rely on automated verification for standard alert delivery, our guide on testing Android push notifications with Claude Code and MCP covers channel creation and FCM payload delivery, whereas Live Updates enforce far stricter SystemUI promotion contracts.

Four failure modes routinely break Live Updates in production builds:

  1. Silent Promotion Demotion: Android does not throw an exception when a notification violates promotion criteria. If a developer accidentally applies setColorized(true), attaches a custom RemoteViews layout, omits setContentTitle(), or targets a channel with IMPORTANCE_MIN, Android simply strips the promoted status and drops the notification down into the standard shade list.
  2. Status Bar Chip Overflow and Ellipsizing: The status bar chip driven by setShortCriticalText() has tight horizontal bounds constrained by the device cutout, clock, and system icons. A string like "12 min" fits cleanly on a wide display, whereas "Arriving in 14 mins" truncates into unreadable ellipses on compact screens or multi-icon status bars.
  3. Permission vs. Characteristic Split: Calling NotificationManager.canPostPromotedNotifications() checks whether the user and OS allow promoted notifications for your package, while Notification.hasPromotableCharacteristics() checks the structural validity of the built notification object. Treating either boolean as sufficient leaves blind spots across Android 16 settings toggles.
  4. Foreground Service Lifecycle Desync: Because Live Updates typically back ongoing user-initiated journeys, background process limits or Doze transitions can freeze tracker updates if the backing service is improperly bound. Pairing Live Update checks with testing Android foreground services with Claude Code and MCP ensures progress updates survive screen-off transitions.
Verification Dimension Unit / Robolectric Tests Standard Espresso Tests ScreenSync MCP + Claude Code (Physical Device)
SystemUI Status Bar Chip Not rendered Sandboxed outside app process Captured live via get_latest_screenshot & get_ui_hierarchy
Promotion Eligibility Audit Builder unit assertions only Cannot inspect SystemUI state Reads hasPromotableCharacteristics() & dumpsys notification
MediaProjection Latency Not applicable No live stream ~94 ms median local LAN mirror (no root, no ADB for capture)
ProgressStyle Pixel Geometry Mocked canvas Brittle view-matcher checks Visual inspection of segments, milestones, and tracker icon
Lock Screen & AOD Surface Unavailable Blocked by keyguard Verified via record_screen and power-state transitions
Web-to-Phone Dispatch Loop Mocked HTTP responses Isolated from browser 197 web_* browser tools + 29 phone/desktop tools

Live Updates Architecture: ProgressStyle, Permissions, and Promotion Rules

Android 16 Live Updates combine three distinct platform layers: the non-runtime POST_PROMOTED_NOTIFICATIONS manifest declaration, the NotificationManager.canPostPromotedNotifications() runtime gate, and the Notification.ProgressStyle structural template. Every layer must pass simultaneously for Android SystemUI to render a status bar chip and pin the live card above standard alerts.

Understanding the exact contract enforced by Android SystemUI prevents wasted debugging cycles. Unlike standard notifications that accept arbitrary styling, promoted ongoing notifications obey strict uniformity rules so the OS can safely render them across the status bar, shade, lock screen, and Always-On Display.

Manifest Permission and Runtime Eligibility Gates

First, declare the promoted notifications permission alongside standard POST_NOTIFICATIONS in AndroidManifest.xml:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.delivery.live">

    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
    <uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />

</manifest>

Because POST_PROMOTED_NOTIFICATIONS is a non-runtime, user-controllable special app access setting rather than a standard runtime permission dialog, developers must inspect NotificationManager.canPostPromotedNotifications() before posting. When the method returns false, the app can deep-link the user directly to the dedicated system toggle using Settings.ACTION_MANAGE_APP_PROMOTED_NOTIFICATIONS:

package com.example.delivery.live.notifications

import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Build
import android.provider.Settings
import androidx.core.app.NotificationCompat
import androidx.core.graphics.drawable.IconCompat
import com.example.delivery.live.R

class LiveOrderNotificationPublisher(private val context: Context) {

    private val notificationManager =
        context.getSystemService(NotificationManager::class.java)

    companion object {
        const val CHANNEL_ID = "live_order_tracking"
        const val NOTIFICATION_ID = 4102
    }

    fun ensureChannel() {
        val channel = NotificationChannel(
            CHANNEL_ID,
            "Live Order Tracking",
            NotificationManager.IMPORTANCE_DEFAULT
        ).apply {
            description = "Real-time courier pickup and delivery progress"
            setShowBadge(false)
        }
        notificationManager.createNotificationChannel(channel)
    }

    fun buildPromotedSettingsIntent(): Intent {
        return Intent(Settings.ACTION_MANAGE_APP_PROMOTED_NOTIFICATIONS).apply {
            data = Uri.parse("package:${context.packageName}")
        }
    }

    fun postOrderProgress(
        progress: Int,
        shortEtaChip: String,
        statusTitle: String,
        statusDetail: String
    ): Boolean {
        ensureChannel()

        val progressStyle = NotificationCompat.ProgressStyle().apply {
            setProgressTrackerIcon(
                IconCompat.createWithResource(context, R.drawable.ic_courier_bike)
            )
            setProgressSegments(
                listOf(
                    NotificationCompat.ProgressStyle.Segment(40)
                        .setColor(Color.parseColor("#6541D6")),
                    NotificationCompat.ProgressStyle.Segment(60)
                        .setColor(Color.parseColor("#38BDF8"))
                )
            )
            setProgressPoints(
                listOf(
                    NotificationCompat.ProgressStyle.Point(40)
                        .setColor(Color.parseColor("#FFFFFF"))
                )
            )
            setProgress(progress)
        }

        val builder = NotificationCompat.Builder(context, CHANNEL_ID)
            .setSmallIcon(R.drawable.ic_order_status)
            .setContentTitle(statusTitle)
            .setContentText(statusDetail)
            .setOngoing(true)
            .setRequestPromotedOngoing(true)
            .setShortCriticalText(shortEtaChip)
            .setStyle(progressStyle)
            .setShowWhen(true)
            .setWhen(System.currentTimeMillis() + 8 * 60 * 1000L)

        val notification: Notification = builder.build()

        val canPromote = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.BAKLAVA) {
            notificationManager.canPostPromotedNotifications()
        } else {
            false
        }

        val hasCharacteristics = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.BAKLAVA) {
            notification.hasPromotableCharacteristics()
        } else {
            false
        }

        notificationManager.notify(NOTIFICATION_ID, notification)
        return canPromote && hasCharacteristics
    }
}

Strict Promotion Eligibility vs. Demotion Triggers

Every notification built with setRequestPromotedOngoing(true) passes through SystemUI's characteristic filter. Any single violation silently strips promotion while leaving the notification visible as a standard ongoing card.

Promotion Requirement Compliant Configuration Silent Demotion Trigger Diagnostic Check
Manifest Permission POST_PROMOTED_NOTIFICATIONS declared Permission missing from manifest canPostPromotedNotifications() == false
Ongoing Flag .setOngoing(true) (FLAG_ONGOING_EVENT) Dismissible notification (false) hasPromotableCharacteristics() == false
Promotion Request .setRequestPromotedOngoing(true) Flag omitted on builder EXTRA_REQUEST_PROMOTED_ONGOING absent
Approved Style ProgressStyle, BigTextStyle, CallStyle, standard Custom RemoteViews (setCustomContentView) Inspect dumpsys notification style class
Content Title Non-empty .setContentTitle(...) Null or blank title string hasPromotableCharacteristics() == false
Colorization Default template styling (setColorized(false)) .setColorized(true) enabled Builder audit & hasPromotableCharacteristics()
Channel Importance IMPORTANCE_LOW, DEFAULT, or HIGH IMPORTANCE_MIN assigned to channel NotificationChannel.getImportance() check
Group Summary Individual journey notification (false) .setGroupSummary(true) set Notification.FLAG_GROUP_SUMMARY check

How ScreenSync MCP Connects Claude Code to Android SystemUI

ScreenSync MCP connects Claude Code to physical Android SystemUI surfaces through a split local architecture that separates high-frequency display perception from deterministic device control. Android screen frames stream over your local Wi-Fi network via MediaProjection without root or ADB overhead, while touch gestures, text entry, and shell inspections run through ADB over USB or wireless debugging.

Understanding why ScreenSync MCP separates capture from control clarifies how Claude Code inspects Live Updates reliably even when animations and status chips update every few seconds:

  • Zero-Root MediaProjection Capture: The ScreenSync MCP Android app (Android 7.0 or later, version 2.5.7) uses Android's native MediaProjection API after your interactive consent each session. Because MediaProjection reads directly from the display compositor without requiring root privileges or ADB screencap calls, the desktop hub receives live frames at approximately 94 ms median latency on a local area network.
  • ADB Control & Telemetry Plane: Action and diagnostic commands—including control_tap, control_swipe, control_type, and get_logcat—execute through the Android Debug Bridge (ADB) from the desktop hub over a USB cable or wireless debugging.
  • SystemUI Accessibility Tree Access: When Claude Code calls get_ui_hierarchy, the hub pulls the active accessibility hierarchy across both your app window and system surfaces such as com.android.systemui, exposing status bar chip bounds, text labels, and notification action buttons.
  • Cross-Surface Web & Mobile Unification: ScreenSync MCP provides 226 total MCP tools—29 phone and desktop tools (12 control_*, 3 os_*, and 14 capture/hub tools such as get_latest_screenshot, get_ui_hierarchy, get_logcat, and record_screen) plus 197 web_* browser tools through a Chrome/Edge MV3 extension with human approval prompts for risky actions. For Live Updates backed by a web dispatcher dashboard, Claude Code can click "Mark Out for Delivery" in Chrome and immediately assert the Android status bar chip update.
  • Local Network Privacy: Display frames move directly from your phone to the desktop hub over your own LAN and are never routed through EpsolDev servers (Google Drive fallback is optional). Be transparent in security reviews: any screenshot that an AI agent requests via get_latest_screenshot is transmitted to that agent's model provider for multimodal reasoning.

Step-by-Step Setup: Pairing Real Hardware with Claude Code

Configuring ScreenSync MCP for Android 16 Live Updates testing takes four steps: launching the Node.js desktop hub, registering the local stdio MCP server in your AI client, pairing the Android client app, and verifying ADB connectivity. All core components—the Android app, desktop hub, and browser extension—are free to download and run locally.

1. Verify Prerequisites and Start the Desktop Hub

Confirm your workstation runs Node.js 18+ (Windows, macOS, or Linux) with adb available in your PATH, and connect your Android 16 physical test device to the same local Wi-Fi subnet. Download and unpack the ScreenSync MCP hub archive from the ScreenSync MCP setup guide, then launch the hub:

# Windows (PowerShell or Command Prompt)
cd C:\tools\screensync-hub
start-hub.bat

# macOS or Linux
cd ~/tools/screensync-hub
chmod +x start-hub.sh
./start-hub.sh

The hub binds its local HTTP ingest server on port 3000, exposes the Model Context Protocol (MCP) server over stdio, prints a session bearer token (SCREEN_SYNC_TOKEN), and displays a pairing QR code in your terminal.

2. Register ScreenSync MCP in Claude Code or Claude Desktop

Register the desktop hub with Claude Code using the exact folder path where you unpacked the hub zip:

claude mcp add screensync node "/path/to/hub/screensync-hub.js"

If you use Claude Desktop, add the screensync server entry inside claude_desktop_config.json (accessible via Settings > Developer), supplying your hub's SCREEN_SYNC_TOKEN:

{
  "mcpServers": {
    "screensync": {
      "command": "node",
      "args": ["/path/to/hub/screensync-hub.js"],
      "env": {
        "SCREEN_SYNC_TOKEN": "your_screen_sync_token"
      }
    }
  }
}

ScreenSync MCP works with MCP clients that run local stdio servers, including Claude Code, Claude Desktop, Cursor, and VS Code agent mode; for Cursor or VS Code, check that client's MCP documentation for workspace configuration syntax. Note that ChatGPT's web app requires remote HTTPS MCP endpoints and is not supported.

3. Pair the ScreenSync MCP Android App and Authorize ADB

  1. Install the free ScreenSync MCP Android app (com.screensync.mcp, version 2.5.7) from Google Play on your Android 7.0+ (or Android 16 test) phone.
  2. Open the app and connect to your desktop hub via mDNS auto-discovery on the LAN or by scanning the hub's QR code.
  3. Grant the Android MediaProjection consent dialog when prompted to start local screen mirroring (no root and no ADB required for capture).
  4. Enable USB Debugging or Wireless Debugging in Android Developer Options so ADB control tools (control_tap, control_swipe, control_type) can operate, and confirm the connection with adb devices.

If you are pairing Chrome or Edge to test web-triggered delivery or rideshare state updates alongside the phone, install the Chrome/Edge MV3 companion from the ScreenSync MCP browser extension page.

Practical QA Workflows: Auditing Live Updates End-to-End

End-to-end Live Updates QA workflows validate four critical transitions on physical hardware: initial promotion verification, multi-segment ProgressStyle progression, status bar chip legibility, and user-revoked promotion recovery. Claude Code orchestrates these checks by combining get_ui_hierarchy, get_latest_screenshot, record_screen, get_logcat, and adb shell dumpsys notification.

Workflow 1: Verifying Promotion State and Catching Silent Demotions

When your app posts a Live Update, Claude Code should verify both the visual surface and SystemUI's internal notification record rather than trusting app logs alone.

Developer Prompt to Claude Code:

Launch com.example.delivery.live on the connected Android 16 device, trigger an active delivery journey, and verify whether the notification is genuinely promoted as a Live Update. Check SystemUI flags via dumpsys, inspect the status bar chip with get_latest_screenshot, and inspect get_logcat for any notification warnings.

Step 1: Trigger the journey and inspect SystemUI notification flags

Claude Code opens the app, taps the start-tracking button via control_tap, and queries the live Android notification service:

adb shell dumpsys notification --noredact | grep -A 35 "com.example.delivery.live"

In the dumpsys output, Claude Code looks specifically for:

  • flags=0x... confirming FLAG_ONGOING_EVENT (0x2) and FLAG_CAN_COLORIZE unset.
  • extras containing android.requestPromotedOngoing=true and android.shortCriticalText=4 min.
  • isPromotedOngoing=true (or SystemUI promotion status) proving the notification passed characteristic validation and user permission checks.

Step 2: Inspect the status bar chip and expanded shade

Next, Claude Code calls get_latest_screenshot to inspect the top status bar while the app remains in the foreground, confirming the compact pill chip renders without colliding with the clock or camera cutout. Then Claude Code executes control_swipe from [540, 40] to [540, 1400] to pull down the notification shade and calls get_ui_hierarchy to inspect the expanded Live Update card inside com.android.systemui:

<node package="com.android.systemui" text="Courier arriving soon" resource-id="android:id/title" bounds="[180,290][860,348]" />
<node package="com.android.systemui" text="4 min" resource-id="android:id/short_critical_text" bounds="[870,290][1010,348]" />
<node package="com.android.systemui" class="android.widget.ProgressBar" bounds="[180,380][1010,430]" />

If short_critical_text shows "..." truncation or the notification sits beneath standard alerts instead of pinned at the top of the shade, Claude Code immediately pinpoints whether hasPromotableCharacteristics() failed or shortCriticalText exceeded the status chip width budget.

Workflow 2: Validating ProgressStyle Segments, Milestones, and Tracker Transitions

Apps that represent multi-stage journeys—such as Order Confirmed -> Preparing -> Out for Delivery -> Arriving—must update ProgressStyle segments, milestone Point markers, and tracker icons smoothly without flashing or resetting progress.

Developer Prompt to Claude Code:

Start screen recording with record_screen, drive our order tracking backend through 20%, 40% (milestone), 75%, and 100% completion, and verify that the Live Update card advances smoothly across each ProgressStyle segment without duplicate notifications or SystemUI flicker.

Using ScreenSync MCP's combined 197 web_* browser tools and 29 phone/desktop tools, Claude Code executes a synchronized cross-surface loop:

  1. Starts video capture via record_screen on the Android device.
  2. Uses web_click (or local test API calls) in the dispatcher web dashboard to advance the order status from preparing (progress = 20) to picked_up (progress = 40) and arriving (progress = 85).
  3. Calls get_latest_screenshot after each state mutation to verify that the first #6541D6 segment fills up to the Point(40) milestone before transitioning into the #38BDF8 segment, and that the courier tracker icon tracks the exact progress coordinate.
  4. Calls get_logcat filtered for NotificationService and StatusBarIconController to confirm the existing NOTIFICATION_ID updates in place rather than canceling and reposting (which would drop status bar chip continuity and trigger redundant alert sounds).

Workflow 3: Testing Permission Denial, Settings Deep-Linking, and Edge-to-Edge Layouts

Users on Android 16 can revoke Live Updates promotion per app inside System Settings at any time while keeping regular notifications enabled. Applications must degrade gracefully to standard ongoing notifications and surface a clean prompt pointing to Settings.ACTION_MANAGE_APP_PROMOTED_NOTIFICATIONS.

Claude Code tests this edge case deterministically via ADB:

# Revoke promoted notifications permission or inspect current app-ops/settings state
adb shell am start -a android.settings.MANAGE_APP_PROMOTED_NOTIFICATIONS -d package:com.example.delivery.live
  1. Claude Code launches the system Live Updates settings screen, inspects the toggle with get_ui_hierarchy, and flips the switch off with control_tap.
  2. Returning to the app, Claude Code triggers a new delivery journey and verifies via get_logcat that canPostPromotedNotifications() returned false and the app emitted an inline banner offering to re-enable Live Updates without crashing.
  3. Because Android 16 also enforces edge-to-edge display layouts where status bar chips and expanded notification shades overlap system insets, pairing this step with testing Android edge-to-edge layouts with Claude Code and MCP and testing Android predictive back with Claude Code and MCP ensures that returning from the system settings activity restores your app's top bar insets cleanly.

Triaging Common Live Updates Failures with Logcat and ADB

Diagnosing why an Android 16 Live Update failed to promote requires cross-referencing Notification.hasPromotableCharacteristics(), SystemUI dumpsys flags, and get_logcat trace messages. Claude Code inspects these signals directly from your terminal session to pinpoint whether a bug originates in your Kotlin builder code, channel configuration, or OEM system settings.

Failure Symptom on Physical Device Root Cause Verification Command / MCP Tool Fix Strategy
Card appears in shade, no status bar chip setShortCriticalText() omitted or string too long get_latest_screenshot + dumpsys notification Set concise 4–10 char text ("5 min")
hasPromotableCharacteristics() returns false Custom RemoteViews, setColorized(true), or empty title get_logcat + Kotlin builder inspection Remove custom views; use ProgressStyle
Notification pinned initially, then demoted setOngoing(false) passed on subsequent .notify() get_ui_hierarchy + dumpsys notification Keep .setOngoing(true) on every update
canPostPromotedNotifications() returns false Missing manifest permission or user disabled toggle Check AndroidManifest.xml & App Settings Add POST_PROMOTED_NOTIFICATIONS; link settings
Tracker icon clipped or missing on segment Non-adaptive vector icon or invalid resource ID get_latest_screenshot visual inspection Use crisp monochrome/tinted IconCompat asset
Progress bar resets or flickers on update Posting a new NOTIFICATION_ID instead of updating get_logcat (NotificationManagerService) Reuse constant NOTIFICATION_ID with .setOnlyAlertOnce(true)

For teams evaluating how ScreenSync MCP's local MediaProjection + ADB architecture compares against legacy mobile test runners for SystemUI and notification QA, review our breakdown of Android MCP servers and mobile automation tooling and our architectural overview of giving AI agents a real device screen via MCP.

# Useful ADB diagnostics Claude Code runs during Live Update triage
adb shell dumpsys notification --noredact | grep -E "pkg=|promoted|shortCriticalText|flags=|channelId="
adb logcat -d -s NotificationService:V StatusBarChip:V LiveOrderPublisher:D

Implementation Checklist for Android 16 Live Updates QA

  • [ ] Target compileSdk = 36 (Build.VERSION_CODES.BAKLAVA) and include the latest AndroidX core-ktx dependency supporting NotificationCompat.ProgressStyle.
  • [ ] Declare <uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" /> alongside POST_NOTIFICATIONS in AndroidManifest.xml.
  • [ ] Gate promotion UX on NotificationManager.canPostPromotedNotifications() and provide a deep link to Settings.ACTION_MANAGE_APP_PROMOTED_NOTIFICATIONS when disabled.
  • [ ] Assert notification.hasPromotableCharacteristics() during debug builds so invalid styles, setColorized(true), or custom RemoteViews fail fast in QA.
  • [ ] Keep setShortCriticalText() concise (typically under 10 characters) and verify status bar chip rendering on compact displays using ScreenSync MCP get_latest_screenshot.
  • [ ] Launch the ScreenSync MCP desktop hub (start-hub.bat or start-hub.sh, Node.js 18+, port 3000) and register it in Claude Code via claude mcp add screensync node "/path/to/hub/screensync-hub.js".
  • [ ] Pair the ScreenSync MCP Android app (Android 7.0+, version 2.5.7) via QR code or mDNS, approve MediaProjection capture (zero root, zero ADB for capture), and authorize USB or wireless ADB for control tools (control_tap, control_swipe, control_type).
  • [ ] Validate progress transitions across ProgressStyle.Segment and ProgressStyle.Point milestones using record_screen and get_ui_hierarchy on real hardware.

Conclusion

Testing Android 16 Live Updates with Claude Code and ScreenSync MCP turns SystemUI promotion debugging from tedious manual shade checks into a fast, repeatable engineering loop. By combining zero-root MediaProjection display streaming with ADB-driven control and dumpsys notification diagnostics, Claude Code verifies Notification.ProgressStyle geometry, setShortCriticalText() status bar chips, and hasPromotableCharacteristics() compliance on real physical devices.

Ready to automate real-device Android 16 QA in your terminal? Download the free ScreenSync MCP Android app on Google Play, unpack the free desktop hub on Windows, macOS, or Linux, and connect Claude Code to your physical test phone in minutes.

Next steps

FAQ

Questions, answered

What is the difference between canPostPromotedNotifications and hasPromotableCharacteristics in Android 16?

NotificationManager.canPostPromotedNotifications() checks whether the operating system and user settings currently permit your application package to display promoted Live Updates. By contrast, Notification.hasPromotableCharacteristics() inspects a built Notification payload to verify structural rules such as ongoing status, an approved style like ProgressStyle, and a valid content title.

Why does Android 16 silently demote a Live Update notification instead of crashing?

Android SystemUI enforces strict visual uniformity across status bar chips, lock screen cards, and Always-On Display surfaces. If a notification includes custom RemoteViews, enables setColorized(true), targets an IMPORTANCE_MIN channel, or omits setOngoing(true), SystemUI strips promotion privileges and renders it as a standard notification.

Does ScreenSync MCP require root access or ADB to capture Android 16 Live Updates?

No. ScreenSync MCP captures screen frames through Android's native MediaProjection API after interactive user consent each session, requiring zero root privileges and zero ADB overhead. However, executing input commands such as control_tap, control_swipe, and control_type requires an active ADB connection over USB or wireless debugging.

How can Claude Code verify that a Live Update status bar chip does not truncate on real hardware?

Claude Code invokes get_latest_screenshot to visually inspect the rendered status bar pill generated by setShortCriticalText() next to the system clock and camera cutout, while calling get_ui_hierarchy to read node bounds inside com.android.systemui and catch ellipsized text on compact physical screens.

Which notification styles are eligible for Android 16 Live Update promotion?

Android 16 supports promotion for standard notifications, BigTextStyle, CallStyle, and the new ProgressStyle template built specifically for rideshare, delivery, workout, and navigation tracking. Notifications using custom RemoteViews layouts via setCustomContentView or group summary flags are automatically disqualified from system promotion.

How does ScreenSync MCP handle screenshot and screen-stream privacy during testing?

Display frames stream directly from the ScreenSync MCP Android app to your local desktop hub over your own network on port 3000 without touching EpsolDev servers, and Drive fallback is optional. Any screenshot explicitly requested by an AI agent is sent to that agent's configured model provider.

Can Claude Code test web-triggered delivery updates alongside the Android 16 notification shade?

Yes. ScreenSync MCP includes 226 total MCP tools: 29 phone and desktop tools plus 197 web_* browser tools powered by a Chrome or Edge MV3 extension. Claude Code can trigger status updates in a live web dashboard and immediately verify the mobile ProgressStyle card transition.

Which AI coding clients work with ScreenSync MCP for Android 16 QA?

ScreenSync MCP connects to any MCP client supporting local stdio servers, including Claude Code, Claude Desktop, Cursor, and VS Code agent mode. The ChatGPT web application is not supported because it requires remote HTTPS MCP endpoints rather than local stdio processes.

Written by

ScreenSync MCP team

The ScreenSync MCP team at EpsolDev builds the Android app, the desktop MCP hub and the browser extension that let AI agents see and control a real phone. These guides come out of that work.