Loading
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