Merge "Update language to comply with Android’s inclusive language guidance" am: c4a477881e am: bcf2bc7a1d am: 2f23d6e220

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1369877

Change-Id: I4cb914a45e175c2c3848e37195760eff2ccb201f
This commit is contained in:
Treehugger Robot
2020-07-23 09:57:29 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ abstract class HdmiCecLocalDevice {
if (dest != mAddress && dest != Constants.ADDR_BROADCAST) { if (dest != mAddress && dest != Constants.ADDR_BROADCAST) {
return false; return false;
} }
// Cache incoming message. Note that it caches only white-listed one. // Cache incoming message if it is included in the list of cacheable opcodes.
mCecMessageCache.cacheMessage(message); mCecMessageCache.cacheMessage(message);
return onMessage(message); return onMessage(message);
} }

View File

@@ -227,7 +227,7 @@ public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
if (SystemProperties.getBoolean(Constants.PROPERTY_KEEP_AWAKE, true)) { if (SystemProperties.getBoolean(Constants.PROPERTY_KEEP_AWAKE, true)) {
mWakeLock = new SystemWakeLock(); mWakeLock = new SystemWakeLock();
} else { } else {
// Create a dummy lock object that doesn't do anything about wake lock, // Create a stub lock object that doesn't do anything about wake lock,
// hence allows the device to go to sleep even if it's the active source. // hence allows the device to go to sleep even if it's the active source.
mWakeLock = new ActiveWakeLock() { mWakeLock = new ActiveWakeLock() {
@Override @Override