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

Commit 657e808a authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Merge branch '6839-Fix_exception_on_login_issue' into 'main'

Fix log level in inputStreamBinder

See merge request !103
parents 4f138442 c8beaa18
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
            InputStream resultStream = new java.io.SequenceInputStream(exceptionStream, response.getBody());

            return ParcelFileDescriptorUtil.pipeFrom(resultStream,
                    thread -> Logger.INSTANCE.getLog().log(Level.SEVERE, "InputStreamBinder: Done sending result"),
                    thread -> Logger.INSTANCE.getLog().log(Level.INFO, "InputStreamBinder: Done sending result"),
                    response.getMethod());
        } catch (IOException e) {
            Logger.INSTANCE.getLog().log(Level.SEVERE, "Error while sending response back to client app", e);
@@ -373,7 +373,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
            // If response body is available
            if (inputStream != null) {
                total = inputStreamToString(inputStream);
                Logger.INSTANCE.getLog().log(Level.SEVERE, "InputStreamBinder: " + total);
                Logger.INSTANCE.getLog().log(Level.INFO, "InputStreamBinder: " + total);
            }

            method.releaseConnection();