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

Commit fa4c3114 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "PdfEditor: define LOG_TAG" am: a3bb8e3c am: 9c0ea2d1 am: 5aad37e7

am: 5be5a411

Change-Id: Ia7ee2481592d3df55c3fda94cc1abfb4ea4a95cc
parents 03db8e4b 5be5a411
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -13,6 +13,15 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#define LOG_TAG "PdfEditor"

#include <sys/types.h>
#include <unistd.h>

#include <vector>

#include <android/log.h>
#include <utils/Log.h>

#include "PdfUtils.h"

@@ -30,11 +39,6 @@
#include "SkMatrix.h"

#include <core_jni_helpers.h>
#include <vector>
#include <utils/Log.h>
#include <unistd.h>
#include <sys/types.h>
#include <unistd.h>

namespace android {

@@ -77,8 +81,7 @@ static bool writeAllBytes(const int fd, const void* buffer, const size_t byteCou
            if (errno == EINTR) {
                continue;
            }
            __android_log_print(ANDROID_LOG_ERROR, LOG_TAG,
                    "Error writing to buffer: %d", errno);
            ALOGE("Error writing to buffer: %d", errno);
            return false;
        }
        remainingBytes -= writtenByteCount;