summaryrefslogtreecommitdiffstats
path: root/src-ambient
Commit message (Collapse)AuthorAgeFilesLines
* AmbientDataSubscription: Allow subscriptions to run different queriesStephen Bird2016-06-133-7/+68
| | | | | | | | | | | If a plugin is disabled or enabled, let our subscriptions run different ambient queries. This is to address situations where extra work is done when the plugin is disabled. Change-Id: I8c95d58fa55761121481db4730e8d4ece2a2d14a Ticket: CD-682
* Show SIP call method in spinner and force update on resumeArtem Shvadskiy2016-05-171-4/+11
| | | | | Change-Id: Icd22b9d20fc3a1e36aa5349830e775b696a46328 issue-id: CYNGNOS-2655
* AmbientDataSubscription: don't post results for unknown pluginsRaj Yengisetty2016-05-131-1/+3
| | | | | | Ticket: CYNGNOS-2744 Change-Id: I076a968a3085b9eec3cf702e322dcaa4d7df6f2d
* [2/2] Preferences for provider roaming call countsStephen Bird2016-05-111-0/+1
| | | | | Ticket: CD-636 Change-Id: I43c38cb8e98443556e90c8db576d84383a4d79c6
* Make internal variables non-static.Danny Baumann2016-05-101-16/+16
| | | | Change-Id: I2eae08deb7b0c6dcd94b0a4b652366faae933319
* Cleanup.Danny Baumann2016-05-101-21/+20
| | | | | | Use isEmpty() for emptiness check, and follow naming conventions. Change-Id: I003873f76874f87bbaa321c35b72bd5da2b6cce7
* [2/2] Don't get directory intent on refreshStephen Bird2016-05-091-1/+0
| | | | | | | | | | | | | | | | Requesting this intent may cause plugins to request permissions at odd times. Instead, requesting this intent when the button is clicked will give the user some context when plugin permission dialogs come up. Note that the delay caused by requesting this intent when the button is clicked is fairly indiscernible from caching this intent at application creation. This action is only presented to the user once other metadata from the plugin has already been captured, so this call will happen after the plugin has been instantiated, and should be performant. Change-Id: I3494e71d9d9554298ded352da062c3de7faf6824
* DynamicRefresh should only refresh ENABLED pluginsErica Chang2016-05-092-5/+22
| | | | | | | | -added accountHandle query to ContactsDataSubscription CD-616 Change-Id: I2042453826990579e15b5305cf1282cbb0f9a445
* Removed PUBLISH_DISCOVERY_NUDGE permission checking for NudgeServicesErica Chang2016-05-051-1/+1
| | | | | | | | This permission does not apply to NudgeServices.API CD-625 Change-Id: I40832129dbfbe815b8bb90499cf3cdd9a7f2eee1
* NPE: Make sure clients have a credit warningStephen Bird2016-05-041-5/+9
| | | | | Change-Id: Id9e9aaaef0928dbeb1d3248d5855149f9e5cb0b3 Ticket: CD-609
* NPE: no credit info availableStephen Bird2016-05-041-1/+3
| | | | | Change-Id: I327feedc7a1517e8ef8f15e8d960048389de5790 Ticket: CD-619
* AmbientConnection: Permissions checkingStephen Bird2016-05-021-8/+37
| | | | | | | Make sure we have permissions to do what we do. Ticket CD-608 Change-Id: I563c24564700ea72a2e568f5ef2f4d1c5df833df
* Add DeepLinkAPI to AmbientApiClientRaj Yengisetty2016-04-291-0/+2
| | | | | | NOTES-53 Change-Id: I6e1e23f73d7bb0b85c2c4a2f53f12fd8a024e007
* Correctly mark data broadcast as done.Danny Baumann2016-04-291-0/+1
| | | | Change-Id: Ie75762a1b7af584debcb1f982fe25a64e915e7d4
* DataSubscription: Broadcast if we have no pluginsStephen Bird2016-04-281-5/+10
| | | | | | | | If we have no plugins then we need to broadcast to our subscribers so they do not worry about them. Ticket: CD-602 Change-Id: I2db52417d335bece3a66f08384331fa9cc6f4648
* [1/2] Contacts : fix InCall plugin related PendingIntentErica Chang2016-04-287-11/+149
| | | | | | | | | | -Have to make CallMethodInfo cloneable so the returned HashMap holds a new instance and so comparison is valid (in order to detect plugin state/auth state change) CD-550 Change-Id: I5eaa99f46681e85aa9e0f49bb0914e195a111223
* MimeTypes: Use the right onesStephen Bird2016-04-281-2/+2
| | | | | Ticket: CD-590 Change-Id: I54ae1b626172cb5421582a4112a60b58692a4ff1
* Fix NPE if getCreditResult is nullRichard MacGregor2016-04-281-1/+1
| | | | | | Ticket: CD-591 Change-Id: Id19534eccca16a929286c99008647f82ce718b03
* [1/4] Refactor CallMethodHelperStephen Bird2016-04-2627-1361/+2083
| | | | Change-Id: I3b24eedffddbf0960023dc2f1429038e5353de2f
* Only fire visibility change callback if visibility actually changed.Danny Baumann2016-04-111-4/+8
| | | | | Ticket CD-536 Change-Id: I4f910e99c7330402c728828896e16e87154084b0
* Move VoLTE changes to PhoneCommonKamaljeet Maini2016-04-081-12/+65
| | | | | | | | While porting VoLTE support from DialerNext to AOSP Dialer, some of the relevant changes are moved to PhoneCommon. Change-Id: Id18fe4743af5df133069e889c817937d7847c3b6 Issue-Id: DIALER-720
* Add new method for getting hinttextRichard MacGregor2016-04-082-9/+104
| | | | | | | | 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: I76cb1f31e5db632cb21ea283116928dd2559e555
* Use subscription checkStephen Bird2016-04-081-1/+1
| | | | Change-Id: If2749289b20c87fa396364eca3c3b264e9d39f70
* Only clear dialpad on successStephen Bird2016-04-082-13/+39
| | | | Change-Id: I5b3975ff6f6b2ea7194cbc415b3730f03ec7e796
* InCall: add low credit warningsRichard MacGregor2016-04-081-14/+24
| | | | | | CD-262 Change-Id: I42c546bd2d4cc83885b0d06a8b3a3090827f05ff
* Fix equals and hashcode overrideRichard MacGregor2016-04-081-52/+2
| | | | | | | | | CallMethodInfo equals and hashcode overrides used items that would change value occasionally, but are not important enough to care about. CD-443 Change-Id: I560dd795330c1c046fce6864d50815a111a58328
* Remove resources instance saved in CallMethodInfoRichard MacGregor2016-04-082-4/+1
| | | | | | It wasn't being used, and we probably shouldn't be saving it anyway. Change-Id: I55fd9df3e38fe22f65654d37f220d65254decb84
* [1/2]Contacts : handle soft logged out stateErica Chang2016-04-082-36/+51
| | | | | | | | | | Rearranged util function checkUserHandle which queries plugin account from Account Manager to check if we're in a soft logged out state CD-450 Change-Id: I4cb6b7555a4cd6c91ae9155d29863ec3154945ed
* Prioritize credits over subscriptions.Stephen Bird2016-04-082-3/+11
| | | | | | | | If the user has any credits. We want to show those over subscriptions. Change-Id: I1505c37ff2ba1260449278c202f87f38a33d8b48 Ticket: CD-465
* Contacts Card : fixed install nudgeErica Chang2016-04-081-0/+1
| | | | | | | | -CallMethodInfo missed to initialize dependency package CD-497 Change-Id: I5d59dd55a01c9701291416ee75115a87dff5fc57
* Fix FC on devices without AmbientCoreStephen Bird2016-04-081-1/+2
| | | | Change-Id: I8f5c259b13a53359656a755426a911d93b294d57
* [1/2] MultiSIM: Call using specified SIMRichard MacGregor2016-04-081-2/+23
| | | | | | | | | | | | Call using specified SIM from: - T9 Dialpad phone number entry - T9 Dialpad speed dial - T9 Dialpad search quick action (non-contact - 'Call <phone number>') - Contact search results (T9 and regular) Ticket CD-426 Change-Id: I7495da58df8787a5a9c8caebac51842ee6747498
* Use BrandIcon instead of BadgeIconRichard MacGregor2016-04-081-2/+2
| | | | | | | BadgeIcon is meant for attribution, and may look different than the full BrandIcon Change-Id: Ia35fdb11bf9e59547ddc5fbf810f688810c000f0
* Add preference to track wifi call eventsStephen Bird2016-04-081-0/+1
| | | | Change-Id: I71208809072a7a5c2c3d6fbd0cebfafa6a9b7dd6
* (1/2) Contacts: fixed auth state handlingErica Chang2016-04-081-184/+258
| | | | | | | | | | | | | | -Removed the use of a single global count to track InCall api callbacks. Instead use a HashMap<ResultCallback, PendingResult> to keep track. -edited javadoc for methods -added getCallMethodAccountHandle -re-organized the method that lookups account handle using AccountManager, needed when plugins fail to report a valid account handle Issue-id: CD-448,CD-449 Change-Id: I818c4dbb979744efd721b84bcc3c6a59180dcf20
* Add comments for the expected drawable attributesRichard MacGregor2016-04-081-0/+35
| | | | | | | Many of the expected attributes have specific expected styles that may not be immediately clear. Clear that up here. Change-Id: I105cc01ba24eb553f5cdf0dede0e36ea33646c24
* Add back badgeicon after refactorStephen Bird2016-04-081-13/+6
| | | | | | Also, remove duplicate getBrandIcon and sort a bit Change-Id: I64bf4c8b66ec291d23012a5baa85a3dee6a7d831
* (1/2) Contacts: refactorErica Chang2016-04-082-129/+520
| | | | | | CD-301,CD-374,CD-423 Change-Id: I5e7a88543482947aae96303ac0a4d5e39b7af80d
* InCall: check class of creditWarn valueRaj Yengisetty2016-04-081-1/+8
| | | | | | | | This helps us avoid logcat spam when Floats/Integers get mixed up CD-411 Change-Id: Ia2bf8bfb838211fce74d14b3193e75e060abe17c
* Decouple getAllCallMethods from refreshingStephen Bird2016-04-081-1/+0
| | | | | | Otherwise we can do unneeded work Change-Id: I0d81220ce4ec37dd5b5ada2302264ccd25b16831
* [1/2] fix spinner/hint issuesRichard MacGregor2016-04-081-3/+4
| | | | | | Tickets CD-389 & CD-393 Change-Id: Ic9abcd294b25c26e236dcafe630b2261a00f1676
* Fix crash with null mimetypeStephen Bird2016-04-081-2/+6
| | | | | Ticket: CD-421 Change-Id: I34a19400e1f8d08a23773ded1d5e012d75140449
* InCall: move CreditBarHelper to src-ambientRaj Yengisetty2016-04-081-0/+93
| | | | Change-Id: I41cb619fc6e9fb759c3b4e388b4606e145d3c39c
* Reintroduce dynamic refreshStephen Bird2016-04-081-59/+68
| | | | | | | | | Anything that trys to get data after a broadcast will trigger another lookup for auth state and credit data Also, wait to add the listeners till we broadcast. Change-Id: Id1d96412ed2d2187de946b7ca180c96757d926ff
* Helper methods for our t9 searchesStephen Bird2016-04-082-3/+19
| | | | Change-Id: Ia9edf198bda37efdf6f5ca16c8387a737b99be8b
* Fix Subscription button textRichard MacGregor2016-04-081-12/+7
| | | | | | | | Subscriptions use wrong button text Ticket CD-338 Change-Id: I2d3f9c0534a34a0d1654a009ccd1d4a0f9fd082f
* Remove everchanging itemsStephen Bird2016-04-081-9/+5
| | | | | | | The hashcode needs to be able to link two call methods together without factoring in things like auth state and credits. Remove those items. Change-Id: I91b86d8976c6d07eb93c08231672ec436bcd0f61
* Create easy method to just grab enabled pluginsStephen Bird2016-04-081-0/+13
| | | | Change-Id: Ia83ad58d9f5c2b6e1243370ec4d7bcfdd815bd8e
* Fix emergency call crashStephen Bird2016-04-081-2/+2
| | | | Change-Id: I5bba538fd16d58fbcdfd0d3107bab81b27e20d51
* Use new subscription formatStephen Bird2016-04-081-22/+2
| | | | | Ticket: CD-338 Change-Id: Iab87e168a160c76665ca8354bc884441af610926