OSDN Git Service

android-x86/packages-apps-Camera2.git
9 years agoam 0be64680: rollback of b/16632474 and ag/518674
Spike Sprague [Thu, 7 Aug 2014 22:35:15 +0000 (22:35 +0000)]
am 0be64680: rollback of b/16632474 and ag/518674

* commit '0be64680fb9b5a982b1b92730236ebb85e76624a':
  rollback of b/16632474 and ag/518674

9 years agorollback of b/16632474 and ag/518674
Spike Sprague [Thu, 7 Aug 2014 21:56:27 +0000 (14:56 -0700)]
rollback of b/16632474 and ag/518674

Change-Id: I77af6135ff339240bd52881550a0f42ec996f9c4

9 years agoam 60c02b43: Merge "fix NPE in action switch" into ub-camera-glacier
Alan Newberger [Wed, 6 Aug 2014 21:59:55 +0000 (21:59 +0000)]
am 60c02b43: Merge "fix NPE in action switch" into ub-camera-glacier

* commit '60c02b437771c8fe959b233bcdcb28e4314c7489':
  fix NPE in action switch

9 years agoam c7ab9c4a: update system ui flags for full screen on android L
Spike Sprague [Wed, 6 Aug 2014 20:33:01 +0000 (20:33 +0000)]
am c7ab9c4a: update system ui flags for full screen on android L

* commit 'c7ab9c4ab2912f2c2777f907ca4c6f845ce98cef':
  update system ui flags for full screen on android L

9 years agoupdate system ui flags for full screen on android L
Spike Sprague [Wed, 6 Aug 2014 19:13:00 +0000 (12:13 -0700)]
update system ui flags for full screen on android L

bug: 16632474
Change-Id: I5b555492587df103b41ad13a6893a334b8c71b68

9 years agoam 0024b57e: Merge "[OC] Enable flash support." into ub-camera-glacier
Sascha Haeberling [Tue, 5 Aug 2014 23:11:50 +0000 (23:11 +0000)]
am 0024b57e: Merge "[OC] Enable flash support." into ub-camera-glacier

* commit '0024b57e54c674d86ff15011867a0f44029e0c48':
  [OC] Enable flash support.

9 years agoam e3dfd5a4: [OC] Migrate away from android.util.Size sinc we cannot use it in K.
Sascha Haeberling [Tue, 5 Aug 2014 23:08:40 +0000 (23:08 +0000)]
am e3dfd5a4: [OC] Migrate away from android.util.Size sinc we cannot use it in K.

* commit 'e3dfd5a433e39d76578b379fe1539864cf924cee':
  [OC] Migrate away from android.util.Size sinc we cannot use it in K.

9 years ago[OC] Migrate away from android.util.Size sinc we cannot use it in K.
Sascha Haeberling [Tue, 5 Aug 2014 22:54:42 +0000 (15:54 -0700)]
[OC] Migrate away from android.util.Size sinc we cannot use it in K.

  Bug: 16654225

Change-Id: I2c0ea6b387b8ad38d6e49c84dca8bf2bde34e249

9 years agoam 1b9926df: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Tue, 5 Aug 2014 01:34:31 +0000 (01:34 +0000)]
am 1b9926df: (-s ours) Import translations. DO NOT MERGE

