Make the preference not selectable

am: 7ac7d7b660

Change-Id: I2a3f289bbf5881d99674b9b8af5eb61dad04b508
This commit is contained in:
Yvonne Yang
2018-03-20 11:37:31 +00:00
committed by android-build-merger

View File

@@ -482,6 +482,7 @@ public class BatteryAppListPreferenceController extends AbstractPreferenceContro
notAvailable = new Preference(mPrefContext);
notAvailable.setKey(NOT_AVAILABLE);
notAvailable.setTitle(R.string.power_usage_not_available);
notAvailable.setSelectable(false);
mAppListGroup.addPreference(notAvailable);
}
}