OSDN Git Service

android-x86/packages-apps-Camera2.git
9 years agoam 9d87600a: (-s ours) am 91bceebd: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 22:23:46 +0000 (22:23 +0000)]
am 9d87600a: (-s ours) am 91bceebd: (-s ours) Import translations. DO NOT MERGE

* commit '9d87600a24c9b9b1c7a1d85b46971dba51d48e2c':
  Import translations. DO NOT MERGE

9 years agoam 91bceebd: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 22:17:06 +0000 (22:17 +0000)]
am 91bceebd: (-s ours) Import translations. DO NOT MERGE

* commit '91bceebd0bb15a5d20d43f8eca808114b96eb5ce':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 20:43:09 +0000 (13:43 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam cc933608: am 2d440350: Update to use real L codename.
Dianne Hackborn [Fri, 10 Oct 2014 00:30:45 +0000 (00:30 +0000)]
am cc933608: am 2d440350: Update to use real L codename.

* commit 'cc93360812c822eb4cac8056a0848c74338b3776':
  Update to use real L codename.

9 years agoam 2d440350: Update to use real L codename.
Dianne Hackborn [Thu, 9 Oct 2014 19:29:30 +0000 (19:29 +0000)]
am 2d440350: Update to use real L codename.

* commit '2d4403500d0bb55794aecbe9a33a03dd09f8ea0a':
  Update to use real L codename.

9 years agoUpdate to use real L codename.
Dianne Hackborn [Wed, 8 Oct 2014 16:37:44 +0000 (09:37 -0700)]
Update to use real L codename.

Change-Id: If6e5f02f693848f6cb0014084dccf910be4c958d

9 years agoam 49123263: am 7ba23fed: Fix preference copy migration and incorrect HDR+ sticky bit
Alan Newberger [Tue, 7 Oct 2014 00:20:29 +0000 (00:20 +0000)]
am 49123263: am 7ba23fed: Fix preference copy migration and incorrect HDR+ sticky bit

* commit '4912326305fbd05fe7ceff82aa2d2ecbd9f3127a':
  Fix preference copy migration and incorrect HDR+ sticky bit

9 years agoam 7ba23fed: Fix preference copy migration and incorrect HDR+ sticky bit
Alan Newberger [Mon, 6 Oct 2014 23:52:35 +0000 (23:52 +0000)]
am 7ba23fed: Fix preference copy migration and incorrect HDR+ sticky bit

* commit '7ba23fed935fa796c9c76b16c9bae79bf3f8b969':
  Fix preference copy migration and incorrect HDR+ sticky bit

9 years agoam 0424d264: am 0ac0b733: Merge "Fix incorrect key translation in Settings refactor...
Alan Newberger [Mon, 6 Oct 2014 23:51:09 +0000 (23:51 +0000)]
am 0424d264: am 0ac0b733: Merge "Fix incorrect key translation in Settings refactor" into lmp-dev

* commit '0424d26413389555335ac941de632a1afa1485b7':
  Fix incorrect key translation in Settings refactor

9 years agoam 0ac0b733: Merge "Fix incorrect key translation in Settings refactor" into lmp-dev
Alan Newberger [Mon, 6 Oct 2014 22:35:20 +0000 (22:35 +0000)]
am 0ac0b733: Merge "Fix incorrect key translation in Settings refactor" into lmp-dev

* commit '0ac0b733d510fc17d072c61055c0e2ad446689ff':
  Fix incorrect key translation in Settings refactor

9 years agoFix preference copy migration and incorrect HDR+ sticky bit
Alan Newberger [Mon, 6 Oct 2014 15:54:09 +0000 (08:54 -0700)]
Fix preference copy migration and incorrect HDR+ sticky bit

A sticky bit upgrader particularly for HDR+ was looking in
globals but was actually a module setting. The copy migrator
was not properly handling booleans! Modified the copy migrator
to properly handle supported types and removed the custom
incorrect upgrader.

Bug: 17875895
Change-Id: Id36abc429d12a77c5462e5c49ef7786e3d092f2c
(cherry picked from commit 90672aa08379e598426c12b529a86afd4b61011e)

9 years agoMerge "Fix incorrect key translation in Settings refactor" into lmp-dev
Alan Newberger [Mon, 6 Oct 2014 21:20:50 +0000 (21:20 +0000)]
Merge "Fix incorrect key translation in Settings refactor" into lmp-dev

9 years agoam c6dfd609: am d30fdee3: Merge "Trap CameraAgentFactory RTEs during recycle" into...
Alan Newberger [Sun, 5 Oct 2014 19:06:52 +0000 (19:06 +0000)]
am c6dfd609: am d30fdee3: Merge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev

* commit 'c6dfd6093850f93cd54987c6ec3613a80b2bf641':
  Trap CameraAgentFactory RTEs during recycle

9 years agoam 57177a77: am b0be8f53: Merge "Trap camera close exceptions on pause" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 19:06:52 +0000 (19:06 +0000)]
am 57177a77: am b0be8f53: Merge "Trap camera close exceptions on pause" into lmp-dev

