Merge "Protect entry points to add an eSIM when admin restricted" into qt-r1-dev

This commit is contained in:
TreeHugger Robot
2019-07-31 22:39:22 +00:00
committed by Android (Google) Code Review
3 changed files with 14 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ public class MobileNetworkSummaryController extends AbstractPreferenceController
}
private void update() {
if (mPreference == null) {
if (mPreference == null || mPreference.isDisabledByAdmin()) {
return;
}
refreshSummary(mPreference);