Merge "Fix crash due to no SatelliteManager" into main
This commit is contained in:
@@ -149,6 +149,10 @@ public class SatelliteSettingPreferenceController extends
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateSummary(Preference preference) {
|
private void updateSummary(Preference preference) {
|
||||||
|
if (mSatelliteManager == null) {
|
||||||
|
logd("updateSummary - no SatelliteManager");
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
Set<Integer> restrictionReason =
|
Set<Integer> restrictionReason =
|
||||||
mSatelliteManager.getAttachRestrictionReasonsForCarrier(mSubId);
|
mSatelliteManager.getAttachRestrictionReasonsForCarrier(mSubId);
|
||||||
|
Reference in New Issue
Block a user