commit | 62da8e1505f887838dcd4895ebdb23a40b409515 | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Thu Jan 28 19:16:08 2016 -0800 |
committer | Brad Ebinger <breadley@google.com> | Thu Feb 11 12:57:42 2016 -0800 |
tree | 1cae160b95d5ffb32944ef174e3eea849a8c4b62 | |
parent | c926185584d458323465431c296c51fe52f87945 [diff] |
Any ConnectionService can now not create a new incoming call Previously, the PhoneAccountHandle was not checked in TelecomServiceImpl.addNewIncomingCall, which meant that any unregistered ConnectionService can add incoming calls to Telecom. A check has been added that throws a SecurityException if a PhoneAccountHandle is passed in that is not both Registered and Enabled. Bug: 26864502 Change-Id: I6f05841423aa1d8e0d3595246f59115286aabfac