Re-add the block of text explaining the feature.
When the automatic storage manager is off (or has never been run), we display a block of text that explains what it does. In order to make this testable, I've implemented the feature in a PreferenceController and upgraded the existing AutomaticStorageManagerSettings class to be closer to the newer Settings IA. Change-Id: I3f7d20347a6d5a7bae8bffcd2014c3fdcd315b90 Fixes: 63082545 Test: Settings Robotest
This commit is contained in:
@@ -44,6 +44,7 @@ import com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment;
|
||||
import com.android.settings.datausage.DataPlanUsageSummary;
|
||||
import com.android.settings.datausage.DataUsageMeteredSettings;
|
||||
import com.android.settings.datausage.DataUsageSummary;
|
||||
import com.android.settings.deletionhelper.AutomaticStorageManagerSettings;
|
||||
import com.android.settings.development.DevelopmentSettings;
|
||||
import com.android.settings.deviceinfo.StorageDashboardFragment;
|
||||
import com.android.settings.deviceinfo.StorageSettings;
|
||||
@@ -211,6 +212,10 @@ public final class SearchIndexableResources {
|
||||
R.drawable.ic_settings_notifications);
|
||||
addIndex(DreamSettings.class, NO_DATA_RES_ID, R.drawable.ic_settings_display);
|
||||
addIndex(SupportDashboardActivity.class, NO_DATA_RES_ID, R.drawable.ic_help);
|
||||
addIndex(
|
||||
AutomaticStorageManagerSettings.class,
|
||||
NO_DATA_RES_ID,
|
||||
R.drawable.ic_settings_storage);
|
||||
}
|
||||
|
||||
private SearchIndexableResources() {
|
||||
|
Reference in New Issue
Block a user