* commit '57177a77c9c872779ef93332f53958c82634381d':
  Trap camera close exceptions on pause

9 years agoam d30fdee3: Merge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 19:02:50 +0000 (19:02 +0000)]
am d30fdee3: Merge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev

* commit 'd30fdee360db38e93e4639bd1c28049d0b6b09e0':
  Trap CameraAgentFactory RTEs during recycle

9 years agoam b0be8f53: Merge "Trap camera close exceptions on pause" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 19:02:49 +0000 (19:02 +0000)]
am b0be8f53: Merge "Trap camera close exceptions on pause" into lmp-dev

* commit 'b0be8f5321605380110ca03a3ae6880b042fe187':
  Trap camera close exceptions on pause

9 years agoMerge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 18:57:27 +0000 (18:57 +0000)]
Merge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev

9 years agoMerge "Trap camera close exceptions on pause" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 18:57:08 +0000 (18:57 +0000)]
Merge "Trap camera close exceptions on pause" into lmp-dev

9 years agoam ce06a319: am 0021c301: Merge "Avoid porting null keys when copying preferences...
Alan Newberger [Sun, 5 Oct 2014 12:47:49 +0000 (12:47 +0000)]
am ce06a319: am 0021c301: Merge "Avoid porting null keys when copying preferences into new system" into lmp-dev

* commit 'ce06a31953255060dded6a60acaa32f1dd203751':
  Avoid porting null keys when copying preferences into new system

9 years agoam d0590b34: am a9ed2418: Only set preview size before starting preview
Alan Newberger [Sun, 5 Oct 2014 12:47:48 +0000 (12:47 +0000)]
am d0590b34: am a9ed2418: Only set preview size before starting preview

* commit 'd0590b34b9ab925ece8b9473757c83e8691d4da5':
  Only set preview size before starting preview

9 years agoam 0021c301: Merge "Avoid porting null keys when copying preferences into new system...
Alan Newberger [Sun, 5 Oct 2014 12:05:06 +0000 (12:05 +0000)]
am 0021c301: Merge "Avoid porting null keys when copying preferences into new system" into lmp-dev

* commit '0021c30190af49119ee319af6b207643b417c6c3':
  Avoid porting null keys when copying preferences into new system

9 years agoam a9ed2418: Only set preview size before starting preview
Alan Newberger [Sun, 5 Oct 2014 12:05:05 +0000 (12:05 +0000)]
am a9ed2418: Only set preview size before starting preview

* commit 'a9ed2418a9d52d07bcbddfbb1bb144d9a0c6e8cd':
  Only set preview size before starting preview

9 years agoMerge "Avoid porting null keys when copying preferences into new system" into lmp-dev
Alan Newberger [Sun, 5 Oct 2014 06:52:00 +0000 (06:52 +0000)]
Merge "Avoid porting null keys when copying preferences into new system" into lmp-dev

9 years agoOnly set preview size before starting preview
Alan Newberger [Sat, 4 Oct 2014 01:27:50 +0000 (18:27 -0700)]
Only set preview size before starting preview

Remove recursive call to startPreview when updating preview size.
Avoid invoking preview size parameter updates for all calls to
updateCameraParametersPreference, and only adjust preview size
immediately before starting preview. Also added info logging
for all call paths into startPreview() to better diagnose
sequence of events in logs if we still see any races or
ordering issues.

Bug: 17809876
Change-Id: I626c913bb154c54aaffb451c24a63c6750553a52
(cherry picked from commit 19597371a18921bb03337e4fa24c28dd2d8f06ed)

9 years agoAvoid porting null keys when copying preferences into new system
Alan Newberger [Sat, 4 Oct 2014 00:34:09 +0000 (17:34 -0700)]
Avoid porting null keys when copying preferences into new system

