summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-26Merge "Use new PowerManager API to implement voicemail proximity"Yorke Lee
2015-02-26Merge "Add DisplayOptions PreferenceFragment."Andrew Lee
2015-02-26Use new PowerManager API to implement voicemail proximityYorke Lee
This allows us to fully blank out the screen instead of faking a black screen leaving the nav bar and notification bar active. Bug: 11734938 Change-Id: I716642fa7f85776d1701d3b95736065dec4d2eac
2015-02-26Add DisplayOptions PreferenceFragment.Andrew Lee
- Remove display options from the general settings fragment. + Move display options into their own fragment, and add header in the top-level Dialer settingss which points to them. Bug: 19372734 Change-Id: I3452177ba5c31fd9e86dafbcf22eebd56c2bb091
2015-02-26Merge "Remove custom Preference.Header layout."Andrew Lee
2015-02-26Remove custom Preference.Header layout.Andrew Lee
This custom adapter was legacy from our implementation of Material design, but we should use the system default styling now. Bug: 19529041 Change-Id: Ie30e283bdc00895746c429a337cad19a95ac6b0f
2015-02-26Merge "QuickContacts can prioritize phone mimetype. Part2"Brian Attwell
2015-02-26am d8cd33b4: (-s ours) am 5173e266: (-s ours) Import translations. DO NOT MERGEGeoff Mendal
* commit 'd8cd33b403792c3782b879d60e60c66a318e7c1d': Import translations. DO NOT MERGE
2015-02-26Fix FrameLayout cast exception.Andrew Lee
I was seeing a ClassCastException: android.widget.FrameLayout cannot be cast to com.android.dialer.widget.SearchEditTextLayout. But, it's kind of bizarre, because it disappeared after I tried implementing this fix, even when creating what should have been a clean branch replicating the original conditions (?). In any case, this would make us more resilient to changes in the custom view used by the action bar by searching for the SearchEditTextLayout by id. Change-Id: I9f4909b55e4ef29562712643048eb3fb942ff684
2015-02-26am 5173e266: (-s ours) Import translations. DO NOT MERGEGeoff Mendal
* commit '5173e266dd0cc500d8d7e066ea603330d0d49830': Import translations. DO NOT MERGE
2015-02-26Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I652b84f67577e6187a46e1e4efee783c1e16ac99 Auto-generated-cl: translation import
2015-02-26QuickContacts can prioritize phone mimetype. Part2Brian Attwell
Whenever using QuickContacts in Dialer, make sure to prioritize the phone mimetype. Bug: 18391003 Change-Id: Ie5a93ad9e1919f470a638d4235d91fe337cb5ca3
2015-02-26Fix voicemail playback during rotation.gilles le brun
Avoid restarting the visual voice mail media player from the beginning while rotating the device. Bug: 18254556 Change-Id: I967fbcd8dbe9427b521de2b1830de040cca674c7 Signed-off-by: gilles le brun <gilles.lebrun.pro@gmail.com>
2015-02-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I39bf90d02af7c90784f52184a6dea12cfcf1f474 Auto-generated-cl: translation import
2015-02-25Merge "Adding disabled colors for settings."Tyler Gunn
2015-02-23Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib49eb005c5ce4bcfa98fd55542e4a8451d8b6626 Auto-generated-cl: translation import
2015-02-20Merge "Add cache for isVoicemail check."Santos Cordon
2015-02-19Add cache for isVoicemail check.Santos Cordon
bindView() gets called many times at dialer startup and layout updates. Besides being costly, it invokes cross-process TelecomManager methods. This change addresses the cross-process issues by adding a short-lived cache to isVoicemail() method invocations. Change-Id: Ib69c0eb3969a1b7d77c9fd1a2aa6e578a31fb5e9
2015-02-20Merge "Postpone enabling of layout transition"Yorke Lee
2015-02-19Postpone enabling of layout transitionYorke Lee
Enable layout transition only when call shortcut is dismissed, to prevent the layout from sliding down at startup. Change-Id: Id218b5e3eb89b5df5aee30f35c036d2860541294
2015-02-19Merge "Move QuickResponseSettings to top-level."Andrew Lee
2015-02-19Move QuickResponseSettings to top-level.Andrew Lee
+ Add "Quick responses" header to DialerSettingsActivity. - Delete code in GeneralSettingsFragment related to quick responses. - Delete the RespondViaSms PreferenceScreen from the general settings layout. - Remove unused "other" label string. Bug: 19372734 Change-Id: I5067da19b1eab5aa370e687556b368c7bd010e2c
2015-02-17Merge "Remove shortcut cards list view"Yorke Lee
2015-02-17Remove shortcut cards list viewYorke Lee
Remove ListView containing shortcut cards and replace it with a single ShortcutCard card. Rename ShortcutCardAdapter to ShortcutCardManager with slight refactor. Some corresponding logic changes inside ListsFragment. Reduces the number of getView calls at startup from 4 to 1. Change-Id: I11787bdb1d04cc19634c21bfd398b7533c75d339
2015-02-12am 3adaf780: (-s ours) am 02ef7720: (-s ours) Import translations. DO NOT MERGEGeoff Mendal
* commit '3adaf7803bff010e8df0c087e362032e3d8c74e5': Import translations. DO NOT MERGE
2015-02-12am 02ef7720: (-s ours) Import translations. DO NOT MERGEGeoff Mendal
* commit '02ef7720e5e59a6731be1fcd7dba0b190d3a415a': Import translations. DO NOT MERGE
2015-02-12Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I1fafb25fbbb747d8df68fbe5100be400f7b7e176 Auto-generated-cl: translation import
2015-02-06am 328089ed: am 26be9374: am 06d7d08e: Fix voicemail playback position controlJay Shrauner
* commit '328089ed9e83eb007b3db8f9a7580de87f029732': Fix voicemail playback position control
2015-02-06am 26be9374: am 06d7d08e: Fix voicemail playback position controlJay Shrauner
* commit '26be9374834c61bcd1d2c267d42253ca7524b4dd': Fix voicemail playback position control
2015-02-06am 06d7d08e: Fix voicemail playback position controlJay Shrauner
* commit '06d7d08ecac60bca1472b5e380db7ce6fad0ea43': Fix voicemail playback position control
2015-02-06Fix voicemail playback position controlJay Shrauner
Bug:19255194 Change-Id: I8eabe46ef6fff774291e3f943051c24eca8a00e0
2015-02-05Adding disabled colors for settings.Tyler Gunn
This mimics what we've had to do in Telephony settings. Bug: 19237764 Change-Id: I78c7d2b3901f29a12c606aa823cd9abfb0db106a
2015-02-05Merge "Set adapter's query string to restore state."Andrew Lee
2015-02-05Merge "Extract SwipeableShortcutCard into its own class"Yorke Lee
2015-02-05Extract SwipeableShortcutCard into its own classYorke Lee
Intial work to separate shortcut card view logic and the actual adapter to prepare for removal of the shortcut cards list view. Change-Id: Ie102fcd1d0d7be13c326cdf4c47502194a2f5ad6
2015-02-04Set adapter's query string to restore state.Andrew Lee
Before, the adapter was losing the query string on rotation, when the fragment and adapter were torn down and then restored. As such, when setQueryString in the adapter was called, the formatted query string would be null and it would not show the shortcuts. Bug: 18634760 Change-Id: I7f29636b7d035b9b41ba81f3fdb626bf1fa26dd5
2015-02-04am f4f09521: am 2e7ea428: am 7aaf2414: Fixing issue where carrier name shows ↵Tyler Gunn
up in call log on single sim devices. * commit 'f4f09521c20134fb2690c6a58e4ce203e0055d9c': Fixing issue where carrier name shows up in call log on single sim devices.
2015-02-04Merge "Convert unnecessary RelativeLayout to FrameLayout"Yorke Lee
2015-02-04am 2e7ea428: am 7aaf2414: Fixing issue where carrier name shows up in call ↵Tyler Gunn
log on single sim devices. * commit '2e7ea428be632749f9e1a2b716e09fd493028547': Fixing issue where carrier name shows up in call log on single sim devices.
2015-02-04am 7aaf2414: Fixing issue where carrier name shows up in call log on single ↵Tyler Gunn
sim devices. * commit '7aaf24148e874e7a2f8565af49564fe272eff7f2': Fixing issue where carrier name shows up in call log on single sim devices.
2015-02-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If1858489c9100a718221ea4d191d592b29470178 Auto-generated-cl: translation import
2015-02-04Merge "Move CallUtil into Dialer. P1/3"Brian Attwell
2015-02-03Move CallUtil into Dialer. P1/3Brian Attwell
CallUtil relies on the a priviliged intent that should only be used by system apps. Therefore, it shouldn't be used by an unbundled Contacts app. I'm leaving one (isVideoEnabled) method from CallUtil inside ContactsCommon. This way, when the changes that Tyler made inside m-wireless-telephony-shamu-dev (b/19062133) get merged back into master both ContactsCommon and Dialer will be updated. Bug: 18777272 Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
2015-02-04Merge "Add DialpadFragment on-demand instead at on startup"Yorke Lee
2015-02-03Convert unnecessary RelativeLayout to FrameLayoutYorke Lee
Change-Id: I8b68eadf13f581d10b92ae58eb78d04f31a6ff60
2015-02-03Fixing issue where carrier name shows up in call log on single sim devices.Tyler Gunn
Fixes a bug introduced in ag/608822. Reverts the code for the getAccountOrNull method and modifies getAccountColor to have the special-case cose which was in getAccountOrNull. Bug: 19248327 Change-Id: I558cdbd8d9994a1f07f82073ba35e9ec69693a2a
2015-02-02Add DialpadFragment on-demand instead at on startupYorke Lee
Add the DialpadFragment dynamically instead of everything at startup. Once added, it is then shown/hidden instead of removed for performance reasons. Reduces startup time on a N5 from 603ms to 440ms. Bug: 18431193 Change-Id: I0482bd8277896ed8a6956fc03b6afaf44b442eb3
2015-02-02Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I25ccbbf38ac84b73bccad7353c84d99c97dd9772 Auto-generated-cl: translation import
2015-01-28Add systrace events to track Dialer startup performanceYorke Lee
Bug: 18431193 Change-Id: I92db4ae61405d8d8445b72e7ac0daa0794af8335
2015-01-28Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I64ed31bf89de2a60bda72a2e9004fbc6e4029f3a Auto-generated-cl: translation import
2015-01-22am a6993193: am 67ceb111: am 7c35a8e9: Merge "Fix crasher due to ↵Anthony Lee
IndexOutOfBoundsException" into lmp-mr1-dev * commit 'a69931938e85735a5762ef108a71b10850e59a2d': Fix crasher due to IndexOutOfBoundsException
2015-01-22am 67ceb111: am 7c35a8e9: Merge "Fix crasher due to ↵Anthony Lee
IndexOutOfBoundsException" into lmp-mr1-dev * commit '67ceb111e606192883f34441832f6c1b203f910a': Fix crasher due to IndexOutOfBoundsException
2015-01-22am 7c35a8e9: Merge "Fix crasher due to IndexOutOfBoundsException" into ↵Anthony Lee
lmp-mr1-dev * commit '7c35a8e9d185b044b4913b548a6245d46a589be3': Fix crasher due to IndexOutOfBoundsException
2015-01-22Merge "Fix crasher due to IndexOutOfBoundsException" into lmp-mr1-devAnthony Lee
2015-01-22am 41de09ed: am 8f211310: am 2752f32c: Merge "Ensure sim color is shown on ↵Tyler Gunn
multi-sim devices when only one sim installed." into lmp-mr1-dev * commit '41de09ed166180a190f830f3f4c554a14acaa17f': Ensure sim color is shown on multi-sim devices when only one sim installed.
2015-01-22am 8f211310: am 2752f32c: Merge "Ensure sim color is shown on multi-sim ↵Tyler Gunn
devices when only one sim installed." into lmp-mr1-dev * commit '8f211310d8b1df4af69fb59056702af198ef5586': Ensure sim color is shown on multi-sim devices when only one sim installed.
2015-01-22am 2752f32c: Merge "Ensure sim color is shown on multi-sim devices when only ↵Tyler Gunn
one sim installed." into lmp-mr1-dev * commit '2752f32c817bed63fd6afde6d3e970681b6ecdef': Ensure sim color is shown on multi-sim devices when only one sim installed.
2015-01-22Fix crasher due to IndexOutOfBoundsExceptionAnthony Lee
Make sure that we check for the index to exist in the list before we query for it. The problem is that the index is grabbed from the listview but then applied to the contact entry arraylist. It is possible that these two are out of temporarily out of sync. This check will make sure that we do not throw an exception in those cases. Bug: 19103509 Change-Id: Iba620ec859866b9f8bfc2614a17b1b1a11037230
2015-01-22Merge "Ensure sim color is shown on multi-sim devices when only one sim ↵Tyler Gunn
installed." into lmp-mr1-dev
2015-01-20Merge "Ensure sim color is shown on multi-sim devices when only one sim ↵Tyler Gunn
installed."
2015-01-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I5062e3e09421b7810625acd032972b1c4e7bbe2d Auto-generated-cl: translation import
2015-01-17am 8dd7ab8d: am ac54b6f5: am 1eb16ea1: When dialing voicemail, check ↵Nancy Chen
voicemail number of correct default SIM. * commit '8dd7ab8dd07641dd1b82ef39127f2f5c8edd341b': When dialing voicemail, check voicemail number of correct default SIM.
2015-01-17am ac54b6f5: am 1eb16ea1: When dialing voicemail, check voicemail number of ↵Nancy Chen
correct default SIM. * commit 'ac54b6f530937d84de26458caab5a7a2055b4cb0': When dialing voicemail, check voicemail number of correct default SIM.
2015-01-17am 1eb16ea1: When dialing voicemail, check voicemail number of correct ↵Nancy Chen
default SIM. * commit '1eb16ea1adca302ff19f64d6ae55e586194a6127': When dialing voicemail, check voicemail number of correct default SIM.
2015-01-16When dialing voicemail, check voicemail number of correct default SIM.Nancy Chen
Before dialing voicemail when a default SIM is set, Dialer checks first if it has a valid voicemail number. However, the previous code was checking the voicemail number of the first SIM as opposed to the default SIM. This change corrects the logic. Bug: 18938231 Change-Id: Ia83aa44bc773e99aabbe7474439d22eb1c4e6fd9
2015-01-13am a873bec4: am 28f5a953: am e8d45249: Merge "Launch CircularRevealActivity ↵Yorke Lee
as singleInstance" into lmp-mr1-dev * commit 'a873bec43b778599197a28998b9d434cb9e0004f': Launch CircularRevealActivity as singleInstance
2015-01-13Ensure sim color is shown on multi-sim devices when only one sim installed.Tyler Gunn
- Removed telecomManager check hasMultipleCallCapableAccounts() which would only return 1 when a single sim is installed in a multisim phone. - For single-sim devices, the Sim color is 0 (ie not selected) for the Sim PhoneAccount, so the default behavior is to not show a sim color. Bug: 18696518 Change-Id: I8bbb956e204422e122b3c50e6fc98c2916151aa4
2015-01-13am 28f5a953: am e8d45249: Merge "Launch CircularRevealActivity as ↵Yorke Lee
singleInstance" into lmp-mr1-dev * commit '28f5a953f238bd2ac580314450fd43fb9e45fb32': Launch CircularRevealActivity as singleInstance
2015-01-13am e8d45249: Merge "Launch CircularRevealActivity as singleInstance" into ↵Yorke Lee
lmp-mr1-dev * commit 'e8d45249118ddb43ed4e8e999c9e8b60d95b0f41': Launch CircularRevealActivity as singleInstance
2015-01-13Merge "Launch CircularRevealActivity as singleInstance" into lmp-mr1-devYorke Lee
2015-01-12Launch CircularRevealActivity as singleInstanceYorke Lee
Start the activity as the only activity in its task so that Dialer will not remain on the task stack after the call is ended. Bug: 18932141 Change-Id: I18f780df4a9ddfe2bef56f27b79a9ff5efbe9d86
2015-01-09Add null checksJay Shrauner
Bug: 18959494 Change-Id: I6dca7a8696b3dc0d104cba974644e1c3a5179024
2015-01-09am bcbf5b1a: am 935dc32e: am 97d15c72: Merge "Fixing overlap pane offset ↵Tyler Gunn
when shortcut card disappears." into lmp-mr1-dev * commit 'bcbf5b1ac1eb65fc679c5b6e9c28a1af0c71fc65': Fixing overlap pane offset when shortcut card disappears.
2015-01-09am 935dc32e: am 97d15c72: Merge "Fixing overlap pane offset when shortcut ↵Tyler Gunn
card disappears." into lmp-mr1-dev * commit '935dc32e4a9302e9c121cd0a18b00f0e565c2bef': Fixing overlap pane offset when shortcut card disappears.
2015-01-09am 97d15c72: Merge "Fixing overlap pane offset when shortcut card ↵Tyler Gunn
disappears." into lmp-mr1-dev * commit '97d15c727747c36e0fbddf9e60de9442c67b9875': Fixing overlap pane offset when shortcut card disappears.
2015-01-08Merge "Fixing overlap pane offset when shortcut card disappears." into ↵Tyler Gunn
lmp-mr1-dev
2015-01-08am ebc7ab5c: am 375de525: am 69df0042: Set track drawable to null to remove ↵Andrew Lee
grey track. * commit 'ebc7ab5c42240d8cfbb34245d7e996091c480aaa': Set track drawable to null to remove grey track.
2015-01-08am 375de525: am 69df0042: Set track drawable to null to remove grey track.Andrew Lee
* commit '375de5258fd086d3e9abee85a7ee015ed3f1d86b': Set track drawable to null to remove grey track.
2015-01-08am 69df0042: Set track drawable to null to remove grey track.Andrew Lee
* commit '69df0042548e3d19c4b2f11c320647e922e2542f': Set track drawable to null to remove grey track.
2015-01-07Set track drawable to null to remove grey track.Andrew Lee
Bug: 18933278 Change-Id: I1b351de91c54b7273d9af6f8ea425b4837cc4d8e
2015-01-07am 258ea936: am 25fe0412: Merge "Track changes to libphonenumber."Narayan Kamath
* commit '258ea9361cc993f3208934015c965b2987b647ca': Track changes to libphonenumber.
2015-01-07am 25fe0412: Merge "Track changes to libphonenumber."Narayan Kamath
* commit '25fe04123fed669beb78dd6a3ee9e8a48d1c61e5': Track changes to libphonenumber.
2015-01-07Merge "Track changes to libphonenumber."Narayan Kamath
2015-01-06Track changes to libphonenumber.Narayan Kamath
We now build from source and include both libgeocoder and libphonenumber in the same jar. They were always included together anyway. Change-Id: I401bd98731ab68f20e24383b13e33b56b9c10889
2015-01-05Ensure sim color is shown on multi-sim devices when only one sim installed.Tyler Gunn
- Removed telecomManager check hasMultipleCallCapableAccounts() which would only return 1 when a single sim is installed in a multisim phone. - For single-sim devices, the Sim color is 0 (ie not selected) for the Sim PhoneAccount, so the default behavior is to not show a sim color. Bug: 18696518 Change-Id: I8bbb956e204422e122b3c50e6fc98c2916151aa4
2015-01-05Unbundle PhoneCommon 2/2Brian Attwell
Move getVibrateWhenRingingSetting() to the only place it is used, inside Dialer. This way we don't need to unhide the Settings.VIBRATE_WHEN_RINGING. Bug: 18777272 Change-Id: I18d1d6e19b0efa1f56985e63d917c398c957f5ab
2014-12-30Fixing overlap pane offset when shortcut card disappears.Tyler Gunn
When the shortcut card was hidden due to the call log being cleared, the offset for the overlapping pane needed to be recalculated based on the new height of the top portion of the dialtacts activity. Bug: 18849546 Change-Id: Ib5953a2a537e9a7520d4f022e43fa974f67eb410
2014-12-29am cfa4830d: am a28d2c90: am 56e15541: Fix for clear call log dialog not ↵Yorke Lee
being dismissed * commit 'cfa4830df532df149aa163d3ec5e737c5024a3fa': Fix for clear call log dialog not being dismissed
2014-12-29am 845bdec5: (-s ours) am 11cef1d8: (-s ours) am fa584b69: (-s ours) Import ↵Baligh Uddin
translations. DO NOT MERGE * commit '845bdec5a9333bd21f2bc9355166ff686b05ba9b': Import translations. DO NOT MERGE
2014-12-29am 52838889: (-s ours) am a7dbcfe7: (-s ours) Import translations. DO NOT MERGEBaligh Uddin
* commit '52838889a2aa68e7d3d47b6b2621cfc9fda09e47': Import translations. DO NOT MERGE
2014-12-29am a28d2c90: am 56e15541: Fix for clear call log dialog not being dismissedYorke Lee
* commit 'a28d2c906146b3811187fc07d627379e4fec0d9f': Fix for clear call log dialog not being dismissed
2014-12-29am 11cef1d8: (-s ours) am fa584b69: (-s ours) Import translations. DO NOT MERGEBaligh Uddin
* commit '11cef1d83a3111cf6ff6359e2a822a6ca17fc4af': Import translations. DO NOT MERGE
2014-12-29am a7dbcfe7: (-s ours) Import translations. DO NOT MERGEBaligh Uddin
* commit 'a7dbcfe78122161c3cae9e0213ae33a3039c79d1': Import translations. DO NOT MERGE
2014-12-29am 56e15541: Fix for clear call log dialog not being dismissedYorke Lee
* commit '56e15541106a28a1cf03088a6cef7dab9dc3a8c3': Fix for clear call log dialog not being dismissed
2014-12-23Fix for clear call log dialog not being dismissedYorke Lee
This CL fixes a bug that could result in the progress dialog that appears when clearing call logs to never be dismissed. The cause of this bug is a race condition that causes the original dialog fragment to be detached from the parent activity before the progress dialog is dismissed. If that happens, the progress dialog is never dismissed and stays on screen forever. This CL fixes this by assigning the activity to the dialog explicitly and retrieving it when trying to dismiss it. Bug: 18836384 Change-Id: I5f8941e13dc7eb962b23e828cf47bc64f2b1a2aa
2014-12-23am fa584b69: (-s ours) Import translations. DO NOT MERGEBaligh Uddin
* commit 'fa584b69a579523c9df0e7ec1ea7748587821014': Import translations. DO NOT MERGE
2014-12-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I2f940ef341a2fbe051fc8bcd19faabc203adaa84 Auto-generated-cl: translation import
2014-12-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I438f4f01d7849097b669614281c97e3f7ab1978a Auto-generated-cl: translation import
2014-12-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I394c66ce43c99ed9f194c45f90b8c931dd1a6a0d Auto-generated-cl: translation import
2014-12-19am e2c0bdb5: am 38a8d125: am d9a401da: Merge "Fix ClassCastException in ↵Yorke Lee
CallLogFragment" into lmp-mr1-dev * commit 'e2c0bdb5af0a12f8c0ca5ac82b1cb659be53befa': Fix ClassCastException in CallLogFragment