History log of /packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
68d86c656e5522dec1b04e85ebc0e0f78e436c3d 21-Feb-2016 Sailesh Nepal <sail@google.com> [Gradle] Allow dialer to be compiled as a library

This CL adds a new build-library.gradle file for AOSP dialer.
This allows the dialer to be built as a library that can be
included from GoogleDialer.

Switching to a library project meant making two other changes:
- changed all switch statements that used resources to if statements.
This was required because resource IDs are not final in library
projects.
- changed InCalUI code to import com.android.dialer.R instead of
com.android.incallui.R. See http://b.android.com/82743 for more info
on why this is required.

src-N isn't supported yet. Also, this isn't the ideal project layout.
In the future we should consider switching to the following layout:
- dialer/incallui/ <- incall UI as an independent library project
- dialer/dialerlib/ <- dialer code as an independent library project
- dialer/app <- skelent app that builds a standalone dialer AOSP app

Bug: 26676586
Change-Id: I07fbee4d33cc683539e4f8b3953c93f1427af9d7
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
58e68a9513495cbe76188d6066c4ffa467313175 06-Nov-2015 Yorke Lee <yorkelee@google.com> More work to hook up screen event logging

* Change logScreenView to log by an integer rather than string
representing a screen name
* Add some missing log events (SmartDialSearchFragment, etc)
* Add mapping of integer to screen name strings for AnalyticsUtil

Bug: 23164804
Change-Id: If34a01b71a3fb598caa237e4b679cfeb30c4dd01
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
6e0fd6b77759baf43cb37d407041be051b4856b5 05-Nov-2015 Yorke Lee <yorkelee@google.com> Route all existing screen view events through the Logger

* The logger is responsible for sending it to its logging
implementation, and also to AnalyicsUtil.
* Standardize logic for creating a tagged version of a screen
name

Bug: 23164804
Change-Id: I9b817fba5359f78340f2d9fdba54af9ea73cdb37
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
4622b61cdf304cdfba278b9c5fa1bc76979dae6d 13-Oct-2015 Tyler Gunn <tgunn@google.com> DO NOT MERGE Correct issue where content of "All" and "Missed" tabs reversed in RTL.

Root cause of issue was that the tab indexes were not reversed in RTL mode.
Made a similar change as was made in ListsFragment.

Bug: 24690256
Change-Id: Ifa7ae1127298aa098dd8201b4d1e095baa3c14e8
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
193cfc5458c5c2bb1f9800c98f179292732aa0a8 25-Sep-2015 Jay Shrauner <shrauner@google.com> Use TransactionSafeActivity

Remove custom visibility tracking.

Bug:24294419
Change-Id: I2ef53549e7d8c07e92319bc57c4aebd05edb8ea6
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
f499a09cdbbd8efb4d97b9981fe1a0141e8a930d 17-Sep-2015 Jay Shrauner <shrauner@google.com> Fix IllegalStateException in onOptionsItemSelected

Make sure we're still visible before showing dialogs.

Bug:24138858
Change-Id: I3a2cc7dba6144e055ae074177ba5c89258f69b1b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
4e5df6b3a264cceba8774f6704697312b35f329d 17-Aug-2015 Nancy Chen <nancychen@google.com> Merge "Convert Dialer activities to AppCompat to support Snackbar."
44898ad0aa2a12788fc9cfc6b78fa7adc9d90f23 13-Aug-2015 Nancy Chen <nancychen@google.com> Convert Dialer activities to AppCompat to support Snackbar.

In order to add an "Undo" snackbar for voicemail, dialer activities need
to inherit from the AppCompat library. Add the relevant libraries to the
make files and change the styles to be compatible.

Bug: 22460745
Change-Id: Ia3cc4002cbd943da818fec67f888d085d53a3b25
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
a4adb2c035690a1c9600a20c2485886d9d5991d0 11-Aug-2015 Andrew Lee <anwlee@google.com> Show entire call history in Dialer tab.

