| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '2fc4970c2631ec5593c4566a72d4524014b49a29':
Null check when evaluating valid resolution size
|
| |\
| | |
| | |
| | |
| | | |
* commit '00720781f6703de532ddbc05238db5bf5fd7cd2d':
Null check when evaluating valid resolution size
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Guard against nonexistent size so that logic to reset size
preference can proceed
BUG=22396405
Change-Id: Id508713ef91f632867366934e72fe939a839e228
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
without critical permissions.
* commit '148d0b8e3fd412fa6a666e75484fe6b7e0465f5a':
Launch PermissionsActivity if CameraActivity resume is called without critical permissions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
critical permissions.
Bug: 22358833
Change-Id: I5c189d4976b9355d531e028ecc163bb67bae6987
|
|\| |
| | |
| | |
| | |
| | | |
* commit '5c8c7d3c86a866fc955d2cf2e6c3ed5e49d1d233':
Clear permissions check after successful PermissionsActivity
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the permissions activity indicates the user was successful,
mark mHasCriticalPermissions true to allow the app to resume normally.
BUG=22347017
Change-Id: I6b9bdd02382d071530529a08e8f8fe7faf02fe3b
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'c2d5d078821ca5e8de0c0d03b6603bf7c505c53f':
Restrict permission checks to M devices
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add an ApiHelper check and only call checkSelfPermission if we
are on M and the methods exist.
BUG=22345681
Change-Id: Icda8d40057b5492502858ced731a749a2f66abf8
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'ad44cda82fe6ec5ee090115129223c6314f9e1bb':
Minimum viable Android M runtime permissions handling for H.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Creates new activity for permissions handling: both checking
for permissions and handling error condition when critical
permissions are not present. The reason for creating a
new activity is so the app does not attempt to continue
executing OnCreate, OnResume etc, which opens
the camera while the dialogs are showing. This should
not slow the app down because the permissions activity
will only run when a) the first time the app has
insufficient permissions and b) when a critical
permission is missing and the app needs to shut down.
Bug: 21273463
Change-Id: I603acfb3057ba26b9cfa7935eb4cb24b5d547cb5
|
|\|
| |
| |
| |
| |
| |
| | |
into ub-camera-haleakala
* commit 'fd6f316adc5abfa071534642688bdf46f47a3925':
Ensure CaptureModule/API2 works without front camera
|
| |\
| | |
| | |
| | | |
ub-camera-haleakala
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a check in both first run dialogs, and the generated HardwareSpec,
so that front cameras are only used if detected.
BUG=21781461
Change-Id: I6844655b2fd3df90b649f5dfd6a006ef68dbf1da
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
ub-camera-haleakala
* commit '62240e14e310aa06601b4d069f30c0190e7b5ef3':
Update filmstrip item on metadata update
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Due to async metadata loading, when viewing an image progress bar,
after progress completion the main handler hiding progress bar would
also hide filmstrip buttons if in secure mode, but the async metadata
handler was calling a restricted handler that would only update the
controls, not hiding for secure, or updating overflow menu. This
change ensures all UI aspects of the item update are processed upon
metadata loading.
BUG=21499182
Change-Id: I92f22667d836d6ece6aa8427d967ec8e038b1e77
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
ub-camera-haleakala
* commit '04a9f8b68dfc636e5d2194af18cc2022e6b8354f':
Fix transform issue in CaptureIntent.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On M, EventOnTextureViewLayoutChanged comes earlier during app
initialization in StateForeground which doesn't handle it. So
here in StateReadyForCapture, we pull the current preview layout
size and inform ResourceSurfaceTexture to allow it to calculate
transform.
Noted that we also need to bring this fix to Ivvavik.
Bug: 21786937
Bug: 20173626
Change-Id: I417aef2f09247e77059fc5b066cbf10602ce5cf1
|
|/
|
|
|
|
|
|
|
|
| |
In all cases has Camera2 app run in CaptureModule, using
capability levels to configure in either LEGACY or LIMITED
JPEG, or full ZSL mode.
BUG=21490086
Change-Id: I75842e9afc8d6ef387dd6611a5251394e8318caa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 21758681
There was a upgrade bug where an valid resolution of the
previous version of the Camera App could then be invalidated
the subsequent version of the Camera App. If there were no
other valid resolutions of the same aspect ratio available
to the app, the current Camera App would choose (0,0) as its
default size and then write this value into the saved settings.
This fix allows the current Camera App to consider other resolutions
not of aspect ratio as a fallback resolution setting. Also, if
an invalid resolution valid has been saved to the settings, it
also ignores it and then resaves a valid resolution value to the
settings.
Change-Id: I08f19d1ee6491619e92697897b73e4fd33a19a00
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 21666018
A Glacier regression bug: when filmstrip is in full-screen mode,
and an deletion is undone, a blank screen is shown. With the fix,
the undo forces the filmstrip into its "filmstrip" mode and
forces a refresh with the un-deleted image.
Change-Id: Id99be5d4d06e220e8698821badff32dba9b43997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Manual Cherry-Pick Part 1 of http://ag/699672
Currently, Feedback reports don't include a stacktrace. You have to
download
a system log file to find it. This tweak allows us to see the stacktrace
on the Report page itself.
Example old report:
https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517267704
Example new report:
https://feedback.corp.google.com/product/102042/crash?lView=rd&lCategory=8590053278&lRSort=1&lROrder=2&lRFilter=1&lReport=5517601160
Change-Id: If5f0ed6c69e96fe5f3661af913ae1525f8594b75
|
|
|
|
|
|
|
|
|
|
| |
(camera-Haleakala)
- Removing the hack for b/18854352
- Running the camera reopen camera operations and onReadyForCapture callback in a non-UI thread to avoid dead-locks
Bug: 21025113
Change-Id: I5545148769d92e5a87ffa9b693397fd7737edee6
|
|
|
|
|
|
| |
Bug: 21169512
Change-Id: Ic1dc499785a97f7344e517f555fa5f7b3a1c7ea9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This will handle the edgecase where capture sessions may be
canceled inbetween the time the button is pressed and the capture
actually starts so that it is possible to subtract these cases
out of the unsaved image data.
Bug: 21169512
Change-Id: Ie226d81bb10acd90dc1297230d4b024b7cd2d4d6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(camera-Haleakala)
- When GcamService times out due to a pause state, all resources are released.
- Releasing the gcam resources without showing the error dialog allows next resume operation to open the camera
Bug: 21025113
Change-Id: I95a89fbf6ce2498c1323cd4d06383141cc7cb913
|
| |
| |
| |
| |
| |
| | |
bug: 21277434
Change-Id: I4e4d9b4bffa6b0a8ccb3e870d553643dd27d2356
|
|\ \
| | |
| | |
| | | |
ub-camera-haleakala
|
| |/
| |
| |
| |
| |
| | |
Bug: 21167342
Change-Id: If2e4db523aa66e82809d30aa35fb9a30d124d9df
|
|/
|
|
|
|
|
| |
(camera-Haleakala)
Bug: 20957536
Change-Id: I6985d009e550f8f67ff36be3fce53c82ada0610e
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3a62aed33f55b396b4940a7bc9e5da5131616890
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Increase the encoding priority of the intermediate thumbnails
by changing the task priority to "Average". This causes the
intermediate thumbs to run on their own thread pool, after
the tiny thumbs are generated but allow them to not get
prempted by slow, full jpg encoding tasks.
Bug: 21169512
Change-Id: I2862acac724cf6302c896feeeb04702170cbf030
|
|\
| |
| |
| | |
ub-camera-haleakala
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch is a workaround of the face detection failure on L
and Nexus 5. For Nexus 5 on L, the current FD only works when
the preview stream is configured as the first stream before the
JPEG stream. This change lock the order by creating a capture
session with the preview stream first, and then creating the
normal capture session with preview and JPEG.
Bug: b/21039466
Change-Id: Icb7f1f758bc9d7ca428c7a4748223072d39dd57f
|
|\ \ |
|
| |/
| |
| |
| |
| | |
BUG: 21162720
Change-Id: Ie9d634533778c254a000da92f0af2948d814b1dd
|
|/
|
|
|
|
|
|
| |
- Adding null check for hardwareSpec in CameraAppUI.onChangeCamera()
- Hardware spec may not be available if call to get camera parameters hasn't finished yet
Bug: 21118170
Change-Id: I5bf1b0328f2cae7211464ff136a31ace2577630f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch gives a work-around of the face detection failure that
occurs when the ZSL camera is used. It forces to request a preview
frame followed by a 5-frame ZSL burst before requesting the repeated
preview and ZSL streams. It also hides the first preview frame in order
to avoid potential janks. We do this only for L, Nexus 6 and Haleakala.
Bug: 20724126
Change-Id: I40b7861e07570ed53135b2d8d182b65c5799adac
|
|\ \
| | |
| | |
| | | |
(camera-haleakala)" into ub-camera-haleakala
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- When switching cameras HDR+ icon was always shown in disabled state regardless of the actual support mode
- Existing boolean setting to track device's HDR support is not enough
- Changing global device's HDR support setting to string that can hold no-hdr, hdr or hdr-plus values
Bug: 21037428
Change-Id: Ia9cf0484879a22a27e4deb0e4aa066ec806a43e6
|
|\ \ \
| |/ /
|/| |
| | | |
ub-camera-haleakala
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Go right into camera mode when starting from secure lockscreen, this
restores prior behavior and avoids resume loops in double onResume
workarounds.
Bug: 21070237
Change-Id: I353bdd4b73c8c63e58710e35304b5c269458c72e
|
|\ \ \
| |/ /
|/| |
| | | |
shutter click (camera-haleakala)" into ub-camera-haleakala
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
click (camera-haleakala)
- Removing preview freeze call from shutter button callback
- Relocating preview freeze call to quick expose handler
Bug: 20957671
Change-Id: Ie1c68ed52e04cdafd6f5894d001990a030d15761
|
|\ \ \
| |/ /
|/| |
| | | |
ub-camera-haleakala
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
NPE's can occur if no camera device is currently active. It's
not feasable to rewire all parts of the codebase for this
release to properly access the target camera device. This
fix may lead to inconsistent setting persistance if in places
where a NPE would otherwise occur.
Bug: 21026362
Change-Id: I76c5b5fab429f61238a1ba91c0c52e839a431573
|