Testing on Fishlake shows certain preferences are of 'null' type
in shared preferences. Avoid an NPE on porting a null. From testing,
this can happen with focus mode, best to just skip porting the key
and let the app use a default.

Bug: 17829562
Change-Id: I483cb5beb160d3fb7fc8a42aa5085531e3fccb63
(cherry picked from commit d560aabf7baef81a14e78341af81994efc1d4f17)

9 years agoFix incorrect key translation in Settings refactor
Alan Newberger [Sat, 4 Oct 2014 00:48:43 +0000 (17:48 -0700)]
Fix incorrect key translation in Settings refactor

Bug: 17832052
Change-Id: Ie3ac25a1b9b813295b2bbd6ce723669d30cdb652
(cherry picked from commit 4032a773c4605894a2b6137590c7124ea16b7ab2)

9 years agoTrap CameraAgentFactory RTEs during recycle
Alan Newberger [Thu, 2 Oct 2014 17:50:07 +0000 (10:50 -0700)]
Trap CameraAgentFactory RTEs during recycle

Bug: 17759456
Change-Id: I5d6577f4175963168bb4186d70dd7cee68b5466e
(cherry picked from commit 4d0fe41c92819ac4c70b5d0e75ec544be6cdfbb1)

9 years agoTrap camera close exceptions on pause
Alan Newberger [Wed, 1 Oct 2014 23:52:56 +0000 (16:52 -0700)]
Trap camera close exceptions on pause

Bug: 17759456

Change-Id: I5e5fd39829bd0ebf3f37b354ca380cf6396bef55
(cherry picked from commit 48d4c8f1856503d88f4e2e42fa729f2556173694)

9 years agoam 04b6e4c0: am e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK when starting Activities from...
Alan Newberger [Thu, 2 Oct 2014 00:41:21 +0000 (00:41 +0000)]
am 04b6e4c0: am e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

* commit '04b6e4c08b279b4237f294cb00912e0bb54ae284':
  Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

9 years agoam e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera
Alan Newberger [Thu, 2 Oct 2014 00:36:48 +0000 (00:36 +0000)]
am e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

* commit 'e1eb82bcd8050608ec3bda7ddcb7c0de961d93bd':
  Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

9 years agoam 36cb7fb8: am dae542a3: Fix error in settings key from refactor
Alan Newberger [Thu, 2 Oct 2014 00:36:10 +0000 (00:36 +0000)]
am 36cb7fb8: am dae542a3: Fix error in settings key from refactor

* commit '36cb7fb8b3f89a3759f0c30709eea36ac03ae8b7':
  Fix error in settings key from refactor

9 years agoam dae542a3: Fix error in settings key from refactor
Alan Newberger [Thu, 2 Oct 2014 00:32:04 +0000 (00:32 +0000)]
am dae542a3: Fix error in settings key from refactor

* commit 'dae542a3c94b1663c72cb4be29d5edf1a7aa4f30':
  Fix error in settings key from refactor

9 years agoUse NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera
Alan Newberger [Thu, 2 Oct 2014 00:18:35 +0000 (17:18 -0700)]
Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

To ensure items are placed in separate affinity in document mode.

Bug: 17758840
Change-Id: I7ea1c9c841f3e60271307ed67e760be494835855

9 years agoFix error in settings key from refactor
Alan Newberger [Wed, 1 Oct 2014 16:49:03 +0000 (09:49 -0700)]
Fix error in settings key from refactor

PANO_ORIENTATION indicator icon was using an
incorrect key to sync state.

Bug: 17752154
Change-Id: I587b2ee7eeab3758b05386540f62b79ca48299f2
(cherry picked from commit 5c9d7f34039ac96b3a136ccd6b16162e3b220848)

9 years agoam 07c463d3: am d822d1cf: Only allow one draw call pending at a time
Alan Newberger [Wed, 1 Oct 2014 15:17:33 +0000 (15:17 +0000)]
am 07c463d3: am d822d1cf: Only allow one draw call pending at a time

* commit '07c463d36c00055b10532ab3fd54393ff4e2e3a5':
  Only allow one draw call pending at a time

9 years agoam f0e685d9: am 2499af48: Stability: call stopPreview() before switching off video...
Senpo Hu [Wed, 1 Oct 2014 15:17:32 +0000 (15:17 +0000)]
am f0e685d9: am 2499af48: Stability: call stopPreview() before switching off video module.

