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

Commit 357552eb authored by Tom Cherry's avatar Tom Cherry
Browse files

remove extraneous `using namespace android` and deprecate utils/Log.h

This namespace is not used by this file and its declaration is removed
in a separate CL from utils/Log.h, which is the only place it is
defined, so we must remove this extraneous line.

Also, since that separate CL is deprecating utils/Log.h in favor of
log/log.h, we make the switch to the new header.

Test: Build
Exempt-From-Owner-Approval: Owners file needs updating
Change-Id: I34aa80765d30c79f8cb67eaf95a9995066bd672e
parent 37cd5f11
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

#define LOG_TAG "AAudio"
//#define LOG_NDEBUG 0
#include <utils/Log.h>
#include <log/log.h>

#include <stdint.h>

@@ -25,7 +25,6 @@

#define MIN_LATENESS_NANOS (10 * AAUDIO_NANOS_PER_MICROSECOND)

using namespace android;
using namespace aaudio;

IsochronousClockModel::IsochronousClockModel()
+1 −2
Original line number Diff line number Diff line
@@ -16,12 +16,11 @@

#define LOG_TAG "AAudioService"
//#define LOG_NDEBUG 0
#include <utils/Log.h>
#include <log/log.h>

#include <aaudio/AAudio.h>
#include "SharedMemoryProxy.h"

using namespace android;
using namespace aaudio;

SharedMemoryProxy::~SharedMemoryProxy()