Cache IWindow in InputWindowHandle
Converting IBinder to IWindow is inefficient so instead cache IWindow object directly. When calling native to Java, the IWindow object may not be populated yet so we lazy cache it when getWindow is called. Test: atest WindowAddRemovePerfTest Fixes: 197219430 Change-Id: I15f7d7cd9775592a5545ddaf276c1b1db2777ac9
Loading
Please register or sign in to comment