* commit 'f0e685d91a2736ba5fd5b43db32858bdf7a70e43':
  Stability: call stopPreview() before switching off video module.

9 years agoam d822d1cf: Only allow one draw call pending at a time
Alan Newberger [Wed, 1 Oct 2014 15:03:57 +0000 (15:03 +0000)]
am d822d1cf: Only allow one draw call pending at a time

* commit 'd822d1cfc893faa6f3d5b566a50c628ec83fa4e6':
  Only allow one draw call pending at a time

9 years agoam 2499af48: Stability: call stopPreview() before switching off video module.
Senpo Hu [Wed, 1 Oct 2014 15:00:51 +0000 (15:00 +0000)]
am 2499af48: Stability: call stopPreview() before switching off video module.

* commit '2499af485d19e9e9843f7f8ea9a566ee24e62a33':
  Stability: call stopPreview() before switching off video module.

9 years agoOnly allow one draw call pending at a time
Alan Newberger [Tue, 30 Sep 2014 21:59:32 +0000 (14:59 -0700)]
Only allow one draw call pending at a time

If modules call draw aggressively, there should only be one pending
at a time. If we get another, just drop it, there will be a draw
momentarily.

Bug: 17703978
Change-Id: I60b3b9e257ae4e064287a97973b1de878ce66de1
(cherry picked from commit 5db8e20db77bf86eba25ec713c76da783dd98b19)

9 years agoStability: call stopPreview() before switching off video module.
Senpo Hu [Tue, 30 Sep 2014 01:49:10 +0000 (18:49 -0700)]
Stability: call stopPreview() before switching off video module.

If the preview is not stopped, the following camera operations posted
by other modules such as "apply settings" will turn camera object
in turmoil. The camera object could start throwing exception and eventually
hang.

Bug: 16300704
Bug: 17403384
Change-Id: Idd2360869d51b9dfc06309f8ac185a65add8d0c9
(cherry picked from commit 36e045a43d9b8949d9a219b84cf894cf21f8e98a)

9 years agoam d51f2cc7: (-s ours) am 2f727aff: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Mon, 29 Sep 2014 21:00:20 +0000 (21:00 +0000)]
am d51f2cc7: (-s ours) am 2f727aff: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

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

9 years agoam 2f727aff: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 29 Sep 2014 20:47:01 +0000 (20:47 +0000)]
am 2f727aff: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '2f727affa9fa62c8395f628c193c36b1ab299d81':
  Import translations. DO NOT MERGE

9 years agoam 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after...
Senpo Hu [Mon, 29 Sep 2014 20:41:54 +0000 (20:41 +0000)]
am 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after release()

* commit '8838aba5db3395a5b0fd2f85c4c8c4ce25da5a7f':
  Fix crash in VideoModule - Method called after release()

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 29 Sep 2014 16:37:16 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 29 Sep 2014 07:36:19 +0000 (00:36 -0700)]
Import translations. DO NOT MERGE

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

9 years agoam ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after release()
Senpo Hu [Mon, 29 Sep 2014 04:26:38 +0000 (04:26 +0000)]
am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after release()

* commit 'ed0fea9b36e2f645f06e04d8ac28142333621010':
  Fix crash in VideoModule - Method called after release()

9 years agoam 2d3475ae: Fix crash in VideoModule - Method called after release()
Senpo Hu [Mon, 29 Sep 2014 04:20:35 +0000 (04:20 +0000)]
am 2d3475ae: Fix crash in VideoModule - Method called after release()

* commit '2d3475ae1f045a2062119f352bec874cd78e9d3b':
  Fix crash in VideoModule - Method called after release()

9 years agoFix crash in VideoModule - Method called after release()
Senpo Hu [Sun, 28 Sep 2014 11:30:15 +0000 (04:30 -0700)]
Fix crash in VideoModule - Method called after release()

Completely eliminate the runtime exception caused by monkey.
Sample stack trace:
java.lang.RuntimeException: Method called after release()
       at android.media.MediaRecorder.setCamera(Native Method)
       at com.android.camera.VideoModule.initializeRecorder(VideoModule.java:1101)
       at com.android.camera.VideoModule.access$2000(VideoModule.java:88)
       at com.android.camera.VideoModule$10.onStorageUpdateDone(VideoModule.java:1320)
       at com.android.camera.CameraActivity$20.onPostExecute(CameraActivity.java:2014)

