Loading services/core/java/com/android/server/TelephonyRegistry.java +1 −1 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub { mCallForwarding[i] = false; mCellLocation[i] = new Bundle(); mCellInfo.add(i, null); mPhysicalChannelConfigs.add(i, null); mPhysicalChannelConfigs.add(i, new ArrayList<PhysicalChannelConfig>()); } // Note that location can be null for non-phone builds like Loading telephony/java/android/telephony/PhoneStateListener.java +3 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.telephony; import android.annotation.NonNull; import android.os.Bundle; import android.os.Handler; import android.os.Looper; Loading Loading @@ -578,7 +579,8 @@ public class PhoneStateListener { * @param configs List of the current {@link PhysicalChannelConfig}s * @hide */ public void onPhysicalChannelConfigurationChanged(List<PhysicalChannelConfig> configs) { public void onPhysicalChannelConfigurationChanged( @NonNull List<PhysicalChannelConfig> configs) { // default implementation empty } Loading Loading
services/core/java/com/android/server/TelephonyRegistry.java +1 −1 Original line number Diff line number Diff line Loading @@ -351,7 +351,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub { mCallForwarding[i] = false; mCellLocation[i] = new Bundle(); mCellInfo.add(i, null); mPhysicalChannelConfigs.add(i, null); mPhysicalChannelConfigs.add(i, new ArrayList<PhysicalChannelConfig>()); } // Note that location can be null for non-phone builds like Loading
telephony/java/android/telephony/PhoneStateListener.java +3 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.telephony; import android.annotation.NonNull; import android.os.Bundle; import android.os.Handler; import android.os.Looper; Loading Loading @@ -578,7 +579,8 @@ public class PhoneStateListener { * @param configs List of the current {@link PhysicalChannelConfig}s * @hide */ public void onPhysicalChannelConfigurationChanged(List<PhysicalChannelConfig> configs) { public void onPhysicalChannelConfigurationChanged( @NonNull List<PhysicalChannelConfig> configs) { // default implementation empty } Loading