Make the preference not selectable am: 7ac7d7b660

am: 2576b0467b

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

View File

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