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

Commit 17757f8e authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Nicer rethrowing of RemoteExceptions from WebViewUpdateService

Bug: 28437506
Change-Id: I413334efa3d2ca16ee8fe8822fdbcddfdc250a21
parent bfe65669
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public final class WebViewUpdateService {
        try {
            return getUpdateService().getAllWebViewPackages();
        } catch (RemoteException e) {
            throw new RuntimeException(e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -45,7 +45,7 @@ public final class WebViewUpdateService {
        try {
            return getUpdateService().getValidWebViewPackages();
        } catch (RemoteException e) {
            throw new RuntimeException(e);
            throw e.rethrowFromSystemServer();
        }
    }

@@ -56,7 +56,7 @@ public final class WebViewUpdateService {
        try {
            return getUpdateService().getCurrentWebViewPackageName();
        } catch (RemoteException e) {
            throw new RuntimeException(e);
            throw e.rethrowFromSystemServer();
        }
    }