summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add maps preview for addresses and integrate ridesharing request ↵replicant-6.0-beta-0001replicant-6.0-alpha-0006Wolfgang Wiedmeyer2016-12-126-399/+19
| | | | | | into Messaging" This reverts commit 1a3b89e56b63270c0394f5b50cd4ce3081c1f7ee.
* Revert "Fix getProviderInfo compile error after api change"Wolfgang Wiedmeyer2016-12-121-2/+2
| | | | This reverts commit 435f3e70248f235ec918d08efa20178192053529.
* Revert "Adding metrics related to Ridesharing"Wolfgang Wiedmeyer2016-12-124-413/+0
| | | | This reverts commit 7619c3c57f0e9cd41a26aa8170ecae05591ac466.
* Revert "Adjust map and map bar UX"Wolfgang Wiedmeyer2016-12-122-10/+7
| | | | This reverts commit c0de5d0cf1c44664fcfd9adf0568ac137c215512.
* Messaging: Fix incorrect equality checkMichael W2016-11-182-2/+2
| | | | | | | | | | The change https://review.cyanogenmod.org/#/c/163343/ introduced an incorrect equality check resulting in sms not being sent when sms preference is set to "Always choose". Correctly use equals() to fix this issue. Change-Id: Ic1a4667163c8da5c3e2108e460c25c07e0903241
* really use the subId: PhoneAccountHandleMarcos Marado2016-10-202-2/+30
| | | | | | | | | | | | | | | | | | | | | | | PhoneAccountHandle's getId does *not* return subId, nor an int, but an unique String identifier: "A connection service must select identifiers that are stable for the lifetime of their users' relationship with their service, across many Android devices. For example, a good set of identifiers might be the email addresses with which with users registered for their accounts with a particular service." Not only onSimSelected is expecting to receive int subId, but more importantly, if you try to Integer.valueOf(selectedAccountHandle.getId()) you'll probably bump into a few NumberFormatException's (if the identifier is an email address, as the previous text suggests, this is what's going to happen). Fix this by actually using the subId for the PhoneAccount that has that PhoneAccountHandle. Change-Id: I366e25602db2f96ffb95192c7664993834ba99fc
* Adding metrics related to RidesharingVineet Patil2016-09-304-0/+413
| | | | | Change-Id: I07720930146f3c6219ad77da222a5cf0218b20d8 Issue-Id: RIDE-344
* MediaPicker: Check for NPEAnkit Gupta2016-09-301-0/+4
| | | | | | | | make sure view has been created before asking for its visibility. Issue-id: FEIJ-1135 Change-Id: Id5c537b5446c4e8edb1a6748d931e245fa31fd64
* Adjust map and map bar UXTyson Miller2016-09-132-7/+10
| | | | | | | | | | - Add ripple to map button bar - Fix drawable tint color for generic ride icon - Fix margins for map button bar - Map zoom is closer to spec, but layout still WIP Change-Id: I77c9a570aea1462f91d85c2bd149aac895712caa Issue-Id: RIDE-246, RIDE-241, RIDE-243
* Fix getProviderInfo compile error after api changeemancebo2016-09-131-2/+2
| | | | Change-Id: Ied74ba7efb73e0ed04fdbaf2b3d697f629c34906
* Add maps preview for addresses and integrate ridesharing request into MessagingYvonne Wong2016-09-136-19/+399
| | | | | | | | | | | | | | | | | | | - Uses the first map link found in a message to get a static map view - The static map view is shown as a preview and can be clicked to go into the default maps app - Clicking on request ride will lead the user to RideCoreUI with pickup location prefilled based on the address in the map link - Clicking on the directions button will lead the user to google maps's navigation - Display placeholder background when map is loading or offline with no cached image - Use RoundedCornerTransformation to transform the map into a bitmap with rounded corners - Show brand bitmap from ridesharing services if an active provider is chosen, otherwise display the generic ridesharing icon Change-Id: I8e74c6d9beeaa58f01f0a51e5a831c6697c890ea Issue-Id: RIDE-75, RIDE-76, RIDE-77
* Messaging: fix some int'l numbers from displaying incorrectlyRoman Birg2016-09-071-15/+4
| | | | | | | | | | The framework already handles a bunch of special cases and uses libphonenumber to format the number. Ticket: CYNGNOS-2945 Change-Id: If9b08b04b74bd1aa3b11214a42a15f7bfbc5ab48 Signed-off-by: Roman Birg <roman@cyngn.com>
* Messaging: fix bad recycle on sending two mms in a rowRoman Birg2016-09-071-0/+1
| | | | | | | | | | | When we are handling the add animation ourself, we need to call the dispatchAdd() to finish the operation so the recycler view can propely handle it. Ticket: CYNGNOS-3253 Change-Id: I7fe17e0f41446122f39bd99a394c3c51754724d3 Signed-off-by: Roman Birg <roman@cyngn.com>
* Unachive conversations from unblocked participantsd34d2016-08-151-0/+41
| | | | | | | | | When a contact is blocked, the conversation with that participant is archived. This patch unarchives the conversation when the participant is no longer being blocked. Change-Id: Ief7146ad76fc786621f080c3909e922ace1f4a75 TICKET: CYNGNOS-3226
* Clear avatar media cache on theme changed34d2016-08-081-0/+16
| | | | | | | | | | Default avatars retained the previou;sly applied theme's colors due to the avatar images being cached. This patch checks if a theme change has occurred and if so destroys the avatar media cache so that it can be rebuilt with the newly applied theme's colors. Change-Id: Iab3d6e0171a949235da643fc80bf54d9375e42fb TICKET: CYNGNOS-3118
* Use app settings for conversation settings if no custom setArtem Shvadskiy2016-08-054-6/+69
| | | | | Change-Id: I8ccfe7fec395c06de38a84ba2d8b2d025b3b84d7 issue-id: FEIJ-1291
* Underp buildd34d2016-07-251-2/+3
| | | | Change-Id: I49929448c8853837ca282bc8fb07e26845d2c203
* Themes: Expose new hard coded colors for themesBryan Owens2016-07-251-2/+2
| | | | | Change-Id: I944d2ad88f177228d5fedbf213265fe05313e185 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Messaging : Fix blacklist syncDanesh M2016-07-206-29/+90
| | | | | | | | | | | | - Fix issues where adding a remote blacklist (via settings) didn't update the overflow option - Fix blacklist observer crash due to not overriding onPostExecute - Fix deletes in both the provider and sync service. - Ensure we notify of changes and observe them in the activity. CYNGNOS-2998 Change-Id: Icac5e290aa129e878e59496e6c2e690b0f504633
* Stop quick messages from Russian numbers showing multiple conversations.Nathaniel Waggoner2016-07-191-9/+2
| | | | | | CYNGNOS-3145 Change-Id: Ic9f24861adeb074b6c6c8845217cb0dbd893d669
* Messaging: fix cursor not close explicitlyKeith Mok2016-07-161-6/+4
| | | | | | | | Cursor always need to be close after query. FEIJ-1585 Change-Id: Ie523c89b6271a28d3d2d8a08232387c1bd609880
* Messaging app crashes after a few MMStnmy-cyngn2016-07-071-1/+2
| | | | | | | | | | | In some scenarios, data not bound when SIM state change local broadcasts are received. See stacktrace for more info. Protect against/skip call to update() in such scenarios. Bug-Id: CYNGNOS-3062, KIPPER-718 Change-Id: If94d789aecda47ebff775155c66b670a10ff7fe4
* Remove identifier that causes warnings under OpenJDK 8 compilerNeil Fuller2016-07-011-2/+2
| | | | | Bug: 24494019 Change-Id: Ifca3226d3de1c72cc24c6092e105b42b95408c18
* Messaging: Use textutils to match against SIP scheme.Adnan Begovic2016-06-282-6/+12
| | | | | Change-Id: Ica8ddc9fc405dc6eedc0b808897513078c64e752 TICKET: CYNGNOS-2982
* messaging: Filter out SIP accounts from SelectAccountDialogFragments.Adnan Begovic2016-06-133-0/+42
| | | | | Change-Id: Iff9f3115efa7fae1244cc5712daf1a2cfd31a4dd TICKET: CYNGNOS-2982
* Fixed storage permission issue for attachmentsGary Kipnis2016-06-103-3/+9
| | | | | | | | | | | | | | Moved some audio library tab related string to cm_strings.xml When Storage Permissions were being requested and granted, they were applied to either the Gallery (image & video) or Audio tab. This patch makes sure that the permissions are propagated to both. Change-Id: I75cc9c4cdf05062a0b37a842fca9ebcb6f404a40 TicketId: Kipper-587 TicketId: Crackling-937 TicketId: Feij-143 TicketId: Porridge-64
* PhoneUtils: Doublecheck that the system default is actually usableRicardo Cerqueira2016-06-082-4/+4
| | | | | | | | | | | | | | Before deciding a subscription is a usable default, confirm it actually matches a slot. The corresponding SIM may have been removed from the system, which would get us stuck in a "Network not ready." scenario Additionally, remove "has a preferred SIM" from the "ready for action" checks. A preferred SIM is only relevant in send/download scenarios for which we have prompts; for other actions (delete, resend, move), it's pointless to block on the lack of a default. Change-Id: I6067589a56c0da9d993e114654664ef3a0aa8688 Ref: CYNGNOS-3013
* Messaging: fix multi participant "always-ask" MSIM flowRoman Birg2016-06-083-19/+21
| | | | | | | Ticket: CYNGNOS-3013 Change-Id: Ia910253c65869964e5dbd82ec8863df2c0e05e6b Signed-off-by: Roman Birg <roman@cyngn.com>
* Messaging: Respect always ask pref in quick messagecretin452016-06-012-10/+76
| | | | | | Issue-id: CYNGNOS-2712 Change-Id: I8d010661424392852621982f552f388410ef4587
* [SMS] Replace message content for protocol 0x41-0x47Deepak Kundra2016-05-275-10/+89
| | | | | | | | | SMS replacing feature is missing on 13.0 Added support for this. Issue-Id: FEIJ-401 Change-Id: I33d07a4accd6f95263199d87c192b7f33d3b2a96
* Integrate CallerInfo with notificationsArtem Shvadskiy2016-05-2517-113/+262
| | | | | | | | | - Allow notifications to use network URIs for avatar icons. - Implement redirect following in network URI requests. - Refactor lookup API Change-Id: Ica61c7aadac1d32dc9d04785f381abf9e0fb1441 issue-id: OPO-725
* Add handling of MMS Read report.allu.haribabu2016-05-257-29/+118
| | | | | | | | MMS Read report handling is missing on 13.0. Added support for this. Change-Id: I6db874537beee246499537a76e419b1991a423b9 Issue-Id: CYNGNOS-2734
* Revert "[SMS] Replace message content can't be replaced"Deepak Kundra2016-05-243-57/+6
| | | | | | This reverts commit 88b174ec24c702fe82b41bed285eb9d9d3e7bc60. Change-Id: I0ddbb917ccc82ff2b548745c9395ae93a97a92de
* [SMS] Replace message content can't be replacedallu.haribabu2016-05-243-6/+57
| | | | | | | | SMS replacing feature is missing on 13.0 Added support for this. Change-Id: Ib03111685f420c205542b7af28c553ff18480358 Issue-Id: FEIJ-401
* Added support for video and audio mms attachmentsGary Kipnis2016-05-2417-10/+1059
| | | | | Change-Id: I3be9e54e9aba15416a8a442098ae5c88814fa72e Ticket-Id: FEIJ-128, FEIJ-143
* Add UI/UX capability to attach a saved video to a MMS messageMartin Brabham2016-05-234-12/+76
| | | | | Change-Id: I184a8d84f019d916fd07d8b90fb96b80408c6768 Ticket-Id: CRACKLING-937
* Messaging: handle single sim MSIM deviceRoman Birg2016-05-193-8/+7
| | | | | | | | | | We don't need to always prompt if the user has one sim in a multi sim device. Ticket: CYNGNOS-2185, CYNGNOS-2570 Change-Id: I601d62f2df8952a97a50a43592d49ab5176010f1 Signed-off-by: Roman Birg <roman@cyngn.com>
* Use new origin code in LookupRequestRohit Yengisetty2016-05-191-2/+1
| | | | | Change-Id: I0f83b3fc252867c9a99d04ada894c4c47e59693e Issue-Id: CYNGNOS-2888
* Messaging: properly handle "always ask" SMS sending optionRoman Birg2016-05-163-12/+18
| | | | | | | | | | | | Before the app would require the system to have an SMS subscription actively selected, but the app also allows the user to override that sub and send an SMS with another SIM. If the user overrides it, we should respect their choice and allow the SMS to send if no system one is ever selected. Ticket: CYNGNOS-2185, CYNGNOS-2570 Change-Id: I04c1e8bd5c0c41c90af870c4336c0c7f5ba83d4c Signed-off-by: Roman Birg <roman@cyngn.com>
* PhoneUtils: Phone numbers are always LTR regardless of groupingRicardo Cerqueira2016-05-161-1/+5
| | | | | | | | | | Don't reformat the output of libphonenumber when it comes out grouped according to regional formats. Even with spaces, phone numbers are not RTL. Ref CYNGNOS-1171 Change-Id: I9aa0c8b697bf2db4a87e69cecac8f7059712272e
* Save messages to SIM featuretnmy-cyngn2016-05-119-19/+1076
| | | | | | | Porting save message to SIM feature from 12.1 to 13.0 Bug-Id: PAELLA-221 Change-Id: Id340d2cd5bb1ec0fa82cfbea8575999e65f4c34e
* Update LookupProvider API callsRohit Yengisetty2016-05-091-4/+9
| | | | Change-Id: Ie62019f1c723c9f319321a87b214ff7c6c3848c7
* Check additional extra for sms text from share IntentArtem Shvadskiy2016-05-091-1/+7
| | | | | Change-Id: I1f04f54dfb2dc89ecae7717a33080e15ede5b6c7 issue-id: CYNGNOS-2551
* Phone did not receives Mms delivery report messageallu.haribabu2016-05-061-1/+85
| | | | | | | | MMS delivery report is receiving when MMS delivery report is enabled but UI is not handled to let the user know.So UI display is handled Bug: FEIJ-130 Change-Id: Ie6611d45102590da7f985e4f05c78eefb1205cf2
* Showing Normalized number instead of denormalize numberjaffersulaiman2016-04-294-9/+35
| | | | | | | | Normalized Number is showing for Regex BlackList Number Bug:CYNGNOS-2113 Change-Id: Ie01e6938b9f3357cf7e8ffa59aa4c32c5e32d71f
* Fixed the cutoff timestamp for MMS deletion by limit.tnmy-cyngn2016-04-262-8/+11
| | | | | | | Also null check for query selection arguments. Bug: PAELLA-195 Change-Id: I7a2caba894c9a371dbdd7ddb38e17406b5df1818
* Implement lookup provider for 4x3 and 3x3 widgetMartin Brabham2016-04-257-22/+233
| | | | | Change-Id: Ia44ac2c75172f10459d191dbca4731d00d8e542f Ticket-Id: MMS-213
* Text/Multimedia message limit featuretnmy-cyngn2016-04-2213-6/+536
| | | | | | | | | Porting feature from 12.1 to 13.1 Feature to set/configure SMS and MMS limits per conversation. Bug: PAELLA-194,PAELLA-195 Change-Id: Ib1bd15f58a3d33572484d8c28de42e481c66f6b0
* Messaging: Read Report != Delivery Report.Adnan Begovic2016-04-181-1/+1
| | | | | TICKET: CYNGNOS-2520 Change-Id: I292d692e81dd10784a469f404cc143978b36a44d
* Messaging: Fix mms expiry preferences.Adnan Begovic2016-04-182-36/+1
| | | | | | | | | | | MmsUtils utilizes BuglePrefs#getSubscriptionPrefs to retrieve shared preferences specific to a subscription id (this is visible in the FactoryImpl of Messaging). Thus, its entirely wrong to have multiple options, per slot, per subscription id. TICKET: CYNGNOS-2520 Change-Id: I33e49160ed64ebf38f55022bc1f5293704815399