commit | b4a617767b34832a61f9deb5cce9b40c46548d8e | [log] [tgz] |
---|---|---|
author | Alex Salo <asalo@google.com> | Tue Mar 19 16:18:31 2019 -0700 |
committer | Alex Salo <asalo@google.com> | Thu Mar 21 14:43:51 2019 -0700 |
tree | c45e62adf255807ede9323fb4eea57eb75d56846 | |
parent | 18c3f0c4a88203ffb9573150586262d00f4ba910 [diff] |
Add disableSelf() and more failure codes disableSelf() allows the implementer of the service to notify the system about the intent to disable self, e.g. in case it does not have sufficient permissions to perform the task. New failure codes are introduced to communicate the absense of the camera permission and a cancellation event. Bug: 128921381, 111939367 Test: manually Change-Id: Id9a2a8e8d51d422e966a5858c85f8a73ca37ded7