summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-18Add ACCESS_WIFI_STATE permission to dialer.Andrew Lee
Bug: 19151850 Change-Id: I1e379651df60d10bb77f7fb91874ea8883afa536
2015-02-06Fix voicemail playback position controlJay Shrauner
Bug:19255194 Change-Id: I8eabe46ef6fff774291e3f943051c24eca8a00e0
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-01-22Merge "Fix crasher due to IndexOutOfBoundsException" into lmp-mr1-devAnthony Lee
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-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-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-08Merge "Fixing overlap pane offset when shortcut card disappears." into ↵Tyler Gunn
lmp-mr1-dev
2015-01-07Set track drawable to null to remove grey track.Andrew Lee
Bug: 18933278 Change-Id: I1b351de91c54b7273d9af6f8ea425b4837cc4d8e
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
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-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-23Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I394c66ce43c99ed9f194c45f90b8c931dd1a6a0d Auto-generated-cl: translation import
2014-12-19Merge "Fix ClassCastException in CallLogFragment" into lmp-mr1-devYorke Lee
2014-12-19Merge "Correctly set visibility of reused shortcut card" into lmp-mr1-devYorke Lee
2014-12-19Merge "Handle SQLiteFullExceptions" into lmp-mr1-devJay Shrauner
2014-12-18Correctly set visibility of reused shortcut cardYorke Lee
Bug: 18796407 Change-Id: Ib3001ac08e64b4efa04a2d9915abe2177475bbe1
2014-12-18Merge "Improve Talkback for "Speed dial" user interface" into lmp-mr1-devIhab Awad
2014-12-16Handle SQLiteFullExceptionsJay Shrauner
Don't crash if unable to update the call log contact info cache because the disk is full. Bug:18770948 Change-Id: I4156581df0742d58ed28eeb0c767923e0bc78507
2014-12-16Merge "Check for cases before clearing dialog." into lmp-mr1-devAndrew Lee
2014-12-15Fix ClassCastException in CallLogFragmentYorke Lee
Use listview instead of root view as parent when inflating footer view so that it is always inflated with AbsListView.LayoutParams Bug: 18762303 Change-Id: If9f5a38017d07d35962881750e2b403aa95287cb
2014-12-15Check for cases before clearing dialog.Andrew Lee
It's possible that it may no longer be necessary to dismiss this specific dialog. For example, there may have been a rotation; in those cases, we expect the DialogFragment to cleanup/dismiss its own dialog. Bug: 18728214 Change-Id: I307c299b1f0a6dabebaf4ac6af1d126bf548b190
2014-12-15Improve Talkback for "Speed dial" user interfaceIhab Awad
Bug: 18738114 Change-Id: I3148d6c78561bf369d4ddbab09bf2fb9c7a7966b
2014-12-12Avoid spurious Talkback notificationsIhab Awad
Bug: 18678952 Change-Id: I2f15cad4b71ba780e6ed860b5dd67c745a3b4823
2014-12-10Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6e808b1fe0b0a1ac68882ad7ed0b65af6f63112d Auto-generated-cl: translation import
2014-12-09Fix potential NPE when generating accessibility text.Tyler Gunn
Traced through the original bug report; the problem is that a call to TextUtils.expandTemplate was being made with a null 2nd parameter. I traced through the callers to find out where a null could be introduced and I was unable to identify a potential source. This change introduces a last-ditch null check to protect against problems upstream. Bug: 18684529 Change-Id: I7b608dfedf052d6933e94d1f23a658763b66059a
2014-12-08Merge "Use a BroadcastReceiver for Dialpad behavior upon call hangup." into ↵Nancy Chen
lmp-mr1-dev
2014-12-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Idd2760942799e7b4481470ae09784480e6d22cdf Auto-generated-cl: translation import
2014-12-08Use a BroadcastReceiver for Dialpad behavior upon call hangup.Nancy Chen
The case handled here is when a user is in the Dialer app while there is a call in progress and then the call ends, the Dialpad should revert to its "normal" mode, i.e. digits. The previous approach, using PhoneStateListener, was safe for single SIM phones, but no longer works on Multi-SIM phones because a PhoneStateListener only listens to state changes from a single subscription (e.g. SIM). A more robust way of knowing when a call hass ended is to receive a TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcast. Bug: 18269410 Change-Id: I9b0578d4281bc75d0f804dc695f4bd1a9c02f2cd
2014-12-05Add Text-to-Speech annotations for phone number displays (3/3)Ihab Awad
Bug: 17321294 Change-Id: Icc712da80e25e5a5294986ece055fcffaa558f1e
2014-12-05Updating "Add Contact" to pre-populate full contact info.Tyler Gunn
1. For recent call entries with a name and phone number, the name will now also be added. 2. For recent call entries which have complete address information provided by nearby places, all information except the contact photo will be added. The contact photo is excluded, as the ContactsLoader would attempt to load the contact photo while parsing the contact information. On a slow connection this could cause a noticeable pause while adding the contact. Bug: 17308163 Change-Id: If2e78bd1257096b344ff2dd266dcdbaeed4f1471
2014-12-05Merge "Bypass Dialpad code and allow InCallUI check voicemail number for ↵Nancy Chen
MSIM." into lmp-mr1-dev
2014-12-05Merge "Expand search bar text to vertically fit on small devices." into ↵Nancy Chen
lmp-mr1-dev
2014-12-05Merge "Improve outgoing call UI responsiveness" into lmp-mr1-devYorke Lee
2014-12-04Expand search bar text to vertically fit on small devices.Nancy Chen
The text "Search contacts & places" gets cut off because the small size of certain devices causes the text to spill over to a second line. Use "wrap_content" for height instead of "search_box_icon_size" Bug: 18552411 Change-Id: I2263aca687d1d2a431146d057099980970df75f0
2014-12-04Bypass Dialpad code and allow InCallUI check voicemail number for MSIM.Nancy Chen
Since user needs to select a subscription before Dialer can check whether a voicemail number is set up for a certain subscription, go directly to calling voicemail when the user dials '1' on a MSIM phone where 'Ask first' is set. Bug:18233678 Change-Id: I10dd56c14bfb98e4f8410e2de400da44e328682f
2014-12-04Merge "Import translations. DO NOT MERGE" into lmp-mr1-devGeoff Mendal
2014-12-03Merge "Pass string key when updating ringtone." into lmp-mr1-devAndrew Lee
2014-12-03Merge "Set content inset end to 0." into lmp-mr1-devAndrew Lee
2014-12-03NPE fix.Anthony Lee
Make sure that we check the validity of the label before we call a method on it. Also removed import of unused package. Bug: 18572439 Change-Id: I4b9ae0b4ace4129fe92dcbd9abecc12620d45a86
2014-12-03Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6ea3394f3659ee881e36e33650a946a1cfe4ebdb Auto-generated-cl: translation import
2014-12-02Set content inset end to 0.Andrew Lee
Bug: 18593764 Change-Id: Ie1b29ae2515a7a9e2c9e8727c7e7a1ec1f6604e2
2014-12-02Merge "On MSIM devices, include account from call log in talkback." into ↵Nancy Chen
lmp-mr1-dev
2014-12-01On MSIM devices, include account from call log in talkback.Nancy Chen
In TalkBack mode, when a user taps on a call log entry, it should read back the name of the SIM/account used for the call. The string used is "on <phoneAccount>". Also add back periods removed in the string updates because they are needed for verbal stopping points in TalkBack mode. Bug:18517912 Change-Id: Iaadbd859ef980ca030f9fb60d3395ca057e8cefc
2014-12-01Improve outgoing call UI responsivenessYorke Lee
* Add CircularRevealActivity to Dialer manifest Bug: 18373617 Change-Id: I76e89fe1be628746dfa96c877aedd24abeec7350
2014-12-01Merge "Import translations. DO NOT MERGE" into lmp-mr1-devGeoff Mendal
2014-12-01Merge "Telecom API updates (2/6)" into lmp-mr1-devIhab Awad
2014-12-01Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I3adb5a0aba1014b306511d374bfd7c834bc03975 Auto-generated-cl: translation import
2014-12-01Merge "Fix NPE in markDropArea" into lmp-mr1-devJay Shrauner
2014-11-28Telecom API updates (2/6)Ihab Awad
Bug: 18292176 Change-Id: I3d5229a44bff032178bf2eb9fde633a10db8c7d8
2014-11-26Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If13e74da842e65b33cc0ec46ba11e22a7ef25934 Auto-generated-cl: translation import
2014-11-25Fix NPE in markDropAreaJay Shrauner
Check for mDraggedEntry == null Bug:18524967 Change-Id: I323cf41ddd21444d4fd675543b822c29517e8b26
2014-11-24Pass string key when updating ringtone.Andrew Lee
Instead of passing in the preference. Bug: 18232725 Change-Id: Ic0eec7cd62f1d9106da4de6d9aa29aeeead9cc0e
2014-11-24Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I8b65c3dcc9ae6411e8d28ca4a33f96025596b619 Auto-generated-cl: translation import
2014-11-21Merge "Correcting population of search box with voice search results." into ↵Tyler Gunn
lmp-mr1-dev
2014-11-20Use REDIAL instead of CALL BACK for outgoing callsYorke Lee
Bug: 17325604 Change-Id: Ida625d884088575760e394b2b58a4fc5b7126033
2014-11-20Correcting population of search box with voice search results.Tyler Gunn
The issue is the onActivityResult callback which receives the result of the voice search is called BEFORE the dialtacts activity is resumed, and hence the search results fragment is not properly shown (since resume has not yet completed). Changed so that the search results are stored until onResume, where they are applied to the search box. Bug: 18410823 Change-Id: I02985f722643846067678a67f2c1fda76434fbc4
2014-11-19Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I7d9a344348da207f6c1928c7409c654c825d8de8 Auto-generated-cl: translation import
2014-11-17Merge commit '59edcfbc' into manualmergeYorke Lee
Change-Id: I0d26d0510edf5ea49d77d8c3c7ecd657b5989d52
2014-11-17am 4e97e09f: Switch from CALL -> CALL_PRIVILEGEDYorke Lee
* commit '4e97e09f0ae58f6065252022fe5cf5f7d90aef01': Switch from CALL -> CALL_PRIVILEGED
2014-11-17Switch from CALL -> CALL_PRIVILEGEDYorke Lee
Bug: 18332160 Change-Id: I5b9bcc8f413e5534bab94e0b2677371968a8e483
2014-11-17Merge "Add a color for settings button." into lmp-mr1-devNancy Chen
2014-11-17Merge "Fix for empty list view text being obscured" into lmp-mr1-devYorke Lee
2014-11-17Merge "Add string for redial" into lmp-mr1-devYorke Lee
2014-11-17Merge "Move ToneGenerator recreation/release to onStart/onStop" into lmp-mr1-devYorke Lee
2014-11-17Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I300010b06d8ce648881f0956ac39f1170b2ae854 Auto-generated-cl: translation import
2014-11-14Add a color for settings button.Nancy Chen
Bug: 17446974 Change-Id: Id0bff47083adca33d457acfd671d4e614be24167
2014-11-14Remove call to deleted method AsyncTask.init().Jeff Brown
Bug: 18192406 Change-Id: I94df77ad8aaac8da5583ab80572c0bbd120b980e
2014-11-14Add string for redialYorke Lee
Add string before string freeze Bug: 17325604 Change-Id: I537151bae21701b98dc5cd46491d2368c6dc5803
2014-11-14Fix for empty list view text being obscuredYorke Lee
Add static padding to top of empty list view text instead of centering in layout. Bug: 18357286 Change-Id: I9b63eda0de0134e7e4b8dde3984ef4bdb239feec
2014-11-14Move ToneGenerator recreation/release to onStart/onStopYorke Lee
There is no reason to do the costly ToneGenerator initialization inside onResume, which gets called during the Dialer -> InCallUI transition. Move it to onStart/onStop so it only happens when Dialer is actually in the background. Measurement of time taken for InCallActivity start -> onResumed, 10 runs Before: Average 541.9ms SD: 152.4ms After: Average 350.5ms SD: 81.1ms Bug: 18373617 Change-Id: I192e2bcc9fd4b7d423d804f333d8d32bff3f58c1
2014-11-12Merge "Add padding around empty list text view." into lmp-mr1-devAndrew Lee
2014-11-12Merge "Import translations. DO NOT MERGE" into lmp-mr1-devGeoff Mendal
2014-11-12Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ieae5d7bbff7d3441caf2494f71b53cf05055adf6 Auto-generated-cl: translation import
2014-11-12Merge "Use the highlight color instead of the tint color" into lmp-mr1-devNancy Chen
2014-11-12Merge "Lookup badge member variables correctly during bindBadge" into ↵Yorke Lee
lmp-mr1-dev
2014-11-12Use the highlight color instead of the tint colorNancy Chen
The tint color of a phone account only refers to the color of the icon, the highlight color is the general display color used for text, backgrounds etc. We should use highlight color in Dialer Bug: 18192071 Change-Id: Ia7e1c6cf055357df98b2b2f481b32a727d1f6d61
2014-11-11Add padding around empty list text view.Andrew Lee
After removing newlines from the string, it's going to the edge of the string because it's pretty long. We don't want to do newlines this way because it makes life harder for translations, which could well be shorter and fit on one line. Bug: 17446974 Change-Id: Ie758668c2b70f82916993017fa5c3611c150f257
2014-11-11Remove summary/secondary text from settings.Nancy Chen
Per settings design guildelines, we should not be using the second line to describe the contents of a setting with subscreen navigation (this second line is now used for just status). Remove these second lines from the dialer settings UI. Bug: 17446974 Change-Id: Idbeace64c088805a19a77b1438dd66a618387848
2014-11-11Merge "Fix IOOB exception in ViewDragHelper" into lmp-mr1-devYorke Lee
2014-11-11Fix IOOB exception in ViewDragHelperYorke Lee
If findPointerIndex returns -1, ignore the motion event. The equivalent fix is done for other handlers of motion events as well. Bug: 18186775 Change-Id: Ia7548335eeb84310510260381a8bcedf6556aa40
2014-11-10Lookup badge member variables correctly during bindBadgeYorke Lee
If a new call log view is provided, make sure to correctly find and stash the correct member variables inside bindBadge. Bug: 18016618 Change-Id: If01a68fc6c468905ab576b1c5927afa308238786
2014-11-10Update PhoneAccount icon API (3/6)Ihab Awad
Bug: 18291787 Change-Id: Id53193a2597ac6a7827a484279e130d8bfb78b77
2014-11-10Merge "String resource edits for Dialer." into lmp-mr1-devNancy Chen
2014-11-10Merge "Allow ILD information to be populated" into lmp-mr1-devEvan Charlton
2014-11-10String resource edits for Dialer.Nancy Chen
Adjust strings in dialer per ewong@'s edits. Bug: 17446974 Change-Id: Iee616072c3774567d13064157f4e9a87267e0182
2014-11-08Allow ILD information to be populatedEvan Charlton
Expose the dialpad's ILD (international / long distance) fields to be populated by the dialer. Bug: 13334252 Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
2014-11-07Make AOSP Dialer and InCallUI single processYorke Lee
Bug: 18275086 Change-Id: I69a75bd36f1f2fc18bc2672d397bff47e9af02ad
2014-11-06Merge "Fix for "Clear call log" menu item showing up incorrectly." into ↵Yorke Lee
lmp-mr1-dev
2014-11-06Merge "Improve Dialer analytics" into lmp-mr1-devYorke Lee
2014-11-06Merge "Reset mSavedState in onNewIntent because the activity is refreshing." ↵Nancy Chen
into lmp-mr1-dev
2014-11-06Fix for "Clear call log" menu item showing up incorrectly.Yorke Lee
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
2014-11-05Improve Dialer analyticsYorke Lee
* 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
2014-11-05Reset mSavedState in onNewIntent because the activity is refreshing.Nancy Chen
Currently mSavedState is reset to false in just onResume, but it needs to be reset earlier so that the dialpad is allowed to show itself when an ACTION_DIAL intent is sent. Bug: 18242314 Change-Id: I9ddd2a431edc4c2d1cc447b14ee8d1347d139552
2014-11-05Merge "Protect against ActivityNotFoundException" into lmp-mr1-devYorke Lee
2014-11-04Protect against ActivityNotFoundExceptionYorke Lee
Bug: 18247185 Change-Id: I744355ea712f713d5510fa26f141ee2cce7491ff
2014-11-03Refactoring: modifying SelectPhoneAccountDialogFragment constructor.Nancy Chen
The SelectPhoneAccountDialog fragment now supports optional/changeable title and checkbox fields, but to simplify that case, add a method that will initialize the dialog to default values. Bug: 18204058 Change-Id: Icd3b880378ff9a7d8ee75e01ec85ed40b29a59ab
2014-11-04Merge "Adn queries for multi-SIM. (1/3)" into lmp-mr1-devNancy Chen