Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88d7a266 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Change setDeviceAlignedWithSatellite to protected

Bug: 410308796
Test: atest
Flag: com.android.internal.telephony.flags.satellite_improve_multi_thread_design
Change-Id: I1a0e029a2f34713e3b0adb2039f1076c10e6fc49
parent 7ca3cdcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+5 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }
}