Add a suggestion: showing new device features
- New suggestion activity
- Removed useless api SuggestionFeatureProvider.isPresent().
- Also updated support activity search indexing icon and summary
Change-Id: Ib52cf26a985f57bf0aac918606b10f75bd024639
Fix: 62034077
Fix: 62196070
Test: make RunSettingsRoboTests
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 54f2e86..6a2c01b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -800,6 +800,22 @@
android:resource="@string/wallpaper_suggestion_summary" />
</activity>
+ <activity android:name=".support.NewDeviceIntroSuggestionActivity"
+ android:label="@string/new_device_suggestion_title"
+ android:icon="@drawable/ic_new_releases_24dp"
+ android:theme="@android:style/Theme.NoDisplay">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="com.android.settings.suggested.category.FIRST_IMPRESSION" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.dismiss"
+ android:value="0,4" />
+ <meta-data android:name="com.android.settings.title"
+ android:resource="@string/new_device_suggestion_title" />
+ <meta-data android:name="com.android.settings.summary"
+ android:resource="@string/new_device_suggestion_summary" />
+ </activity>
+
<activity android:name="Settings$ZenModeScheduleRuleSettingsActivity"
android:exported="true"
android:taskAffinity="">