Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 75cab555 authored by Antonio Kantek's avatar Antonio Kantek
Browse files

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
parent 1da7fdde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment