OSDN Git Service

android-x86/packages-apps-Camera2.git
9 years agoam d0501b04: am 55157d27: am cc933608: am 2d440350: Update to use real L codename.
Dianne Hackborn [Fri, 10 Oct 2014 17:15:11 +0000 (17:15 +0000)]
am d0501b04: am 55157d27: am cc933608: am 2d440350: Update to use real L codename.

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

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

* commit '55157d27305d06569f0bd7d3c47ec51855f87da4':
  Update to use real L codename.

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 017050a5: am d014ce87: am 49123263: am 7ba23fed: Fix preference copy migration...
Alan Newberger [Tue, 7 Oct 2014 00:55:26 +0000 (00:55 +0000)]
am 017050a5: am d014ce87: am 49123263: am 7ba23fed: Fix preference copy migration and incorrect HDR+ sticky bit

* commit '017050a539676b08da5df0e478d706b04ff081e2':
  Fix preference copy migration and incorrect HDR+ sticky bit

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

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

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 ca29a477: am f4c28525: am 0424d264: am 0ac0b733: Merge "Fix incorrect key translat...
Alan Newberger [Tue, 7 Oct 2014 00:13:23 +0000 (00:13 +0000)]
am ca29a477: am f4c28525: am 0424d264: am 0ac0b733: Merge "Fix incorrect key translation in Settings refactor" into lmp-dev

* commit 'ca29a477126fb0c849155cce3c998f8c4f44fe4c':
  Fix incorrect key translation in Settings refactor

9 years agoam f4c28525: am 0424d264: am 0ac0b733: Merge "Fix incorrect key translation in Settin...
Alan Newberger [Tue, 7 Oct 2014 00:05:33 +0000 (00:05 +0000)]
am f4c28525: am 0424d264: am 0ac0b733: Merge "Fix incorrect key translation in Settings refactor" into lmp-dev

* commit 'f4c28525f56c34d0659d6b0657fc15289814905d':
  Fix incorrect key translation in Settings refactor

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 2101ab4b: am b1a810b2: am c6dfd609: am d30fdee3: Merge "Trap CameraAgentFactory...
Alan Newberger [Sun, 5 Oct 2014 19:16:22 +0000 (19:16 +0000)]
am 2101ab4b: am b1a810b2: am c6dfd609: am d30fdee3: Merge "Trap CameraAgentFactory RTEs during recycle" into lmp-dev

* commit '2101ab4b214a2a92ee32ce42d799192e46e71ea4':
  Trap CameraAgentFactory RTEs during recycle

9 years agoam 450cef14: am ead83e3e: am 57177a77: am b0be8f53: Merge "Trap camera close exceptio...
Alan Newberger [Sun, 5 Oct 2014 19:16:21 +0000 (19:16 +0000)]
am 450cef14: am ead83e3e: am 57177a77: am b0be8f53: Merge "Trap camera close exceptions on pause" into lmp-dev

* commit '450cef14657b876fa30d9c31cf35e1ce80611cde':
  Trap camera close exceptions on pause

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

* commit 'b1a810b21391ff37db16e08f705bb968142ac146':
  Trap CameraAgentFactory RTEs during recycle

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

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

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 f1d421a6: am 833c7cbe: am ce06a319: am 0021c301: Merge "Avoid porting null keys...
Alan Newberger [Sun, 5 Oct 2014 14:04:17 +0000 (14:04 +0000)]
am f1d421a6: am 833c7cbe: am ce06a319: am 0021c301: Merge "Avoid porting null keys when copying preferences into new system" into lmp-dev

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

9 years agoam 82ee8abb: am cea8512a: am d0590b34: am a9ed2418: Only set preview size before...
Alan Newberger [Sun, 5 Oct 2014 14:04:17 +0000 (14:04 +0000)]
am 82ee8abb: am cea8512a: am d0590b34: am a9ed2418: Only set preview size before starting preview

* commit '82ee8abb56494966d2bf03c064ec1c2c05dfa5e1':
  Only set preview size before starting preview

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

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

9 years agoam cea8512a: am d0590b34: am a9ed2418: Only set preview size before starting preview
Alan Newberger [Sun, 5 Oct 2014 13:58:55 +0000 (13:58 +0000)]
am cea8512a: am d0590b34: am a9ed2418: Only set preview size before starting preview

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

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 9ee244aa: am 673ae4a4: am 04b6e4c0: am e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK...
Alan Newberger [Thu, 2 Oct 2014 13:38:27 +0000 (13:38 +0000)]
am 9ee244aa: am 673ae4a4: am 04b6e4c0: am e1eb82bc: Use NEW_DOCUMENT vs NEW_TASK when starting Activities from Camera

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

