Merge "Fix "form/from" typos in comments" am: c66a390867

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

Change-Id: Id371845b254598cdc40f1a3464ac980c04b52e84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-01-30 18:42:11 +00:00 committed by Automerger Merge Worker
commit 64a23c980f
8 changed files with 9 additions and 9 deletions

View File

@ -1502,7 +1502,7 @@ public final class AccessibilityInteractionController {
parent = provider.createAccessibilityNodeInfo(virtualDescendantId); parent = provider.createAccessibilityNodeInfo(virtualDescendantId);
if (parent == null) { if (parent == null) {
// Going up the parent relation we found a null predecessor, // Going up the parent relation we found a null predecessor,
// so remove these disconnected nodes form the result. // so remove these disconnected nodes from the result.
final int currentResultSize = outInfos.size(); final int currentResultSize = outInfos.size();
for (int i = currentResultSize - 1; i >= initialResultSize; i--) { for (int i = currentResultSize - 1; i >= initialResultSize; i--) {
outInfos.remove(i); outInfos.remove(i);

View File

@ -463,7 +463,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
AbsPositionScroller mPositionScroller; AbsPositionScroller mPositionScroller;
/** /**
* The offset in pixels form the top of the AdapterView to the top * The offset in pixels from the top of the AdapterView to the top
* of the currently selected view. Used to save and restore state. * of the currently selected view. Used to save and restore state.
*/ */
int mSelectedTop = 0; int mSelectedTop = 0;

View File

@ -126,7 +126,7 @@ public final class TaskFragmentTransaction implements Parcelable {
/** Change type: the status of the TaskFragment is changed. */ /** Change type: the status of the TaskFragment is changed. */
public static final int TYPE_TASK_FRAGMENT_INFO_CHANGED = 2; public static final int TYPE_TASK_FRAGMENT_INFO_CHANGED = 2;
/** Change type: the TaskFragment is removed form the hierarchy. */ /** Change type: the TaskFragment is removed from the hierarchy. */
public static final int TYPE_TASK_FRAGMENT_VANISHED = 3; public static final int TYPE_TASK_FRAGMENT_VANISHED = 3;
/** Change type: the status of the parent leaf Task is changed. */ /** Change type: the status of the parent leaf Task is changed. */

View File

@ -193,7 +193,7 @@ public class TraceBuffer<P, S extends P, T extends P> {
} }
/** /**
* Removes all elements form the buffer * Removes all elements from the buffer
*/ */
public void resetBuffer() { public void resetBuffer() {
synchronized (mBufferLock) { synchronized (mBufferLock) {

View File

@ -10087,7 +10087,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro
static final int FLAG_IGNORE = 1 << 7; static final int FLAG_IGNORE = 1 << 7;
/** /**
* When the View is detached form the parent, we set this flag so that we can take correct * When the View is detached from the parent, we set this flag so that we can take correct
* action when we need to remove it or add it back. * action when we need to remove it or add it back.
*/ */
static final int FLAG_TMP_DETACHED = 1 << 8; static final int FLAG_TMP_DETACHED = 1 << 8;

View File

@ -1049,7 +1049,7 @@ public class NotificationContentView extends FrameLayout implements Notification
} }
/** /**
* @return one of the static enum types in this view, calculated form the current state * @return one of the static enum types in this view, calculated from the current state
*/ */
public int calculateVisibleType() { public int calculateVisibleType() {
if (mUserExpanding) { if (mUserExpanding) {

View File

@ -1094,7 +1094,7 @@ public class CompanionDeviceManagerService extends SystemService {
} }
/** /**
* Remove the revoked association form the cache and also remove the uid form the map if * Remove the revoked association from the cache and also remove the uid from the map if
* there are other associations with the same package still pending for role holder removal. * there are other associations with the same package still pending for role holder removal.
* *
* @see #mRevokedAssociationsPendingRoleHolderRemoval * @see #mRevokedAssociationsPendingRoleHolderRemoval
@ -1113,7 +1113,7 @@ public class CompanionDeviceManagerService extends SystemService {
final boolean shouldKeepUidForRemoval = any( final boolean shouldKeepUidForRemoval = any(
getPendingRoleHolderRemovalAssociationsForUser(userId), getPendingRoleHolderRemovalAssociationsForUser(userId),
ai -> packageName.equals(ai.getPackageName())); ai -> packageName.equals(ai.getPackageName()));
// Do not remove the uid form the map since other associations with // Do not remove the uid from the map since other associations with
// the same packageName still pending for role holder removal. // the same packageName still pending for role holder removal.
if (!shouldKeepUidForRemoval) { if (!shouldKeepUidForRemoval) {
mUidsPendingRoleHolderRemoval.remove(uid); mUidsPendingRoleHolderRemoval.remove(uid);

View File

@ -2284,7 +2284,7 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
} }
if (rootTask.getDisplayArea().isTopRootTask(rootTask) if (rootTask.getDisplayArea().isTopRootTask(rootTask)
&& topRunningActivity.isState(RESUMED)) { && topRunningActivity.isState(RESUMED)) {
// Kick off any lingering app transitions form the MoveTaskToFront // Kick off any lingering app transitions from the MoveTaskToFront
// operation, but only consider the top task and root-task on that // operation, but only consider the top task and root-task on that
// display. // display.
rootTask.executeAppTransition(targetOptions); rootTask.executeAppTransition(targetOptions);