Merge "Update StorageSummaryDonutPreference content" into pi-dev am: 070238df13

am: 3ba6c42ab0

Change-Id: Ibb80c748317948ab1b5b62f606c06375ee0c1cc9
This commit is contained in:
Tony Huang
2018-04-26 20:09:01 -07:00
committed by android-build-merger
2 changed files with 4 additions and 0 deletions

View File

@@ -71,6 +71,8 @@ public class StorageSummaryDonutPreference extends Preference implements View.On
@Override
public void onBindViewHolder(PreferenceViewHolder view) {
super.onBindViewHolder(view);
view.itemView.setClickable(false);
final DonutView donut = (DonutView) view.findViewById(R.id.donut);
if (donut != null) {
donut.setPercentage(mPercent);