InputReader: Bump generation when associated display changes

When the display association changes, we need to bump the device
generation because the associated display is part of the java
InputDevice, so we need to notify listeners about changes in the
associated display.

Bug: 324299318
Test: atest VirtualDpadTest --iterations
Change-Id: Id5da99804b3e170d03fb1ca4c126b782a7587c7c
2 files changed