Bug: 17313985
Change-Id: I7ecaf375c26ebd1608d7098599ab1528609287ce

9 years agoam f9d6b067: am 6014e168: am 022ce61e: Synchronize CaptureModule camera open/close...
Puneet Lall [Sat, 27 Sep 2014 05:51:33 +0000 (05:51 +0000)]
am f9d6b067: am 6014e168: am 022ce61e: Synchronize CaptureModule camera open/close operations

* commit 'f9d6b067c5b115e08d38fc2df769012702a95ec1':
  Synchronize CaptureModule camera open/close operations

9 years agoam 6014e168: am 022ce61e: Synchronize CaptureModule camera open/close operations
Puneet Lall [Sat, 27 Sep 2014 03:19:13 +0000 (03:19 +0000)]
am 6014e168: am 022ce61e: Synchronize CaptureModule camera open/close operations

* commit '6014e1682d94b687c4525cf49e6c4b20bbb4380a':
  Synchronize CaptureModule camera open/close operations

9 years agoam 022ce61e: Synchronize CaptureModule camera open/close operations
Puneet Lall [Sat, 27 Sep 2014 01:06:23 +0000 (01:06 +0000)]
am 022ce61e: Synchronize CaptureModule camera open/close operations

* commit '022ce61e1c4f338a79585e8656ab57990ecd32c1':
  Synchronize CaptureModule camera open/close operations

9 years agoSynchronize CaptureModule camera open/close operations
Puneet Lall [Fri, 26 Sep 2014 04:35:15 +0000 (21:35 -0700)]
Synchronize CaptureModule camera open/close operations

This fixes a race condition in which CaptureModule gets a pause()
immediately after it is asked to open the camera.  pause() MUST
wait/block to close the camera to ensure that we can later open it (a
fast open()->pause() sequence is reproducible via the lockscreen under
certain cases when we get a rapid onResume()->onPause()->onResume),
so this adds the necessary threading logic to wait, if necessary,
for the camera to finish opening so that it can be closed.

Bug: 17642065
Change-Id: Ic88bd32fc5acc2b333de367019085a8cd539c5a5

9 years agoam 900c5aa9: am 93e01102: am feb07ea4: Merge "Stability: add null check for all Camer...
Senpo Hu [Fri, 26 Sep 2014 20:33:16 +0000 (20:33 +0000)]
am 900c5aa9: am 93e01102: am feb07ea4: Merge "Stability: add null check for all CameraProxy obj references in VideoModule." into ub-camera-glacier

* commit '900c5aa9b314fd3d2f565a780000c48d6680f13e':
  Stability: add null check for all CameraProxy obj references in VideoModule.

9 years agoam 93e01102: am feb07ea4: Merge "Stability: add null check for all CameraProxy obj...
Senpo Hu [Fri, 26 Sep 2014 20:28:16 +0000 (20:28 +0000)]
am 93e01102: am feb07ea4: Merge "Stability: add null check for all CameraProxy obj references in VideoModule." into ub-camera-glacier

* commit '93e01102a49b199a085647141739c02478268e5b':
  Stability: add null check for all CameraProxy obj references in VideoModule.

9 years agoam feb07ea4: Merge "Stability: add null check for all CameraProxy obj references...
Senpo Hu [Fri, 26 Sep 2014 20:25:36 +0000 (20:25 +0000)]
am feb07ea4: Merge "Stability: add null check for all CameraProxy obj references in VideoModule." into ub-camera-glacier

* commit 'feb07ea4e32c7dcc4488515220a4a1881b5e6585':
  Stability: add null check for all CameraProxy obj references in VideoModule.

9 years agoMerge "Stability: add null check for all CameraProxy obj references in VideoModule...
Senpo Hu [Fri, 26 Sep 2014 20:21:01 +0000 (20:21 +0000)]
Merge "Stability: add null check for all CameraProxy obj references in VideoModule." into ub-camera-glacier

9 years agoStability: add null check for all CameraProxy obj references in
Senpo Hu [Fri, 26 Sep 2014 18:05:08 +0000 (11:05 -0700)]
Stability: add null check for all CameraProxy obj references in
VideoModule.

Bug: 17657161
Bug: 17653725
Change-Id: Icca2b9dffdfe954e979d9af7e47d78b539dc2b9d

