summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPE in pausePlaybackJay Shrauner2015-07-031-1/+3
| | | | | | | Null check mActivity as we do in onPause Bug:22249553 Change-Id: I147fbd517696205a2eb478a6df032f50cbbd5b34
* Merge "Restore Dialer content after permissions granted" into mnc-devYorke Lee2015-07-014-1/+12
|\
| * Restore Dialer content after permissions grantedYorke Lee2015-07-014-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix dialer monkey NPEs" into mnc-devYorke Lee2015-07-013-6/+15
|\ \
| * | Fix dialer monkey NPEsYorke Lee2015-07-013-6/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | Monkey tests exposed a bug in Dialer where certain call shortcuts could show up if contacts permissions were disabled and the UI was changing quickly. Don't enable shortcuts by default, and make sure to correctly disable all shortcuts in the case of missing permissions. Bug: 22225052 Change-Id: Icdd81412f695860eb322d7ccdc30555591c584d0
* | Merge "Don't auto-expand first voicemail card" into mnc-devYorke Lee2015-07-011-5/+10
|\ \
| * | Don't auto-expand first voicemail cardYorke Lee2015-07-011-5/+10
| |/ | | | | | | | | Bug: 22127956 Change-Id: Ia1a62e799bf7b535da2390bc0e8fa62201b8a684
* | Merge "Ensure the EXTRA_SHOW_TAB is checked for all new intents." into mnc-devNancy Chen2015-07-012-5/+12
|\ \
| * | Ensure the EXTRA_SHOW_TAB is checked for all new intents.Nancy Chen2015-07-012-5/+12
| |/ | | | | | | | | | | | | | | | | | | onNewIntent is only called when the activity is already active so when an intent is sent to start the DialtactsActivity on a specific tab when the DialtactsActivity is not already active, the code to switch to the specific tab is not called. Move this code to onResume() instead. Bug: 21120186 Change-Id: I735eae22ca5de54f4c17688777b4309616f2c691
* / Protect against null mViewYorke Lee2015-06-301-3/+9
|/ | | | | Bug: 22194812 Change-Id: I95e07820ed97d02fe61ee3ceee62c7e76c6f1cb5
* Add long press actions to call logYorke Lee2015-06-291-1/+72
| | | | | | | | | | | | When a call log entry is long pressed, show a context menu that provides the following actions: 1) Copy to clipboard 2) Edit number before call Bug: 21453814 Change-Id: I796cffbec39847fd9c61891063217b15cb298479
* Merge "Accessibility fix for Dialer search results" into mnc-devYorke Lee2015-06-293-5/+79
|\
| * Accessibility fix for Dialer search resultsYorke Lee2015-06-293-5/+79
| | | | | | | | | | | | | | | | | | | | In portrait mode, resize the listview to fit above the dialpad, so that accessibility services can correctly traverse the view hierarchy. Bug: 20172384 Change-Id: I35fb49be7bea5d13d951c4d954ddaf9d8d12780e
* | Merge "Add missing null check in VoicemailPlaybackPresenter" into mnc-devYorke Lee2015-06-291-1/+3
|\ \
| * | Add missing null check in VoicemailPlaybackPresenterYorke Lee2015-06-291-1/+3
| |/ | | | | | | | | Bug: 22171979 Change-Id: Ia26ba711b888de3c787167bf9af99fcf26a80b7a
* | Merge "Remove voicemail tab in call history" into mnc-devYorke Lee2015-06-291-84/+7
|\ \ | |/ |/|
| * Remove voicemail tab in call historyYorke Lee2015-06-291-84/+7
| | | | | | | | | | Bug: 22169419 Change-Id: I512153e31a13df5f36bcb8dc00d53d55ba70117c
* | Merge "Cache repeated Telecom requests from call log." into mnc-devYorke Lee2015-06-2911-113/+203
|\ \
| * | Cache repeated Telecom requests from call log.Andrew Lee2015-06-2611-113/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Make the full search bar respond to clicks" into mnc-devYorke Lee2015-06-291-0/+1
|\ \ \
| * | | Make the full search bar respond to clicksYorke Lee2015-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 21663461 Change-Id: I79bf44f7956511e6894a122a98a69d7793b9a785
* | | | Null protect invocation of getContentResolver.Andrew Lee2015-06-261-1/+1
| |_|/ |/| | | | | | | | | | | Bug: 22118779 Change-Id: I9a11c2fc05f8a6f418bc0e6daa55dfb61707bd6a
* | | Merge "Revise layout/style of VoicemailPlaybackLayout." into mnc-devAndrew Lee2015-06-261-21/+31
|\ \ \ | |/ / |/| |
| * | Revise layout/style of VoicemailPlaybackLayout.Andrew Lee2015-06-251-21/+31
| |/ | | | | | | | | | | | | | | | | | | | | - Delete now-unused old icons. + Add new material icons for voicemail playback. + Rearrange buttons, padding/spacing. + Change ripple feedback when pressing button. + Use different text fields for total duration and state labels. Bug: 22070564 Change-Id: Ibc9b9908154ac0a846f828bb9707a61ab15f8ba5
* | Merge "Update some icons/styles used in Dialer." into mnc-devAndrew Lee2015-06-251-1/+1
|\ \
| * | Update some icons/styles used in Dialer.Andrew Lee2015-06-241-1/+1
| |/ | | | | | | | | Bug: 22070564 Change-Id: I7b0d691c18a011f1f61cc12fe063458560528bd4
* | Merge "Enable proximity sensor onPause." into mnc-devAndrew Lee2015-06-251-6/+15
|\ \
| * | Enable proximity sensor onPause.Andrew Lee2015-06-241-6/+15
| |/ | | | | | | | | | | | | + When using speakerphone, add flag to keep the screen on. Bug: 22047261 Change-Id: I4e28ab526218b4cc1f53f2ec98c4749f24ac95af
* | Merge "Fix potential crash if uri is unavailable." into mnc-devNancy Chen2015-06-241-0/+4
|\ \ | |/ |/|
| * Fix potential crash if uri is unavailable.Nancy Chen2015-06-231-0/+4
| | | | | | | | | | | | | | | | | | If the voicemail is in the process of deleting, the uri may be unavailable after the async task has started executing. Make a null check first. Bug: 21978479 Change-Id: I0ec93e66b055c4e5d9ce2743a3cffc689c835f78
* | Merge "Expand the first call log item for new cursors." into mnc-devAndrew Lee2015-06-241-2/+19
|\ \
| * | Expand the first call log item for new cursors.Andrew Lee2015-06-231-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | This increases discoverability of the expand actions, and also makes it quicker to interact with the most recent items. Bug: 21960523 Change-Id: I6aefdd5b96a86177b26ecc59879d1a787115221a
* | | Merge "Show transcriptions in voicemail notifications." into mnc-devAndrew Lee2015-06-241-7/+32
|\ \ \
| * | | Show transcriptions in voicemail notifications.Andrew Lee2015-06-231-7/+32
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | + Get transcript when obtaining information for notification. + If there is only one voicemail, show the transcription in the expanded/long text of the notification. Bug: 21762588 Change-Id: I35958f863d6622147032561121073960a30a6f0e
* | | Merge "Add a promo card for visual voicemail." into mnc-devNancy Chen2015-06-242-8/+209
|\ \ \
| * | | Add a promo card for visual voicemail.Nancy Chen2015-06-232-8/+209
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The promo card explains what visual voicemail is, along with a link to settings to disable it and an ok button to dismiss it. Also move common resources from GoogleDialer to the respective resource files. Bug: 21086059 Change-Id: Iecfe778b815fb572667d0cecdb958205ec1b48a0
* | | Merge "Protect against null context." into mnc-devAndrew Lee2015-06-241-2/+2
|\ \ \
| * | | Protect against null context.Andrew Lee2015-06-231-2/+2
| |/ / | | | | | | | | | | | | Bug: 22031896 Change-Id: I2da646a30a119c5be07dba8ad71c8e902969454e
* | | Merge "Protect against CP2 crash in Dialer" into mnc-devYorke Lee2015-06-241-1/+1
|\ \ \
| * | | Protect against CP2 crash in DialerYorke Lee2015-06-231-1/+1
| |/ / | | | | | | | | | | | | Bug: 21755796 Change-Id: I81a337db0728455ffa72b3067bc5d2260dd03db8
* | | Merge "Add extra to jump to DialtactsActivity tab." into mnc-devAndrew Lee2015-06-243-5/+45
|\ \ \ | |/ / |/| |
| * | Add extra to jump to DialtactsActivity tab.Andrew Lee2015-06-233-5/+45
| |/ | | | | | | | | | | | | | | | | + For the voicemail notification, jump to voicemail tab. + Jump through some hoops to handle this properly when waiting for the voicemail status to be retrieved. Bug: 21120186 Change-Id: I5a82f3ecafadb45246e6637e8275a09f78cc188a
* | Merge "Set FAB to invisible on hide if no animation." into mnc-devAndrew Lee2015-06-221-2/+7
|\ \
| * | Set FAB to invisible on hide if no animation.Andrew Lee2015-06-191-2/+7
| |/ | | | | | | | | | | | | | | ScaleIn animation will not trigger if FAB is already visible, so if we don't scaleOut, set the visibility of the FAB to GONE. Bug: 21903907 Change-Id: I25ef78ca4e042665d62c40b791d7217310515597
* | Merge "Rewrite of MediaPlayer logic." into mnc-devAndrew Lee2015-06-204-130/+198
|\ \
| * | Rewrite of MediaPlayer logic.Andrew Lee2015-06-194-130/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Control MediaPlayer instance more tightly. Wait until prepareContent to initialize instance. Release MediaPlayer when it is no longer needed. + Instead of using isFinishing, check explicitly for orientation change to know whether to release MediaPlayer. + Change Presenter to singleton, to address audio change wonkiness. + Only create a Presenter if the call log fragment shows voicemail. + ... fixing a variety of cases. - Temporarily disable proximity sensor until blocking issue is fixed. Bug: 21856243 Change-Id: Ic06e98bb5278467c3cce726a06b6cf3d855861a2
* | | Visual indicator that voicemail is unread.Nancy Chen2015-06-193-5/+20
| |/ |/| | | | | | | | | | | | | Bold the text for unread voicemail messages. Bug: 21086059 Change-Id: Ieb07c7fa22a91669faeb425dabb60b1176ec1091
* | Merge "Cache whether voicemail tab should be shown." into mnc-devAndrew Lee2015-06-191-11/+12
|\ \
| * | Cache whether voicemail tab should be shown.Andrew Lee2015-06-181-11/+12
| |/ | | | | | | | | Bug: 21530107 Change-Id: Ib3023e7100157d6e061542075f0930a6b622e516
* | Merge "Do not set type label if "Custom"." into mnc-devAndrew Lee2015-06-181-1/+3
|\ \ | |/ |/|