summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Antonio Kantek <kanant@google.com> 2022-03-18 16:36:43 -0700
committer Antonio Kantek <kanant@google.com> 2022-03-22 04:30:56 +0000
commit75cab555c5ee94d6b7706dd08cf99815168efcbe (patch)
tree5d93745865087be558dbfbbf01c6a94196afb201 /libs/androidfw/StringPool.cpp
parent1da7fdde5ef76c19c36b65f62dc312af536b7041 (diff)
Silent touch mode permission check
Touch mode permission check is done in too phases: 1. Checks if caller has MODIFY_TOUCH_MODE_STATE permission granted and/or 2. Checks if caller owns the focused window. Unnecessary log is produced when caller owns the focused window (2), but don't have the permission granted (1). This CL fixes that by silently checking if caller has the permission granted. Fixes: 223330265 Test: atest WindowManagerServiceTests Change-Id: I7f8d5c9cfb2df46e1f91fa4db634f7de12e66078
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions