commit | ac4500e67de510a3724b98f248e5cb8f3cc1eb26 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Mon Jul 27 14:03:56 2020 -0700 |
committer | Dan Albert <danalbert@google.com> | Tue Jul 28 15:58:25 2020 -0700 |
tree | 38d3d667077668818f5888ec86a41e0aa16950bf | |
parent | b0a9d0e703621152e6e82262b04b54ac54b3a315 [diff] [blame] |
Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: http://b/161896447 Test: None Change-Id: I9e5a37a20012b2f7a8eac55701df03f7b7a9ab6c
diff --git a/libcutils/ashmem-dev.cpp b/libcutils/ashmem-dev.cpp index 8c232f0..20cd659 100644 --- a/libcutils/ashmem-dev.cpp +++ b/libcutils/ashmem-dev.cpp
@@ -122,7 +122,8 @@ return true; } - /* If its not a number, assume string, but check if its a sane string */ + // Non-numeric should be a single ASCII character. Characters after the + // first are ignored. if (tolower(vndk_version[0]) < 'a' || tolower(vndk_version[0]) > 'z') { ALOGE("memfd: ro.vndk.version not defined or invalid (%s), this is mandated since P.\n", vndk_version.c_str());