9 years agoam bbf0e352: am d3a7c5af: am ad12363e: Revert app workaround for bug 17614203 now...
Andy Huibers [Fri, 26 Sep 2014 20:07:12 +0000 (20:07 +0000)]
am bbf0e352: am d3a7c5af: am ad12363e: Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

* commit 'bbf0e352000eb6386982bdc36e9d61bdeccf43c8':
  Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

9 years agoam d3a7c5af: am ad12363e: Revert app workaround for bug 17614203 now that HAL is...
Andy Huibers [Fri, 26 Sep 2014 20:00:12 +0000 (20:00 +0000)]
am d3a7c5af: am ad12363e: Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

* commit 'd3a7c5af7ecd8cf6f32129e6c6936c6b487f8c24':
  Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

9 years agoam ad12363e: Revert app workaround for bug 17614203 now that HAL is fixed. This rever...
Andy Huibers [Fri, 26 Sep 2014 19:53:41 +0000 (19:53 +0000)]
am ad12363e: Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

* commit 'ad12363ecaba370c2425677eef6e562bf7c98e3e':
  Revert app workaround for bug 17614203 now that HAL is fixed. This reverts ag/543302.

9 years agoRevert app workaround for bug 17614203 now that HAL is fixed.
Andy Huibers [Fri, 26 Sep 2014 19:42:54 +0000 (12:42 -0700)]
Revert app workaround for bug 17614203 now that HAL is fixed.
This reverts ag/543302.

Bug: 17614203
Bug: 17145703
Change-Id: I3ec21902e59156ea30c181ecd6a7728f7262110a

9 years agoam e9541583: am f379211c: am 47c4474e: Merge "Force filmstrip images to generate...
Alan Newberger [Thu, 25 Sep 2014 18:53:06 +0000 (18:53 +0000)]
am e9541583: am f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit 'e9541583a10a2de2f0cbd8ea7aa8b79f02431760':
  Force filmstrip images to generate in JPEG compression format

9 years agoam d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance...
Puneet Lall [Thu, 25 Sep 2014 18:42:28 +0000 (18:42 +0000)]
am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit 'd0f873b9c6cab64d549287254175f48acf78ab6d':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam 814310de: am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy...
Senpo Hu [Thu, 25 Sep 2014 18:42:28 +0000 (18:42 +0000)]
am 814310de: am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit '814310de540722dd71c07a4aa35cbb511f78e2e0':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoam f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compressi...
Alan Newberger [Thu, 25 Sep 2014 18:41:52 +0000 (18:41 +0000)]
am f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit 'f379211cc6ec4ca292d100a53a8e1ea49958fcae':
  Force filmstrip images to generate in JPEG compression format

9 years agoam fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activi...
Puneet Lall [Thu, 25 Sep 2014 18:33:52 +0000 (18:33 +0000)]
am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit 'fc0e5d895cbad548cb2cb1d874d1c0fed49333c9':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj reference...
Senpo Hu [Thu, 25 Sep 2014 18:33:51 +0000 (18:33 +0000)]
am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit '437fd924f0bcffafa9aafcb719e233c68d81042b':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoam 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format...
Alan Newberger [Thu, 25 Sep 2014 18:33:37 +0000 (18:33 +0000)]
am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

* commit '47c4474ea9e51a58f2ba1795de90c9aaf135f442':
  Force filmstrip images to generate in JPEG compression format

9 years agoMerge "Force filmstrip images to generate in JPEG compression format" into ub-camera...
Alan Newberger [Thu, 25 Sep 2014 18:27:01 +0000 (18:27 +0000)]
Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

9 years agoam 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into...
Puneet Lall [Thu, 25 Sep 2014 18:21:59 +0000 (18:21 +0000)]
am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

* commit '4d2f3bf448d8546920a3d94ce15033357388d2cc':
  Recreate a OneCameraManager instance for each Activity.

9 years agoam ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.
Senpo Hu [Thu, 25 Sep 2014 18:21:58 +0000 (18:21 +0000)]
am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

* commit 'ee3123ba4b4cc107423441bb8d687c14a2dc4b9a':
  Stability: add null check for all CameraProxy obj references in PhotoModule.

9 years agoForce filmstrip images to generate in JPEG compression format
Alan Newberger [Thu, 25 Sep 2014 18:21:01 +0000 (11:21 -0700)]
Force filmstrip images to generate in JPEG compression format

