OSDN Git Service

android-x86/packages-apps-Camera2.git
10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 21 Apr 2014 21:11:18 +0000 (14:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6a0277c0931817b9c1104b63ee108f074988111b
Auto-generated-cl: translation import

10 years agoMerge "Catch potential RTE from Camera." into ub-camera-everglades
Sascha Haeberling [Sat, 19 Apr 2014 06:30:34 +0000 (06:30 +0000)]
Merge "Catch potential RTE from Camera." into ub-camera-everglades

10 years agoCatch potential RTE from Camera.
Sascha Haeberling [Fri, 18 Apr 2014 15:13:55 +0000 (08:13 -0700)]
Catch potential RTE from Camera.

I got this one on a Nexus S running CM. So maybe not a real problem in
the wild. But given the amount of errors we see in the wild about camera
not connection, we should revisit and see if any of these errors are
catchable, like this one.

Change-Id: I02421bb6a1b5256bf23c2b5fe81f11a78d02cd57

10 years agoam e8766be4: Don\'t crash when less than two cameras are present.
Sascha Haeberling [Fri, 18 Apr 2014 23:25:58 +0000 (23:25 +0000)]
am e8766be4: Don\'t crash when less than two cameras are present.

* commit 'e8766be48ed4c0bd17d68a45152a34fa2c860b94':
  Don't crash when less than two cameras are present.

10 years agoDon't crash when less than two cameras are present.
Sascha Haeberling [Fri, 18 Apr 2014 01:47:51 +0000 (18:47 -0700)]
Don't crash when less than two cameras are present.

  Bug: 14108948

Change-Id: Ib288f9fd2bd86f870df22c1fde03184f00cea219

10 years agoMerge "trigger remaining storage calculation during init move ic_video_disabled.png...
Spike Sprague [Thu, 17 Apr 2014 18:45:19 +0000 (18:45 +0000)]
Merge "trigger remaining storage calculation during init move ic_video_disabled.png icons to res_p" into ub-camera-everglades

10 years agoMerge "make manual exposure compensation settings work acrss different devices bug...
Spike Sprague [Thu, 17 Apr 2014 18:44:56 +0000 (18:44 +0000)]
Merge "make manual exposure compensation settings work acrss different devices bug: 13967706" into ub-camera-everglades

10 years agoMerge "Don't block the main thread on remote shutter code" into ub-camera-everglades
Sascha Haeberling [Thu, 17 Apr 2014 18:42:37 +0000 (18:42 +0000)]
Merge "Don't block the main thread on remote shutter code" into ub-camera-everglades

10 years agomake manual exposure compensation settings work acrss different devices
Spike Sprague [Sat, 12 Apr 2014 00:51:24 +0000 (17:51 -0700)]
make manual exposure compensation settings work acrss different devices
bug: 13967706

Change-Id: I2ebe579c8b7df1218546dd888b5bbfb5486e9e55

10 years agoDon't block the main thread on remote shutter code
Sascha Haeberling [Thu, 17 Apr 2014 17:51:53 +0000 (10:51 -0700)]
Don't block the main thread on remote shutter code

  Bug: 14135621

The current RemoreShutterBridge is doing a bunch of heavy listing,
so it shouldn't happen on the main thread.

Change-Id: Ic1a81e7dfd0a2fd5a7424058a6a27c712ed3ca51

10 years agoam d6421724: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Apr 2014 16:22:27 +0000 (16:22 +0000)]
am d6421724: (-s ours) Import translations. DO NOT MERGE

