summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorfionaxu <fionaxu@google.com>2017-03-06 16:05:24 -0800
committerfionaxu <fionaxu@google.com>2017-03-22 16:56:38 -0700
commit388eab414779124f9b07837a2a9d5e4c6c1c068c (patch)
tree08cc3eb3d62903576bb535dd62bcce27ebac035a /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentf9747661698a60e1d1af9ad3c7afcc1d16eac403 (diff)
sendDialerCode API review
1. address the feeback from API review: throw exception rather than a boolean return throw Security exception for permission denial and non-default dailer app. throw invalidStateException if telephonyServie unavaialble. 2. sendDialerCode API will only check permission and package match without enforcing the format of secret code(*#*# CODE #*#*) as throwing an unchecked exception for wrong bad format seems to be an overkill regarding the API usage. Dialer calls this API for each keyboard press to check format and send the intent altogether which is no longer appropriate if we plan to return void and will reduce frquent API calls. 3. allow callers with carrier privilege 4. not require MODIFY_PHONE_STATE as third party dialer apps won't be granted 5. TODO mark android.provider.Telephony.SECRET_CODE to be protected after calling apps move to this API. Bug:35767402 Test: Manual Change-Id: I8287aa93f2f79d356935a48cf808705d9b49984b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions