summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-01-07 15:23:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-07 15:23:53 +0000
commit86b6f66d9f6bf87a09fbdb9f3595e8d95df81244 (patch)
tree26b17b385e92b3045313b8dc305f6ea202e891a0 /media
parent6e01e065798d32171b0996c222ab70f25a4ecd06 (diff)
parentbbf55a3fcdf2cc10b266f30a89c154e3a53bf8de (diff)
Merge "MTP: Update language to comply with Android's inclusive language guidance"
Diffstat (limited to 'media')
-rw-r--r--media/java/android/mtp/MtpStorageManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/java/android/mtp/MtpStorageManager.java b/media/java/android/mtp/MtpStorageManager.java
index c0eb5e8bbea9..0bede0dccbed 100644
--- a/media/java/android/mtp/MtpStorageManager.java
+++ b/media/java/android/mtp/MtpStorageManager.java
@@ -958,7 +958,7 @@ public class MtpStorageManager {
MtpObject parent = obj.getParent();
MtpObject oldObj = parent.getChild(oldName);
if (!success) {
- // If the rename failed, we want oldObj to be the original and obj to be the dummy.
+ // If the rename failed, we want oldObj to be the original and obj to be the stand-in.
// Switch the objects, except for their name and state.
MtpObject temp = oldObj;
MtpObjectState oldState = oldObj.getState();
@@ -1034,7 +1034,7 @@ public class MtpStorageManager {
return generalBeginRemoveObject(obj, MtpOperation.RENAME)
&& generalBeginCopyObject(newObj, false);
}
- // Move obj to new parent, create a dummy object in the old parent.
+ // Move obj to new parent, create a fake object in the old parent.
MtpObject oldObj = obj.copy(false);
obj.setParent(newParent);
oldObj.getParent().addChild(oldObj);
@@ -1063,7 +1063,7 @@ public class MtpStorageManager {
return generalEndCopyObject(newObj, success, true) && ret;
}
if (!success) {
- // If the rename failed, we want oldObj to be the original and obj to be the dummy.
+ // If the rename failed, we want oldObj to be the original and obj to be the stand-in.
// Switch the objects, except for their parent and state.
MtpObject temp = oldObj;
MtpObjectState oldState = oldObj.getState();