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

Commit 7ac78325 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Less verbose logging, lots of references." into jb-mr1-dev

parents 525098dd 72f6aea5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -428,8 +428,10 @@ status_t ANetworkSession::Session::writeMore() {
    status_t err = OK;

    if (n > 0) {
#if 0
        ALOGI("out:");
        hexdump(mOutBuffer.c_str(), n);
#endif

        mOutBuffer.erase(0, n);
    } else if (n < 0) {
+2 −2
Original line number Diff line number Diff line
@@ -637,8 +637,8 @@ status_t WifiDisplaySource::PlaybackSession::setupPacketizer() {
    CHECK(service != NULL);

    // Add one reference to account for the serializer.
    // Add another one for unknown reasons.
    err = source->setMaxAcquiredBufferCount(numInputBuffers + 2);
    // Add another two for unknown reasons.
    err = source->setMaxAcquiredBufferCount(31 /* numInputBuffers + 1 */);
    CHECK_EQ(err, (status_t)OK);

    mBufferQueue = source->getBufferQueue();
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

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