summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-15Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'Vinit Deshpande
2015-03-11Fix break, add drawables.Andrew Lee
These were originally forgotten to be git-added, then were but were never uploaded. So, it compiled locally because the files existed, but broke when it was submitted. Change-Id: If46153336d2a49eef69e76b5213b1db5881a269a
2015-03-11Merge "Replace tabs-text with icons."Andrew Lee
2015-03-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I596c5fb861956f63330b39c757112e22572f9805 Auto-generated-cl: translation import
2015-03-10Merge "Show corp contacts in call-log..."Makoto Onuki
2015-03-10Show corp contacts in call-log...Makoto Onuki
as wells as the missed-call notification. Just PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI instead of PhoneLookup.CONTENT_FILTER_URI. This CL requires the new column in calllog provider. Change-Id: I61a2f63bcad102cb8a7e8021483b7dfe254abd95
2015-03-09Merge "Add Accessibility settings to top-level."Andrew Lee
2015-03-09Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ieb3030f8c9431c2778a86267224cb03a7f38693c Auto-generated-cl: translation import
2015-03-06Replace tabs-text with icons.Andrew Lee
+ Add resources and drawables for icons to label the tabs. + Pass drawable ids to the ViewPagerTabs in ListsFragment. Change-Id: Ib7b3fcaa2257fc439b6fae8b017646c3d150eb56
2015-03-06Remove OverlappingPaneLayout.Andrew Lee
- Remove the OverlappingPaneLayout, which is no longer needed since the recents card has been removed. - Known Issue: SearchBar is no longer hidden on scroll. - Known Issue: shouldShowActionBar does not return correct value. I plan to fix these KIs in a follow up CL, but going for incremental changes for now to try to keep it apparent what is being done. Bug: 19372817 Change-Id: I9ae1ca19820c87f252863074a5bcab6923b03558
2015-03-06Merge "Move DTMF length setting to Sound settings."Andrew Lee
2015-03-06Merge "Remove the shortcut/recents card."Andrew Lee
2015-03-05Remove the shortcut/recents card.Andrew Lee
- Delete SwipeableShortcutCard, ShortcutCardsManager. - Remove related references in ListsFragment, layouts, helpers for swipe behavrio, dimensions, and ids. + Update sliding logic in ListsFragment. It's not ideal to use a frame layout to provide spacing/color, but this is the most straightforward way to maintain behavior for now. This can/should be revisited if removing the OverlappingPaneLayout. Bug: 19372817 Change-Id: I789119fb8f87ea19cda545eec7c722306fc2813d
2015-03-05Merge "Remove CircularRevealActivity"Yorke Lee
2015-03-04Move DTMF length setting to Sound settings.Andrew Lee
Bug: 19372734 Change-Id: I59742a36333b1923459b89c4f11f741feb4d3e78
2015-03-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib36b2ba4ea29af6bdfd6f0ff6ed40a7fae9446eb Auto-generated-cl: translation import
2015-03-02Add Accessibility settings to top-level.Andrew Lee
Followup CL will prevent this from showing if TTY Mode and HAC are not supported. Bug: 19372734 Change-Id: I8f1e93efab6447d2099d5eb6e734704d6632e299
2015-03-02Only consider toString value of TtsSpan for unit testsYorke Lee
Change-Id: I84da99d70801a6d1621de0883b801fa43ea5e5fd
2015-03-02Ignore all voicemails in the call log marked "deleted".Nancy Chen
With the addition of the visual voicemail sync adapter, we want to have a flag in the voicemail provider that will indicate that a voicemail was deleted but not yet synced to the server. However, we no longer want the entry to show up in the dialer call log, so make sure to ignore all voicemails marked with "deleted" when querying the call log table. Bug: 19236241 Change-Id: Ib80537c3b8630dd99b5e2b9b20d81015eafd114c
2015-03-02Add 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-03-02Merge "Fix some Dialer tests"Yorke Lee
2015-03-02Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I2993b70061cd21bfe92ab15fcdf8201499ee3a7a Auto-generated-cl: translation import
2015-02-27Fix some Dialer testsYorke Lee
Change-Id: I46188070997ebc9b69f7d9b5a8ba9cb3c221b743
2015-02-27Cleanup SoundSettingsFragment.Andrew Lee
+ No functional change, but cleaner / more robust code. + Converted preference keys into shared string constants. + Reorganized code in SoundSettingsFragment into clearer helpers. + Defined constants for "magic" values used for sound preferences. Bug: 19372734 Change-Id: Ic0eb44d72548909ae6c520b18e0f4e2a2d013ac6
2015-02-27Merge "Convert GeneralSettings to SoundSettings."Andrew Lee
2015-02-26Convert GeneralSettings to SoundSettings.Andrew Lee
Rather than create a new fragment for "Sounds and vibration", reuse the existing general settings fragment. The other settings which used to reside general settings have been moved into their own top-level settings fragments. + Rename layout file and fragment. + Tweak string names. - Delete category heading; no longer necessary. Bug: 19372734 Change-Id: I5690df7ecbd49da5d5af94889e6b68e053ce25ba
2015-02-26Merge "Rename DisplayOptions to DisplayOptionsSettings."Andrew Lee
2015-02-26Rename DisplayOptions to DisplayOptionsSettings.Andrew Lee
I figured this would be a better naming pattern for the settings. Bug: 19372734 Change-Id: I658b6e364bcdc6b41af2c41a98ecd84f5e64cadf
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-25Remove CircularRevealActivityYorke Lee
Change-Id: I178867378749f69c823ab1f7ebb9ac4f63d71b99
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-18Add ACCESS_WIFI_STATE permission to dialer.Andrew Lee
Bug: 19151850 Change-Id: I1e379651df60d10bb77f7fb91874ea8883afa536
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