+ Rename some logic around identifying the scenario (tab vs activity)
for the call log.
+ Add padding at the bottom of the call log.
+ Make call log in tab show all history, not just recent history.
+ Rename promo card logic in CallLogAdapter, since it is VM specific.
- Remove extra view holder, and associated logic.

Bug: 23017190
Change-Id: I1f36f414647705a779ee14e8b43e88bf711bba56
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
a79ecc9a0d0f4e3df44b437477985eb07b97711f 13-Jul-2015 Yorke Lee <yorkelee@google.com> Don't cache results of permission check

For maximum safety, always check the current permission status
on the fly.

Bug: 22455059
Change-Id: I05da7ec1ad2e885e3e5e78e14585c876ac19178e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
2a613022dbb278f0f7dd94cf49885cde9d36100c 01-Jul-2015 Yorke Lee <yorkelee@google.com> Restore Dialer content after permissions granted

First pass at making Dialer display the call log, favorites,
all contacts, and contact search after permissions are granted
withut having to restart the app.

Update cached permission status in onResume for Dialer activities
Update SpeedDialFragment to correctly initialize loader in
onResume if it was null previously because of revoked permission.

Bug: 22205650

Change-Id: I68982e69395bc9c7da84ff3221cd12b8f79005f9
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
995c308830108a75027bc5b871af3bcaaeff4681 29-Jun-2015 Yorke Lee <yorkelee@google.com> Remove voicemail tab in call history

Bug: 22169419
Change-Id: I512153e31a13df5f36bcb8dc00d53d55ba70117c
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
50dfa5e6b49c72ca3a10b38207d04f233ec1a2e3 21-May-2015 Andrew Lee <anwlee@google.com> Add voicemail tab if there are active providers.

Bug: 21328994
Change-Id: Id6cd45c5614fafcc6f01842a8ec1eaba45dc0928
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
4aece9536ed64da965fd42da07a393f935abd6b1 03-May-2015 Yorke Lee <yorkelee@google.com> Dynamically check for permission denials

Don't crash when performing certain operations that the
dialer might not have permissions to execute:

* Access voicemail provider
* Certain TelecomManager methods

Add a class TelecomUtil that checks for permissions/default
dialer status, and handles the privileged operations
appropriately.

Bug: 20266292

Change-Id: Ibe8a85440b9ca20169b5ce3be24d1a385caaebb6
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
ff1769fb36ae7d4968672d5326b48310b489bc99 17-Apr-2015 Yorke Lee <yorkelee@google.com> Remove use of private isResumed API

Change-Id: I3ad2277b4822d219bd53b35914befb4a4d52b45b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
99d00ab018325ebfa86206e847d48068065cdd9d 06-Nov-2014 Yorke Lee <yorkelee@google.com> Merge "Fix for "Clear call log" menu item showing up incorrectly." into lmp-mr1-dev
d93c149f4da67aa6dbbbc58f33d1f7c7db7a7068 05-Nov-2014 Yorke Lee <yorkelee@google.com> Fix for "Clear call log" menu item showing up incorrectly.

The fragment member variables were being lost on rotation
because the FragmentManager does not call getItem on rotation.

Fix the way we save the fragments into member variables to ensure
that those references are always up to date so that mAllCallsFragment
is not null after rotation.

Bug: 17478780

Change-Id: I5a0c070273f2d86864afd96c6bb6551bcd0d1aa4
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
7ee5c422e36cf3d40cbd24bbb5b87754b4820d02 04-Nov-2014 Yorke Lee <yorkelee@google.com> Improve Dialer analytics

* Send screen view for first fragment loaded inside ListsFragment
* Send screen view for voicemail playback fragment
* Send screen view for currently active fragment when activity is restarted
* Don't send spurious screen views on rotation
* Send screen views for call log fragments in call log activity, and
differentiate between them with a tag

Bug: 18158037

Change-Id: I09fda53db33f6a6acc4a3b477de992aa94921c71
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
beab3bbc2c977a48e3affc3e61cc2fdbb22c4ae2 27-Oct-2014 Brian Attwell <brianattwell@google.com> Use improved analytics in Dialer

Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.

