<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- WITHOUT THIS THE PROBER MEASURES NOTHING AND LOOKS LIKE IT DID.
         targetSdk 30+ hides every other package from this one, so
         queryIntentServices() comes back empty and MediaBrowser.connect()
         fails with nothing useful in the log — which is indistinguishable
         from "SoulStream has no browse service", i.e. a false report about
         the one thing this app exists to measure. media3's own
         SessionToken.java carries the note "We ask the app to declare the
         <queries> tags, so it's expected that they are missing".
         Both forms: the package by name for the bind, the action for the
         PackageManager questions in ProbeActivity.filters(). -->
    <queries>
        <package android:name="com.soulstream.app" />
        <intent>
            <action android:name="android.media.browse.MediaBrowserService" />
        </intent>
    </queries>

    <application
        android:allowBackup="false"
        android:label="SoulStream Auto prober">
        <!-- No launcher filter and no UI: it is started by name
             (`am start -n com.soulstream.autoprober/.ProbeActivity`), which
             is why it must be exported. noHistory and excludeFromRecents
             keep it out of the recents list Kyle actually uses. -->
        <activity
            android:name=".ProbeActivity"
            android:exported="true"
            android:excludeFromRecents="true"
            android:noHistory="true"
            android:theme="@android:style/Theme.Translucent.NoTitleBar" />
    </application>
</manifest>
