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

Commit b0d08720 authored by Almaz Mingaleev's avatar Almaz Mingaleev
Browse files

Re-throw system server exception.

Previous "return 0" was not reachable, this makes intention
cleaner.

Bug: minor cleanup
Test: TH only
Change-Id: I50d7d1a2ed53b8f8fe245c6ac6aad4fb8b4ce6e3
parent 6916f91f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -329,8 +329,7 @@ public final class SystemClock {
                try {
                    time = mMgr.getGnssTimeMillis();
                } catch (RemoteException e) {
                    e.rethrowFromSystemServer();
                    return 0;
                    throw e.rethrowFromSystemServer();
                }
                if (time == null) {
                    throw new DateTimeException("Gnss based time is not available.");