summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-07-11 16:00:23 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-07-19 14:28:47 +0000
commit455ebf5e04e68c767407128fef31fdffa62638a3 (patch)
tree152d841edb8cd82c4a012bbbbde04bdedfdcf4f0 /libs/androidfw/StringPool.cpp
parent0869abd8484af7966293b232ef63b7455c90797c (diff)
Prevent displays that are disabled from receiving input
For foldable devices with two displays, both displays often map to the same layer stack. In this case, the we expect only one of the two displays to be used at once, and the other should be disabled. When the device is folded/unfoled, the display that is enabled will change. When two displays map to the same layer stack, it is currently difficult to identify the display which the layer stack should be associated with. Picking the incorrect display will result in issues with input dispatching. For now, we get around the one-to-many mapping between layer stacks and displays for input by preventing displays that are disabled from receiving input, assuming only one display is enabled at a time for a given layer stack. Bug: 238122363 Test: None Change-Id: I7cc5c4296bb8d891c89fc334f13988dd39d936f3 (cherry picked from commit 3da19deb307571959324fd27ef0a9215e314cb6b)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions