Loading src/java/com/android/internal/telephony/satellite/DemoSimulator.java +1 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,7 @@ public class DemoSimulator extends StateMachine { * Set whether the device is aligned with the satellite. */ @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) public void setDeviceAlignedWithSatellite(boolean isAligned) { protected void setDeviceAlignedWithSatellite(boolean isAligned) { if (mSatelliteController.isDemoModeEnabled()) { mIsAligned.set(isAligned); sendMessage(EVENT_DEVICE_ALIGNED_WITH_SATELLITE, isAligned); Loading tests/telephonytests/src/com/android/internal/telephony/satellite/DemoSimulatorTest.java +5 −0 Original line number Diff line number Diff line Loading @@ -244,5 +244,10 @@ public class DemoSimulatorTest extends TelephonyTest { boolean isDeviceNotAlignedTimerStarted() { return hasMessages(EVENT_DEVICE_NOT_ALIGNED); } @Override protected void setDeviceAlignedWithSatellite(boolean isAligned) { super.setDeviceAlignedWithSatellite(isAligned); } } } Loading
src/java/com/android/internal/telephony/satellite/DemoSimulator.java +1 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,7 @@ public class DemoSimulator extends StateMachine { * Set whether the device is aligned with the satellite. */ @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) public void setDeviceAlignedWithSatellite(boolean isAligned) { protected void setDeviceAlignedWithSatellite(boolean isAligned) { if (mSatelliteController.isDemoModeEnabled()) { mIsAligned.set(isAligned); sendMessage(EVENT_DEVICE_ALIGNED_WITH_SATELLITE, isAligned); Loading
tests/telephonytests/src/com/android/internal/telephony/satellite/DemoSimulatorTest.java +5 −0 Original line number Diff line number Diff line Loading @@ -244,5 +244,10 @@ public class DemoSimulatorTest extends TelephonyTest { boolean isDeviceNotAlignedTimerStarted() { return hasMessages(EVENT_DEVICE_NOT_ALIGNED); } @Override protected void setDeviceAlignedWithSatellite(boolean isAligned) { super.setDeviceAlignedWithSatellite(isAligned); } } }