summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Camera2: Request for ACCESS_FINE_LOCATION permissionstaging/lineage-17.0_merge-android-10.0.0_r9Wang Han2019-12-115-8/+7
| | | | | | * ACCESS_COARSE_LOCATION only allows to access approximate location. Change-Id: Ic512f574b32e01baa115a0a784f437c8225b85c3
* Rework permissions request flowFelix2019-12-114-9/+50
| | | | | | | | | | | Don't ask for location permissions if the user hasn't first opted into saving geolocation. Also add some TODOs for converting PermissionsActivity into a dialog and for Android Q's NFC deprecation Signed-off-by: Felix <google@ix5.org> Change-Id: Iab927e3202ea1b70e2cfd1b8671e3c900d2f2eb6
* BasicCameraFactory: check if continuous picture af is available before ↵Jayant Chowdhary2019-12-114-2/+30
| | | | | | | | | | | requesting it. Bug: 119284303 Test: Click a picture on a device without AF on front camera. Change-Id: I5133d56d69f7a1f6e01d6682fff91202aaa9be17 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* Fix crash if Exif-Tag buffer-length and component-count are both 0tobigun2019-12-111-1/+1
| | | | Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
* Camera2: Fix Undo button behaviourNBruderman2019-12-111-1/+2
| | | | | | | | | | | | | | The undo behaviour depends on if the camera present secure settings or not. If secure, it should have 1 placeholder. 0 in other cases. Repro (for non secure cameras): 1. Leave only 3 pictures on the album. 2. Delete one picture, it will work fine. 3. Leave only 2 pictures on the album. 4. Try to delete, and you will go straight to the camera, without the undo pannel showing up. Change-Id: I360076381867a74628ffa492065ccf2ca53c72d6
* Camera2: Remove google help preferenceMichael Bestas2019-12-112-16/+0
| | | | Change-Id: Ieae3a79b1e7b470b9237f76808d7a038fcaee101
* Camera2: Add option to set max screen brightnessMichael Bestas2019-12-115-1/+58
| | | | | | * Set maximum screen brightness while the user is inside the camera app Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
* Camera: Powerkey shutter (2/2)Danesh M2019-12-117-3/+96
| | | | Change-Id: I70c5cd4dad547e2a9a96541b3104d52af5b5dd5c
* Camera2: Remove settings preferences only onceKonsta2019-12-111-2/+4
| | | | | | | | Browsing through camera settings crashes on devices with only a back- or a front facing camera. Fix NPE on removing preferences that are already removed. Change-Id: I00b4549e18ea44975bf795da9384892d8ef2ee16
* Camera2: Only autofocus before a snap if we are actually in "auto" mode.Steve Kondik2019-12-111-3/+1
| | | | | | Original commit by cyanogen 7daaa72d35c1f8820117768e4b129acd030bcefb Change-Id: I51853913f6459b599176910f7f486f59972eaf36
* Don't attempt to convert degree to orientation enum twiceEthan Chen2019-12-111-2/+1
| | | | | | | | * Exif.getOrientation already calls getRotationForOrientationValues, which returns a degree value. Don't attempt to convert that degree value back into degrees, that makes no sense. Change-Id: Ie35a0683e2d36801a9130ec19e1b3aa1f48b92c2
* Camera2: adaptive iconAsher Simonds2019-12-1117-5/+6
| | | | Change-Id: I020c5ee64ff12eb55af6fa950d6439e0c91d563f
* Snap for 5907634 from a6af0d1be082d93f6cc1cc97e974ba297ce24153 to ↵android-build-team Robot2019-09-291-1/+1
|\ | | | | | | | | | | qt-qpr1-release Change-Id: I1af2135b0bf4e693431046a50ced3d034fe59f88
| * Import translations. DO NOT MERGEBill Yi2019-09-281-1/+1
| | | | | | | | | | Change-Id: I8bc58638b31ba7952dd26d70222f87f43d9cd899 Auto-generated-cl: translation import
* | Snap for 5778794 from 785d5047faf2bc8289f3fb0d1319b7193c594e74 to ↵android-build-team Robot2019-08-033-5/+5
|\| | | | | | | | | | | qt-qpr1-release Change-Id: I7797aab7edf3ac7f7622d2755187bcb172a23317
| * [automerger skipped] Import translations. DO NOT MERGE am: e3f3c2abf6 -s oursBill Yi2019-08-020-0/+0
| |\ | | | | | | | | | | | | | | | | | | am: 533764fcd0 -s ours am skip reason: subject contains skip directive Change-Id: I37527b26ea30fb43c5be0e47df3a728ce0ceb54c
| | * [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-08-020-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | am: e3f3c2abf6 -s ours am skip reason: subject contains skip directive Change-Id: I973c57948c68a228769b3e56e9a09c7c415cf9aa
| | | * Import translations. DO NOT MERGEBill Yi2019-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I8736a6616c9c45e77c5938b86b7bd17a6038167d
| * | | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-08-020-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 325875392c -s ours am skip reason: subject contains skip directive Change-Id: I31fb6719396c50effb20c8e2516ca109a9b0de47
| | * | Import translations. DO NOT MERGEBill Yi2019-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: Iba5e36bdc1fc185e05ee959346d7e22f7044f1f5
| * | | Import translations. DO NOT MERGEBill Yi2019-08-023-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I1e39df84b5095a7e5cebf8602f1e17a34875cfcb
* | | | Snap for 5760827 from a55e4c6461756299aa00e3ed3cf9a1ac3aae44eb to ↵android-build-team Robot2019-07-270-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I648639988dc725e5b571fce9619f44daa987d0a2
| * | | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-07-240-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: e8084fdd70 -s ours am skip reason: subject contains skip directive Change-Id: Ibd8fc97999023dc603932df5413cce9d00c82b12
| | * | Import translations. DO NOT MERGEBill Yi2019-07-242-4/+4
| |/ / | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I2b56e7de298758e47eab41ab24e877359f161633
* | | Snap for 5730547 from 5539ecdfa5c457f356420fc7c71ead4cb0090a5d to ↵android-build-team Robot2019-07-160-0/+0
|\| | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I317b53cd843ff08e7c8fce6b2d3788d3727e1ab8
| * | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-07-150-0/+0
| |\| | | | | | | | | | | | | | | | | | | am: 3a8f890430 -s ours am skip reason: subject contains skip directive Change-Id: I6d720a3774a9b47f946083a7d654701760ae3c21
| | * Import translations. DO NOT MERGEBill Yi2019-07-152-4/+4
| | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: Ibd28a466a5fd4734d374975fc4e2b0225a0f4274
* | | Snap for 5713042 from 96d0a25d3d9cf176c1212d29653565866c8e3d59 to ↵android-build-team Robot2019-07-091-1/+26
|\| | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: Ia721bd9a36da8bcee71aeb53bd6fffdf6d7d3df6
| * | Request WRITE_EXTERNAL_STORAGE as wellEino-Ville Talvala2019-07-031-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Can't actually write files if you don't ask for that permission too, unless preloaded as the default camera app. Test: Can capture images when sideloaded Bug: 136212009 Change-Id: I4396a9646d36de64eab3d8b841796daf08f9220e
* | | Snap for 5663715 from 74935b87edcc2eb42eff0ee6321c9b95038415e5 to ↵android-build-team Robot2019-06-156-9/+9
|\| | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: Ifc8f1380c2c03a65fb3736a0b2a633082adf05a1
| * | Merge "Import translations. DO NOT MERGE" into qt-r1-devTreeHugger Robot2019-06-146-9/+9
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-06-136-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I08d4fe6e5a1e306136434ee7f8e0e2e961842a29
| * | | [automerger skipped] Import translations. DO NOT MERGE am: 1897a553c2 -s oursBill Yi2019-06-130-0/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | am: dbed8732b6 -s ours am skip reason: subject contains skip directive Change-Id: Idb04aca97ef3d45799e417ae6f71e6456d56562d
| | * | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-06-130-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1897a553c2 -s ours am skip reason: subject contains skip directive Change-Id: I04ee7f87d4ec5038957d87cdc47c11fd7213a9ef
| | | * | Import translations. DO NOT MERGEBill Yi2019-06-135-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I80446115452436d0b3e5f733a08d3f8dbf6c7204
| * | | | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-06-130-0/+0
| |\| | | | | |_|/ | |/| | | | | | | | | | | | | | | | | | am: 253857d6a9 -s ours am skip reason: subject contains skip directive Change-Id: I993a36903f5715dbc69d16ba9a9c6fa1349fdac1
| | * | Import translations. DO NOT MERGEBill Yi2019-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I6ed771593d04ff62ba31179d21ecb2650df0ba6c
* | | | Snap for 5645193 from 41b42a949bf1e4b31a53827573957465e864a749 to ↵android-build-team Robot2019-06-080-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I5a5f822fd07ff3ab15b0ab1e2146ca25a324a5c4
| * | | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-06-060-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 18e98d2826 -s ours am skip reason: subject contains skip directive Change-Id: I03eb86e52c9e25ee75a6435a03e1bfc74f315aff
| | * | Import translations. DO NOT MERGEBill Yi2019-06-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: Ieed30dff5e18c82435d514dea4df16f22ef7921e
* | | | Snap for 5626839 from 686b052a657ef5feb16fcebf5f491747c6552360 to ↵android-build-team Robot2019-06-014-6/+91
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: Ife7524fd4f87b5c384784b3f0b43c54c4809e6db
| * | | Camera2: Plumb exif data to intent resultsJayant Chowdhary2019-05-304-6/+91
| |\| | | | | | | | | | | | | | | | | | | | | | am: 14719f459d Change-Id: Ib3e354179162a97df310078752e27543a648d23a
| | * | Camera2: Plumb exif data to intent resultsJayant Chowdhary2019-05-304-6/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 130181094 Test: Install Camera2; runtest -x MediaStoreUiTest.java; adb pull debug images and verify that exif exists. Change-Id: I37a4936e331e989e9a6a0d05efc82fe90806dbe7 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* | | | Snap for 5606001 from b4920a0398e32d57043b1d0a1d378b41a2eb9a0f to ↵android-build-team Robot2019-05-250-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: Ic06e2215ba9b06c6bf1f777e0f50110d8750eee2
| * | | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-05-240-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: fe3e850c07 -s ours am skip reason: subject contains skip directive Change-Id: I59c7272560a344a90bdd42d4e0653830a269a7fa
| | * | Import translations. DO NOT MERGEBill Yi2019-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I1e34b94873ed28871cebb2d100412c9463e41c19
* | | | Snap for 5582435 from 3f10c6ec94e03417f2749b99bdb88552d7351f57 to ↵android-build-team Robot2019-05-182-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-release Change-Id: I664257c6e53ec7e533edef38fd4438bd84eae9dd
| * | | [automerger skipped] Import translations. DO NOT MERGE am: 21caa6f1d3 -s oursBill Yi2019-05-180-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 77aeea8219 -s ours am skip reason: subject contains skip directive Change-Id: I9e7cfc20513985b90a47e64b932fb8498b31b990
| | * | [automerger skipped] Import translations. DO NOT MERGEBill Yi2019-05-180-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | am: 21caa6f1d3 -s ours am skip reason: subject contains skip directive Change-Id: Id888bed48ac77a605fe027e820a27e0cad2c32b5
| | | * Import translations. DO NOT MERGEBill Yi2019-05-179-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: If95a4ccf9aee9f10aae2c9e06b934cfcce72cff6