Add summary back to the homepage
Also update some summaries with new strings. Bug: 183586663 Test: robotests & atest & visual Change-Id: I692be9b34e8867501aaa8c8e40428870b99644f8
This commit is contained in:
@@ -19,14 +19,12 @@ package com.android.settings.deviceinfo;
|
||||
import android.content.Context;
|
||||
import android.os.storage.StorageManager;
|
||||
import android.text.format.Formatter;
|
||||
import android.util.FeatureFlagUtils;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.preference.Preference;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.core.BasePreferenceController;
|
||||
import com.android.settings.core.FeatureFlags;
|
||||
import com.android.settingslib.deviceinfo.PrivateStorageInfo;
|
||||
import com.android.settingslib.deviceinfo.StorageManagerVolumeProvider;
|
||||
import com.android.settingslib.utils.ThreadUtils;
|
||||
@@ -52,11 +50,6 @@ public class TopLevelStoragePreferenceController extends BasePreferenceControlle
|
||||
|
||||
@Override
|
||||
protected void refreshSummary(Preference preference) {
|
||||
// Remove homepage summaries for silky home.
|
||||
if (FeatureFlagUtils.isEnabled(mContext, FeatureFlags.SILKY_HOME)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (preference == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user