Improving analytics CL #4/4

Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
c311af1f33f9d408c7eee5a6eeda46f1d1b7265b 23-Oct-2014 Brian Attwell <brianattwell@google.com> Delete duplicated class

Also renamed dialerbind package

Analytics CL #2/5

Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
515bd5d6bd69220eb80f6d58eb5bf9540ef5b50a 12-Sep-2014 Jay Shrauner <shrauner@google.com> Fix cursor handling in CallLogQueryHandler

Remove dead code and fix potential leak.

Bug:17472228
Change-Id: I0d628b20efa424c049457b57b4a669670d3d51ed
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
266409c38f3de624c0ff51c4dacf756e26412559 26-Aug-2014 Yorke Lee <yorkelee@google.com> Remove call log actionbar elevation

Bug: 17260173
Change-Id: I587b01077a86e8a5715e8d5fd4583dd4480aa33b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
49db1addc0a5c8b111f810766a3f04d15747f49a 19-Aug-2014 Nancy Chen <nancychen@google.com> Reveal InCallUI from touch point in Dialer. COMPLETED.

Reveal now works from the favorites tiles, recent cards/call back,
search results, dialpad, and disambiguation dialog.

Bug: 15284651
Change-Id: I43ba1d7095b839ec24faa043de042048d36057b1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
7fa029f77d97aaa7227d961354f9a2e32dd63a95 30-Jul-2014 Sai Cheemalapati <saicheems@google.com> Changing Activities to implement Analytics (1/2).

Dialer's Activities now implement AnalyticsActivity.
All Activities now have access to sendHitEvent, which is a no op in
AOSP Dialer.

Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
5da21ca847fbb1303bdd92d7c9ced16f94f80674 25-Jul-2014 Yorke Lee <yorkelee@google.com> Merge "Allow intents to go directly to call log tabs" into lmp-dev
cdd957b7f6f3a91433bb2e138eb7bff654256dcd 09-Jul-2014 Yorke Lee <yorkelee@google.com> Allow intents to go directly to call log tabs

If the voicemail tab is preselected via an intent extra, wait (with a
timeout) until the list of voicemail providers is retrieved, before
setting the selected item in the viewpager.

Bug: 15830957

Change-Id: I0ef244cf38a2d5597292e78d30e3155afea6bc4e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
69c247f619fd2f2474070bdbcec32b78f6444149 22-Jul-2014 Yorke Lee <yorkelee@google.com> Make ViewPagerTabs and FABController RTL aware

* Underline in ViewPagerTabStrips is correctly drawn in RTL mode
* Clicking on ViewPagerTabs propogates correct onPageSelected position
to ViewPager
* FAB is now end aligned instead of right aligned
* ViewPager in Dialer is correctly reversed and behaves correctly
* Call Log groups headers in call log are now correctly aligned in RTL
Bug: 16162264
Bug: 16464471
Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
7437058d4c9fd10fdeb4e78166591e68629cd03c 21-Jul-2014 Brian Attwell <brianattwell@google.com> Move ViewPagerTabs out of Dialer repo

Bug: 16158921
Bug: 15616182
Change-Id: Ie648d78dd4df402936c4665eca7c6998e463ca2b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
9686330691f1216edff0ffa779138bda43388c47 15-Jul-2014 Sai Cheemalapati <saicheems@google.com> Added a dialog to confirm caller id reporting (1/2).

Database and call log are now updated when user confirms.

Bug: 11150383
Change-Id: Ic716e92bcb2280c1d352bd2232bda516e83349b2
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
c44a26cd4de71485047ab3b6c68c9250c02bb27a 16-Jul-2014 Sai Cheemalapati <saicheems@google.com> Revert "Added a dialog to confirm caller id reporting."

This reverts commit cee1e65f0c411e35c4521922c3e9def13e01fe64.

Change-Id: Ic50fd443856ea7e22714423939ac782cd4e89276
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
cee1e65f0c411e35c4521922c3e9def13e01fe64 15-Jul-2014 Sai Cheemalapati <saicheems@google.com> Added a dialog to confirm caller id reporting.

Database and call log are now updated when user confirms.

