summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dialer: search: Don't attempt to get resources on a detached fragmentDiogo Ferreira2016-10-031-1/+1
| | | | | | | | | | | During the activity lifecycle, the user might have used the search fragment but then place the call via other means and in that case the search fragment will be detached. It does, however, still try to set itself up and in the process attempts to obtain context-bound items such as Resources and the Dialer app crashes. Change-Id: Id3b9f376e282f4f8a04960eb3c4a5eac0d2ea9ad Ticket: FEIJAO-1173
* Fix tab position handling for RTL languages.Danny Baumann2016-09-091-2/+2
| | | | | Change-Id: I51ee07da7ad5ea8603df0fb588ff229c4e45a382 JIRA: CYAN-7638
* Bump metrics version and fix swapped eventsStephen Bird2016-07-202-3/+3
| | | | | Change-Id: Ib81c8ebb895671640e4342c97c1c9921d83d9217 Ticket: CD-689
* [3/4] Add cancel callback for BlockContactDialogStephen Bird2016-07-123-0/+15
| | | | | | | | Some ui elements need to refresh themselves when the dialog is cancelled. This allows them to do that. Change-Id: I61d5b08300820843499ba0ef1b28ff732efcaa08 Ticket: CYNGNOS-3111
* Dialer: Add option to open dialpad at startTom Marshall2016-07-111-1/+8
| | | | | | Jira: CYAN-7629 Change-Id: I308bb4f0bf68ea0ba4849d4dfe8abf85ac916158
* Set content intent to final button intentStephen Bird2016-07-051-7/+12
| | | | | Change-Id: I55435c26539ac444012ae2cb431e760420e96a30 Ticket: CD-687
* Makes private the ambient connection check, to stop log spam.Nathaniel Waggoner2016-06-141-1/+1
| | | | | | | | | External classes were using this method in places they shouldn't causing a lot of log spam. This should help stop that behavior. NOTES-150 Change-Id: Id29793f3ca2fbe1be02a36b0f0be6a8594afd246
* Ensure we have permissions before rebuilding databaseStephen Bird2016-06-101-1/+5
| | | | | Change-Id: I8640a1976ac47a9abcef5dd1192de1b63520bcdd Ticket: CD-680
* Increment nudge only after shown intent returnsStephen Bird2016-06-103-26/+41
| | | | | | | | Previously there was a chance that a nudge would be sent to discovery but then not shown. Ticket: CD-681 Change-Id: I8671a83b23ed77b2ae1fabcfcdf4a01ec5eae108
* Performance tweaks for DeepLinkCache and icon retrieval.NathanielWaggoner2016-06-096-66/+135
| | | | | | | | | | We are now caching icons to avoid hitting package manager on each UI update. Also upped cache size to accomodate a larger number of DeepLinks smoothly. NOTES-149, NOTES-66 Change-Id: I6cfc9c2ff642ed129d619eb2861f32b4027e8367
* Nudges: Move roaming nudge logic to wifi listenerStephen Bird2016-06-082-30/+20
| | | | | | | | | When the call ends, if the user was on wifi the entire time and was roaming then we will show the roaming text. Otherwise, this will count as a wifi nudge. Change-Id: Ic85a308d1860977fe4a62265fc293025ddb6a5a3 Ticket: CD-678
* Initialize ContactsTile loader in SpeedDialFragment onStartRaj Yengisetty2016-06-081-1/+1
| | | | | | Ticket: CD-679 Change-Id: I5b833f50e009a398cface92aea6d0a89a9dd6880
* Wire up share visible contactsStephen Bird2016-06-061-0/+37
| | | | | | | | This code was missing from aosp. The actions are the same as what contacts uses to respond to the result. Change-Id: I0f0b94eb31df64b4120c9d22dca568da03fd01f5 Ticket: CYNGNOS-2758
* Fix NPE when checking default DialerRaj Yengisetty2016-06-021-2/+12
| | | | | | | | | | * CallLogFragment may attempt to refresh it's data even when it's * detached from the activity. Add an activity null check before * attempting use getActivity for Context. Ticket: CD-673 Change-Id: I8d003d99c3dfa25cbb9edc9df2dab9fb25523573
* Fix call recording does not using AAC format on some devicesKeith Mok2016-06-011-1/+1
| | | | | | | | | On some devices, the sampling rate of voice call path is 8kHz which is not supported by HE_AAC. Always use AAC insteads. FEIJ-952 Change-Id: I93c1629e764e38b44623afd24da431b008e1d32e
* Fix NPE in caller-info settings migration componentRohit Yengisetty2016-05-261-6/+12
| | | | | | | | Also, ensure that the component is disabled in the case where there aren't any settings to migrate. Change-Id: Icb7e7ab41abde90551091117be5d9606ee6c1f23 Issue-Id: CYNGNOS-2537
* Add migrations for CallerInfo related settingsRohit Yengisetty2016-05-252-0/+145
| | | | | | | | | | | The settings related to CallerInfo Provider need to be migrated to a newer schema due to the changes within AmbientSDK and CallerInfoApi. The migration will take place on a system-update, alongside the installation of the newer AmbientSDK and AmbientCore. Issue-Id: CYNGNOS-2537 Change-Id: Iffa15d73b7616b27a9f80e5d2266ccdf56749f61
* Crash Fix When DeepLinkEnabled callback returns to a null Context.NathanielWaggoner2016-05-242-21/+105
| | | | | | | | | | DeepLinkEnabled request wasn't respecting lifecycle and could execute after the context was no longer valid. This cancels the request in onPause() to better respect the lifecycle. OPO-706 Change-Id: I3aa142ef8a749b9b5537b4af7b2c5438f3dcaa1f
* Overflow popup menu may be null when overflow menu button is not nullRichard MacGregor2016-05-231-2/+5
| | | | | | | | | | When updating options menu, if mOverflowMenuButton was not null, we skip intialization of mOverflowPopupMenu, causing mOverflowPopupMenu to stay null. This caused issues on rotation. Ticket FEIJ-241 Change-Id: I3dc050ffdc3c85e8ccca08ed99943f15ec915856
* Mark contact info obtained from a lookup provider with remote source-typeRohit Yengisetty2016-05-231-0/+1
| | | | | | | | | This is needed to ensure that a UI refresh request is queued up following a successful lookup. The execution of the UI refresh request is left upto the policy defined within ContactInfoCache Issue-Id: OPO-711 Change-Id: Ib60895003cbb5371838dbed8c5fc9f722be758fa
* View Note: removes the ability to make multiple notes for the same call.NathanielWaggoner2016-05-232-2/+16
| | | | | | | | | | | You could take multiple notes for the same call while the ModButtonPresenter was visible. This resolves that so users will be taken to view the previously existing note, rather than try create a new one again. NOTES-114, NOTES-22 Change-Id: I250ffd4c0092f4ea438dc642ba0bb376df8fbaa6
* Wire up import/export overflow options.Stephen Bird2016-05-201-11/+68
| | | | | | | | Logic for onActivityResult taken from Contacts PeopleActivity. This logic is missing from AOSP to make these options work. Ticket: CYNGNOS-2758 Change-Id: Ic5dda4a431a2993ec81d7bc813047faa6557ff01
* Refactor CallerInfo strings to simplify translationsArtem Shvadskiy2016-05-202-3/+2
| | | | | | | | Reverting back to original string definition before change caused by Ia0c420f89e22467f2a19c879c47e812c10f88945 Change-Id: Iaf090024807e9e5529e53f3ada11b220af6773d3 issue-id: OPO-724
* Add negative option to caller info disable dialogArtem Shvadskiy2016-05-202-1/+9
| | | | | Change-Id: Ia0c420f89e22467f2a19c879c47e812c10f88945 issue-id: OPO-724
* Autosize hint textRichard MacGregor2016-05-203-0/+893
| | | | | | | | | | | | | | Autosize hint text string to fit within the bounds of - 5 max lines - 16sp max font size - 12sp min font size This also removes a space between hint icon and description, which caused action text to hide behind t9 dialer in some languages. Ticket CD-631 Change-Id: I077da31789bba82535856f07d674b6dd98bc1f64
* Only schedule metrics job if not already scheduledScott Mertz2016-05-191-1/+1
| | | | | | CYNGNOS-2876 Change-Id: I746570d20de23cb89680ddc834acc229e393e1f5
* Nudges: use unique id instead of packagenameStephen Bird2016-05-191-1/+1
| | | | | Ticket: CD-657 Change-Id: I2e598109531c39a4056ff6058c784337293f781d
* Add spam information to encoded lookup uriRohit Yengisetty2016-05-183-18/+14
| | | | | | | | Removing redundant definiton of CallerMetaData. Defer to the one included within ContactsCommon. Change-Id: I9a49defbb69c7736237826c4f06bb5ff04782ddd Issue-Id: OPO-736
* Revert "Show SIP call method in spinner and force update on resume"Artem Shvadskiy2016-05-181-6/+0
| | | | | | | | issue-id: CYNGNOS-2655 This reverts commit 6b0990804aa144740133872dc712b35e35db84ab. Change-Id: Id5b7d7b0eaa405712a081d7b4ecd58b9f577f78f
* Protecting against null localesRichard MacGregor2016-05-181-5/+9
| | | | | Ticket CD-639 Change-Id: Ifd64b8cd108d0a2b6f4b8172bcb96568de2abfdb
* Add location information from contact-info providerRohit Yengisetty2016-05-171-0/+17
| | | | | | | | Add City and/or Country information to the call, if that information was surfaced by a caller-info provider Change-Id: I58d860f1473430880ada943296108032e2f0c4cd Issue-Id: OPO-712
* Add additional info from contact-info provider, if any, to Call DetailsRohit Yengisetty2016-05-173-0/+39
| | | | | | | | The additional information includes a contact image, attribution icon and spam information. Issue-Id: OPO-727 Change-Id: I2b678f1fbbc2e6980ef545abcc4a117eeda4771d
* Show SIP call method in spinner and force update on resumeArtem Shvadskiy2016-05-171-0/+6
| | | | | Change-Id: Id7442091898ae7b9f51d373c9f3693f894ea1f77 issue-id: CYNGNOS-2655
* Dialer Settings: fix InCall Plugin settingsRaj Yengisetty2016-05-171-20/+34
| | | | | | Ticket: FEIJ-536 Change-Id: I6229aba64191c23c1b57165022d14bb384977c91
* Fix call log contact info queryRaj Yengisetty2016-05-171-1/+1
| | | | | | | | | - Previous query was looking for "photo_file_id" which wasn't contained in the projection. Ticket: CD-648 Change-Id: Id86a002271c95a25f54fc4879dcf81edb0963227
* Clear and restart cache on contact-info provider updatesRohit Yengisetty2016-05-161-2/+4
| | | | | Change-Id: Ifb4f6ce47580e96024fa199a50d76b92cc9e0376 Issue-Id: OPO-709
* Fix 'Learn More' link within the picker for caller-info providerRohit Yengisetty2016-05-161-1/+1
| | | | | | | | | | Avoid constructing the Spanned object on the client-side as it isn't Parcelable. Send the html-encoded text as the subtext instead, which will be spanned within Discovery service wherein the dialog originates. Issue-Id: OPO-705 Change-Id: Icce7583364474ff75c747d38cdc5d1b2000ceac1
* Constrain logo bounds within the picker for caller-info providerRohit Yengisetty2016-05-162-20/+19
| | | | | Change-Id: I9017f6bd9a3b28e4c60d67acd030960e61f9be89 Issue-Id: CYNGNOS-2844
* Fix for issues with the Note action/icon disappearing from call log.NathanielWaggoner2016-05-166-86/+74
| | | | | | | | | Issues were present on scroll events, screen rotations and in some other edge case circumstances. The performance is much improved, and this removes a good deal of un-needed code. NOTES-93 Change-Id: If9634fd3fbcb3e8db54e64958e32228f2b7983da
* InCallApi plugin strings not updated on locale changeRichard MacGregor2016-05-131-0/+31
| | | | | | Ticket CD-639 Change-Id: If1df0906ec2bdd786df274dae881a8bbd873d88f
* Metrics fixes and switching to job schedStephen Bird2016-05-132-187/+246
| | | | | | | Some metrics were not being properly aggregated and sent. Change-Id: I7b1973c130b57a9c23420383fc144ded4c074ee4 Ticket: CD-629
* NPE: make sure search fragment is visibleStephen Bird2016-05-131-1/+2
| | | | | Ticket: CD-646 Change-Id: I1c9d3a2ce31922da0e04a537c5240b34e3f3625b
* Fix SuperNotCalledExceptionRohit Yengisetty2016-05-131-0/+1
| | | | Change-Id: Iac472b12867ff89f45c0fce416cae01c1d18e150
* Fix NPE within CallLogFragmentRohit Yengisetty2016-05-131-5/+3
| | | | | | | | | The action of the DeepLink callback manipulates views. This callback can take place before onCreateView() has been called. Moved the callback's execution to after the views have been created. Change-Id: I055fb0f7087ce0bf0c9116805ec64a9d2812c99d Issue-Id: CYNGNOS-2815
* Make sure search fragment is visible and attachedStephen Bird2016-05-121-1/+2
| | | | | Change-Id: I623ef76ff35b43025bd203e3c26a796d28154750 Ticket: CD-638
* NPE: Providers might not have a singlecolorbrandiconStephen Bird2016-05-121-1/+2
| | | | | Change-Id: I1f5cff1faa59e6db6b39ea30d9f36e25a85675a0 Ticket: CD-633
* NPE: mBadgeIcon is sometimes nullStephen Bird2016-05-121-0/+4
| | | | | Change-Id: I0406ce0c76d68c18862bf57ba33245f19d328cba Ticket: CD-633
* [1/2] Roaming Notification: restrict to provider selected valuesStephen Bird2016-05-112-0/+8
| | | | | Change-Id: I3b349fc23151a54cbdf148fe489f26e674293deb Ticket: CD-636
* Move hint text to main search fragmentStephen Bird2016-05-114-223/+186
| | | | | | | | | When switching between the two searches sometimes the hint text does not display properly. Now each search will contain the hint text if the t9 dialer fragment is visible. Ticket: CD-618 Change-Id: I1ea4bffaa6ffd491571bcc0cfaaeb6de47591b83
* NPE: make sure that the brand icon isnt nullStephen Bird2016-05-101-3/+8
| | | | | | Otherwise default back to a stock icon Change-Id: I213513644aa6bb7259d8080ecf284dd6aeabf07e