<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_frameworks_ex/camera2, branch cm-14.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/'/>
<entry>
<title>Camera2: Support waitForSurfacePrepared in BlockingSessionCallback</title>
<updated>2015-06-05T23:04:34+00:00</updated>
<author>
<name>Yin-Chia Yeh</name>
<email>yinchiayeh@google.com</email>
</author>
<published>2015-06-05T22:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=39c31d49ce38158b7708581df0813b03e32d6eea'/>
<id>39c31d49ce38158b7708581df0813b03e32d6eea</id>
<content type='text'>
Change-Id: I7f6f351092a173fe0b7a567e5240cb5abe8cb2de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7f6f351092a173fe0b7a567e5240cb5abe8cb2de
</pre>
</div>
</content>
</entry>
<entry>
<title>Camera2: Support onSurfacePrepared in BlockingSessionCallback</title>
<updated>2015-05-13T21:15:09+00:00</updated>
<author>
<name>Eino-Ville Talvala</name>
<email>etalvala@google.com</email>
</author>
<published>2015-05-13T21:15:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=ebb6c5111f287a8cf55f1dcac7d7c5b76d9260ff'/>
<id>ebb6c5111f287a8cf55f1dcac7d7c5b76d9260ff</id>
<content type='text'>
Change-Id: Id46c044badb98f7837ca3898758997c171aa5c68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id46c044badb98f7837ca3898758997c171aa5c68
</pre>
</div>
</content>
</entry>
<entry>
<title>DO NOT MERGE: Minor style fixes.</title>
<updated>2015-04-29T00:09:23+00:00</updated>
<author>
<name>Jiawen Chen</name>
<email>jiawen@google.com</email>
</author>
<published>2015-04-17T21:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=046ba28a082f30d56a1ac63eaa13b5cf95093db6'/>
<id>046ba28a082f30d56a1ac63eaa13b5cf95093db6</id>
<content type='text'>
- BlockingCameraManager had the wrong TAG.
- Added static / final to NUM_STATES.
- Javadoc @param mismatch.