* commit '1b9926dfadedfe77badd2f7fb4eeeebfd3138652':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Tue, 5 Aug 2014 01:26:07 +0000 (18:26 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "fix NPE in action switch" into ub-camera-glacier
Alan Newberger [Wed, 6 Aug 2014 21:56:23 +0000 (21:56 +0000)]
Merge "fix NPE in action switch" into ub-camera-glacier

9 years agofix NPE in action switch
Alan Newberger [Wed, 6 Aug 2014 21:05:31 +0000 (14:05 -0700)]
fix NPE in action switch

Recent conversion of action condition from if/else to switch
overlooked need for switch to be non-null. Fixing here.

Bug: 16847376
Change-Id: I919c585c414d0d3c4ef7fcdefccfda9118ef8104

9 years agoMerge "[OC] Enable flash support." into ub-camera-glacier
Sascha Haeberling [Tue, 5 Aug 2014 23:09:19 +0000 (23:09 +0000)]
Merge "[OC] Enable flash support." into ub-camera-glacier

9 years ago[OC] Enable flash support.
Sascha Haeberling [Thu, 31 Jul 2014 18:36:58 +0000 (11:36 -0700)]
[OC] Enable flash support.

  Bug: 16654225

Also show an error and exit the app if camera could not be opened.

Change-Id: Iddccaff35b081ba98efe2aaae51d9ee10bb7726f

9 years agoam 822b8e29: Merge "[OC] Introduce OneCameraCreator so we can dynamically create...
Sascha Haeberling [Sun, 3 Aug 2014 04:49:27 +0000 (04:49 +0000)]
am 822b8e29: Merge "[OC] Introduce OneCameraCreator so we can dynamically create a different version." into ub-camera-glacier

* commit '822b8e291d7141932837b1f3a9bf9bb670da9b6e':
  [OC] Introduce OneCameraCreator so we can dynamically create a different version.

9 years agoam ad87534c: Merge "Prevent monkey crash when deleting without data" into ub-camera...
Sascha Haeberling [Sun, 3 Aug 2014 04:20:11 +0000 (04:20 +0000)]
am ad87534c: Merge "Prevent monkey crash when deleting without data" into ub-camera-glacier

* commit 'ad87534c5a9e77e3d8fa09ed0b8692caf2a34937':
  Prevent monkey crash when deleting without data

9 years agoam 517f32a7: Restore grid initialization logic to fix grid display on startup
Alan Newberger [Fri, 1 Aug 2014 21:37:50 +0000 (21:37 +0000)]
am 517f32a7: Restore grid initialization logic to fix grid display on startup

* commit '517f32a7cb9b154ddde61d91f1f562d2f1889984':
  Restore grid initialization logic to fix grid display on startup

9 years agoRestore grid initialization logic to fix grid display on startup
Alan Newberger [Fri, 1 Aug 2014 21:08:37 +0000 (14:08 -0700)]
Restore grid initialization logic to fix grid display on startup

The large settings refactor in ag/484817 not only changed settings
calls in ButtonManager.initializeGridLinesButton, it altered the
order of calls to create the button callback and to set the button
state. The prior implementation and this CL creates the callback,
and then sets state so that the callback, which controls display,
runs upon initial state setup of the button. Otherwise the grid
is not shown correctly on module startup.

Bug: 16687954
Change-Id: I482906d2d54a8545066dded3209b55ae4ad48bdb

9 years agoMerge "[OC] Introduce OneCameraCreator so we can dynamically create a different versi...
Sascha Haeberling [Sun, 3 Aug 2014 04:44:00 +0000 (04:44 +0000)]
Merge "[OC] Introduce OneCameraCreator so we can dynamically create a different version." into ub-camera-glacier

9 years ago[OC] Introduce OneCameraCreator so we can dynamically create a different version.
Sascha Haeberling [Sun, 3 Aug 2014 04:15:26 +0000 (21:15 -0700)]
[OC] Introduce OneCameraCreator so we can dynamically create a different version.

   Bug: 16654225

Change-Id: Iaf7d738b4405fa2e58cc5fc8af99d5ff2718f5a9

9 years agoMerge "Prevent monkey crash when deleting without data" into ub-camera-glacier
Sascha Haeberling [Sun, 3 Aug 2014 04:16:45 +0000 (04:16 +0000)]
Merge "Prevent monkey crash when deleting without data" into ub-camera-glacier

9 years agoam 57bcd92f: [OC] Refactoring the session API before intgrating GCam into OneCamera
Sascha Haeberling [Thu, 31 Jul 2014 23:36:21 +0000 (23:36 +0000)]
am 57bcd92f: [OC] Refactoring the session API before intgrating GCam into OneCamera

* commit '57bcd92f39d85427102f30be2c749c4a7bd4be96':
  [OC] Refactoring the session API before intgrating GCam into OneCamera

9 years ago[OC] Refactoring the session API before intgrating GCam into OneCamera
Sascha Haeberling [Thu, 31 Jul 2014 23:05:57 +0000 (16:05 -0700)]
[OC] Refactoring the session API before intgrating GCam into OneCamera

  Bug: 16654225

Change-Id: I3fe6f46847ed6424310a81722c93c63be8b807a3

9 years agoam 9a9a1086: Improved logging of foreground source type.
Andy Huibers [Thu, 31 Jul 2014 18:41:15 +0000 (18:41 +0000)]
am 9a9a1086: Improved logging of foreground source type.

* commit '9a9a1086c10ea39ae9a2a5bdeeb600c2d7f940b6':
  Improved logging of foreground source type.

9 years agoImproved logging of foreground source type.
Andy Huibers [Thu, 31 Jul 2014 18:10:24 +0000 (11:10 -0700)]
Improved logging of foreground source type.

Change-Id: I6fdd5a52ec136f76352e006a8e95e88aac0ac1af

9 years agoam 00d8bbc9: Merge "[OC] Hook new Capture module up, behind a system property." into...
Sascha Haeberling [Thu, 31 Jul 2014 15:22:38 +0000 (15:22 +0000)]
am 00d8bbc9: Merge "[OC] Hook new Capture module up, behind a system property." into ub-camera-glacier

* commit '00d8bbc97d970db9604474210554caa18935c7eb':
  [OC] Hook new Capture module up, behind a system property.

9 years agoam 08b3c94a: [OC] Adds the new CaptureModule and UI.
Sascha Haeberling [Thu, 31 Jul 2014 15:17:32 +0000 (15:17 +0000)]
am 08b3c94a: [OC] Adds the new CaptureModule and UI.

* commit '08b3c94a7d7aff30b5da8e99649346e37b67a5c5':
  [OC] Adds the new CaptureModule and UI.

9 years ago[OC] Adds the new CaptureModule and UI.
Sascha Haeberling [Thu, 31 Jul 2014 00:48:52 +0000 (17:48 -0700)]
[OC] Adds the new CaptureModule and UI.

  Bug: 16654225

This is essentially a version of the GCamModule without GCam, plus a few
things we need from PhotoModule.

Some code is commented out to be added back in later as a reminder.

CLs to hook the module up will be following up.

Change-Id: I70108529f81a8b0b744dc846287ea2ac121c85da

9 years agoMerge "[OC] Hook new Capture module up, behind a system property." into ub-camera...
Sascha Haeberling [Thu, 31 Jul 2014 15:21:09 +0000 (15:21 +0000)]
Merge "[OC] Hook new Capture module up, behind a system property." into ub-camera-glacier

9 years ago[OC] Hook new Capture module up, behind a system property.
Sascha Haeberling [Thu, 31 Jul 2014 03:17:30 +0000 (20:17 -0700)]
[OC] Hook new Capture module up, behind a system property.

  Bug: 16654225

Change-Id: I6be44fefce66c09425a1bebc1942489f6af7636c

9 years agoam ef66e813: Cleaning up unused strings.
Sascha Haeberling [Wed, 30 Jul 2014 17:56:13 +0000 (17:56 +0000)]
am ef66e813: Cleaning up unused strings.

* commit 'ef66e81388982b89c710e75a9d9ae314b1de97f9':
  Cleaning up unused strings.

9 years agoPrevent monkey crash when deleting without data
Sascha Haeberling [Wed, 30 Jul 2014 17:31:29 +0000 (10:31 -0700)]
Prevent monkey crash when deleting without data

  Bug: 16536894

Change-Id: I960c0d8f61b2909c7020d3c259fbad8f8c33bc05

9 years agoCleaning up unused strings.
Sascha Haeberling [Wed, 30 Jul 2014 02:43:42 +0000 (19:43 -0700)]
Cleaning up unused strings.

'et' and 'ms' are deprecated and have already been removed from master:
http://ag/506364

Change-Id: I0acb1a5225f0b7c9c3dcf449b0a16bb7f77118ed

9 years agoam f5e51ec4: [OC] Camera2-based OneCamera implementation.
Sascha Haeberling [Wed, 30 Jul 2014 01:30:57 +0000 (01:30 +0000)]
am f5e51ec4: [OC] Camera2-based OneCamera implementation.

* commit 'f5e51ec44934d6d687267d2aff6386f5b728dd9f':
  [OC] Camera2-based OneCamera implementation.

9 years ago[OC] Camera2-based OneCamera implementation.
Sascha Haeberling [Wed, 30 Jul 2014 00:28:46 +0000 (17:28 -0700)]
[OC] Camera2-based OneCamera implementation.

  Bug: 16654225

Change-Id: Icc544eac762b5494e6bb6c9e768b810c44e11cd9

9 years agoam 2f001066: Merge "Put conversion from string to size into SettingsManager." into...
Sascha Haeberling [Wed, 30 Jul 2014 01:19:49 +0000 (01:19 +0000)]
am 2f001066: Merge "Put conversion from string to size into SettingsManager." into ub-camera-glacier

* commit '2f0010669ea789c1767527e960468b157796dfd4':
  Put conversion from string to size into SettingsManager.

9 years agoam d674447d: Add empty version of SystemProperties interface.
Sascha Haeberling [Wed, 30 Jul 2014 01:19:49 +0000 (01:19 +0000)]
am d674447d: Add empty version of SystemProperties interface.

* commit 'd674447d33e21fcaca64ee916953d8b3c0288390':
  Add empty version of SystemProperties interface.

9 years agoam ee36c5f5: Minor clean-up around the code base.
Sascha Haeberling [Wed, 30 Jul 2014 01:06:26 +0000 (01:06 +0000)]
am ee36c5f5: Minor clean-up around the code base.

* commit 'ee36c5f591ac181a10692b2ec2b96de5251c4abb':
  Minor clean-up around the code base.

9 years agoam b0d171e8: [OC] Adding the OneCamera manager API.
Sascha Haeberling [Wed, 30 Jul 2014 01:06:26 +0000 (01:06 +0000)]
am b0d171e8: [OC] Adding the OneCamera manager API.

* commit 'b0d171e892dffbc7ce0caf7415f96fa513c6f3fc':
  [OC] Adding the OneCamera manager API.

9 years agoAdd empty version of SystemProperties interface.
Sascha Haeberling [Wed, 30 Jul 2014 00:32:17 +0000 (17:32 -0700)]
Add empty version of SystemProperties interface.

This is so that we can use it in Camera2 code.

Change-Id: I764adb7377b91b5b54a33535188eb6d0d5159253

9 years agoMinor clean-up around the code base.
Sascha Haeberling [Wed, 30 Jul 2014 00:05:43 +0000 (17:05 -0700)]
Minor clean-up around the code base.

Change-Id: I2ed422dd4e0383739ccfa85a2e1e0e49e093e51d

9 years ago[OC] Adding the OneCamera manager API.
Sascha Haeberling [Tue, 29 Jul 2014 23:29:02 +0000 (16:29 -0700)]
[OC] Adding the OneCamera manager API.

  Bug: 16654225

Change-Id: I070f36a6e6c1e756223ff69b74c3171547090f97

9 years agoam 8c34b30b: [OC] Add common abstract OneCamera class.
Sascha Haeberling [Tue, 29 Jul 2014 23:33:37 +0000 (23:33 +0000)]
am 8c34b30b: [OC] Add common abstract OneCamera class.

* commit '8c34b30b2ae23ceb13f2912fe8b6f83c27940306':
  [OC] Add common abstract OneCamera class.

9 years ago[OC] Add common abstract OneCamera class.
Sascha Haeberling [Tue, 29 Jul 2014 23:02:52 +0000 (16:02 -0700)]
[OC] Add common abstract OneCamera class.

  Bug: 16654225

Change-Id: I31c0ab4d8f4aa91447d384444258616648633de4

9 years agoam 00c122a5: [OC] Version 1 of the nterface for OneCamera.
Sascha Haeberling [Tue, 29 Jul 2014 22:59:05 +0000 (22:59 +0000)]
am 00c122a5: [OC] Version 1 of the nterface for OneCamera.

* commit '00c122a56f76d8ba523c324638e5083f721da01a':
  [OC] Version 1 of the nterface for OneCamera.

9 years ago[OC] Version 1 of the nterface for OneCamera.
Sascha Haeberling [Tue, 29 Jul 2014 22:46:39 +0000 (15:46 -0700)]
[OC] Version 1 of the nterface for OneCamera.

  Bug: 16654225

Change-Id: Id4a6755577e327849ce60db7c5f64d76fb0a55b2

9 years agoam c7223fa9: Merge "[OC] Adds a class with common utility functions for capture modul...
Sascha Haeberling [Tue, 29 Jul 2014 22:44:55 +0000 (22:44 +0000)]
am c7223fa9: Merge "[OC] Adds a class with common utility functions for capture modules." into ub-camera-glacier

* commit 'c7223fa97a33c3e8e51d26566a32558d6257e9b9':
  [OC] Adds a class with common utility functions for capture modules.

9 years agoMerge "[OC] Adds a class with common utility functions for capture modules." into...
Sascha Haeberling [Tue, 29 Jul 2014 22:41:54 +0000 (22:41 +0000)]
Merge "[OC] Adds a class with common utility functions for capture modules." into ub-camera-glacier

9 years agoam 6a8aceef: AndroidManifest formatting cleanup
Spike Sprague [Tue, 29 Jul 2014 19:04:07 +0000 (19:04 +0000)]
am 6a8aceef: AndroidManifest formatting cleanup

* commit '6a8aceef5e9c886db04e82c913db7b8a719cdfc1':
  AndroidManifest formatting cleanup

9 years ago[OC] Adds a class with common utility functions for capture modules.
Sascha Haeberling [Tue, 29 Jul 2014 18:14:39 +0000 (11:14 -0700)]
[OC] Adds a class with common utility functions for capture modules.

  Bug: 16654225

Change-Id: I7bc2eaaa928fd152d20777086abef984421cc320

9 years agoAndroidManifest formatting cleanup
Spike Sprague [Mon, 28 Jul 2014 22:15:10 +0000 (15:15 -0700)]
AndroidManifest formatting cleanup

Change-Id: I279e764987fea743aa78575748a831e31ba28c0c

9 years agoam 2f92712c: re-added color and background entries for gcam
Spike Sprague [Fri, 25 Jul 2014 21:21:31 +0000 (21:21 +0000)]
am 2f92712c: re-added color and background entries for gcam

* commit '2f92712cdb0598eead6631a0b8366a592c8c19c2':
  re-added color and background entries for gcam

9 years agoMerge "Put conversion from string to size into SettingsManager." into ub-camera-glacier
Sascha Haeberling [Wed, 30 Jul 2014 01:12:51 +0000 (01:12 +0000)]
Merge "Put conversion from string to size into SettingsManager." into ub-camera-glacier

9 years agoPut conversion from string to size into SettingsManager.
Sascha Haeberling [Wed, 30 Jul 2014 00:08:18 +0000 (17:08 -0700)]
Put conversion from string to size into SettingsManager.

This way we don't have to spread this logic throughout the codebase.

Change-Id: I2d534d0756a9030e6d67b479a67c86c1cf596589

9 years agore-added color and background entries for gcam
Spike Sprague [Fri, 25 Jul 2014 21:11:42 +0000 (14:11 -0700)]
re-added color and background entries for gcam

bug: 16567671
Change-Id: Ifbe7bd68f0f6c47f645b420ef35d6eb6478c4a7e

9 years agoam ffa2ff02: added a mutate() call when loading LayerDrawables.
Spike Sprague [Fri, 25 Jul 2014 21:03:21 +0000 (21:03 +0000)]
am ffa2ff02: added a mutate() call when loading LayerDrawables.

* commit 'ffa2ff02c19d3b3a22e7ea700587a1c95bbf08b7':
  added a mutate() call when loading LayerDrawables.

9 years agoadded a mutate() call when loading LayerDrawables.
Spike Sprague [Fri, 25 Jul 2014 19:19:11 +0000 (12:19 -0700)]
added a mutate() call when loading LayerDrawables.

bug: 16566825
Change-Id: I71a3a9787b73957f9c34bf1ffa52df41c3a5f6e6

9 years agoam df5989b0: Merge "Ensure default focus mode is continuous-picture" into ub-camera...
Alan Newberger [Fri, 25 Jul 2014 17:05:29 +0000 (17:05 +0000)]
am df5989b0: Merge "Ensure default focus mode is continuous-picture" into ub-camera-glacier

* commit 'df5989b01e4075d666b7d9e59ac70876b64b8932':
  Ensure default focus mode is continuous-picture

9 years agoam 141263e2: Merge "ripple drawable on shutter button" into ub-camera-glacier
Spike Sprague [Fri, 25 Jul 2014 17:05:28 +0000 (17:05 +0000)]
am 141263e2: Merge "ripple drawable on shutter button" into ub-camera-glacier

* commit '141263e22b53dadde54afbf416dec76812746578':
  ripple drawable on shutter button

9 years agoam 036400b3: (-s ours) am 21b8cb69: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Jul 2014 17:05:27 +0000 (17:05 +0000)]
am 036400b3: (-s ours) am 21b8cb69: (-s ours) Import translations. DO NOT MERGE

