Fix caching of long press and multi press timeout
ViewConfiguration used to cache values for long press and multi press timeouts by fetching values from settings within the constructor. As a result, when the user changes the long press value from Settings, the changes don't reflect in the already opened apps. This change fixes this by avoid caching as a member and fetching the settings value on demand. Test: atest ViewConfigurationTest Fixes: 422182063 Flag: android.companion.virtualdevice.flags.viewconfiguration_apis Change-Id: I2038e8b539af1ef2021f2753a58487150ee8403f
Loading
Please register or sign in to comment