Enforce CALL_PHONE permission for default/system dialer for non emergency calls
This CL fixes a bug where a default/system dialer targeting SDK 23 would be allowed to place phone calls without the CALL_PHONE permission. This is because for the default/system dialer, the Telecom system was only enforcing the CALL_PHONE app_op. In order to enforce runtime permissions for both SDK 23 and pre SDK 23 apps, both OP_CALL_PHONE and CALL_PHONE permission must be checked. Bug: 23607431 Change-Id: I57b6388349e0637df02799c14a2850c2c6e5a300
Loading
Please register or sign in to comment