Merge "Re-throw system server exception."

This commit is contained in:
Almaz Mingaleev
2021-02-26 08:42:36 +00:00
committed by Gerrit Code Review

View File

@@ -329,8 +329,7 @@ public final class SystemClock {
try { try {
time = mMgr.getGnssTimeMillis(); time = mMgr.getGnssTimeMillis();
} catch (RemoteException e) { } catch (RemoteException e) {
e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer();
return 0;
} }
if (time == null) { if (time == null) {
throw new DateTimeException("Gnss based time is not available."); throw new DateTimeException("Gnss based time is not available.");