summaryrefslogtreecommitdiff
path: root/services/accessibility/accessibility.aconfig
diff options
context:
space:
mode:
author Daniel Norman <danielnorman@google.com> 2024-04-15 18:45:56 +0000
committer Daniel Norman <danielnorman@google.com> 2024-04-15 18:45:56 +0000
commitcfd152e5d9db83023148c2d9b0d7ae21473f8921 (patch)
tree5b19fa7409549d91cdf9778c58aa4d0f6bf802dd /services/accessibility/accessibility.aconfig
parent4487bc7fee2d93d1b623dd0a5bbcbe5c32b82617 (diff)
Removes posting to a handler for onWindowInfosChanged.
This handler post was originally added to fix an ANR in b/221497060 but that underlying lock issue has since been resolved in b/222421815. Now, this handler post can cause OOM in extreme cases when hundreds of messages are posted before being handled. It should be safe to remove given that the locking issue is resolved. Bug: 333834990 Test: Drag app from taskbar to split screen, observe no ANR Change-Id: I5e391bb375105f369586374e38a8980a12b449b8
Diffstat (limited to 'services/accessibility/accessibility.aconfig')
-rw-r--r--services/accessibility/accessibility.aconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig
index 8ab2e0fa6379..a7fdd7795bf9 100644
--- a/services/accessibility/accessibility.aconfig
+++ b/services/accessibility/accessibility.aconfig
@@ -122,6 +122,16 @@ flag {
}
flag {
+ name: "remove_on_window_infos_changed_handler"
+ namespace: "accessibility"
+ description: "Updates onWindowInfosChanged() to run without posting to a handler."
+ bug: "333834990"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "reset_hover_event_timer_on_action_up"
namespace: "accessibility"
description: "Reset the timer for sending hover events on receiving ACTION_UP to guarantee the correct amount of time is available between taps."