summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-03-03 20:44:20 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-03-22 15:14:06 +0000
commit4f4eece2c428bf87ea26a110067ee4a94048838e (patch)
tree963fa39a37cbcbecf5e301b6348023b9cd6d29cd /libs/androidfw/StringPool.cpp
parent7c227ebd91b20073b2bafab93863b5b3b264d2c0 (diff)
Ensure handwriting session can only be started from inside app bounds
Initialize the touchable region of the handwriting window to be cropped to the focused window bounds. This means the handwriting window will only spy over the app bounds. When attempting to start a handwriting session, ensure that we are currently recording a gesture in the handwriting window. This means we can only start handwriting if the gesture originated within the app bounds. When a handwriting session starts, change the touchable region of the handwriting window to be over the entire display, so that scribbles outside the app window can sent to the IME. Bug: 226081811 Test: manual: using test apps in split screen Change-Id: I95b67ec7be40dc80ed67c91d0ee0b32296e532ca
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions