Merge "Only update native InputApplicationHandle once" into rvc-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
82f859838f
@@ -43,7 +43,6 @@ import android.os.Trace;
|
||||
import android.os.UserHandle;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Slog;
|
||||
import android.view.InputApplicationHandle;
|
||||
import android.view.InputChannel;
|
||||
import android.view.InputEventReceiver;
|
||||
import android.view.InputWindowHandle;
|
||||
|
||||
@@ -943,8 +943,8 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
mLastRequestedHeight = 0;
|
||||
mLayer = 0;
|
||||
mInputWindowHandle = new InputWindowHandle(
|
||||
mActivityRecord != null ?
|
||||
mActivityRecord.getInputApplicationHandle(false /* update */) : null,
|
||||
mActivityRecord != null
|
||||
? mActivityRecord.getInputApplicationHandle(false /* update */) : null,
|
||||
getDisplayId());
|
||||
|
||||
// Make sure we initial all fields before adding to parentWindow, to prevent exception
|
||||
|
||||
Reference in New Issue
Block a user