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

Commit 60766085 authored by Jiabin Huang's avatar Jiabin Huang
Browse files

Update language to comply with Android's inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for reference

 
BUG=161896447

Change-Id: Iad0bd7ca8c0a804129e6b8759336a0a652a4f0b0
parent b1f872ad
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -674,8 +674,8 @@ sp<AudioFlinger::Client> AudioFlinger::registerPid(pid_t pid)

sp<NBLog::Writer> AudioFlinger::newWriter_l(size_t size, const char *name)
{
    // If there is no memory allocated for logs, return a dummy writer that does nothing.
    // Similarly if we can't contact the media.log service, also return a dummy writer.
    // If there is no memory allocated for logs, return a no-op writer that does nothing.
    // Similarly if we can't contact the media.log service, also return a no-op writer.
    if (mLogMemoryDealer == 0 || sMediaLogService == 0) {
        return new NBLog::Writer();
    }
@@ -701,7 +701,7 @@ sp<NBLog::Writer> AudioFlinger::newWriter_l(size_t size, const char *name)
            }
        }
        // Even after garbage-collecting all old writers, there is still not enough memory,
        // so return a dummy writer
        // so return a no-op writer
        return new NBLog::Writer();
    }
success: