| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I70c5cd4dad547e2a9a96541b3104d52af5b5dd5c
|
|\
| |
| |
| |
| | |
* commit '30339719b7ff523b1ab8e6c953b269a870c1181c':
Remove unused ACCOUNTS permissions
|
| |
| |
| |
| |
| |
| | |
BUG=22716720
Change-Id: Id465f3cf55f41d7ebf90e4feecfa38824b66faa4
|
|\|
| |
| |
| |
| | |
* commit 'dd334be92c5513a06c809ee3ea25e411dfad0589':
Camera M permissions: lockscreen improvements
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL now just provides some improvements for lockscreen independent
of any onCreate/onResume lifecycle adjustments. Fixes include:
* add a black content view to Permissions Activity -- noticed screen
junk opening from lockscreen due to unpainted regions, the whole
activity needs to paint the screen not just the dialog.
* use FLAG_SHOW_WHEN_LOCKED to show permissions screen over lockscreen,
per bug discussion in this case force failure, don't prompt for
permission grants.
* fun double onResumes induce flicker jank in the dialog UI. Inherit
QuickActivity to automatically pick up the workarounds for double
onResumes from lockscreens, no more flicker in the permission
dialog.
* also borrow from CameraActivity, broadcast receives to shut down
the permissions dialog when screen goes off or user hits home on
top of lockscreen. Actually apply this more broadly so that even
below lockscreen, we finish this activity on screen off, IMO it
is jarring to go in through lockscreen and see our permission
dialog again without context of having just opened camera.
* tweak permission dialog to not be cancelable, and to finish
activity on back button press.
* excludeFromRecents on the activity to prevent dual recents
for Camera to show up when opening both via SecureCameraActivity
and CameraActivity.
Bug: 22502696
Change-Id: Ib545d3baa2d83b52604eec5517047b0c6278cd92
|
|\|
| |
| |
| |
| | |
* 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
|
|/
|
|
|
|
|
|
|
|
|
| |
This declares to the platform and tools that this app does not use
cleartext network traffic. The platform and tools will be blocking
(on best effort basis) attempts to use such traffic by this app.
For example, attempts to use HTTP (rather than HTTPS) will be blocked.
Bug: 19215516
Change-Id: Icaad30144192b13df87726445e19c37e0fd824bf
(cherry picked from commit 2cd1529cd3ae0aa03e9e28d20b07ac072fc065c0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a windowBackground drawable equivalent to the covers shown by lockscreen
and app, to remove the black screen in between. With this CL I mostly see no artifacts
when opening camera from lockscreen. Some issues:
* to improve memory usage in system UI holding the lockscreen preview, a vector
camera blanket was added in ag/587418 to ic_camera_blanket. That works transparently
everywhere so far but not in resource drawables that can only handle bitmaps in
layer-list items. Split the vector and bitmaps here, which means only the lockscreen
uses the vector -- this also surfaced a color mismatch between the vector and our PNG
bitmaps, corrected in the new ic_camera_blanket_vector resource. This is a bit fragile
as we rely on pixel match of the two resources, would like a cleaner solution but the
layer-list limitation is tough -- without this change the app crashes at runtime within
BitmapDrawable when the windowBackground is loaded.
* likewise both the lockscreen and app covers explicitly size the bitmap, there are no
provisions to do so within layer-list. Will follow up with a refactor of in-app cover
(ModeTransitionView) to remove explicit sizing and then all will rely on bitmap size
(per above will still need vector file size coordinated with bitmap).
* current implementation relies upon a black window background, we restore that in onCreate.
* Both secure camera and v21 main camera currently use the windowBackground, will submit
just for secure then introduce for main camera when we always start into Camera mode.
* For L explicitly set android:windowDrawsSystemBarBackgrounds to false to ensure the
system preview into the DecorView doesn't take the navigation bar into account when
vertically centering the cover bitmap, to make the preview identical to the other covers.
Bug: 18369862
Change-Id: Ia481e2d1d94bdc5a5d39b4d35b32c29a75bf99ec
|
|
|
|
|
| |
Bug: 17911061
Change-Id: Id5d3e5347c1830dc43b8962c1494bb4bf5195136
|
|
|
|
|
|
|
|
| |
This enables warm-starts from the lockscreen by reusing the same
activity if possible.
Bug: 16035858
Change-Id: I4b1ce0c290e209a5098e3f3e71509e0ca86e1845
|
|
|
|
|
| |
Bug: 17457682
Change-Id: I6a626c8547f3eea8a06fc47fc70c1a587767b040
|
|
|
|
|
|
|
|
| |
Final updates for the icon. Keeping naming consistent with generated
assets.
Bug: 16985499
Change-Id: I389c2479b208dec05a0b3a1f2617d13b15913dcb
|
|
|
|
|
|
|
| |
This CL adds new Material icons for Camera2.
Bug: 16985499
Change-Id: I91972418f7ee9592fc7685e2c4dfd9bb73c3bcc9
|
|
|
|
| |
Change-Id: I77af6135ff339240bd52881550a0f42ec996f9c4
|
|
|
|
| |
Change-Id: I279e764987fea743aa78575748a831e31ba28c0c
|
|
|
|
|
| |
bug: 16123188
Change-Id: I390279acb7a4599f1aeba71b415f1261b9a9b97b
|
|
|
|
|
|
| |
bug: 16456504
Change-Id: I7c4c309671ae08179f22c35ffa7f3f9f5b4ee7ce
|
|
|
|
| |
Change-Id: I99952405a0036c4a518b31e543a72a84dbe07995
|
|
|
|
|
|
| |
Bug: 13016139
Change-Id: Iafa57e6385a39959fb18a674d5b030bd59a9104f
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 12467965
Bug: 12935910
Bug: 12575084
Implements the settings as a proper activity/fragment. Also cleans
up some of the old logic we had for handling and displaying settings.
Also has the new L/M/S logic for video quality.
Change-Id: I412af424b74369cef15c7ead2cb09704875972e3
|
|
|
|
|
|
| |
Bug: 12060982
Change-Id: Ia15775773f7135e9596b48be2a8e530b4f52452e
|
|
|
|
| |
Change-Id: I2a930fafd22ea36ae2a84b749c54f64c67a7d06d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 11120164
Bug: 10073814
This adds a new common CameraServices interface and a method to every
module to get it. Through this we can expose common services and due to
the interface, we can easily mock them for tests.
Also makes the MediaSaveService not a service anymore.
Change-Id: Ifa093efd4ba53c2955ccc2a990b4f18610c29944
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10951073
Excluding the Gallery3d and gservices permissions.
Change-Id: If6508114a47e1a793a2b4caab81437242907f8d2
|
|/
|
|
|
|
| |
Bug: 11033304
Change-Id: I9fc4d3b02b1dd041988fb9d0f313693b5ae1b865
|
|
|
|
|
|
| |
Bug: 11006006
Change-Id: Ie6bb4cecc58f25947998f1faa4da6b3b84dc5df3
|
|
|
|
|
| |
Bug: 10932790
Change-Id: If8847e06049e63116381904382db7dfcebb55010
|
|
|
|
|
|
| |
Bug: 10912467
Change-Id: I2f03b7e7c84d76add7a43c30f097f902f1e25e56
|
|
|
|
|
|
| |
bug:10367125
Change-Id: I8dce6d799e7469ff048d419598d87b0c04bef2a0
|
|
|
|
|
| |
Bug: 10748904
Change-Id: If80f3354071893dc4f8bd60e4ca605d3626ecdf9
|
|
|
|
|
|
| |
Bug: 10509882
Change-Id: I58e7d26afb5636fa156ec22b7c1cfa21262dd9f7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10461009
This is the scheme copied from GMS Core and modified by Babel, which
allows us to generate version number more easily and also incorporate
build numbers into it.
Change-Id: I6ed4bf03e545a22423cb9936a5fcb67a50133490
|
|/
|
|
|
|
| |
Bug: 10509953
Change-Id: Ia5522fce1892e521c12fcc2f152afe7009026ac5
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| | |
Bug: 10349073
Change-Id: I06c24cebc50fe555ec150813117955da09814fb4
|
|/
|
|
|
| |
Bug: 10314435
Change-Id: Ic8ba05e6bfecfff365b2fd759d7669c1015a3845
|
|
|
|
|
|
|
| |
Similar to the one in Gallery2 manifest.
Bug: 10312966
Change-Id: I5325f8cfeba2a3825cd5604d4fee7c209067aba1
|
|
|
|
|
|
| |
Bug: 10296343
Change-Id: I55fb6c71b59a1559ebb58c65e71d510379367435
|
|
|
|
| |
Change-Id: Icbd776f5e2b07464de94b41081358996920eafcf
|
|
|
|
|
|
| |
bug:10263696
Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
|
|
|
|
|
|
|
| |
Note: Camera2 is a clone of Gallery2 right now.
Note 2: I will bring .mk files back later.
Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
|
|
|
|
|
|
| |
bug:7298624
Change-Id: Ie79f88fd84fdf8f4dab6a8071f06a819e247b357
|
|
|
|
| |
Change-Id: I391e9515e50ec9d61855f4e939b4033dad648ac5
|
|
|
|
| |
Change-Id: If54672cc7cb9ad6a240bb2dff07cbe9c39a521a3
(cherry picked from commit 53a0d0aa62b5f33ca3ff2c9ec63a4bcf606c5292)
|
|\
| |
| |
| |
| | |
* commit 'a83166dfc97c6d45b03728a2ae32b085e91b8d0c':
Bump up the version number to 1.1.40012
|