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:
commit
64a23c980f
@ -1502,7 +1502,7 @@ public final class AccessibilityInteractionController {
|
||||
parent = provider.createAccessibilityNodeInfo(virtualDescendantId);
|
||||
if (parent == null) {
|
||||
// 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();
|
||||
for (int i = currentResultSize - 1; i >= initialResultSize; i--) {
|
||||
outInfos.remove(i);
|
||||
|
@ -463,7 +463,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
|
||||
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.
|
||||
*/
|
||||
int mSelectedTop = 0;
|
||||
|
@ -126,7 +126,7 @@ public final class TaskFragmentTransaction implements Parcelable {
|
||||
/** Change type: the status of the TaskFragment is changed. */
|
||||
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;
|
||||
|
||||
/** Change type: the status of the parent leaf Task is changed. */
|
||||
|
@ -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() {
|
||||
synchronized (mBufferLock) {
|
||||
|
@ -10087,7 +10087,7 @@ public class RecyclerView extends ViewGroup implements ScrollingView, NestedScro
|
||||
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.
|
||||
*/
|
||||
static final int FLAG_TMP_DETACHED = 1 << 8;
|
||||
|
@ -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() {
|
||||
if (mUserExpanding) {
|
||||
|
@ -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.
|
||||
*
|
||||
* @see #mRevokedAssociationsPendingRoleHolderRemoval
|
||||
@ -1113,7 +1113,7 @@ public class CompanionDeviceManagerService extends SystemService {
|
||||
final boolean shouldKeepUidForRemoval = any(
|
||||
getPendingRoleHolderRemovalAssociationsForUser(userId),
|
||||
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.
|
||||
if (!shouldKeepUidForRemoval) {
|
||||
mUidsPendingRoleHolderRemoval.remove(uid);
|
||||
|
@ -2284,7 +2284,7 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
||||
}
|
||||
if (rootTask.getDisplayArea().isTopRootTask(rootTask)
|
||||
&& 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
|
||||
// display.
|
||||
rootTask.executeAppTransition(targetOptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user