9 years agoam 4011ad4b: am 985efe10: am 36cb7fb8: am dae542a3: Fix error in settings key from...
Alan Newberger [Thu, 2 Oct 2014 13:38:25 +0000 (13:38 +0000)]
am 4011ad4b: am 985efe10: am 36cb7fb8: am dae542a3: Fix error in settings key from refactor

* commit '4011ad4bb2183c9a3d56919bd11ba552cd15016a':
  Fix error in settings key from refactor

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

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

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

* commit '985efe1003d0bf57f52cf215ba582257e8e2071f':
  Fix error in settings key from refactor

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 agoam ff91a347: am 51a625d1: am 07c463d3: am d822d1cf: Only allow one draw call pending...
Alan Newberger [Wed, 1 Oct 2014 23:00:19 +0000 (23:00 +0000)]
am ff91a347: am 51a625d1: am 07c463d3: am d822d1cf: Only allow one draw call pending at a time

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

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

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

9 years agoam ef7c510a: (-s ours) am 12dd2669: (-s ours) am d51f2cc7: (-s ours) am 2f727aff...
Baligh Uddin [Wed, 1 Oct 2014 23:00:18 +0000 (23:00 +0000)]
am ef7c510a: (-s ours) am 12dd2669: (-s ours) am d51f2cc7: (-s ours) am 2f727aff: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

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

9 years agoam 94adfd2e: am 89206e4b: am 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoMo...
Senpo Hu [Wed, 1 Oct 2014 23:00:18 +0000 (23:00 +0000)]
am 94adfd2e: am 89206e4b: am 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after release()

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

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

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

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

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

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 12dd2669: (-s ours) am d51f2cc7: (-s ours) am 2f727aff: (-s ours) Merge "Import...
Baligh Uddin [Mon, 29 Sep 2014 21:11:31 +0000 (21:11 +0000)]
am 12dd2669: (-s ours) am d51f2cc7: (-s ours) am 2f727aff: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '12dd2669561a70c4dd97572ba3e065b571060b00':
  Import translations. DO NOT MERGE

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 89206e4b: am 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method...
Senpo Hu [Mon, 29 Sep 2014 20:50:55 +0000 (20:50 +0000)]
am 89206e4b: am 8838aba5: am ed0fea9b: am 2d3475ae: Fix crash in VideoModule - Method called after release()

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

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 98802754: am c109ad76: am f9d6b067: am 6014e168: am 022ce61e: Synchronize CaptureM...
Puneet Lall [Sat, 27 Sep 2014 06:16:49 +0000 (06:16 +0000)]
am 98802754: am c109ad76: am f9d6b067: am 6014e168: am 022ce61e: Synchronize CaptureModule camera open/close operations

* commit '98802754fd721be3c4b67e71f4aafdc4e0cf7fe6':
  Synchronize CaptureModule camera open/close operations

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

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

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 9ce01bc6: am 4389f14a: am 900c5aa9: am 93e01102: am feb07ea4: Merge "Stability...
Senpo Hu [Fri, 26 Sep 2014 20:59:03 +0000 (20:59 +0000)]
am 9ce01bc6: am 4389f14a: am 900c5aa9: am 93e01102: am feb07ea4: Merge "Stability: add null check for all CameraProxy obj references in VideoModule." into ub-camera-glacier

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

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

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

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

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

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

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

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 f0f2461c: am 6e27443e: am e9541583: am f379211c: am 47c4474e: Merge "Force filmstr...
Alan Newberger [Fri, 26 Sep 2014 00:23:32 +0000 (00:23 +0000)]
am f0f2461c: am 6e27443e: am e9541583: am f379211c: am 47c4474e: Merge "Force filmstrip images to generate in JPEG compression format" into ub-camera-glacier

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

9 years agoam 006eb6e3: am 0950ed17: am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate...
Puneet Lall [Fri, 26 Sep 2014 00:23:12 +0000 (00:23 +0000)]
am 006eb6e3: am 0950ed17: am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

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

9 years agoam b45fb88b: am 2fbe8a6e: am 814310de: am 437fd924: am ee3123ba: Stability: add null...
Senpo Hu [Fri, 26 Sep 2014 00:23:12 +0000 (00:23 +0000)]
am b45fb88b: am 2fbe8a6e: am 814310de: am 437fd924: am ee3123ba: Stability: add null check for all CameraProxy obj references in PhotoModule.

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

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

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

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 0950ed17: am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManage...
Puneet Lall [Thu, 25 Sep 2014 18:52:41 +0000 (18:52 +0000)]
am 0950ed17: am d0f873b9: am fc0e5d89: am 4d2f3bf4: Merge "Recreate a OneCameraManager instance for each Activity." into ub-camera-glacier

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

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

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

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