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

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

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

View File

@@ -241,7 +241,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

@@ -201,7 +201,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