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

Commit 0c77bfee authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

Fix force close from PREVENT_POWER_KEY permission being checked even when not requested.

This happens because the permission check occurs without checking the mask. Applications which calls setFlags with a negative flag to remove flags would then force close because the check thinks that the application is requesting the PREVENT_POWER_KEY permission

Change-Id: I645b4f90cd48624ea078eb676fdbf0a766fe13c4
parent 7724d343
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment