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

am: ad2f49f851

Change-Id: I3caaf466e7c62cee4de6ef2a4e9695e8725736f1
This commit is contained in:
Antony Sargent
2019-07-31 16:06:59 -07:00
committed by android-build-merger
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);