Preserve icon for "manage space"
* I1f7cccf0558960f867a8bf2d0ee14dc5ec9fd7a9 fixes the text but there is no more icon for "manage space". Preserve the old icon. Change-Id: I3256f176b861cfa88780dfcbc54c6e38aac87c8b
This commit is contained in:
@@ -311,11 +311,10 @@ public class AppStorageSettings extends AppInfoWithHeader
|
|||||||
if (appHasSpaceManagementUI) {
|
if (appHasSpaceManagementUI) {
|
||||||
mButtonsPref.setButton1Text(R.string.manage_space_text);
|
mButtonsPref.setButton1Text(R.string.manage_space_text);
|
||||||
} else {
|
} else {
|
||||||
mButtonsPref
|
mButtonsPref.setButton1Text(R.string.clear_user_data_text);
|
||||||
.setButton1Text(R.string.clear_user_data_text)
|
|
||||||
.setButton1Icon(R.drawable.ic_settings_delete);
|
|
||||||
}
|
}
|
||||||
mButtonsPref.setButton1OnClickListener(v -> handleClearDataClick());
|
mButtonsPref.setButton1Icon(R.drawable.ic_settings_delete)
|
||||||
|
.setButton1OnClickListener(v -> handleClearDataClick());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mAppsControlDisallowedBySystem) {
|
if (mAppsControlDisallowedBySystem) {
|
||||||
|
Reference in New Issue
Block a user