summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Contacts : only refresh ENABLED plugins onResumeErica Chang2016-05-092-14/+25
| | | | | | | | | | | | | Since we only request refreshDynamicItems if there are ENABLED plugins, there would not be a callback that calls updatePlugin. In that case we'll manually call updatePlugin to manually check if any plugin related UI components need to be updated (eg. the current UI may show a plugin that's already gone into DISABLED/HIDDEN state) CD-616 Change-Id: I469960212e67844a63661e855daa7097ac186a05
* Add permission for binding to Ambient's Caller Information serviceRohit Yengisetty2016-05-091-0/+1
| | | | Change-Id: I694790712220c2701e0cb3b1150a825fb4935a0a
* Revert "Contacts : added PUBLISH_DISCOVERY_NUDGE permission"Erica Chang2016-05-051-1/+0
| | | | | | This reverts commit 58dc89ae9578490e957e30651410b4500ef3a4f8. Change-Id: I3ed87f1d4c6d37230c6ae9be9d4200c7d0509db3
* Contacts : added PUBLISH_DISCOVERY_NUDGE permissionErica Chang2016-05-051-0/+1
| | | | | | | | | The PUBLISH_DISCOVERY_NUDGE permission is required to query InCall plugin nudge parameters CD-625 Change-Id: I9dd76b0dc03f3eecff4edff5abe4393ea14bce25
* Fix number label in quick contacts recent calls listRichard MacGregor2016-05-051-3/+7
| | | | | | | | | | | | | Custom number label were not being shown in recent calls list due to database entry for number type being null instead of a valid integer. 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: Ic10cf4bbc6edea8dc7363f7897756df61385581d
* Fix double ripple in quick contact card entryRichard MacGregor2016-05-052-7/+19
| | | | | | | | | | | | InCallApi plugin contact entry would animate ripple on both main entry card and "third" icon. This was because the correct onclick listener was not being set due to the Entry not defining thirdAction. Ticket CD-547 Change-Id: I9aea37e16fc62f760048ade29bab71d6c74f513f
* Contacts Metrics: added directory search and bug fixErica Chang2016-05-056-191/+283
| | | | | | | | | | | | | | | | | | | | | | -Added directory search metrics >PeopleActivity plugin + fab onclick >Contacts card directory search onclick -Fixed bugs for >db upgrade (upgrade only oldversion < new version not <=) >auto/manual merge count (was not capturing count increment with an existing count entry) >PeopleActivity plugin tab login nudge impression count (was tracking the event of leaving the plugin tab rather than going into the plugin tab) >NPE for getBytes() in InCallMetricsHelper.generateNudgeId() -Consolidated InCallMetricsHelper.increaseCount to handle all user action event types CD-501, CD-527, CD-610 Change-Id: I6c8c2d951108d10be735365ebaf1b133cd4d52c1
* Revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-0178-480/+1102
| | | | | | | | | https://android.googlesource.com/platform/packages/apps/Contacts into cm-13.0" This reverts commit 3c1aaac1535bf8825f7067256814e1055986e416, reversing changes made to cd5f6711d196dd21564343403186128926018fad. Change-Id: I69612db3197cf06c8884a095bd4a4a5a946318f0
* Automatic translation importMichael Bestas2016-04-2913-2/+35
| | | | Change-Id: Ia32669b5bab525cde8f238d428ff56d62fb420ed
* [2/2] Contacts : fixed InCall plugin PendingIntent after refactorErica Chang2016-04-276-17/+37
| | | | | | | | | | | -Addressed contact card not reflecting InCall plugin status/auth state change -Added error Snackbar message in case invite and directory search PendingIntents are null CD-550,CD-588 Change-Id: I2ba66a98d13f982fe13563439afd5f785ab0f16c
* [2/4] Update contacts for CallMethodHelper refactorStephen Bird2016-04-2610-214/+71
| | | | Change-Id: I9b165d9ddb3fd4e66657325447af08781c487a5d
* Automatic translation importMichael Bestas2016-04-1697-0/+540
| | | | Change-Id: I80c66c07d9e421a934898c8e4575a0ac34cd74ae
* [2/2] Add new method for determining whether to show block optionRichard MacGregor2016-04-141-4/+1
| | | | | | | | | | BlockRequests only work on certain data types. Phone numbers are currently the only type supported. It doesn't make sense to give block action to something that won't get blocked. Ticket CD-461 Change-Id: Ic02dedb7815f2239e8bf031c1d4b1e422fca9d04
* Make Block action contingent on system-wide Blacklist settingRohit Yengisetty2016-04-141-3/+12
| | | | Change-Id: I9c7b474765fabcf0c8681367b49ba8ddb84f172e
* Fix camel caseMichael Bestas2016-04-141-1/+1
| | | | Change-Id: I042b23228f1e38d390120ad6143dbc5557c12c2a
* Add null object checkStephen Bird2016-04-081-1/+3
| | | | Change-Id: Ia316d98dd6507f89390072e7010da3976049c857
* Add 'ims-common' build dependencyStephen Bird2016-04-081-1/+1
| | | | Change-Id: I0cb00d3214d9f41072d2e55ca9a885940c7a6a15
* Contacts: fixed ConcurrentModificationExceptionErica Chang2016-04-071-2/+6
| | | | | | | | | | The HashMap.removed() was called in an implicit iterator which caused this exception. Changed the implementation to use an explicit iterator instead. CD-530 Change-Id: I157563e8d562b248a599583a564ff337feeddfdd
* Fix: update ambiguous placeCall methodRaj Yengisetty2016-04-071-1/+1
| | | | Change-Id: Ib79fffe96961f67af6337dbc4e14a112dce5e179
* Contacts Card: nudge subtitle adjustmentErica Chang2016-04-071-2/+2
| | | | | | | | Pointed nudge subtitle source to the correct nudge parameters CD-464 Change-Id: Id9285979d342256284f4e11ebb7cecf47725b302
* Contacts: show InCall plugin tab FAB in soft logged out stateErica Chang2016-04-071-3/+3
| | | | | | | | | The old implementation was to hide plugin TAB in soft logged out. This patch shows that. CD-525 Change-Id: I78e90b4df9a29071931273e6b61465c16891ad99
* Contacts: added stats settings checkErica Chang2016-04-072-2/+31
| | | | | | CD-501 Change-Id: Ia9fd922d3c3049e4caacbf57b43039bcc8649a24
* Contacts: metricsErica Chang2016-04-0715-4/+1039
| | | | | | | | | | -Added contacts in app and user action metrics -backed in a db -every 24 hours the entries are reported to ambient CD-297,CD-501 Change-Id: Ia9fd922d3c3049e4caacbf57b43039bcc8649a24
* Contacts : ViewPager RTL fixErica Chang2016-04-071-1/+1
| | | | | | | | -ViewPager Fragment now renders correctly in RTL CD-227 Change-Id: Iefa424946823a6741f962b68fd3d46622e1fa15f
* [2/2]Contacts: handle soft logged out stateErica Chang2016-04-072-10/+12
| | | | | | | | | | -Contacts now displays all contacts. -Contacts cards now display plugin callable entry, when clicked on will launch plugin application's login Activity CD-450 Change-Id: I0d4ee8c20dcc3e89e14674f2d9d83a0044078031
* Contacts: fixed contacts filter exceptionErica Chang2016-04-071-1/+3
| | | | | | | Contacts filter needs both the account type and account handle to be not empty, added the check in to prevent NPE. Change-Id: I5138f457caa334b22d37d22196a1cfad4a712229
* Contacts Card: fixed merged contacts with multiple plugin accountsErica Chang2016-04-071-11/+10
| | | | | | | Previously the Contact card had a bug and could not handle a merged contact with two skype accounts Change-Id: Ie16d48925b7ec60cb56a6f08f0a859d7245fd51f
* Contacts Card: fix nudgesErica Chang2016-04-071-8/+24
| | | | | | | | | -Fixed empty nudges -Fixed dismissed nudge reappear issue (check shared preferences) CD-464, CD-496 Change-Id: I930048e111616461ea3062a37f6d6f2dc8f88d1b
* Contacts: add plugin status change receiverErica Chang2016-04-075-10/+57
| | | | | | | | | Contacts now receives updates and updates UI accordingly based on plugin status. CD-452, CD-464 Change-Id: Ib5c3d7cd683a09d07d3f466248129d31c321123d
* Adapt to the API changes in contact blocking classesRohit Yengisetty2016-04-071-3/+3
| | | | Change-Id: Icc733172281156fac8b5e025d16ebc84db03f3f1
* (2/2) Contacts: fixed auth state handling and account handleErica Chang2016-04-073-75/+102
| | | | | | | | | | Contacts wasn't able to update the fragment UI properly with the auth state change. Also needed to lookup account handle in the event where the plugin fails to report a valid one. Issue-id: CD-448, CD-449 Change-Id: I118ba8bd152af19fbffee6a218c622d631aaf979
* Contacts Card: fixed plugin call logErica Chang2016-04-071-4/+4
| | | | | | | | The original implementation skipped call log gathering if the contact does not have any phone number. The fix was to add the check for plugin account too. Change-Id: I96d07edcab9ec023114e61cb76c7938e4a80bbdb
* Contacts: added fix for parcelableErica Chang2016-04-071-1/+3
| | | | | | Caused crash Change-Id: I1f46b9ba33bc2446bd25eed7db0bfb3033d58878
* Fix build breakage in QuickContactActivityRaj Yengisetty2016-04-071-10/+0
| | | | Change-Id: I04965b0383766465cdd4aa0bee2f7cc9ef757edb
* Contacts: incall plugin implementationErica Chang2016-04-0723-258/+2528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contacts Card: fixed encoded contact Uri invite intent -When a contacts card is launched from a dialed phone number history, the particular contact does not exist in contacts so the uri is encoded. In this case we'll provide either the display name or phone number as the Uri argument for getInvitePendingIntent. CD-346 Contacts Card: fix callog -added in cm-12.1 calllog related changes that accidentally didn't get merged in CD-354 Contacts Card: removed redundant code from cm-13.0 creation -in Quick contact card onclick handler there's redundant code since cm-13.0 was created Contacts Card: fix multiple ContacLoader calls issue -consodliate one AsynTask to load contact data -added a synchronized method checkAndBindContactData to fix contact card update condition Note. The internal implementation of AsyncTask.doInBackground is done on FutureTask; onPostExecute run on a main loop via Message. If the onPostExecute is already placed on the main loop, it can no longer be cancelled. cancel() is the most effective while an AsyncTask is still running doInBackground, upon completion, it'd either execute onCancelled() or onPostExecute() CD-324 Contacts: lookup plugin account handles as a backup -Need to rely on AccountManager to lookup logged in plugin account handles just in case the plugin fails to return a valid one CD-422 (2/2) Contacts: refactor -makes use of PhoneCommon/CallMethodInfo.java, CallMethodHelper -new InCallPluginHelper extends CallMethodHelper -InCallPluginUtils uses CallMethodHelper singleton and StartInCallCallReceiver CD-301,CD-374,CD-423 Change-Id: Iaa6f3f4539969a8cdad7c719f71ffaad8dd8cc39
* Automatic translation importcm-13-before-ambientsdkMichael Bestas2016-04-063-2/+330
| | | | Change-Id: I6ea87bb45b3905daf3b52aec89985b1fd09eb35a
* Automatic translation importMichael Bestas2016-03-285-73/+606
| | | | Change-Id: Idb4c0b9db826025854bb88f39d10e344e9da5b6e
* Fix NPE in Contact CardRohit Yengisetty2016-03-211-1/+3
| | | | | | | | | | | Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.contacts.common.util.BlockContactHelper.destroy()' on a null object reference at com.android.contacts.quickcontact.QuickContactActivity.finish(QuickContactActivity.java:2318) at com.android.contacts.quickcontact.QuickContactActivity.processIntent(QuickContactActivity.java:934) at com.android.contacts.quickcontact.QuickContactActivity.onCreate(QuickContactActivity.java:875) Change-Id: I624ca68971079e15b0b9370835533fc4a88e2448 Issue-Id: CYNGNOS-2272
* Automatic translation importMichael Bestas2016-03-1825-7/+711
| | | | Change-Id: Ib999eb0462ca17460cd278d8bca5a085899eb0b6
* QuickContact Expand/Collapse Button removal fixedgkipnis2016-03-171-1/+1
| | | | | | | | | | | When QuckContact is displayed, if there are 4 or more contact fields (email/phone#/etc...), then an Expand/Collapse button is displayed (More/Less). When the contact is edited and only 3 fields remain, this button is supposed to be removed, but was remaining in the view. Change-Id: Ic8b55a4bc551a4b05eda5cead96b4bcf4fa2b624 Ticket-Id: Cyngnos-2225
* Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-1078-1102/+480
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/Contacts into cm-13.0 Android 6.0.1 release 22
| * am 63215b6c: (-s ours) am 946371f8: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-250-0/+0
| |\ | | | | | | | | | | | | * commit '63215b6c15b40e4e2bb0aee2b8ecb814f5eedc31': Import translations. DO NOT MERGE
| | * am 946371f8: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-250-0/+0
| | |\ | | | | | | | | | | | | | | | | * commit '946371f8314ae0578a3559a956343ea9dbd77bf1': Import translations. DO NOT MERGE
| * | | am 6db1aec7: (-s ours) am 46eb2eb1: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-230-0/+0
| |\| | | | | | | | | | | | | | | | | | * commit '6db1aec72896c6b912e20d32ad55f83420915e00': Import translations. DO NOT MERGE
| | * | am 46eb2eb1: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-230-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit '46eb2eb11e43b24dfa0ca0249da6e7797289fe23': Import translations. DO NOT MERGE
| * | | | am 4887e527: (-s ours) am 0736b4af: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-190-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | * commit '4887e5270b47088f1786b9978c3b338dae8b1e6a': Import translations. DO NOT MERGE
| | * | | am 0736b4af: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2015-09-190-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '0736b4afed0089d53cdc716b24bbd51277ed1d13': Import translations. DO NOT MERGE
| * | | | | am 213fb2bd: am 3e5c8dda: Remove PinnedHeaderListDemoActivityJay Shrauner2015-08-253-245/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '213fb2bdf1ce10e53555fc0b9b3b938e508f2d00': Remove PinnedHeaderListDemoActivity
| | * | | | am 3e5c8dda: Remove PinnedHeaderListDemoActivityJay Shrauner2015-08-253-245/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3e5c8dda05966c6cb93d7137ceb51cd2f0176c66': Remove PinnedHeaderListDemoActivity
| * | | | | | am 0b216b04: am 3faa8082: Merge "Consolidate CallSubject history and ↵Tyler Gunn2015-08-131-2/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dialog." into mnc-dr-dev * commit '0b216b048a9b9fef9250aa7a3ec132be54245106': Consolidate CallSubject history and dialog.