Merge "Fix crash due to no SatelliteManager" into main

This commit is contained in:
Tom Hsu
2024-11-28 06:19:44 +00:00
committed by Android (Google) Code Review

View File

@@ -149,6 +149,10 @@ public class SatelliteSettingPreferenceController extends
}
private void updateSummary(Preference preference) {
if (mSatelliteManager == null) {
logd("updateSummary - no SatelliteManager");
return;
}
try {
Set<Integer> restrictionReason =
mSatelliteManager.getAttachRestrictionReasonsForCarrier(mSubId);