Add Night Light Suggestion and tests
Night Light settings suggestion will only show when the user
has not previously interacted with Night Light.
Bug: 37207263
Test: make ROBOTEST_FILTER=\
"(SettingsSuggestionsTest|SuggestionFeatureProviderImplTest)"\
RunSettingsRoboTests
Change-Id: I432d5fef19f5e4a52503da136b044598cb82164a
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cbf1eae..ef77563 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -921,6 +921,26 @@
android:value="true" />
</activity>
+ <activity android:name="Settings$NightDisplaySuggestionActivity"
+ android:enabled="@*android:bool/config_nightDisplayAvailable"
+ android:taskAffinity=""
+ android:icon="@drawable/ic_settings_night_display">
+ <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="6,10,30" />
+ <meta-data android:name="com.android.settings.title"
+ android:resource="@string/night_display_suggestion_title" />
+ <meta-data android:name="com.android.settings.summary"
+ android:resource="@string/night_display_suggestion_summary" />
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.display.NightDisplaySettings" />
+ </activity>
+
<activity android:name="Settings$DeviceInfoSettingsActivity"
android:label="@string/device_info_settings"
android:icon="@drawable/ic_settings_about"