[Audiosharing] Migrate feature from overlay to Settings
Bug: 340379827
Test: atest
Change-Id: I3a88ac1d2f575f3be1f26f617479bbfd25cf6a8e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index fd9f2e5..57fd25f3 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -5194,6 +5194,56 @@
android:theme="@style/Theme.SpaLib.Dialog">
</activity>
+ <activity
+ android:name="com.android.settings.connecteddevice.audiosharing.AudioSharingActivity"
+ android:label="@string/audio_sharing_title"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="com.android.settings.BLUETOOTH_AUDIO_SHARING_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.connecteddevice.audiosharing.AudioSharingDashboardFragment"/>
+ </activity>
+
+ <activity
+ android:name="com.android.settings.connecteddevice.audiosharing.audiostreams.qrcode.QrCodeScanModeActivity"
+ android:permission="android.permission.BLUETOOTH_CONNECT"
+ android:screenOrientation="portrait"
+ android:exported="false">
+ <intent-filter>
+ <action android:name="android.settings.BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:name="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamConfirmDialogActivity"
+ android:exported="true"
+ android:theme="@style/Transparent"
+ android:configChanges="orientation|keyboardHidden|screenSize">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.AUDIO_STREAM_DIALOG" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamConfirmDialog" />
+ </activity>
+
+ <service
+ android:name="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamMediaService"
+ android:foregroundServiceType="mediaPlayback"
+ android:enabled="true"
+ android:exported="false" />
+
+ <receiver android:name="com.android.settings.connecteddevice.audiosharing.AudioSharingReceiver"
+ android:exported="false">
+ <intent-filter>
+ <action android:name="com.android.settings.action.BLUETOOTH_LE_AUDIO_SHARING_STATE_CHANGE" />
+ <action android:name="com.android.settings.action.BLUETOOTH_LE_AUDIO_SHARING_STOP" />
+ </intent-filter>
+ </receiver>
+
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>