From 2ec750457e7fae3c09b1e6bcd3f9e4f6cde3108c Mon Sep 17 00:00:00 2001 From: Yao Chen Date: Tue, 30 Apr 2019 20:19:21 +0000 Subject: [PATCH] Revert "incidentd: Move logging statement so it's used" This reverts commit f84c641b15e14910babdf0a3e1034088f1df3528. Reason for revert: As part of the revert of encryption inside incidentd Change-Id: Ia70c35f7d952bfc9c12db24dd373388f29343002 --- cmds/incidentd/src/cipher/ProtoEncryption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/incidentd/src/cipher/ProtoEncryption.cpp b/cmds/incidentd/src/cipher/ProtoEncryption.cpp index 11f0b2ace99ab..493796d2af4d1 100644 --- a/cmds/incidentd/src/cipher/ProtoEncryption.cpp +++ b/cmds/incidentd/src/cipher/ProtoEncryption.cpp @@ -87,8 +87,8 @@ status_t ProtoDecryptor::readOneBlock(string* output) { mReader->move(toRead); } if (pos != sectionSize) { - ALOGE("Failed to read one block"); return BAD_VALUE; + ALOGE("Failed to read one block"); } } else { return BAD_VALUE;