Add intent filters for language and wallpaper setting

This is required by LauncherIndiaGoogle to expose deeper shortcuts into
most relevant NIU settings

Test: N/A
Bug: 216835089
Change-Id: I97d6e71a5e9aa7bfd1625dc1fc77358cda5fd3db
This commit is contained in:
ronish
2022-04-14 14:55:35 +00:00
parent 4cedce018a
commit 4e85627cd7

View File

@@ -881,9 +881,13 @@
android:exported="true"
android:icon="@drawable/ic_settings_language">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.VOICE_LAUNCH" />
<category android:name="android.intent.category.DEFAULT" />
<action android:name="android.settings.LANGUAGE_SETTINGS"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.VOICE_LAUNCH"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.language.LanguageAndInputSettings"/>
@@ -1103,6 +1107,10 @@
android:label="@string/wallpaper_settings_fragment_title"
android:icon="@drawable/ic_wallpaper"
android:exported="true">
<intent-filter>
<action android:name="android.settings.WALLPAPER_SETTINGS"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.wallpaper.WallpaperTypeSettings" />
<meta-data android:name="com.android.settings.HIGHLIGHT_MENU_KEY"