<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages_apps_Dialer/src/com/android/dialer/calllog/CallLogAsyncTaskUtil.java, branch replicant-6.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/'/>
<entry>
<title>DO NOT MERGE Handle null contact lookup.</title>
<updated>2015-10-12T18:50:06+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-09-15T20:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=f72637df6ee6cc0c5bc66205199ed6294f2eb623'/>
<id>f72637df6ee6cc0c5bc66205199ed6294f2eb623</id>
<content type='text'>
If we have a null contact lookup, replace the local reference with
an EMPTY contact info instance.

This fixes a test failure, and possible lookup scenario.

Already submitted to master, do not merge.

Bug: 24134231
Change-Id: Ia6edd9f601de391257fb805910ef0e42e060c667
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we have a null contact lookup, replace the local reference with
an EMPTY contact info instance.

This fixes a test failure, and possible lookup scenario.

Already submitted to master, do not merge.

Bug: 24134231
Change-Id: Ia6edd9f601de391257fb805910ef0e42e060c667
</pre>
</div>
</content>
</entry>
<entry>
<title>Cache repeated Telecom requests from call log.</title>
<updated>2015-06-26T23:42:09+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-06-25T23:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=d3f6a6c56dec7d47bae1121ed1030f67c26736fe'/>
<id>d3f6a6c56dec7d47bae1121ed1030f67c26736fe</id>
<content type='text'>
This improves call log scrolling performance.

+ Split "Wrapper" into a utility and a cache.
+ Use cache for repeated calls related to call logs.
+ In the process of fixing plumbing and typer, moved some phone call
detail classes into the more appropriate call log package.
+ Update tests.

Bug: 20524705
Change-Id: Ib8ee21e417c19f98f6474a5793416e8f99103b55
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves call log scrolling performance.

+ Split "Wrapper" into a utility and a cache.
+ Use cache for repeated calls related to call logs.
+ In the process of fixing plumbing and typer, moved some phone call
detail classes into the more appropriate call log package.
+ Update tests.

Bug: 20524705
Change-Id: Ib8ee21e417c19f98f6474a5793416e8f99103b55
</pre>
</div>
</content>
</entry>
<entry>
<title>Move "Report" to CallDetailActivity.</title>
<updated>2015-06-10T22:32:06+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-06-09T22:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=2f05af35af03de67c1c474cd148719b24fac3552'/>
<id>2f05af35af03de67c1c474cd148719b24fac3552</id>
<content type='text'>
- Delete old report button/handling code.
+ Convert menu click listeners into single onMenuItemClick method.
+ Add and populate objectId on PhoneCallDetails, to be able to
tell from the CallDetailActivity whether to enable reporting.

Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Delete old report button/handling code.
+ Convert menu click listeners into single onMenuItemClick method.
+ Add and populate objectId on PhoneCallDetails, to be able to
tell from the CallDetailActivity whether to enable reporting.

Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
</pre>
</div>
</content>
</entry>
<entry>
<title>Change PhoneCallDetail fields to be non-final.</title>
<updated>2015-06-10T17:47:45+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-06-10T01:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=edb22da2b40549631a08150cbfc205e6ad243c20'/>
<id>edb22da2b40549631a08150cbfc205e6ad243c20</id>
<content type='text'>
It's been a pain to add/change fields on PhoneCallDetails because
a multitude of parameters required for the constructors to create
an instance. I ran into this while considering how to add an
objectId to its parameters, and have previously too...

Make fields non-final so that they are more easily set. This has
the side-effect of making the casing of some initialization code
more straightforward.

+ Change it's constructor to a subset of required fields.
+ Simplify/reorganize CallLogAdapter and CallLogAsyncTaskUtil code.
+ Simplify tests.

Bug: 21733599
Change-Id: I236dfb0b8e6513f4b44dbdae17ce2eb9c9ae4778
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's been a pain to add/change fields on PhoneCallDetails because
a multitude of parameters required for the constructors to create
an instance. I ran into this while considering how to add an
objectId to its parameters, and have previously too...

Make fields non-final so that they are more easily set. This has
the side-effect of making the casing of some initialization code
more straightforward.

+ Change it's constructor to a subset of required fields.
+ Simplify/reorganize CallLogAdapter and CallLogAsyncTaskUtil code.
+ Simplify tests.

Bug: 21733599
Change-Id: I236dfb0b8e6513f4b44dbdae17ce2eb9c9ae4778
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CallDetailActivity tests.</title>
<updated>2015-06-01T18:50:09+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-05-29T17:39:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=42be85d8a976c049ea237a48a35beada80638b85'/>
<id>42be85d8a976c049ea237a48a35beada80638b85</id>
<content type='text'>
+ Reset the AsyncTaskExecutor's instance between calls in tests.
I don't know why this is necessary, but it fixes a class of problems
which were happening.

+ Don't try to release a media player if it has not been prepared.

+ Handle possible race conditions since MediaPlayer's async prepare
may be buffering or finished when a test assert is executed.

+ Add asset file no longer provided by variablespeed library.

- Cleanup some stream copy code.

Change-Id: I0ae5fde00514c6dcdb1e9c063435a13eed6e8528
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Reset the AsyncTaskExecutor's instance between calls in tests.
I don't know why this is necessary, but it fixes a class of problems
which were happening.

+ Don't try to release a media player if it has not been prepared.

+ Handle possible race conditions since MediaPlayer's async prepare
may be buffering or finished when a test assert is executed.

+ Add asset file no longer provided by variablespeed library.

- Cleanup some stream copy code.

Change-Id: I0ae5fde00514c6dcdb1e9c063435a13eed6e8528
</pre>
</div>
</content>
</entry>
<entry>
<title>Add AsyncTaskUtil for call log actions.</title>
<updated>2015-05-20T01:27:01+00:00</updated>
<author>
<name>Andrew Lee</name>
<email>anwlee@google.com</email>
</author>
<published>2015-05-15T17:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/packages_apps_Dialer/commit/?id=7c461dc3809ce0d4d969a7c9b6406a1c6e4a1495'/>
<id>7c461dc3809ce0d4d969a7c9b6406a1c6e4a1495</id>
<content type='text'>
+ Factors out async tasks from Call Detail activity, so that in the
near future it can be invoked from the call log directly.
+ Create listener interfaces for actions to execute after tasks have
been completed.
+ Should have no logical/behavioral changes.

Hopefully, this creates a more opaque interface for activities or
other classes to perform these actions as well.

Bug: 21170557
Change-Id: I43aea7e37600d3978e285f047cba7ce75ebb5787
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Factors out async tasks from Call Detail activity, so that in the
near future it can be invoked from the call log directly.
+ Create listener interfaces for actions to execute after tasks have
been completed.
+ Should have no logical/behavioral changes.

Hopefully, this creates a more opaque interface for activities or
other classes to perform these actions as well.

Bug: 21170557
Change-Id: I43aea7e37600d3978e285f047cba7ce75ebb5787
</pre>
</div>
</content>
</entry>
</feed>
