Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3669ffc8 authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Revert^4 "Migrate usages of ViewConfiguration static methods"

This reverts commit af13fc06.

Reason for revert: Fixes root cause of b/422829787, by avoiding the  caching of long press timeout as a member during creation time in GestureDetector and various other widget classes. Instead, they keep ViewConfiguration instance as a member and fetch the long press value from it when needed. The View class exposes getLongPressTimeoutMillis as a protected (albeit hidden) method, so that subclasses within the framework can directly call that, instead of keeping their own instance of ViewConfiguration.

Bug: 370720522
Change-Id: If36351e1784d4b3bbaf8b8614d8099ad8b0329fe
parent 24645ccc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment