Some OEMs have requested the ability to customize the ringtone picker logic, and that's already supported by the existing "config_defaultRingtonePickerEnabled" parameter today. This change is a clean refactoring of the AOSP ringtone picker out of MediaProvider and into a new "SoundPicker" module, which is consistent with how some OEMs have already defined their own "SoundPickerPrebuilt" module. Bug: 134542205 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: Iadc60e731e6dcfce651f89bc7598e65541ab0ddf
34 lines
1.4 KiB
XML
34 lines
1.4 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.soundpicker"
|
|
android:sharedUserId="android.media">
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY" />
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:supportsRtl="true">
|
|
<receiver android:name="RingtoneReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name="RingtoneOverlayService" />
|
|
|
|
<activity android:name="RingtonePickerActivity"
|
|
android:theme="@style/PickerDialogTheme"
|
|
android:enabled="@*android:bool/config_defaultRingtonePickerEnabled"
|
|
android:excludeFromRecents="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.RINGTONE_PICKER" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|