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

Commit d5f26ff6 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Merge "Change setDeviceAlignedWithSatellite to protected" into main

parents 07a9a579 88d7a266
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);
        }
    }
}