Merge "Improve shouldRestoreImeVisibility perf" into sc-qpr1-dev am: b73c29a18a am: 51b909f188
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15542637 Change-Id: I9a7b91bac6fa96514ca84099231239609b3651b8
This commit is contained in:
@@ -8636,8 +8636,9 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
if (imeTargetWindowTask == null) {
|
if (imeTargetWindowTask == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
final TaskSnapshot snapshot = mAtmService.getTaskSnapshot(imeTargetWindowTask.mTaskId,
|
final TaskSnapshot snapshot = getTaskSnapshot(imeTargetWindowTask.mTaskId,
|
||||||
false /* isLowResolution */);
|
imeTargetWindowTask.mUserId, false /* isLowResolution */,
|
||||||
|
false /* restoreFromDisk */);
|
||||||
return snapshot != null && snapshot.hasImeSurface();
|
return snapshot != null && snapshot.hasImeSurface();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user