* commit 'd64217247310efb38fc75133c896f2bd3cfe5ffb':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Apr 2014 00:42:44 +0000 (17:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibef54163959c4247f3f6a6db39956b17f3420392
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 17 Apr 2014 00:41:23 +0000 (17:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iea2b9e573ea8ac74536e955f88b64178095e8205
Auto-generated-cl: translation import

10 years agotrigger remaining storage calculation during init
Spike Sprague [Mon, 14 Apr 2014 23:16:27 +0000 (16:16 -0700)]
trigger remaining storage calculation during init
move ic_video_disabled.png icons to res_p

bug: 14062023
Change-Id: I93b506ce2c9f669067dc94259e63f44bc9378fea

10 years agoam ace5f7f8: Merge "Fix edge case in supported video quality selection." into gb...
Sascha Häberling [Wed, 16 Apr 2014 19:30:37 +0000 (19:30 +0000)]
am ace5f7f8: Merge "Fix edge case in supported video quality selection." into gb-ub-photos-denali

* commit 'ace5f7f81899341d16bfea70c9bd4ec4b6ca2e56':
  Fix edge case in supported video quality selection.

10 years agoMerge "Fix edge case in supported video quality selection." into gb-ub-photos-denali
Sascha Häberling [Wed, 16 Apr 2014 18:51:59 +0000 (18:51 +0000)]
Merge "Fix edge case in supported video quality selection." into gb-ub-photos-denali

10 years agoam 1d891fe5: Do not crash when attempting to refocus a deleted image.
Seth Raphael [Wed, 16 Apr 2014 18:49:28 +0000 (18:49 +0000)]
am 1d891fe5: Do not crash when attempting to refocus a deleted image.

* commit '1d891fe52f83d7be1d3a7f0b06b6fed327815c0a':
  Do not crash when attempting to refocus a deleted image.

10 years agoFix edge case in supported video quality selection.
Paul Chang [Mon, 24 Mar 2014 16:05:45 +0000 (12:05 -0400)]
Fix edge case in supported video quality selection.

 Bug: 14108743

If less than three distinct video quality levels are supported, it's possible
for getNextSupportedVideoQualityIndex() to return an out-of-range array index.
Instead, just return the previous supported video quality -- this appears to
be the intended behavior.

Change-Id: I089571edf6ff748ce4914f188b4ef844ecb638c2

10 years agoDo not crash when attempting to refocus a deleted
Seth Raphael [Wed, 16 Apr 2014 18:24:07 +0000 (11:24 -0700)]
Do not crash when attempting to refocus a deleted
image.

Bug: 13546660
Change-Id: Ic260811ad2f45a44577609af0dc69a5c55c7fcfd

10 years agoam 92f19760: Don\'t update metadata on local data insert.
Seth Raphael [Wed, 16 Apr 2014 16:10:48 +0000 (16:10 +0000)]
am 92f19760: Don\'t update metadata on local data insert.

* commit '92f197607eb6303e11f88dc65e7e23614e384615':
  Don't update metadata on local data insert.

10 years agoDon't update metadata on local data insert.
Seth Raphael [Tue, 8 Apr 2014 19:02:18 +0000 (12:02 -0700)]
Don't update metadata on local data insert.

It is possible for insert data to be called in
a loop with many items, and this will cause un-
needed lookups of meta data.

The metadata lookup is already handled but the
filmstrip lazily, so it is not necessary here.

Bug: 13875458
Change-Id: I476eb1d44fa3d089f47b8b16f9be6d3255b4759e

10 years agoam 5dd85a13: Avoid using stale parameters to get focus mode in video
Doris Liu [Tue, 15 Apr 2014 19:04:09 +0000 (19:04 +0000)]
am 5dd85a13: Avoid using stale parameters to get focus mode in video

* commit '5dd85a1399f795284c7f0e632d102b61bb82887a':
  Avoid using stale parameters to get focus mode in video

10 years agoAvoid using stale parameters to get focus mode in video
Doris Liu [Tue, 15 Apr 2014 18:45:55 +0000 (11:45 -0700)]
Avoid using stale parameters to get focus mode in video

Bug: 13990664
Change-Id: If6a5b1cc9ce7d1ac67f0558a61036f228601b92b

10 years agoam fabcb7c7: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos...
Baligh Uddin [Mon, 14 Apr 2014 23:20:53 +0000 (23:20 +0000)]
am fabcb7c7: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

* commit 'fabcb7c74fd7f6c1494902b9504f223c5a16bb26':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Mon, 14 Apr 2014 23:17:28 +0000 (23:17 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-everglades
Baligh Uddin [Mon, 14 Apr 2014 23:15:55 +0000 (23:15 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-everglades

10 years agoam 2d6a8abe: Merge "Set video-size key for Samsung Brand devices." into gb-ub-photos...
Andy Huibers [Mon, 14 Apr 2014 22:54:26 +0000 (22:54 +0000)]
am 2d6a8abe: Merge "Set video-size key for Samsung Brand devices." into gb-ub-photos-denali

* commit '2d6a8abe5dd22492dc098a63a33d7d9ea5888999':
  Set video-size key for Samsung Brand devices.

10 years agoMerge "Set video-size key for Samsung Brand devices." into gb-ub-photos-denali
Andy Huibers [Mon, 14 Apr 2014 22:52:06 +0000 (22:52 +0000)]
Merge "Set video-size key for Samsung Brand devices." into gb-ub-photos-denali

10 years agoam 0fed7e62: Safeguard callback receiver to prevent crashes.
Sascha Haeberling [Mon, 14 Apr 2014 22:08:42 +0000 (22:08 +0000)]
am 0fed7e62: Safeguard callback receiver to prevent crashes.

* commit '0fed7e62bfa0d8351b91d3531228a113637963a3':
  Safeguard callback receiver to prevent crashes.

10 years agoSet video-size key for Samsung Brand devices.
Andy Huibers [Mon, 14 Apr 2014 20:53:12 +0000 (13:53 -0700)]
Set video-size key for Samsung Brand devices.

Bug: 14060121
Change-Id: I5b8e5b0259a4105b8839112b13e58f2222848c7e

10 years agoSafeguard callback receiver to prevent crashes.
Sascha Haeberling [Mon, 14 Apr 2014 21:41:57 +0000 (14:41 -0700)]
Safeguard callback receiver to prevent crashes.

  Bug: 13765929

It is safe to add these checks here. The receiver is only set in
the constructor, and it's only created in one place, which is
onCreate. And the parameter is the Activity itself, so it can
never be null.
This means the NPE can only happen if onCameraOpened is called after
removeCallbackReceiver is called, which is in onDestroy of the activity.
In this case it's safe to exit.

Change-Id: Ibffd6d54679b564a11b3e83319896241f2e306ad

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 14 Apr 2014 20:05:35 +0000 (13:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I69d93a38d3052400b10ac110bf2e891a1c96181d
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 14 Apr 2014 20:04:10 +0000 (13:04 -0700)]
Import translations. DO NOT MERGE

Change-Id: I569ed760c80fac566aed673dae4e91aae677e50f
Auto-generated-cl: translation import

10 years agoam e08bc042: Check zoom enabled check and null check on zoom ratio list.
Andy Huibers [Sat, 12 Apr 2014 03:47:04 +0000 (03:47 +0000)]
am e08bc042: Check zoom enabled check and null check on zoom ratio list.

* commit 'e08bc0428d3d5695d029f0b412d98db6ff8ac956':
  Check zoom enabled check and null check on zoom ratio list.

10 years agoCheck zoom enabled check and null check on zoom ratio list.
Andy Huibers [Sat, 12 Apr 2014 02:26:47 +0000 (19:26 -0700)]
Check zoom enabled check and null check on zoom ratio list.

Bug: 13987837
Change-Id: I45d3edc42a240c866f151c5e23431cd50eec7bc6

10 years agoam c6ef756c: Merge "Revert "ZoomRatios might not exist, not crash for logging.""...
Sascha Häberling [Sat, 12 Apr 2014 03:02:30 +0000 (03:02 +0000)]
am c6ef756c: Merge "Revert "ZoomRatios might not exist, not crash for logging."" into gb-ub-photos-denali

* commit 'c6ef756c0eb736c3e43cff13d593f5ad71d2cb7b':
  Revert "ZoomRatios might not exist, not crash for logging."

10 years agoMerge "Revert "ZoomRatios might not exist, not crash for logging."" into gb-ub-photos...
Sascha Häberling [Sat, 12 Apr 2014 02:59:56 +0000 (02:59 +0000)]
Merge "Revert "ZoomRatios might not exist, not crash for logging."" into gb-ub-photos-denali

10 years agoRevert "ZoomRatios might not exist, not crash for logging."
Sascha Häberling [Sat, 12 Apr 2014 02:58:12 +0000 (02:58 +0000)]
Revert "ZoomRatios might not exist, not crash for logging."

This reverts commit de26138f7821e33cac293e9c78c23b5c4612dcd2.

Change-Id: Ia788ef858cf2bc8891a5bbbf1a538b49d583247d

10 years agoMerge "Remove an ICS workaround calling stopPreview." into ub-camera-everglades
Sascha Haeberling [Sat, 12 Apr 2014 01:20:58 +0000 (01:20 +0000)]
Merge "Remove an ICS workaround calling stopPreview." into ub-camera-everglades

10 years agoam 08acce5b: (-s ours) Merge "DO NOT MERGE Don\'t call stopPreview after taking a...
Sascha Haeberling [Sat, 12 Apr 2014 01:15:56 +0000 (01:15 +0000)]
am 08acce5b: (-s ours) Merge "DO NOT MERGE Don\'t call stopPreview after taking a picture on the m8" into gb-ub-photos-denali

* commit '08acce5b16beef4be30c5d0567d3452aa7e99c26':
  DO NOT MERGE Don't call stopPreview after taking a picture on the m8

10 years agoRemove an ICS workaround calling stopPreview.
Sascha Haeberling [Sat, 12 Apr 2014 01:14:47 +0000 (18:14 -0700)]
Remove an ICS workaround calling stopPreview.

  Bug: 13966525

Change-Id: I3592906a6220b6af228fa42ef77e5b0d6e19e7b8

10 years agoMerge "DO NOT MERGE Don't call stopPreview after taking a picture on the m8" into...
Sascha Haeberling [Sat, 12 Apr 2014 01:13:52 +0000 (01:13 +0000)]
Merge "DO NOT MERGE Don't call stopPreview after taking a picture on the m8" into gb-ub-photos-denali

10 years agoDO NOT MERGE Don't call stopPreview after taking a picture on the m8
Sascha Haeberling [Sat, 12 Apr 2014 00:58:42 +0000 (17:58 -0700)]
DO NOT MERGE Don't call stopPreview after taking a picture on the m8

  Bug: 13966525

The proper solution is to remove the stopPreview call completely,
but as we have only limited time for testing left, let's be
careful and target specific devices only.

Change-Id: I5aa90b7c72068bae5352a8396e39a2c82ac137b9

10 years agoam 9ac314fb: Merge "ZoomRatios might not exist, not crash for logging." into gb-ub...
Sascha Haeberling [Sat, 12 Apr 2014 00:29:28 +0000 (00:29 +0000)]
am 9ac314fb: Merge "ZoomRatios might not exist, not crash for logging." into gb-ub-photos-denali

* commit '9ac314fb42435a090f33e9db051ab0f203484722':
  ZoomRatios might not exist, not crash for logging.

10 years agoMerge "ZoomRatios might not exist, not crash for logging." into gb-ub-photos-denali
Sascha Haeberling [Sat, 12 Apr 2014 00:27:25 +0000 (00:27 +0000)]
Merge "ZoomRatios might not exist, not crash for logging." into gb-ub-photos-denali

10 years agoZoomRatios might not exist, not crash for logging.
Sascha Haeberling [Fri, 11 Apr 2014 23:59:38 +0000 (16:59 -0700)]
ZoomRatios might not exist, not crash for logging.

  Bug: 13987837

Change-Id: I77b8863b60cf5311ffd326015e612dfaeb45daa2

10 years agoam 3c62221a: Update mode options with hardware spec whenever hdr setting changes.
Erin Dahlgren [Fri, 11 Apr 2014 22:18:56 +0000 (22:18 +0000)]
am 3c62221a: Update mode options with hardware spec whenever hdr setting changes.

* commit '3c62221afd869828ba867fce15755a582f2c2334':
  Update mode options with hardware spec whenever hdr setting changes.

10 years agoUpdate mode options with hardware spec whenever hdr setting changes.
Erin Dahlgren [Fri, 11 Apr 2014 21:44:04 +0000 (14:44 -0700)]
Update mode options with hardware spec whenever hdr setting changes.

Bug: 13965048
Change-Id: I7e718bb56cb5dc92c7583bef780d442c04644a56

10 years agoam 5209f79b: Shorten the preference string to fit
Sascha Haeberling [Thu, 10 Apr 2014 22:30:55 +0000 (22:30 +0000)]
am 5209f79b: Shorten the preference string to fit

* commit '5209f79bdaeefeb6e8f168917faa73c82d8d0290':
  Shorten the preference string to fit

10 years agoShorten the preference string to fit
Sascha Haeberling [Thu, 10 Apr 2014 22:23:44 +0000 (15:23 -0700)]
Shorten the preference string to fit

  Bug: 13962104

Change-Id: Ie0ba57ad1644241748c8d0406c08be1c981b8f63

10 years agoam 21257b76: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos...
Baligh Uddin [Thu, 10 Apr 2014 15:56:10 +0000 (15:56 +0000)]
am 21257b76: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

* commit '21257b76d9018c7ea15cc41c9906bc3bd2950b9e':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-everglades
Baligh Uddin [Thu, 10 Apr 2014 15:54:16 +0000 (15:54 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-everglades

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Thu, 10 Apr 2014 15:54:16 +0000 (15:54 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoam 63da42d6: Merge "Tweak log levels for photo, video" into gb-ub-photos-denali
Alan Newberger [Thu, 10 Apr 2014 01:51:22 +0000 (01:51 +0000)]
am 63da42d6: Merge "Tweak log levels for photo, video" into gb-ub-photos-denali

* commit '63da42d610376d2fc02c0ac453d5df3a1e885504':
  Tweak log levels for photo, video

10 years agoMerge "Tweak log levels for photo, video" into gb-ub-photos-denali
Alan Newberger [Thu, 10 Apr 2014 01:49:16 +0000 (01:49 +0000)]
Merge "Tweak log levels for photo, video" into gb-ub-photos-denali

10 years agoTweak log levels for photo, video
Alan Newberger [Thu, 10 Apr 2014 01:25:34 +0000 (18:25 -0700)]
Tweak log levels for photo, video

Adjusting log levels to insure some simple state flow statements
are printed for all clients at info, plus a few other adjustments.

Bug: 13737123
Change-Id: Ic58b2ad44067253960d68678c34d82895f49f6a6

10 years agoam f66eb70a: Don\'t crash when listener registration gets out of sync
Sascha Haeberling [Thu, 10 Apr 2014 01:43:14 +0000 (01:43 +0000)]
am f66eb70a: Don\'t crash when listener registration gets out of sync

* commit 'f66eb70a66bb194f4bef54fe74a04d6c9a3515de':
  Don't crash when listener registration gets out of sync

10 years agoDon't crash when listener registration gets out of sync
Sascha Haeberling [Thu, 10 Apr 2014 01:27:05 +0000 (18:27 -0700)]
Don't crash when listener registration gets out of sync

 Bug: 13914960

In some cases it can happen that resume/pause sequences happen on
two CameraActivities at the same time, especially when switching
from lock-screen to non-lockscreen activities.

Change-Id: Ic0826fc4a1d601b0ba0e6ac9cef84c022d958ad4

10 years agoam f79de8d6: Merge "Fix the layout error in preview" into gb-ub-photos-denali
Doris Liu [Wed, 9 Apr 2014 22:32:22 +0000 (22:32 +0000)]
am f79de8d6: Merge "Fix the layout error in preview" into gb-ub-photos-denali

* commit 'f79de8d69c2305660e287ec872fe500b34739e44':
  Fix the layout error in preview

10 years agoMerge "Fix the layout error in preview" into gb-ub-photos-denali
Doris Liu [Wed, 9 Apr 2014 22:30:27 +0000 (22:30 +0000)]
Merge "Fix the layout error in preview" into gb-ub-photos-denali

10 years agoFix the layout error in preview
Doris Liu [Wed, 9 Apr 2014 22:07:50 +0000 (15:07 -0700)]
Fix the layout error in preview

This bug is caused by view configuration and layout rect occasionally
out of sync and bottom bar's incapability of correcting itself. To
be specific, configuration can be out of sync with layout rect (i.e.
configuration.orientation is landscape but onLayout() passes in portrait
coordinates), but when that happens, configuration will soon correct
itself through onConfigurationChanged(), then another layout pass will
happen to make sure everything is laid out correctly. In this case,
when configuration and layout coordinates are inconsistent, bottom bar
lays out itself using the wrong alignment, and then changed the preview
rect accordingly. When another layout pass happens to correct this
inconsistency, bottom bar then lays out itself based on the correct
alignment and a wrong preview rect previously adjusted, rendering
correct alignment but wrong size.

Bug: 13911202
Change-Id: I7cf6dbea582ce3888df11039de8f94687fe75784

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 9 Apr 2014 20:13:00 +0000 (13:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied0dc3c8c443805a0f2bd22cfc7039ce69d550da
Auto-generated-cl: translation import

10 years agoam 2d0fdb5e: Merge "Add logging override helper" into gb-ub-photos-denali
Alan Newberger [Wed, 9 Apr 2014 20:12:44 +0000 (20:12 +0000)]
am 2d0fdb5e: Merge "Add logging override helper" into gb-ub-photos-denali

* commit '2d0fdb5e6582126bd554030c7432745ae589f515':
  Add logging override helper

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 9 Apr 2014 20:11:39 +0000 (13:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: If12b5ebc603aca98d3945094f159b33b08ef0cf6
Auto-generated-cl: translation import

10 years agoMerge "Add logging override helper" into gb-ub-photos-denali
Alan Newberger [Wed, 9 Apr 2014 20:11:02 +0000 (20:11 +0000)]
Merge "Add logging override helper" into gb-ub-photos-denali

10 years agoam 05ee74dc: Log memory consumption at end of onCreate (Camera2). Bug: 13280671
Kevin Gabayan [Wed, 9 Apr 2014 19:26:30 +0000 (19:26 +0000)]
am 05ee74dc: Log memory consumption at end of onCreate (Camera2). Bug: 13280671

* commit '05ee74dcf3b1c8e65229f43441d282fcf89744a6':
  Log memory consumption at end of onCreate (Camera2). Bug: 13280671

10 years agoam 0aeb0c82: Query memory consumption at end of onCreate. Bug: 13280671
Kevin Gabayan [Wed, 9 Apr 2014 19:26:29 +0000 (19:26 +0000)]
am 0aeb0c82: Query memory consumption at end of onCreate. Bug: 13280671

* commit '0aeb0c82704401a050ad3b892ed1c9efa457013d':
  Query memory consumption at end of onCreate. Bug: 13280671

10 years agoAdd logging override helper
Alan Newberger [Wed, 9 Apr 2014 19:06:42 +0000 (12:06 -0700)]
Add logging override helper

This CL removes compile-time log suppression with a runtim override.
With a runtime override we can custom configure logging with a single
level, not quite as flexible as a boolean per level but should suit
our needs. Compile-time log pruning could be done with proguard if
desired.

Bug: 13737123

Change-Id: I8bdcaca44b4dc5c7eab8ef2f74e5181bcacd2727

10 years agoLog memory consumption at end of onCreate (Camera2).
Kevin Gabayan [Tue, 8 Apr 2014 23:25:23 +0000 (16:25 -0700)]
Log memory consumption at end of onCreate (Camera2).
Bug: 13280671

Change-Id: Ifdeadff2c89a08757cc2f3792ba61a2b54d19ae0

10 years agoQuery memory consumption at end of onCreate.
Kevin Gabayan [Tue, 8 Apr 2014 18:12:05 +0000 (11:12 -0700)]
Query memory consumption at end of onCreate.
Bug: 13280671

Change-Id: Iedc4c8907a6e726a1835494bd6fad93e6ee8a666

10 years agoam 39262608: Merge "Cancel touch event forwarding when transitioning from shimmy...
Doris Liu [Tue, 8 Apr 2014 20:08:45 +0000 (20:08 +0000)]
am 39262608: Merge "Cancel touch event forwarding when transitioning from shimmy to scroll state" into gb-ub-photos-denali

* commit '3926260864a25a7db00e5a7d629b363cc833ffb3':
  Cancel touch event forwarding when transitioning from shimmy to scroll state

10 years agoMerge "Cancel touch event forwarding when transitioning from shimmy to scroll state...
Doris Liu [Tue, 8 Apr 2014 20:04:42 +0000 (20:04 +0000)]
Merge "Cancel touch event forwarding when transitioning from shimmy to scroll state" into gb-ub-photos-denali

10 years agoCancel touch event forwarding when transitioning from shimmy to scroll state
Doris Liu [Tue, 8 Apr 2014 19:45:10 +0000 (12:45 -0700)]
Cancel touch event forwarding when transitioning from shimmy to scroll state

Bug: 13903149
Change-Id: I70badb1fdc959b3ce0a9d3385e664938ab7918a9

10 years agoam f773a11d: Merge "Keep lights out even if the system changes it." into gb-ub-photos...
Sascha Haeberling [Tue, 8 Apr 2014 19:35:35 +0000 (19:35 +0000)]
am f773a11d: Merge "Keep lights out even if the system changes it." into gb-ub-photos-denali

* commit 'f773a11d50fc48f3831f259075a0e64460f9baaa':
  Keep lights out even if the system changes it.

10 years agoMerge "Keep lights out even if the system changes it." into gb-ub-photos-denali
Sascha Haeberling [Tue, 8 Apr 2014 19:29:38 +0000 (19:29 +0000)]
Merge "Keep lights out even if the system changes it." into gb-ub-photos-denali

10 years agoKeep lights out even if the system changes it.
Sascha Haeberling [Tue, 8 Apr 2014 14:08:46 +0000 (07:08 -0700)]
Keep lights out even if the system changes it.

  Bug: 13894148

Change-Id: Ie6d5b8fc1d3601082942a5c0843b447cb4805ceb

10 years agoam 298d4548: Merge "Switch visibility on AbstractTutorialOverlay removeOverlay."...
Sascha Haeberling [Tue, 8 Apr 2014 02:58:43 +0000 (02:58 +0000)]
am 298d4548: Merge "Switch visibility on AbstractTutorialOverlay removeOverlay." into gb-ub-photos-denali

* commit '298d45483448de4493abadca286bba4eccab44ae':
  Switch visibility on AbstractTutorialOverlay removeOverlay.

10 years agoMerge "Switch visibility on AbstractTutorialOverlay removeOverlay." into gb-ub-photos...
Sascha Haeberling [Tue, 8 Apr 2014 02:53:52 +0000 (02:53 +0000)]
Merge "Switch visibility on AbstractTutorialOverlay removeOverlay." into gb-ub-photos-denali

10 years agoSwitch visibility on AbstractTutorialOverlay removeOverlay.
Sascha Haeberling [Tue, 8 Apr 2014 01:40:33 +0000 (18:40 -0700)]
Switch visibility on AbstractTutorialOverlay removeOverlay.

  Bug: 13337436
  Bug: 12440059

Change-Id: I34dd96df02cedf33be72ae5563bbad3d4b307a12

10 years agoam bdb4f61d: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos...
Baligh Uddin [Tue, 8 Apr 2014 02:24:20 +0000 (02:24 +0000)]
am bdb4f61d: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

* commit 'bdb4f61da7be41f2535e0bdc08225263c037be90':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-denali
Baligh Uddin [Tue, 8 Apr 2014 02:20:51 +0000 (02:20 +0000)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-denali

10 years agoMerge "Import translations. DO NOT MERGE" into ub-camera-everglades
Baligh Uddin [Tue, 8 Apr 2014 02:20:45 +0000 (02:20 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-camera-everglades

10 years agoam 0d4570a2: Merge "Replace isDebugging compiletime logging override with runtime...
Alan Newberger [Tue, 8 Apr 2014 01:37:55 +0000 (01:37 +0000)]
am 0d4570a2: Merge "Replace isDebugging compiletime logging override with runtime property" into gb-ub-photos-denali

* commit '0d4570a241f3e2505fa66fb81b4c297a3c1d4d09':
  Replace isDebugging compiletime logging override with runtime property

10 years agoam 829c8e92: Merge "Don\'t show the tutorial wrapper all the time." into gb-ub-photos...
Sascha Haeberling [Tue, 8 Apr 2014 01:37:54 +0000 (01:37 +0000)]
am 829c8e92: Merge "Don\'t show the tutorial wrapper all the time." into gb-ub-photos-denali

* commit '829c8e929949e1951b1562ef97cf447b02dcef45':
  Don't show the tutorial wrapper all the time.

10 years agoMerge "Replace isDebugging compiletime logging override with runtime property" into...
Alan Newberger [Tue, 8 Apr 2014 01:25:12 +0000 (01:25 +0000)]
Merge "Replace isDebugging compiletime logging override with runtime property" into gb-ub-photos-denali

10 years agoMerge "Don't show the tutorial wrapper all the time." into gb-ub-photos-denali
Sascha Haeberling [Tue, 8 Apr 2014 01:10:53 +0000 (01:10 +0000)]
Merge "Don't show the tutorial wrapper all the time." into gb-ub-photos-denali

10 years agoDon't show the tutorial wrapper all the time.
Sascha Haeberling [Tue, 8 Apr 2014 01:06:59 +0000 (18:06 -0700)]
Don't show the tutorial wrapper all the time.

  Bug: 13337436
  Bug: 12440059

Change-Id: I10a969a4c550b6ebbc101f7cdce8ef12c3029137

10 years agoReplace isDebugging compiletime logging override with runtime property
Alan Newberger [Tue, 8 Apr 2014 01:03:08 +0000 (18:03 -0700)]
Replace isDebugging compiletime logging override with runtime property

This CL accomplishes the same goal as the compile-time isDebuggable,
with a runtime property check. This is useful so that we opt in to
logging everything at a given level with one setprop line.

Note that either with this new runtime property or with isDebuggable,
the Log proxy wouldn't log if a particular Configuration value is false,
since that level is instead routed to SILENT_LOGGER.

Bug: 13737123
Change-Id: I78ce629620f420a08a2cc013865847674941fb9b

10 years agoam 13cdf16b: Merge "Make tutorials render in smaller layout on tablets." into gb...
Sascha Haeberling [Tue, 8 Apr 2014 00:45:28 +0000 (00:45 +0000)]
am 13cdf16b: Merge "Make tutorials render in smaller layout on tablets." into gb-ub-photos-denali

* commit '13cdf16bee5a46d20266a60230239a49cd0f22ac':
  Make tutorials render in smaller layout on tablets.

10 years agoMerge "Make tutorials render in smaller layout on tablets." into gb-ub-photos-denali
Sascha Haeberling [Tue, 8 Apr 2014 00:42:06 +0000 (00:42 +0000)]
Merge "Make tutorials render in smaller layout on tablets." into gb-ub-photos-denali

10 years agoMake tutorials render in smaller layout on tablets.
Sascha Haeberling [Tue, 8 Apr 2014 00:29:44 +0000 (17:29 -0700)]
Make tutorials render in smaller layout on tablets.

  Bug: 13337436
  Bug: 12440059

Change-Id: I7886a86189a94483775a5535c69e22090cec1530

10 years agoam 81e56a9f: Shorten ExternalViewerButton log
Alan Newberger [Tue, 8 Apr 2014 00:25:13 +0000 (00:25 +0000)]
am 81e56a9f: Shorten ExternalViewerButton log

* commit '81e56a9f6de8935a1200aafaaa6858662559517f':
  Shorten ExternalViewerButton log

10 years agoShorten ExternalViewerButton log
Alan Newberger [Tue, 8 Apr 2014 00:16:48 +0000 (17:16 -0700)]
Shorten ExternalViewerButton log

While examining logs, noticed our Log proxy rejected this log line
as too long.

Bug: 13737123
Change-Id: I8ca2cf6be79539db0fd262ffd13a317f6fe20dcb

10 years agoam 77da836f: Merge "Hide mode switcher in selected state when window is no longer...
Doris Liu [Mon, 7 Apr 2014 23:24:55 +0000 (23:24 +0000)]
am 77da836f: Merge "Hide mode switcher in selected state when window is no longer visible" into gb-ub-photos-denali

* commit '77da836f524dbbf7fe92ff1ca6147595a540246f':
  Hide mode switcher in selected state when window is no longer visible

10 years agoMerge "Hide mode switcher in selected state when window is no longer visible" into...
Doris Liu [Mon, 7 Apr 2014 23:20:05 +0000 (23:20 +0000)]
Merge "Hide mode switcher in selected state when window is no longer visible" into gb-ub-photos-denali

10 years agoHide mode switcher in selected state when window is no longer visible
Doris Liu [Mon, 7 Apr 2014 22:45:17 +0000 (15:45 -0700)]
Hide mode switcher in selected state when window is no longer visible

Bug: 13751149
Change-Id: Id479eeed06ec8965df2836c4825de6212c7efa7a

10 years agoam bd90f35e: Migrate LocationManager to use camera Logger
Alan Newberger [Mon, 7 Apr 2014 22:45:40 +0000 (22:45 +0000)]
am bd90f35e: Migrate LocationManager to use camera Logger

* commit 'bd90f35edda63c039a68f24e647b3ce60a9622cd':
  Migrate LocationManager to use camera Logger

10 years agoMigrate LocationManager to use camera Logger
Alan Newberger [Mon, 7 Apr 2014 22:18:43 +0000 (15:18 -0700)]
Migrate LocationManager to use camera Logger

This is the last remaining non-test class in Camera2 using
android.util.Log directly.

Bug: 13737123
Change-Id: Ia90d1d91b651cace026d9fdd5867d556aa8bad72

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Apr 2014 19:34:37 +0000 (12:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9fc8cd274bebccb0a39426246e9384cc9e018854
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Apr 2014 19:33:12 +0000 (12:33 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2331700a1214d9a3518ef60cae0d454301e25788
Auto-generated-cl: translation import