Merge "Set preference invisible when no anomaly" into oc-mr1-dev

am: 0e800978bf

Change-Id: Icf0931c60d62fd9e18bc3cfe2853e965403e7740
This commit is contained in:
jackqdyulei
2017-08-23 20:11:28 +00:00
committed by android-build-merger
2 changed files with 12 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ public class AnomalySummaryPreferenceController {
mAnomalyPreference.setTitle(title);
mAnomalyPreference.setSummary(summary);
} else {
mAnomalyPreference.setVisible(false);
}
}