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

Commit e1af92e4 authored by Hall Liu's avatar Hall Liu
Browse files

Add missing return statement in setTempFileRootDirectory

Return without setting the local temp file root if the middleware
reports a failure.

Test: cts
Change-Id: I5e8ea1f7941a7157d88536925f681044d26ef540
parent 92964f60
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -437,6 +437,7 @@ public class MbmsDownloadSession implements AutoCloseable {
            int result = downloadService.setTempFileRootDirectory(mSubscriptionId, filePath);
            if (result != MbmsErrors.SUCCESS) {
                sendErrorToApp(result, null);
                return;
            }
        } catch (RemoteException e) {
            mService.set(null);