Due to https://github.com/bumptech/glide/issues/156, we sometimes
were getting PNG cache image generation which greatly increased
latency and introduced jank. As workaround, explicitly forcing
images to utilize JPEG format.

Bug: 17597861
Change-Id: I49d7266d4ff0173d253877612b3076489a6b385a

9 years agoMerge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier
Puneet Lall [Thu, 25 Sep 2014 18:14:23 +0000 (18:14 +0000)]
Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

9 years agoStability: add null check for all CameraProxy obj references in PhotoModule.
Senpo Hu [Thu, 25 Sep 2014 17:53:12 +0000 (10:53 -0700)]
Stability: add null check for all CameraProxy obj references in PhotoModule.

Bug: 17643705
Bug: 17604028
Change-Id: I6073f32bae286168c040f5667494ede1384ce3fc

9 years agoRecreate a OneCameraManager instance for each Activity.
Puneet Lall [Thu, 25 Sep 2014 04:30:53 +0000 (21:30 -0700)]
Recreate a OneCameraManager instance for each Activity.

Bug: 17484715
Change-Id: If484e3b40ef32324fa77629b1687cd4317466e2e

9 years agoam f49e3882: am 3f8c75b2: am da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 16:39:19 +0000 (16:39 +0000)]
am f49e3882: am 3f8c75b2: am da6f3acc: Skip disk caching for session data

* commit 'f49e3882849e68acda0eaa39ad11e4cd207e2cd1':
  Skip disk caching for session data

9 years agoam e25f2203: am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in...
Alan Newberger [Thu, 25 Sep 2014 16:39:18 +0000 (16:39 +0000)]
am e25f2203: am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit 'e25f22030ee7f3628824c3cc74ec8bda7bb9d681':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam 68a63db4: am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back...
Alan Newberger [Thu, 25 Sep 2014 16:39:18 +0000 (16:39 +0000)]
am 68a63db4: am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit '68a63db488679cca1e9723813fe692fc1a9ace82':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoam 3f8c75b2: am da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 16:23:34 +0000 (16:23 +0000)]
am 3f8c75b2: am da6f3acc: Skip disk caching for session data

* commit '3f8c75b21820b64551a3226ab71bdb7707b286f9':
  Skip disk caching for session data

9 years agoam 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to...
Alan Newberger [Thu, 25 Sep 2014 16:23:34 +0000 (16:23 +0000)]
am 92db2cb4: am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit '92db2cb42b74da6dbf94f79edb2671d517441aeb':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on...
Alan Newberger [Thu, 25 Sep 2014 16:23:33 +0000 (16:23 +0000)]
am af73f898: am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit 'af73f89883e9386cf309c029efba19c82597b136':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoam da6f3acc: Skip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 01:37:00 +0000 (01:37 +0000)]
am da6f3acc: Skip disk caching for session data

* commit 'da6f3accc02c942b1f2dd1c248edb6a0bd66ee10':
  Skip disk caching for session data

9 years agoSkip disk caching for session data
Alan Newberger [Thu, 25 Sep 2014 01:23:13 +0000 (18:23 -0700)]
Skip disk caching for session data

Bring back full color depth but don't bother with a disk cache
for temporary session images, since they will go away and be
replaced by mediastore entries anyway.

Bug: 17642071
Change-Id: I1a8483b71d69967033074fc4d8c69c9dfb17651e

9 years agoam 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into...
Alan Newberger [Thu, 25 Sep 2014 01:10:06 +0000 (01:10 +0000)]
am 6b2d1e0b: Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

* commit '6b2d1e0b660e931c6cbc91a25ec85df070712e65':
  Revert temporary session images in filmstrip to RGB_565

9 years agoam 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi
Alan Newberger [Thu, 25 Sep 2014 01:10:04 +0000 (01:10 +0000)]
am 347dccbe: Ensure Camera doesn\'t attempt access of back camera on Nakasi

* commit '347dccbe1ed10ceec190af4d3797a197426f1caf':
  Ensure Camera doesn't attempt access of back camera on Nakasi

9 years agoMerge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier
Alan Newberger [Thu, 25 Sep 2014 01:09:03 +0000 (01:09 +0000)]
Merge "Revert temporary session images in filmstrip to RGB_565" into ub-camera-glacier

