Skip to content

Commit 5c0e78c

Browse files
author
Craig Mautner
committed
Rename variables and methods for clarity.
Change-Id: I2a1b2f2d5605123e55f264d45b1e7292852f2a7f
1 parent f008ab7 commit 5c0e78c

File tree

2 files changed

+138
-133
lines changed

2 files changed

+138
-133
lines changed

services/java/com/android/server/wm/DragState.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void broadcastDragStartedLw(final float touchX, final float touchY) {
189189
Slog.d(WindowManagerService.TAG, "broadcasting DRAG_STARTED at (" + touchX + ", " + touchY + ")");
190190
}
191191

192-
final WindowList windows = mService.getWindowList(mDisplay);
192+
final WindowList windows = mService.getWindowListLocked(mDisplay);
193193
final int N = windows.size();
194194
for (int i = 0; i < N; i++) {
195195
sendDragStartedLw(windows.get(i), touchX, touchY, mDataDescription);
@@ -392,7 +392,7 @@ private WindowState getTouchedWinAtPointLw(float xf, float yf) {
392392
final int x = (int) xf;
393393
final int y = (int) yf;
394394

395-
final WindowList windows = mService.getWindowList(mDisplay);
395+
final WindowList windows = mService.getWindowListLocked(mDisplay);
396396
final int N = windows.size();
397397
for (int i = N - 1; i >= 0; i--) {
398398
WindowState child = windows.get(i);

0 commit comments

Comments
 (0)