[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Sorry I totally missed your post. I just tested Wfd on 20 and got a crash. The commits were done for 20 as well. The crash I got:

01-12 10:10:04.678 4168 4183 D WfdSession: Loading libwfdnative.so ...
01-12 10:10:04.733 4168 4183 E JavaBinder: *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
01-12 10:10:04.733 4168 4183 E JavaBinder: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN7android11MotionEvent10initializeEiijiNSt3__15arrayIhLm32EEEiiiiiiNS_20MotionClassificationERKNS_2ui9TransformEffffiillmPKNS_17PointerPropertiesEPKNS_13PointerCoordsE" referenced by "/system/system_ext/lib64/libwfdnative.so"...
01-12 10:10:04.733 4168 4183 E JavaBinder: at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
01-12 10:10:04.733 4168 4183 E JavaBinder: at java.lang.Runtime.loadLibrary0(Runtime.java:998)
01-12 10:10:04.733 4168 4183 E JavaBinder: at java.lang.System.loadLibrary(System.java:1661)
01-12 10:10:04.733 4168 4183 E JavaBinder: at com.qualcomm.wfd.WFDSession.<clinit>(WFDSession.java:56)
01-12 10:10:04.733 4168 4183 E JavaBinder: at com.qualcomm.wfd.WFDSession.createWFDSession(WFDSession.java:404)
01-12 10:10:04.733 4168 4183 E JavaBinder: at com.qualcomm.wfd.service.SessionManagerService.setDeviceType(SessionManagerService.java:202)
01-12 10:10:04.733 4168 4183 E JavaBinder: at com.qualcomm.wfd.service.ISessionManagerService$Stub.onTransact(ISessionManagerService.java:657)
01-12 10:10:04.733 4168 4183 E JavaBinder: at android.os.Binder.execTransactInternal(Binder.java:1285)
01-12 10:10:04.733 4168 4183 E JavaBinder: at android.os.Binder.execTransact(Binder.java:1244)
--------- beginning of crash
01-12 10:10:04.735 4168 4183 E AndroidRuntime: FATAL EXCEPTION: binder:4168_3
01-12 10:10:04.735 4168 4183 E AndroidRuntime: Process: com.qualcomm.wfd.service:wfd_service, PID: 4168
01-12 10:10:04.735 4168 4183 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN7android11MotionEvent10initializeEiijiNSt3__15arrayIhLm32EEEiiiiiiNS_20MotionClassificationERKNS_2ui9TransformEffffiillmPKNS_17PointerPropertiesEPKNS_13PointerCoordsE" referenced by "/system/system_ext/lib64/libwfdnative.so"...
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:998)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1661)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at com.qualcomm.wfd.WFDSession.<clinit>(WFDSession.java:56)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at com.qualcomm.wfd.WFDSession.createWFDSession(WFDSession.java:404)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at com.qualcomm.wfd.service.SessionManagerService.setDeviceType(SessionManagerService.java:202)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at com.qualcomm.wfd.service.ISessionManagerService$Stub.onTransact(ISessionManagerService.java:657)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at android.os.Binder.execTransactInternal(Binder.java:1285)
01-12 10:10:04.735 4168 4183 E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:1244)

I'll check it later and put it on my todo list. Maybe we should move to GitLab issues because due to the number of posts here it's very confusing and I can miss stuff like that pretty quick.

Not sure why this was abandoned though https://review.lineageos.org/c/LineageOS/android_frameworks_native/+/337436