Bug: 11150383
Change-Id: Iafaca2172f2d44a6edf8514f7d900888dab9cf0e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
4008ea307ed294326363d3c6af3d72bd4d03de48 08-May-2014 Yorke Lee <yorkelee@google.com> Correctly set OnpageChangedListener to ViewPagerTabs

Bug: 14631091
Change-Id: I150f3c8482faae02ff252288751755aa44c1a03b
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
5c2a2743026ec6f9ba0ae37f3de768ba7a8a9935 17-Apr-2014 Andrew Lee <anwlee@google.com> Only show voicemail tab if there is at least one active provider.

- In CallLogActivity's onResume, check the voicemail status and
update the tabs if the number of active voicemail providers has
changed.
- In ViewPagerTabs, remove all the child's views when setting the
view pager.
- Note: Tab will show if Google Voice is installed, even if it is not
enabled to view/play voicemails in the phone call log.

Bug: 10696509
Change-Id: Id4d68a0f7b04465534c711e10cff15d4a209ab78
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
0e8b0318a91143ad505cbf173a3f75a25a338696 17-Apr-2014 Yorke Lee <yorkelee@google.com> Remove deprecated Actionbar tabs in CallLogActivity

Bug: 10510027
Change-Id: I05e9ee28b1bac74cf5f0dad349bce94659118fee
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
470fc45faecfdcea385ffca127162419cf7417e6 16-Apr-2014 Andrew Lee <anwlee@google.com> Add voicemail tab to call history tab bar.

- Add new CallLogFragment for voicemails in CallLogActivity.
- Provide new empty message in CallLogFragment.
- Add voicemail title string to strings.xml.
- Removed some unused imports and variables.

Bug: 10696509
Change-Id: I2ba9e0cfdb8cda73d7e61712559020f2857992a1
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
9e91bb0709f420a8c19c344965cc1410a38bccd5 06-Mar-2014 Yorke Lee <yorkelee@google.com> Fix overdraw in Dialer

* Set window background to null per framework advice to reduce
overdraw
* Remove unnecessary background layers
* Fix the slightly deeper gray background above the searchbox
Bug: 10446771

Change-Id: Ie11db155593c7ea2118141aec876da37be35a7d5
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
c862579023158f416fd86177d20eb1cbe7f6f3da 24-Sep-2013 Yorke Lee <yorkelee@google.com> Fix clear call log option in overflow menu

Bug: 10895974
Change-Id: I4259602709705665aefddba38784667faa6d50aa
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
7cfb9c2ffe0fb86498d342065a1f0b19dd887fff 14-Sep-2013 Yorke Lee <yorkelee@google.com> Change header font

Bug: 10725796
Change-Id: Id59abaea18f6d238d31946016737c3d8c703039a
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
8898cd0577d41cfa4e6acf785c9e904bd71fbdfd 08-Aug-2013 Yorke Lee <yorkelee@google.com> Removing and renaming classes from Dialer

* No code was changed, just either removed or renamed
* Reshuffled a couple of ids around in dialpad_fragment to fix some
compile time errors that somehow weren't caught before
Change-Id: I9e2381edfb14b0940015deb8cbd94786a1242f43
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
9f6c8729714763d3385ea849f395e6a65f3a08d2 06-Aug-2013 Yorke Lee <yorkelee@google.com> Fix crash in onPrepareOptionsMenu

Bug: 10206013
Change-Id: If12a25329701d04e3d40b0d6f18154336d8c90a3
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
fb585079cc4c522c27f6dd6bf03fd296535960f3 04-Aug-2013 Yorke Lee <yorkelee@google.com> Code cleanup for call log related items

Change-Id: I2aa0458e1fb74abaea60a02f430a4e413dfed365
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java
c3766338b312f9c8a6bdb2facaf4b0a4bd199de4 31-Jul-2013 Yorke Lee <yorkelee@google.com> Switch from old dialer to new dialer

Change-Id: I51351f252338eee4d0be5723beafc044786b801e
/packages/apps/Dialer/src/com/android/dialer/calllog/CallLogActivity.java