Merge "Update language to comply with Android’s inclusive language guidance"
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user