Update the layout of AppDataUsagePreference
The layout of AppDataUsagePreference including a progressbar, that's not common pattern in SettingsLib. Bug: 365506467 Bug: 370456736 Change-Id: I28d25724067d85f8d37c3b5273d38055ba7021a6 Test: atest Flag: EXEMPT bugfix
This commit is contained in:
@@ -38,6 +38,7 @@ public class AppDataUsagePreference extends AppPreference {
|
||||
public AppDataUsagePreference(Context context, AppItem item, int percent,
|
||||
UidDetailProvider provider) {
|
||||
super(context);
|
||||
setLayoutResource(R.layout.preference_process_stats);
|
||||
setKey("app_data_usage_" + item.key);
|
||||
mItem = item;
|
||||
mPercent = percent;
|
||||
|
||||
Reference in New Issue
Block a user