* commit '036400b3389a8f5707ce7ce14138cbf65f891e4b':
  Import translations. DO NOT MERGE

9 years agoam 01afd999: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 25 Jul 2014 17:05:27 +0000 (17:05 +0000)]
am 01afd999: (-s ours) Import translations. DO NOT MERGE

* commit '01afd9992560775e0c7420a0f86d11d625717f80':
  Import translations. DO NOT MERGE

9 years agoMerge "Ensure default focus mode is continuous-picture" into ub-camera-glacier
Alan Newberger [Thu, 24 Jul 2014 23:15:18 +0000 (23:15 +0000)]
Merge "Ensure default focus mode is continuous-picture" into ub-camera-glacier

9 years agoEnsure default focus mode is continuous-picture
Alan Newberger [Thu, 24 Jul 2014 22:55:37 +0000 (15:55 -0700)]
Ensure default focus mode is continuous-picture

The new Settings infrastructure created a bug where the default
focus mode was 'auto', it needs to be continuous-picture. Fixing
here. Also adding verbose logging to the focus manager, could be
helpful in the future.

Bug: 16536583
Change-Id: I80b5905524f7fdaf69097ff8d2780da9f4ee2428

9 years agoMerge "ripple drawable on shutter button" into ub-camera-glacier
Spike Sprague [Thu, 24 Jul 2014 23:15:15 +0000 (23:15 +0000)]
Merge "ripple drawable on shutter button" into ub-camera-glacier