Change-Id: I0dbe6b3d4bdcb5a51ba0aea89985c3495a59381e
(cherry picked from commit 5a772174d14175474e76701b07cc0be86c3df32a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- BlockingCameraManager had the wrong TAG.
- Added static / final to NUM_STATES.
- Javadoc @param mismatch.

Change-Id: I0dbe6b3d4bdcb5a51ba0aea89985c3495a59381e
(cherry picked from commit 5a772174d14175474e76701b07cc0be86c3df32a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Camera2: Portability: Remove HDR hack.</title>
<updated>2015-01-07T17:50:04+00:00</updated>
<author>
<name>Eino-Ville Talvala</name>
<email>etalvala@google.com</email>
</author>
<published>2014-12-05T19:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=c5effbd8ffed05f6c5142c1c8d491c398194bf5b'/>
<id>c5effbd8ffed05f6c5142c1c8d491c398194bf5b</id>
<content type='text'>
Bug: 18640480
Change-Id: I8f0b42cbb05c6881fbc32664ce9e2b97a0ef5db3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 18640480
Change-Id: I8f0b42cbb05c6881fbc32664ce9e2b97a0ef5db3
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaned up usages of deprecated API</title>
<updated>2014-11-19T00:43:00+00:00</updated>
<author>
<name>Nick Korostelev</name>
<email>nkorsote@google.com</email>
</author>
<published>2014-11-19T00:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=aa9ed1d0bfa5ed2929cefc875a14b327875db290'/>
<id>aa9ed1d0bfa5ed2929cefc875a14b327875db290</id>
<content type='text'>
Change-Id: Ie2f5fdc51d47e1d70dcfaf27550412d8569c1c04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie2f5fdc51d47e1d70dcfaf27550412d8569c1c04
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure default handler always is set if no other error handler registered</title>
<updated>2014-11-04T18:29:04+00:00</updated>
<author>
<name>Alan Newberger</name>
<email>alann@google.com</email>
</author>
<published>2014-11-04T18:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=25b78c8a18327bd73c3d4d34887dd63953aeaa8c'/>
<id>25b78c8a18327bd73c3d4d34887dd63953aeaa8c</id>
<content type='text'>
To avoid memory leaks we set the error handler to null in activity
onDestroy. But, the agent may receive callbacks after this, so
ensure at minimum that we set the default logging handler to default
handle errors post activity destroy.

Bug: 18200874
Bug: 18202261
Change-Id: Ie7251a149ab02c474d8affd15af6b9ea48c2cdc0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid memory leaks we set the error handler to null in activity
onDestroy. But, the agent may receive callbacks after this, so
ensure at minimum that we set the default logging handler to default
handle errors post activity destroy.

Bug: 18200874
Bug: 18202261
Change-Id: Ie7251a149ab02c474d8affd15af6b9ea48c2cdc0
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure agent error handler is always non-null</title>
<updated>2014-10-27T21:23:23+00:00</updated>
<author>
<name>Alan Newberger</name>
<email>alann@google.com</email>
</author>
<published>2014-10-27T21:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=c15ddae4862bb9a10b0142fac9558a5f899b1a21'/>
<id>c15ddae4862bb9a10b0142fac9558a5f899b1a21</id>
<content type='text'>
Create a dummy placeholder handler which logs warnings, which
can be replaced by app if desired. This makes various assumptions
valid that this is non-null.

Bug: 18137167
Change-Id: I0f508dff3cfe766ccc5a3c5a26c6196f4fb31e04
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a dummy placeholder handler which logs warnings, which
can be replaced by app if desired. This makes various assumptions
valid that this is non-null.

Bug: 18137167
Change-Id: I0f508dff3cfe766ccc5a3c5a26c6196f4fb31e04
</pre>
</div>
</content>
</entry>
<entry>
<title>Return more detailed debugging info for logging purposes.</title>
<updated>2014-10-14T21:19:08+00:00</updated>
<author>
<name>Senpo Hu</name>
<email>senpo@google.com</email>
</author>
<published>2014-10-14T21:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=733ca8dfa76ac34d1f9caff8798d01a4a8f44002'/>
<id>733ca8dfa76ac34d1f9caff8798d01a4a8f44002</id>
<content type='text'>
Change-Id: If71afbf8029e9e4d5560eb6a655ece990cf19a19
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If71afbf8029e9e4d5560eb6a655ece990cf19a19
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup: handle API 1 error callback in CameraExceptionHandler.</title>
<updated>2014-10-10T22:32:06+00:00</updated>
<author>
<name>Senpo Hu</name>
<email>senpo@google.com</email>
</author>
<published>2014-10-10T22:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=318eeb225f4567a8c2a6fe14baa06e8923ebe622'/>
<id>318eeb225f4567a8c2a6fe14baa06e8923ebe622</id>
<content type='text'>
Portability API used to expose setErrorCallback call which is API 1
only. The new CameraExceptionHandler should be the centralized place
to handle different camera errors.

Bug: 17931297
Change-Id: I0212f96a98e0caca64aca0f947b991b895d8d56b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Portability API used to expose setErrorCallback call which is API 1
only. The new CameraExceptionHandler should be the centralized place
to handle different camera errors.

Bug: 17931297
Change-Id: I0212f96a98e0caca64aca0f947b991b895d8d56b
</pre>
</div>
</content>
</entry>
<entry>
<title>Overhaul error handling in AndroidCameraAgentImpl.</title>
<updated>2014-10-07T21:04:28+00:00</updated>
<author>
<name>Senpo Hu</name>
<email>senpo@google.com</email>
</author>
<published>2014-10-06T17:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_ex/commit/?id=2d01b8e2b5ad30ce3c442799cad4c3d26607fc6f'/>
<id>2d01b8e2b5ad30ce3c442799cad4c3d26607fc6f</id>
<content type='text'>
DispatchThread could throw RTE when timeout (2500 ms). This CL extends
it to 3500 ms and also re-route the exception to the proper exception
callback instead of surfacing that up to the app. Since a lot of try-catch
block is added, CameraExceptionHandler class is added to keep
CameraAgent.java clean.

The portability layer should ensure the proper use of Camera API 1. With
this assumption, any run time exception thrown by the framework should be
considered fatal. Once it happened, CameraAgent/CameraProxy should be
invalidated. Any subsequent camera commands should be gated as no-ops to
prevent HAL hanging symptom. Users should be guided to exit the app and
recover from the camera error.

Design Doc:
https://docs.google.com/a/google.com/document/d/1t0sEPwGgc387XcoCVC7kT9Y_RSZPxcayla03M4bdn0U/edit

Corresponding CL for the app layer: ag/562383

Bug: 16189216
Change-Id: I33e69aeff0c8e4211e82e0e83133915700c4eb8f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DispatchThread could throw RTE when timeout (2500 ms). This CL extends
it to 3500 ms and also re-route the exception to the proper exception
callback instead of surfacing that up to the app. Since a lot of try-catch
block is added, CameraExceptionHandler class is added to keep
CameraAgent.java clean.

The portability layer should ensure the proper use of Camera API 1. With
this assumption, any run time exception thrown by the framework should be
considered fatal. Once it happened, CameraAgent/CameraProxy should be
invalidated. Any subsequent camera commands should be gated as no-ops to
prevent HAL hanging symptom. Users should be guided to exit the app and
recover from the camera error.

Design Doc:
https://docs.google.com/a/google.com/document/d/1t0sEPwGgc387XcoCVC7kT9Y_RSZPxcayla03M4bdn0U/edit

Corresponding CL for the app layer: ag/562383

Bug: 16189216
Change-Id: I33e69aeff0c8e4211e82e0e83133915700c4eb8f
</pre>
</div>
</content>
</entry>
</feed>
