summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes
diff options
context:
space:
mode:
authorAndrew Solovay <asolovay@google.com>2015-12-22 13:36:53 -0800
committerAndrew Solovay <asolovay@google.com>2015-12-22 13:36:53 -0800
commit61aef1967e0456debf4ea132c790f0dd813880c4 (patch)
treed28e48dbe7754d2a23256212242183c030476adc /docs/html/sdk/api_diff/21/changes
parentcb62e5301df0b2593ba8289075653d82c9bd6727 (diff)
docs: Fixing normal permission example
The doc previously said that you need just the normal FLASHLIGHT permission to turn on the flashlight. This was wrong in a couple of ways: For the (deprecated) Camera API, you need CAMERA permission just to get the Camera object (which you use to turn on the flash); for the new Camera2 API, you don't need any permissions at all to turn on "torch mode". So I've removed this example and replaced with a more straightforward example of a normal permission (setting the time zone). I've filed a separate bug, b/26308110 , to update the FLASHLIGHT permission docs (once I've confirmed the right update to make). See first comment for doc stage location, but if the build is okay I'll just go ahead and submit. bug: 26104001 Change-Id: Ie0802b4818bd0ba4d3fd026e32620978827e50df
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions