commit | 4b8830b4c18337232d2bd0709a6cf3eee6dc5032 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Fri Apr 06 14:20:57 2018 -0700 |
committer | Hall Liu <hallliu@google.com> | Fri Apr 06 14:27:20 2018 -0700 |
tree | 12ef26c2bc46bca9449e2267ab3430f262303736 | |
parent | 341d6a1589ca666f81cef4af1a6ebe3e02619c0b [diff] |
Check user restrictions during incoming calls. Check that DISALLOW_SMS isn't set for a user before activating the respond-with-sms functionality Check that DISALLOW_OUTGOING_CALLS isn't set for a user before adding an incoming call. If it is, silently reject and log the call for the main user. (Yes, the name is misleading, but the settings UI implies that it's supposed to be all calls). Bug: 73804266 Test: manual Change-Id: Idf32a3fcbe9f8a34fe314bc39d19930e5015acb8