Move code from SuggestionChecks to FeatureProvider
This is step one to deprecate SuggestionChecks. Moving logic into
SuggestionFeatureProvider allows potential logic override and improves
testability.
Also moved isSuggestionComplete tests to corresponding activity/pref
controller test.
Bug: 65065268
Test: robotests
Change-Id: I2071d30fc58bb84acad2083ca03cfcf7d41f10cb
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 44555db..190c55b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1688,14 +1688,12 @@
android:value="true" />
</activity>
- <activity android:name=".Settings$ScreenLockSuggestionActivity"
+ <activity android:name=".password.ScreenLockSuggestionActivity"
android:icon="@drawable/ic_settings_security">
<intent-filter android:priority="1">
<action android:name="android.intent.action.MAIN" />
<category android:name="com.android.settings.suggested.category.LOCK_SCREEN" />
</intent-filter>
- <meta-data android:name="com.android.settings.dismiss"
- android:value="0,30" />
<meta-data android:name="com.android.settings.title"
android:resource="@string/suggested_lock_settings_title" />
<meta-data android:name="com.android.settings.summary"
@@ -1703,7 +1701,7 @@
<meta-data android:name="com.android.settings.icon_tintable" android:value="true" />
</activity>
- <activity android:name=".Settings$FingerprintEnrollSuggestionActivity"
+ <activity android:name=".fingerprint.FingerprintEnrollSuggestionActivity"
android:icon="@drawable/ic_suggestion_fingerprint">
<intent-filter android:priority="2">
<action android:name="android.intent.action.MAIN" />
@@ -2908,7 +2906,7 @@
android:value="true" />
</activity>
- <activity android:name="Settings$WifiCallingSuggestionActivity"
+ <activity android:name=".wifi.WifiCallingSuggestionActivity"
android:label="@string/wifi_calling_settings_title"
android:icon="@drawable/ic_settings_wireless"
android:taskAffinity="">