Spotify Multipoint Guard

A Vector (libxposed API 101/102) module scoped to com.spotify.music that stops Bluetooth multipoint pause/resume loops when Spotify is open on both an Android phone and another device such as a laptop.

How It Works

  • Detects when Spotify on Android is mirroring remote Spotify Connect playback via Notification.MediaStyle subtext, MediaSession.setPlaybackToRemote, and AudioManager.activePlaybackConfigurations / AAudio checks.
  • Clamps MediaSession PlaybackState from PLAYING / BUFFERING to PAUSED while playing on another device so Android Bluetooth AVRCP / LE Audio does not trick multipoint headphones into pausing playback.
  • Drops incoming Bluetooth media key events, MediaSession transport callbacks, and MediaButtonReceiver broadcasts on the phone during remote playback while keeping in-app Spotify controls and local phone playback working normally.
  • Includes a Miuix settings UI with live remote preference syncing, presets, an optional oscillation loop breaker, and opt-in local overrides.

Requirements

  • Rooted Android 8.1+ (API 27+)
  • Vector (or another Xposed framework supporting libxposed API 101+)
  • Official Spotify Android app (com.spotify.music)

Links

Releases

1.0.2

Stable

11/28/2026, 2:09:11 PM

What's New in v1.0.2

Remote Playback Detection

  • Hooked NotificationManager.notify and Service.startForeground to detect Spotify Connect remote playback directly from Notification.MediaStyle subtext (e.g. "Listening on LAPTOP"), independent of language or MediaSession volumeType.
  • Added AudioManager.AudioPlaybackCallback and activePlaybackConfigurations monitoring to detect native AAudio playback used by Spotify.
  • Fixed an issue where stale audio focus held after switching playback to another device prevented remote state clamping and media key blocking.

UI and Behavior

  • Moved all Miuix OverlayDialog instances inside Scaffold so About, Reset, and Restart dialogs display properly.
  • Replaced the About item with a clickable and long-pressable Miuix Card featuring a GitHub repository prompt.
  • Added native Miuix PullToRefresh to refresh module scope, hook status, and remote preferences.
  • Added debounced overscroll boundary haptic feedback on both top and bottom edges with calibrated intensity.
  • Changed Spotify restart to force-stop and warm up Spotify's background service silently without opening Spotify over the app.
  • Fixed hero status card width alignment and UTF-8 character encoding in strings.
  • Updated applicationId to io.github.realmoai.multipointguard and added persistent release keystore signing support.

Assets

1