Loading src/java/com/android/internal/telephony/DefaultPhoneNotifier.java +2 −1 Original line number Diff line number Diff line Loading @@ -245,9 +245,10 @@ public class DefaultPhoneNotifier implements PhoneNotifier { public void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs) { int subId = sender.getSubId(); int phoneId = sender.getPhoneId(); try { if (mRegistry != null) { mRegistry.notifyPhysicalChannelConfigurationForSubscriber(subId, configs); mRegistry.notifyPhysicalChannelConfigurationForSubscriber(phoneId, subId, configs); } } catch (RemoteException ex) { // system process is dead Loading tests/telephonytests/src/com/android/internal/telephony/mocks/TelephonyRegistryMock.java +1 −6 Original line number Diff line number Diff line Loading @@ -353,12 +353,7 @@ public class TelephonyRegistryMock extends ITelephonyRegistry.Stub { } @Override public void notifyPhysicalChannelConfiguration(List<PhysicalChannelConfig> configs) { throw new RuntimeException("Not implemented"); } @Override public void notifyPhysicalChannelConfigurationForSubscriber(int subId, public void notifyPhysicalChannelConfigurationForSubscriber(int phoneId, int subId, List<PhysicalChannelConfig> configs) { throw new RuntimeException("Not implemented"); } Loading Loading
src/java/com/android/internal/telephony/DefaultPhoneNotifier.java +2 −1 Original line number Diff line number Diff line Loading @@ -245,9 +245,10 @@ public class DefaultPhoneNotifier implements PhoneNotifier { public void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs) { int subId = sender.getSubId(); int phoneId = sender.getPhoneId(); try { if (mRegistry != null) { mRegistry.notifyPhysicalChannelConfigurationForSubscriber(subId, configs); mRegistry.notifyPhysicalChannelConfigurationForSubscriber(phoneId, subId, configs); } } catch (RemoteException ex) { // system process is dead Loading
tests/telephonytests/src/com/android/internal/telephony/mocks/TelephonyRegistryMock.java +1 −6 Original line number Diff line number Diff line Loading @@ -353,12 +353,7 @@ public class TelephonyRegistryMock extends ITelephonyRegistry.Stub { } @Override public void notifyPhysicalChannelConfiguration(List<PhysicalChannelConfig> configs) { throw new RuntimeException("Not implemented"); } @Override public void notifyPhysicalChannelConfigurationForSubscriber(int subId, public void notifyPhysicalChannelConfigurationForSubscriber(int phoneId, int subId, List<PhysicalChannelConfig> configs) { throw new RuntimeException("Not implemented"); } Loading