summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Caller-info provider nudges and adapt new CallerInfoApiArtem Shvadskiy2016-05-0913-165/+337
| | | | | | | | | CallerInfoApi within AmbientSDK has undergone a revision. There are changes to authentication APIs for Plugins and also to the LookupProvider APIs. Change-Id: Ia247925c7797e290ec05214bdca27ec70e41abda issue-id: DIALER-719 DIALER-724
* Fixes an issue where Note settings weren't launching when clicked.NathanielWaggoner2016-05-091-0/+4
| | | | | | | | A refactor patch broke note settings, this gets them working again. NOTES-109 Change-Id: Ib8c2be7cb87811af973594d27007e25a5daca73d
* Don't show coachmark when digits filled by intentRichard MacGregor2016-05-091-1/+1
| | | | | | | | | When intent to edit phone number in dialer, don't show coachmark because the overlay text over digits is unreadable. Ticket CD-526 Change-Id: I9e109cc93ac841aab47eff38128b8e1e6750ea30
* Modify Settings activity for the revised CallerInfoApi within AmbientSDKRohit Yengisetty2016-05-082-244/+237
| | | | Change-Id: I65a22f7976a4956bdce17db7dd48a26c4b734286
* Feijao: empty string is not a valid localeAbhishek G2016-05-051-1/+4
| | | | | | | | Empty string is not a valid locale. Setting the default locale to english (en). Change-Id: I7bc524dbb4aa65d31f1bb33fa5e8fadf4770fbaf Issue-Id: FEIJ-306, CD-620
* Fix call log and contact lookupRichard MacGregor2016-05-0511-34/+122
| | | | | | | | | | | | | | Call log lookup was broken by InCallApi introduction. Contact custom number labels weren't synced to dialer database, causing the label to be shown as "custom" instead of the correct string during T9 dialpad search. Use InCallApi plugin name as label if available, becauase some plugins use the label column for strings that are too long to be considered a label. Ticket CD-460 Change-Id: I38bbbdbee23598e5d6ca6347ed77ae9c318a1c6b
* Fix metrics event stringStephen Bird2016-05-041-1/+1
| | | | Change-Id: Ib3260e5a7906161ea7edc738cffb096bc9f1dbd2
* NPE: ensure that ContactInfo is not nullStephen Bird2016-05-041-2/+4
| | | | | | | | | | | This happens on an edge case where the user has private numbers call them. Attempting to select these entries results in a FC becuase there is no number for the entry. Ticket: CD-587 Change-Id: I0e6c75f5282a4519866e7648185e90e4664cfac1
* Revert "Workaround for AOSP strings missing translations"Michael Bestas2016-05-011-1/+1
| | | | | | This reverts commit b025fbb9b46a19e8622867317ce7ae482f0dde1b. Change-Id: I66f504e268700e4a14768b11d3952b77c06706a1
* Quick Fix for NPE in DialerRichard MacGregor2016-04-291-7/+10
| | | | Change-Id: I5f7e901a0344900f452bc0ee2a55e3830fad8eba
* Dialer DeepLink IntegrationNathanielWaggoner2016-04-2912-7/+830
| | | | | | NOTES-53 Change-Id: I90fe73dff9615a9955e61700fe9a712e6a5952ed
* [4/4] Update dialer for CallMethodHelper refactorStephen Bird2016-04-2723-163/+133
| | | | Change-Id: I79f5e6285de5237f5a50a5cc1534f590e03a6996
* Add InCall providers call logs into the statistics pagesStephen Bird2016-04-271-3/+5
| | | | | Ticket: CD-587 Change-Id: I3f1baacb799af5f2d02e98bb1a17e5cac1635202
* WifiNudge: Use PreciseCallState to only show on outgoing callsStephen Bird2016-04-261-14/+23
| | | | | | | We don't want incoming calls to nudge Ticket: CD-583 Change-Id: Ic7f821c7d35f8dd95a1d945f62787ec89cf2d2c8
* Hide coachmark if dialpad opens with text pre-filledStephen Bird2016-04-262-5/+23
| | | | Change-Id: Icaed04966b43963b2fb17db47faa87343b63b5e4
* Fix nudge countsStephen Bird2016-04-261-4/+10
| | | | | | | Nudges were only showing when they were not supposed to. Change-Id: I73ff46f5753c9a74cf42723f45a201398c537edf Ticket: CD-570
* NPE: check that cn is null and returnStephen Bird2016-04-221-0/+4
| | | | | | | | We don't want to store null values in our sharedprefs, and we dont want to crash. Ticket: CD-569 Change-Id: I647bb9bb8861ed4205c11940b2efcda884e49a21
* Fix crash in Settings when clicking on Phone Number LookupRohit Yengisetty2016-04-211-0/+5
| | | | | | | | | | | | | | List preferences in Phone Number Lookup can have zero entries. Disable those preferences. Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at android.preference.ListPreference.setValueIndex(ListPreference.java:199) at com.android.dialer.settings.LookupSettingsFragment.restoreLookupProvider(LookupSettingsFragment.java:160) at com.android.dialer.settings.LookupSettingsFragment.restoreLookupProviders(LookupSettingsFragment.java:151) at com.android.dialer.settings.LookupSettingsFragment.onResume(LookupSettingsFragment.java:83) Change-Id: I21eda536eaecb569716927fd47db3408a191a91c Issue-Id: CYNGNOS-2547
* Settings: Add back AccessibilityStephen Bird2016-04-211-8/+16
| | | | | | | Also, only show speeddial if the user is the primary. This is how it used to be. Change-Id: I07cccd04f4825f2f80fee06c7e8a6bdca5f70932
* Improvements to NudgesStephen Bird2016-04-216-137/+210
| | | | | | | | - Fix bugs found in test cases - Make nudge lookup more performant - Make nudge metrics work Change-Id: I1e75dc3a2bdda5cc5763c327bfd1b94c6aa6e735
* Search: Show FAB in the right placeStephen Bird2016-04-211-7/+2
| | | | | | | | | Previously, the fab would appear and dissapear whenever the user performed certain actions. Sometimes, the fab was in the wrong place as well. Change-Id: I9f3559e646f8154cf48e9c7e3386063970db8e40 Ticket: CD-552
* Quick search results: fix to match selected item in spinnerStephen Bird2016-04-212-0/+8
| | | | | Ticket: CD-555 Change-Id: I58ccd474d08f20e66a7f1359342fa71e0f9e7fbd
* Add metrics event for selecting call methodStephen Bird2016-04-202-2/+11
| | | | | Change-Id: I9a0ee0315dca8448803e193b57c8f850aaeda87d Ticket: CD-546
* Convert call log and call stats details to new contact blocking code.Danny Baumann2016-04-205-69/+83
| | | | Change-Id: I78b974810b2d81175a3f71146130f22479a0c595
* Call Statistics: fix NPE on rotationRaj Yengisetty2016-04-202-9/+11
| | | | | | Ticket: CD-554 Change-Id: I5c5601587ee8db1f8705b36263504904882e8232
* Dialer NPE - Search ResultsRichard MacGregor2016-04-181-4/+7
| | | | | | | | Check of CallMethodInfo is null before trying to use it. Ticket CD-541 Change-Id: Id480fc7c039c970acb199dd066c1ef388a2be8ee
* Dialer: Handle OEM Specific codes.Ankit Gupta2016-04-151-3/+10
| | | | | | | | Handle OEM specific code in their respective hinthandler packages. Issue-id: FEIJ-36 Change-Id: I455b4662687f0299234c47df90c13e58452bdb9d
* Expand clickable area of settings buttonRichard MacGregor2016-04-151-2/+2
| | | | | | | | Expand clickable area of settings button. It was way too tricky to hit. Ticket CD-543 Change-Id: I5f7ee0a79eb87746894b19627465baa13520c7ab
* Search: Only clear focus if we are showing a coachmarkStephen Bird2016-04-152-1/+1
| | | | | | | | | Coachmarks are supposed to require the user to dismiss them, so only clear that focus if the user sees one instead of every time they see the search bar. Ticket: NIGHTLIES-2820 CD-373 Change-Id: I3f43848cfd10b13ed8ef583ff9ffb615e749aa63
* Workaround for AOSP strings missing translationsMichael Bestas2016-04-151-1/+1
| | | | Change-Id: Icd028f6ff7328fe8b96842eeaea22bac50607303
* Remove superfluous method parameter.Danny Baumann2016-04-141-2/+2
| | | | Change-Id: Ib27b5394184f7856661cb89892406bf96747f9ff
* InCallMetrics: null check our content resolver queryStephen Bird2016-04-131-7/+7
| | | | | | | This fixes a crash on boot with encrypted devices Change-Id: Ica0343a2713708a27cbce1594dfee742022f35ce Ticket: NIGHTLIES-2825
* Dialer: Customize features for regional packagekaiyiz2016-04-121-7/+58
| | | | | | | | | | 1. Add engineering mode secret code "*#7548135*#"; 2. Use secret code to trigger factory test mode; 3. Hide diag port and to open diag port menu need to dial *76278#. Ticket CD-290 Change-Id: Iae26756824f1f2cc9693546eb39a1a45761e4f88 (cherry picked from commit 144951edf8fdc556f81ca7e1bee180a4ba64f9d4)
* Port VoLTE support from DialerNext into AOSP DialerKamaljeet Maini2016-04-083-14/+62
| | | | | | | | | | | Modified Dialpad fragment to show 1) VoLTE label when there is only one provider, which supports VoLTE 2) VoLTE text below spinner icon for each provider that supports VoLTE when there is more than one provider Change-Id: Ifaffa16966d7d632b0262311b53d71a64f1e75ad Issue-Id: DIALER-720
* Add new method for getting hinttextRichard MacGregor2016-04-081-1/+1
| | | | | | | | Implement getHintText. Stop using attributes for plugin hint texts. getHintText returns all required hints. Tickets CD-446 CD-470 CD-471 CD-514 Change-Id: Ie9a8d29f321ededd297d99d40ab8cb58b4f4bb14
* Call Log - fix issues with expanded call log optionsRichard MacGregor2016-04-081-16/+9
| | | | | | | | | | | | - Expanded call log entry actions inconsistent. Removed "Call Using <InCallProvider>" because entry not available in call log for regular PSTN calls. - Expanded call log entry actions incomplete for PSTN call made over InCallApi. Added "Send Message" Ticket CD-482 Change-Id: I71986231958da4e6cd5278c2d8d046d929345d8e
* Only clear dialpad on successStephen Bird2016-04-081-2/+11
| | | | | | | | | | Currently, we are hiding and clearing the dialpad if a provider call is failed. This doesn't give the user the chance to edit the number. We should only hide & clear if the call returns as a successful provider call. Change-Id: I1b89f050dffdd21f66833b01df707d47bb7adb52 Ticket: CD-516
* Check for phone permissions before gathering call historyStephen Bird2016-04-081-1/+5
| | | | Change-Id: I7c828cfb8141df077c37732ae1ca64325c62fa82
* Metrics: Fix some bugs found by testingStephen Bird2016-04-086-75/+175
| | | | | | | | | | - Add INAPP nudge counts - Verify SharedPreference Keys - Use the proper time for call aggregation - Using toShortString on a ComponentName is horrid Don't do that, we use flattenToShortString instead Change-Id: If66b845753b396a645ffbfd7637045b1178f5000
* Fix 'turn on phone permissions' hintRichard MacGregor2016-04-081-1/+1
| | | | | | | In T9Dialpad, the button that would enable phone permissions would not be visible if onscreen navigation bar was present. Change-Id: I910f205f80f4ee8fe61cd883259b73bbbec9c311
* Remove FAB hiding and showingStephen Bird2016-04-081-11/+0
| | | | | | | | | | | | | In AOSP the fab hides and shows at certain times based on what the user is doing (typing in search field or scrolling through results). There's a bug where sometimes the FAB does not come back. Just show the FAB all the time as our UI changes allow the fab to be visible when the keyboard is. Ticket: CD-442 Change-Id: I1939e213deaad0ea582e1dbe4b495fb9b710447e
* Update search drawable when dialpad is hiddenStephen Bird2016-04-083-8/+18
| | | | | | | | We were not clearing the second search coachmark when the dialpad coachmark get cleared. Ticket(s): CD-521 CD-512 Change-Id: I19362191c940443b504930de6cac416ff05047b0
* Fix expanded call options for InCallApi providerRichard MacGregor2016-04-081-14/+23
| | | | | | | | | InCallApi provider voice call expanded call log option failed to make call using correct provider, used SIM instead. Ticket CD-518 Change-Id: I09fcdb6d22e2602a05ab1851057f92b05f3d2084
* Add Metrics for Dialer call origins and incall itemsStephen Bird2016-04-0816-55/+859
| | | | | Ticket: CD-425 Change-Id: Iaa1b56537e0b00ccfaf70936400ad7772ed5de8f
* Add Wifi Call nudgeStephen Bird2016-04-083-14/+184
| | | | | | | | | | | | | If we make a call and are on wifi the entire time, we could have placed this call via an incall provider. Allow the provider to nudge the user about this depending on certain event counts. Similar to the international call nudge. Also, fix a bug where nudge providers do not have a nudge that we are requesting. Ticket: CD-428 Change-Id: Icb291630e1b57252f94cdcf65213c6a480b845a6
* Temporarily revert DeepLinkRichard MacGregor2016-04-087-294/+6
| | | | | | | | | | | | | | | | | | | Revert "Fixes a misalignment between the DeepLink icon in Call History." This reverts commit e78d0aeeaceac1480db49378a388c32e61cddc1a. Revert "Refactors the CallLog code to follow proper design patterns, fixes a" This reverts commit 0ef07fe8bb67ed7a95116b62ab9e082739be782c. Revert "Uses the new alreadyHasContent boolean to determine whether to show icons" This reverts commit 09b7d7925363bc0a529c3fa8ba3d8e8013118da8. Revert "DeepLink refactors and bug fixes." This reverts commit 97bec6770966ee05c0adc1f0104415a6ecfc2069. Revert "Dialer DeepLink Integration Phase 1" This reverts commit fc4bfbf54553ab06ae5cc377eca83ef6cbb0a6d9. Change-Id: Ic283117b0f19c8fb81b419d902856bb1f4b25a6e
* Add RequestOrigin to ContactInfoHelperRohit Yengisetty2016-04-081-1/+3
| | | | Change-Id: I3cacea993170314d6789655691befb28b64f1e50
* Add metrics for logging a successful LookupProvider responseRohit Yengisetty2016-04-081-2/+13
| | | | Change-Id: I86ac6581db7465ccf63d062de4b8f98b14dc9c5e
* Utilize status codes on LookupResponseRohit Yengisetty2016-04-081-1/+2
| | | | Change-Id: I4b4c65a20b5a3cb9579e203484a3373d41fdf748
* Bring coachmark up to specStephen Bird2016-04-082-11/+116
| | | | Change-Id: I323d534f7a9c3f1effd3dd2fcf9cc1d834b102a0