9 years agoripple drawable on shutter button
Spike Sprague [Sat, 19 Jul 2014 00:34:03 +0000 (17:34 -0700)]
ripple drawable on shutter button

bug: 16123188
Change-Id: I390279acb7a4599f1aeba71b415f1261b9a9b97b

9 years agoam 21b8cb69: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Jul 2014 21:48:33 +0000 (21:48 +0000)]
am 21b8cb69: (-s ours) Import translations. DO NOT MERGE

* commit '21b8cb696c05ef5207d290f3a1ed52453e58f525':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Jul 2014 10:36:34 +0000 (03:36 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Jul 2014 10:34:53 +0000 (03:34 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam 7bc335f4: Upgrade mode index settings after mode indices were cleaned
Alan Newberger [Wed, 23 Jul 2014 22:48:35 +0000 (22:48 +0000)]
am 7bc335f4: Upgrade mode index settings after mode indices were cleaned

* commit '7bc335f4c69b8630f1619b2235991173fd8540a5':
  Upgrade mode index settings after mode indices were cleaned

9 years agoUpgrade mode index settings after mode indices were cleaned
Alan Newberger [Wed, 23 Jul 2014 18:25:07 +0000 (11:25 -0700)]
Upgrade mode index settings after mode indices were cleaned

Because we removed a mode index from the camera_mode_* sequence in res/values/arrays.xml,
upgrades were found to crash when settings referred to the old, now nonexistent mode value.
This CL preserves the arrays cleanup and adds a settings upgrade to convert modes to the
new value. Tested and works properly with mode preservation.

Bug: 16467318
Change-Id: I1352a940285687af38290250d7a06b5b7c421338

9 years agoam 62c20bfb: Modify Camera settings scope enforcement from crash to warning
Alan Newberger [Wed, 23 Jul 2014 17:03:02 +0000 (17:03 +0000)]
am 62c20bfb: Modify Camera settings scope enforcement from crash to warning

* commit '62c20bfb063743d636300ba49b89f16c6f2546d0':
  Modify Camera settings scope enforcement from crash to warning

9 years agoModify Camera settings scope enforcement from crash to warning
Alan Newberger [Wed, 23 Jul 2014 01:46:41 +0000 (18:46 -0700)]
Modify Camera settings scope enforcement from crash to warning

Several bugs have appeared particularly for flash settings, where the app
is attempting to get a scope per the new SettingsManager, and the camera
is already closed meaning there is no valid scope. With this change, such
situations will be logged with call stack traces, so if we see deviant
user behavior we'll know the source. Monkeys should no longer trip settings
crashes with this change.

Bug: 16483952
Bug: 16491601
Change-Id: I26487bc58909a05183563f59ae3cfba571f2504e

9 years agoam dde95571: Merge "filmstip quantumification" into ub-camera-glacier
Spike Sprague [Tue, 22 Jul 2014 18:26:33 +0000 (18:26 +0000)]
am dde95571: Merge "filmstip quantumification" into ub-camera-glacier

* commit 'dde95571f3c1ea5f733dbdcf7a8e4ffe15a83e08':
  filmstip quantumification

9 years agoam 3736714d: (-s ours) am 373c970d: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 17:22:11 +0000 (17:22 +0000)]
am 3736714d: (-s ours) am 373c970d: (-s ours) Import translations. DO NOT MERGE

* commit '3736714d7aecbd26124e575ce84a1a34187c32b5':
  Import translations. DO NOT MERGE

9 years agoam 373c970d: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 17:18:30 +0000 (17:18 +0000)]
am 373c970d: (-s ours) Import translations. DO NOT MERGE