9 years agoRevert temporary session images in filmstrip to RGB_565
Alan Newberger [Thu, 25 Sep 2014 00:59:02 +0000 (17:59 -0700)]
Revert temporary session images in filmstrip to RGB_565

A simple way to avoid performance issues for now until we get around
the significant load issues seen in writing ARGB_8888 to disk cache.

Bug: 17642071
Change-Id: I6017980fce6e633b52dce93f3f46931e5bcc3d9c

9 years agoEnsure Camera doesn't attempt access of back camera on Nakasi
Alan Newberger [Thu, 25 Sep 2014 00:19:25 +0000 (17:19 -0700)]
Ensure Camera doesn't attempt access of back camera on Nakasi

Bug: 17647004
Change-Id: I823f98cfdfcc7429b6acf98215e4a08787bc1bb9

9 years agoam 59cfca2f: am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2...
Alan Newberger [Wed, 24 Sep 2014 22:36:50 +0000 (22:36 +0000)]
am 59cfca2f: am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '59cfca2fd973402ca1de8486ed38d005707d5556':
  Don't show aspect ratio UI if using API2 portability

9 years agoam 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 22:13:17 +0000 (22:13 +0000)]
am 9db50c18: am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '9db50c18fdd35f98d45fec66db55693bb9f1d9ae':
  Don't show aspect ratio UI if using API2 portability

9 years agoam 2631a15a: Don\'t show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 22:04:09 +0000 (22:04 +0000)]
am 2631a15a: Don\'t show aspect ratio UI if using API2 portability

* commit '2631a15a37b890f4ee720c5a4bbe3e654524deb6':
  Don't show aspect ratio UI if using API2 portability

9 years agoDon't show aspect ratio UI if using API2 portability
Alan Newberger [Wed, 24 Sep 2014 21:23:30 +0000 (14:23 -0700)]
Don't show aspect ratio UI if using API2 portability

Avoid preview size changes due to current state of locking in API2
portability implementation.

Bug: 17462976
Change-Id: I9426380699988d67b21ce86850ef00736e84a5d6

9 years agoam a02991d9: am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosp...
Spike Sprague [Wed, 24 Sep 2014 03:53:10 +0000 (03:53 +0000)]
am a02991d9: am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'a02991d9523775e60a349e1deced9a63ad145237':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam 668f0efc: am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check...
Spike Sprague [Wed, 24 Sep 2014 03:29:02 +0000 (03:29 +0000)]
am 668f0efc: am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit '668f0efca1d8864c50787b39927a5e0fdf6c415a':
  monkey test NPE fix, another null check on mCameraDevice

9 years agoam d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermed...
Spike Sprague [Wed, 24 Sep 2014 01:57:21 +0000 (01:57 +0000)]
am d8dbf53c: am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'd8dbf53c7235456fc2fd3e0e77e50e5d6c00a753':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures
Spike Sprague [Wed, 24 Sep 2014 01:47:39 +0000 (01:47 +0000)]
am eeeed4fa: new sounds for timer ticker and pano / photosphere intermediate captures

* commit 'eeeed4fa00ed842050bc7e0edd3b37c262802a5b':
  new sounds for timer ticker and pano / photosphere intermediate captures

9 years agoam c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDe...
Spike Sprague [Wed, 24 Sep 2014 01:24:29 +0000 (01:24 +0000)]
am c89420a6: am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit 'c89420a6c2e44b17a7dcc556f9a633db58ba4ab5':
  monkey test NPE fix, another null check on mCameraDevice

9 years agonew sounds for timer ticker and pano / photosphere intermediate captures
Spike Sprague [Wed, 27 Aug 2014 19:01:36 +0000 (12:01 -0700)]
new sounds for timer ticker and pano / photosphere intermediate captures

companions CL: ag/534823

bug: 17281234

Change-Id: I9d98d8e869dcefdbd0f7e0b53dea6b8e024a8e3b

9 years agoam 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into...
Spike Sprague [Wed, 24 Sep 2014 01:03:23 +0000 (01:03 +0000)]
am 7d1fb593: Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier

* commit '7d1fb593ae26e4f327e47bcbb857057da4ea23a0':
  monkey test NPE fix, another null check on mCameraDevice

9 years agoMerge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier
Spike Sprague [Wed, 24 Sep 2014 00:44:00 +0000 (00:44 +0000)]
Merge "monkey test NPE fix, another null check on mCameraDevice" into ub-camera-glacier