Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference BUG=162536543 Change-Id: Iea1f8c3d2a253cad5a6a429389bbe3fc5fd4bc6b
This commit is contained in:
@@ -276,7 +276,7 @@ public class DropBoxManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a dummy instance for testing. All methods will fail unless
|
||||
* Create an instance for testing. All methods will fail unless
|
||||
* overridden with an appropriate mock implementation. To obtain a
|
||||
* functional instance, use {@link android.content.Context#getSystemService}.
|
||||
*/
|
||||
|
||||
@@ -1302,7 +1302,7 @@ public final class FileUtils {
|
||||
|
||||
/** {@hide} */
|
||||
public static int translateModeStringToPosix(String mode) {
|
||||
// Sanity check for invalid chars
|
||||
// Quick check for invalid chars
|
||||
for (int i = 0; i < mode.length(); i++) {
|
||||
switch (mode.charAt(i)) {
|
||||
case 'r':
|
||||
|
||||
Reference in New Issue
Block a user