* commit '373c970d5d2c7877890f912e072f232438831b76':
  Import translations. DO NOT MERGE

9 years agoam f953e32e: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 17:15:52 +0000 (17:15 +0000)]
am f953e32e: (-s ours) Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 03:46:57 +0000 (20:46 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 03:46:21 +0000 (20:46 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 22 Jul 2014 03:45:09 +0000 (20:45 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam dd19c33c: Merge "fixing mode -> color mapping" into ub-camera-glacier
Spike Sprague [Mon, 21 Jul 2014 18:59:45 +0000 (18:59 +0000)]
am dd19c33c: Merge "fixing mode -> color mapping" into ub-camera-glacier

* commit 'dd19c33c1b41c0f888431a46cf8fa4bb8d1bf366':
  fixing mode -> color mapping

9 years agoam f15d63e8: Make sure to set an audio source using MediaRecorder.
Sascha Haeberling [Mon, 21 Jul 2014 18:39:35 +0000 (18:39 +0000)]
am f15d63e8: Make sure to set an audio source using MediaRecorder.

* commit 'f15d63e82af0ecf141ae16cae11b1cffbb8a8ab8':
  Make sure to set an audio source using MediaRecorder.

9 years agoMake sure to set an audio source using MediaRecorder.
Sascha Haeberling [Mon, 21 Jul 2014 18:31:13 +0000 (11:31 -0700)]
Make sure to set an audio source using MediaRecorder.

  Bug: 16454543

Change-Id: Ic3bfb14bd7d37e5feda43e50eafcf2e687dee0ce

9 years agoMerge "fixing mode -> color mapping" into ub-camera-glacier
Spike Sprague [Mon, 21 Jul 2014 18:57:21 +0000 (18:57 +0000)]
Merge "fixing mode -> color mapping" into ub-camera-glacier

9 years agofixing mode -> color mapping
Spike Sprague [Mon, 21 Jul 2014 18:55:36 +0000 (11:55 -0700)]
fixing mode -> color mapping

bug: 16123081
Change-Id: I3694e575e8461f4faf6dec076f5afe2a320eaecc

9 years agoam 17038432: Merge "clean out timelapse stuff from codebase" into ub-camera-glacier
Spike Sprague [Fri, 18 Jul 2014 18:39:17 +0000 (18:39 +0000)]
am 17038432: Merge "clean out timelapse stuff from codebase" into ub-camera-glacier

* commit '170384322694cbcebc2dc3e889ad1a5fb4bf0f25':
  clean out timelapse stuff from codebase

9 years agoam 39529585: Route switch preferences through SettingManager
Alan Newberger [Fri, 18 Jul 2014 17:33:28 +0000 (17:33 +0000)]
am 39529585: Route switch preferences through SettingManager

* commit '39529585aee23703553c551eadceca78742cf52b':
  Route switch preferences through SettingManager

9 years agoRoute switch preferences through SettingManager
Alan Newberger [Thu, 17 Jul 2014 16:55:34 +0000 (09:55 -0700)]
Route switch preferences through SettingManager

This CL adds a custom switch which uses SettingsManager to control
boolean settings. It relocates SettingsManager to the application
to allow access from multiple activities.

Bug: 16327665
Change-Id: I6af084a4443ea79ca270dab382a66ea527897a38

9 years agoam 71ae986c: resolved conflicts for merge of dcea7639 to ub-camera-glacier
Sascha Haeberling [Thu, 17 Jul 2014 22:28:41 +0000 (22:28 +0000)]
am 71ae986c: resolved conflicts for merge of dcea7639 to ub-camera-glacier

* commit '71ae986c611c49674d53af48e56da629de0ace93':
  Speed up lockscreen start-up time.

9 years agoresolved conflicts for merge of dcea7639 to ub-camera-glacier
Sascha Haeberling [Thu, 17 Jul 2014 22:05:26 +0000 (15:05 -0700)]
resolved conflicts for merge of dcea7639 to ub-camera-glacier

Change-Id: I151b172d3e415a529375351ba8c038308e593cd5

9 years agoSpeed up lockscreen start-up time.
Sascha Haeberling [Thu, 17 Jul 2014 21:06:02 +0000 (14:06 -0700)]
Speed up lockscreen start-up time.

  Bug: 16375664

- Avoid unnecessary camera open/close loop (~350ms)
- Don't load sounds and do other init work when not needed.

Change-Id: I5d297913dcbd3100034c3915119cc3c818f330d3

9 years agoMerge "clean out timelapse stuff from codebase" into ub-camera-glacier
Spike Sprague [Fri, 18 Jul 2014 18:36:32 +0000 (18:36 +0000)]
Merge "clean out timelapse stuff from codebase" into ub-camera-glacier

9 years agoclean out timelapse stuff from codebase
Spike Sprague [Wed, 16 Jul 2014 22:47:32 +0000 (15:47 -0700)]
clean out timelapse stuff from codebase

Change-Id: Ibcf07302f3eea2800d1f36c918ffe1c3d93b8018

9 years agoMerge "filmstip quantumification" into ub-camera-glacier
Spike Sprague [Tue, 22 Jul 2014 18:23:05 +0000 (18:23 +0000)]
Merge "filmstip quantumification" into ub-camera-glacier

9 years agofilmstip quantumification
Spike Sprague [Mon, 21 Jul 2014 20:19:10 +0000 (13:19 -0700)]
filmstip quantumification

bug: 16456504

Change-Id: I7c4c309671ae08179f22c35ffa7f3f9f5b4ee7ce

9 years agoam 609ee052: updating mode selector colors
Spike Sprague [Wed, 16 Jul 2014 22:47:27 +0000 (22:47 +0000)]
am 609ee052: updating mode selector colors

* commit '609ee052e3e9a62319afe9a8d4a1377dee0b9c4f':
  updating mode selector colors

9 years agoupdating mode selector colors
Spike Sprague [Wed, 16 Jul 2014 21:33:59 +0000 (14:33 -0700)]
updating mode selector colors

bug: 16123081
Change-Id: Ibe0b886f73fa934a94e7a1b534a67b56fdeb60d7

9 years agoam 78683612: Store temp session data in \'cache\' directory, not data.
Sascha Haeberling [Wed, 16 Jul 2014 00:04:13 +0000 (00:04 +0000)]
am 78683612: Store temp session data in \'cache\' directory, not data.

* commit '7868361295f07205fb49d3d03e886f1c7d2eb08b':
  Store temp session data in 'cache' directory, not data.

9 years agoStore temp session data in 'cache' directory, not data.
Sascha Haeberling [Tue, 15 Jul 2014 23:48:20 +0000 (16:48 -0700)]
Store temp session data in 'cache' directory, not data.

  Bug: 16010129

Change-Id: I06ff67d2917580e1f44bdb6686a9371239bccfef

9 years agoam ca82f50d: Don\'t try to show storage hint if activity is no longer running.
Sascha Haeberling [Tue, 15 Jul 2014 21:49:12 +0000 (21:49 +0000)]
am ca82f50d: Don\'t try to show storage hint if activity is no longer running.

* commit 'ca82f50dc211daad82abb91bcc35f50d1d81d4e3':
  Don't try to show storage hint if activity is no longer running.

9 years agoDon't try to show storage hint if activity is no longer running.
Sascha Haeberling [Tue, 15 Jul 2014 15:54:40 +0000 (08:54 -0700)]
Don't try to show storage hint if activity is no longer running.

  Bug: 16198208

Change-Id: I6a6c92286c98cff8b55434a7a0d011bf5043d183