| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* This is needed for camera button action on Q.
Change-Id: I64884e1a12d021b162d6c9fcd243604cc978d8c2
|
|
|
|
|
|
|
|
| |
* When you upgrade from 14.1 to 15.1 and then 16.0,
Snap is no longer working because the system is confused about
the package name.
Change-Id: I5588dbda38063337a01409f19fd6e3b32b4e25ca
|
|
|
|
|
|
|
|
| |
ACCESS_FINE_LOCATION is now required for GPS location feature to work.
| LocationManager: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
Change-Id: I6b2f11bdab719cb9fc74a67a8e91ad558269d579
|
|
|
|
|
| |
Change-Id: I22760394096e4b4259fb4a1755f26bb58b1b3141
Signed-off-by: Joey <joey@lineageos.org>
|
|
|
|
|
|
|
| |
libs from me.dm7.barcodescanner:zxing:1.9.0 maven cache
Change-Id: Ib97b7e54d8e28cd6f637e452eb41045052cae3dc
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
|
|
|
|
| |
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
|
|
|
|
|
|
|
|
|
|
|
| |
Log:
03-07 13:00:45.697 2812 2830 W BroadcastQueue: Permission Denial:
receiving Intent { act=android.intent.action.BOOT_COMPLETED
flg=0x9000010 (has extras) } to
org.cyanogenmod.snap/com.android.camera.DisableCameraReceiver requires
android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)
Change-Id: I55cd1c96ac1a06b644fc207c235f694c8a60da99
|
|
|
|
|
|
|
|
|
| |
An <activity> with an <activity-alias> doesn't automatically set
"exported" to "true" if only <activity-alias> has intent filters.
As consequence, it's impossible to re-start <activity> from the
recent applications menu. Explicitly set exported to true to fix this.
Change-Id: Id9612d704e71b5fa8093462e893a964753d67d50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from cm-10.1
Including cm-10.1 camera commit:
aa4ae80a41fbab763891c5ef6d67a9e5b4bb981b Don't mess around with pref local ID for power shutter initialization.
Includes http://review.cyanogenmod.org/56986
[mikeioannina]: Updates for L
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0992baa558eefd306d00fbece59cb5c512d9448b
|
|
|
|
| |
Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
|
|
|
|
| |
Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
|
|
|
|
|
|
| |
This reverts commit 53e8b4a71dd0515d922964f1326cbd550d6229f8.
Change-Id: Ife412eeab75853814389a32554a4047bf5141828
|
|
|
|
| |
Change-Id: I726f4635aecb1ee1eab9f5d34ba3d78cc984f8b9
|
|
|
|
| |
Change-Id: I5c64e54b5ec4e6da05b9ceb7672e53ac1b80f2c7
|
|
|
|
|
|
|
|
|
| |
1. Add some logs
2. Change the layout of beautify seekbar
3. Add attribute android:visibleToInstantApps="true" for CTS
4. keep capturing until AeState becomes right on chrommaflash mode
Change-Id: I295d5d6f42250254d613123a7d58f7f7fb0e7f3d
|
|
|
|
|
|
| |
This reverts commit b5533d51a7c97138235d29b35cec876d107aeadd.
Change-Id: I8063422680802e25d03a374be91e884a86ad55e9
|
|
|
|
|
|
| |
Sync LA.UM.6.4 to LA.UM.6.3
Change-Id: Ide9a53b3b5ea6d17154003e4059ae3125f9f3346
|
|
|
|
|
|
|
|
|
|
|
| |
SettingActivity is short of action bar and prefenence title's size not
the same as UI spec.
Adjust prefenence title's size and style, add actionbar for
SettingActivity.
Change-Id: I17977f655a99ba087acaaa12232f05341c93471e
CRs-Fixed: 1105206
|
|
|
|
|
|
|
|
|
|
| |
add clear top flag when start permission
activtiy and request permission in create
procedure to avoid memory leak in stress
test
Change-Id: I4abe7c8515c89c8d3838de834ec482eb427a7cf6
CRs-Fixed: 2001492
|
|
|
|
|
|
|
|
| |
Change launcher category to default category, avoid to
show two icon in the luncher.
Change-Id: Ic481a34f03b127261a609e5e2665ab6bdeae4bc3
CRs-Fixed: 1104364
|
|
|
|
|
|
|
|
| |
Add main action to cameraActivity to avoid Exception when
it's lunched by SystemUI.
Change-Id: If601524087469ffa315af7b26fc276878d62ee5d
CRs-Fixed: 1104364
|
|
|
|
|
|
|
|
|
|
| |
SingleTask can guarantee that there is only one instance of
task, when you click the back key once, you can exit the
camera. SingleTop sometimes need to click more than once
for exit the camera.
Change-Id: Ia12f1edcefbe8f78a4b3af0434421947348818d6
CRs-Fixed: 1072004
|
|
|
|
|
|
|
|
|
|
| |
Add new UI called OneUI to Camera2.
It replaces icons, adds 2 new activities for scene menu
and setting menu.
There is no module change anymore
Change-Id: If712e6af7bbc29726dae387168aefbcd2d7c1ea9
CRs-Fixed: 1066519
|
|
|
|
|
|
|
|
|
| |
Request loaction permission for the first time of launching
Camera, and add android:configChanges in manifest to avoid
PermissionActivity to be created when rotate screen.
Change-Id: Ibaffad1629830beccf41e32ea5e224abd765ffb6
CRs-Fixed: 1059678
|
|\
| |
| |
| | |
into camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the other apps want to invoke camera by intent, if the permission
needed by camera is not granted, camera will restart and the intent will
be lost, so check the permission first before invoke camera with intents
Change-Id: I2c403d2cd78453cc8afcda374969dac87a6becf6
CRs-Fixed: 1047924
|
| |
| |
| |
| |
| |
| |
| | |
Adding best picture selection scene filter
Change-Id: Ifa0f544e80d161eaef743d611c712d8db48e5631
CRs-Fixed: 1050663
|
|/
|
|
|
|
|
|
|
|
|
| |
When rotating orientation priview view configuration changed and
re-layout. Not only cause screen display abnormal, but also make
latency in UI.
Add "portrait only" property on camera activity can avoid these
problems. And Camera UI can deal rotating orientation by its own
way which is more stabe and effective.
Change-Id: Id84a50de271c511c8c4b2a46a1de27b8eeabd037
|
|
|
|
|
|
|
|
|
|
|
| |
As onCreate skips the creation of setting manager when the critical
permissions are not granted, this causes the onDestroy to call
setting manager destroy function with null pointer.
Fix the issue with null check.
In addition, remove unused permissions from manifest file
Change-Id: I99b5f09449aacfb7eb9a5771e446df75956a9827
CRs-Fixed: 1034202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
CRs-Fixed: 1019847
Change-Id: I603acfb3057ba26b9cfa7935eb4cb24b5d547cb5
(cherry picked from commit ad44cda82fe6ec5ee090115129223c6314f9e1bb)
|
|
|
|
|
|
|
| |
Add Camera2 dual camera support to SnapdragonCamera
CRs-Fixed: 989750
Change-Id: I45a749ad03a531286a39cbfcfdcb65e5cad4759e
|
|
|
|
|
|
|
| |
Use camera2 API to show preview and take snapshot
CRs-Fixed: 989750
Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
|
|
|
|
|
|
|
|
|
| |
Change launch mode to singleInstance when it's launched from
the lock screen. This allows the camera to start fresh when
gallery is stacked on top.
Change-Id: I1a9fdb0e6b1c8e9382001c7a2c257b9209d23b62
CRs-Fixed: 961044
|
|
|
|
|
|
|
| |
Introducing audio mute button on video recording
Change-Id: I69ff6fe97c4b8d76a890b5e41667dab534d69ba8
CRs-Fixed: 937239
|
|
|
|
|
|
| |
Add permission to access RotationPolicy
Change-Id: Ib64b2119b04f6470d12ba469db1aba0762f73062
|
|
|
|
|
|
|
|
| |
Add broadcast receiver to monitor SDcard status, update the storage
space and hint when the SDcard was mounted or unmounted.
Change-Id: I4b114d42d26091588d745fee874c04d595d5cfa1
CRs-Fixed: 790983
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix camera activity to portrait, so there is no delay when rotation
occurs. Main changes are:
1. RotateLayout now supports padding and dynamically added child.
2. Camera controls and gesture detetion are now orientation-aware.
3. Toasts are replaced with RotateTextToast.
4. Obselete layout files are removed.
Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
|
|/
|
|
|
|
|
|
| |
activity-alias has to be put after the target activity.
CRs-Fixed: 777770
Change-Id: I25d5af2311d8e0d1a575f69ffd9f2d1d7e1e6721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The window flag FLAG_SHOW_WHEN_LOCKED is workding even if press power
key, so camera activity will not be close still run above locked screen
UI.
The CameraGestureActivity is start from screen off, so it will be a
SecureCameraActivity. Finish activity as same as the secure camera
activity.
Change-Id: I76d8ff3d2f037b81140b35255b52b4c4f4de95d3
CRs-Fixed: 777770
|
|
|
|
|
|
|
| |
Make the activity could show above lock screen and turn on screen
when it is started by gesture operation.
Change-Id: I2099154f2325de83597b4262203c58a84b91f2d9
|
|
|
|
|
|
|
|
|
|
| |
Set 'launchMode' to 'singleTop' instead
of the default 'standard'. This will avoid
the multiple activity instances that could
be triggered during some robustness test
scripts.
Change-Id: I0948301be4dcb62b7ae962b655447e06c3ee555b
|
|
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
|
|
|
|
|
| |
Enhance KK cameraapp for L.
Change-Id: If708b253f34a131d7842f8921e54c008283e0056
|
|
|
|
|
|
|
|
|
|
|
| |
As targetSDK is JB, all jelly bean specific codes are getting
executed. As a result, two callbacks are getting registed
for autofocus and that caused incorrect FD circle colour behaviour.
Changed the targetSDK to kitkat(19) as per Build.java file.
Change-Id: I748c79591abcbd1c2b25ad7969457cdb38e08204
CRs-Fixed: 647208
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a feature to choose use SDcard or phone to store picture
and video captured by camera and camcorder.
Some of the changes are taken from:
I987a691c93edc4250fe0366d0623c85ea0152117
CRs-Fixed: 619806
Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Import translations. DO NOT MERGE
gcam: Clean up placeholders, and add deletion robustness.
Fix issue of focus indicator staying on without being hidden
Ensure view size gets updated after phone decors change.
Show the 100% state of the progress at least one frame.
Add parameters and deduplicate parameter changes
Revert parallel opening camera in photo mode.
Differentiate the InProgressData from the normal PhotoData.
Close mode menus if another control is touched
Start gcam module directly when handling capture intent.
Import translations. DO NOT MERGE
Add a null check to fix NPE
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add GCam progress indicator.
hide preview cover on arrival of new preview data if hidden
Fix photo mode is getting stuck in a single CameraState.
...
Conflicts:
res/layout/photo_module.xml
res/values/arrays.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/Storage.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java
Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
|
| |
| |
| |
| |
| |
| |
| | |
At the same time, make sure the bottom controls are following RTL rules.
bug:11481090
Change-Id: I52262aece7c16c194b6419150c1d4c13abff4f2d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CameraUtil.launchGallery incorrectly describes a mechanism to call an APP_GALLERY
category intent. Since we're using Gallery icon we should go direct to Gallery,
which IntentHelper already does. Simply removed the util class and call the
helper direct from the activity. Also noticed during testing that the SecureCamera
was not correctly showing the Gallery icon, though its behavior would take user
to Gallery. Finally, removing restriction that the video player intent should
go to Gallery, instead it should route to system preferred intent.
Bug: 11065256
Change-Id: I941f9469de169919c4bac6c91dde7e577921f737
|