| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
CYNGNOS-3020
This reverts commit 15e2d38086db1419c3072a509e02ca62a6446825.
Change-Id: Ic7bde784cd961f41f3df5dfe1d2bac483553ab80
|
|
|
|
|
|
|
| |
Bug: 25138326
Ticket: CYNGNOS-2707
Change-Id: I494db57e9291fac108e2abae85db367992ad81a1
(cherry picked from commit fd7a794fc57e06606244b9fc1673c9c549cce5c4)
|
|
|
|
| |
Change-Id: I1edf600acd0057142dfb91b8a5f15118fbae9072
|
|
|
|
| |
Change-Id: I933c34a3861c97719cc8dfcf234c0c90cd7dfead
|
|\
| |
| |
| |
| |
| |
| | |
Android 5.1.1 release 35
Change-Id: I5126615a8ec0b2bf8d392ce02f6721617f77185e
Ticket: CYNGNOS-1854
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Receive and handle ACTION_MESSAGE_SENT intent for SMS type
message to move it to SENT folder when pushMessage request
from MCE is processed and SMS delivered successfully.
Bug: 22343270
CRs-Fixed: 903561
Change-Id: I9dafffc737a34233ede2d10e22cd969f520a12cf
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL adds permission check to avoid unauthorized deletion of any MMS/SMS
messages in BluetoothMapContentObserver.actionMessageSentDisconnected
function.
Bug: 22343270
Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL adds permission check to avoid unauthorized deletion of any MMS/SMS
messages in BluetoothMapContentObserver.actionMessageSentDisconnected
function.
Bug: 22343270
Change-Id: I30254036309733be4d54db17a8ef17a571cd1c5a
Ticket: CYNGNOS-985
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a crash when pairing for example with car audio that reads sms/mms
FATAL EXCEPTION: BluetoothMnsObexClient
Process: com.android.bluetooth, PID: 1944
android.database.StaleDataException: Attempted to access a cursor after it has been closed.
at android.database.BulkCursorToCursorAdaptor.throwIfCursorIsClosed(BulkCursorToCursorAdaptor.java:64)
at android.database.BulkCursorToCursorAdaptor.getCount(BulkCursorToCursorAdaptor.java:70)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:245)
at android.database.CursorWrapper.moveToNext(CursorWrapper.java:166)
at com.android.bluetooth.map.BluetoothMapContentObserver.initMsgList(BluetoothMapContentObserver.java:405)
at com.android.bluetooth.map.BluetoothMapContentObserver.registerObserver(BluetoothMapContentObserver.java:334)
at com.android.bluetooth.map.BluetoothMnsObexClient.handleRegistration(BluetoothMnsObexClient.java:238)
at com.android.bluetooth.map.BluetoothMnsObexClient$MnsObexClientHandler.handleMessage(BluetoothMnsObexClient.java:107)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Change-Id: Idea00c396c2512480befbf262571c8d8242e4af7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace '<' for '<' and '>' for '>' while parsing
email address in vcard pushed from some paticular carkits
in MCE role.
Change-Id: Id24d202a6a60b5edb2de11732527135a7542ecd2
CRs-fixed: 802930
|
| | |
| | |
| | |
| | | |
Change-Id: I4fb839a8b2c8444ff3c3fcb5b1305ff65b7455f8
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 5.1.0 release 1
Conflicts:
src/com/android/bluetooth/btservice/AdapterService.java
src/com/android/bluetooth/gatt/AdvertiseManager.java
src/com/android/bluetooth/gatt/ScanManager.java
src/com/android/bluetooth/hfp/HeadsetPhoneState.java
src/com/android/bluetooth/hfp/HeadsetStateMachine.java
src/com/android/bluetooth/map/BluetoothMapContent.java
src/com/android/bluetooth/map/BluetoothMapContentObserver.java
src/com/android/bluetooth/map/BluetoothMapEmailSettingsLoader.java
src/com/android/bluetooth/map/BluetoothMapObexServer.java
src/com/android/bluetooth/map/BluetoothMapService.java
src/com/android/bluetooth/opp/BluetoothOppIncomingFileConfirmActivity.java
src/com/android/bluetooth/opp/BluetoothOppService.java
src/com/android/bluetooth/pbap/BluetoothPbapVcardManager.java
Change-Id: Ic7a754ea29d6124d7e53b6f13eed181d3f7e64e5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
segment of multipart msg.
Encoding type is calculated separately for entire msg vs individual
segments. Change is to avoid overwriting the calculated value for
individual segment based.
Bug: 19399335
Change-Id: I8e89b7596e9c7440ace0486eceb1252094c373fa
|
| |
| |
| |
| |
| | |
Bug: 18415378
Change-Id: Id513ee848dd21c641d77be38bdc6be85b5ef87a8
|
| |
| |
| |
| |
| |
| |
| | |
Still leave the debug messages on to provide some basic debug info
Bug: 18486776
Change-Id: I08fc5c69d9a128ec5ddc97203d02b82ced255262
|
| |
| |
| |
| |
| | |
Bug: 18159457
Change-Id: I807a7d921b6e5baf111d0f0e3e182c6633a93b7c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added following bug fixes:
1) Optimize GET MessagesListing operation
Modify sqlite database query to fetch only 'MaxListCount'
elements starting from 'ListStartOffset' instead of
fetching the complete database and filter out,
when these parameters are specified in the GET
MessagesListing Request.
2) Change to set empty sender addressing in message listing
element if it is null.
3) set empty sender name in message lsiting element if null.
Change-Id: I27ba852628e0455905dcd6d37ee045da6b5afc77
CRs-fixed: 785977
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds FLAG_RECEIVER_FOREGROUND parameter before broadcasting
intent so that intent is not delayed and can be received by settings app
on time, thereby preventing connection failure for MAP
Change-Id: I2a748316eda900aa9a30b84fa4ec233bb8612a33
CRs-Fixed: 771048
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds support for updating connection state for pbap server
on settings UI. A new flag is added to allow settings sub menu to
show pbap preference only when remote device has intiaited pbap
request and not for all devices for which user has started/accepted
pairing request from remote device.
Change-Id: I3ba777a6be4a6321a260739b9a87a8c6054a74d3
CRs-Fixed: 758697
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set unique request code for PendingIntent.getBroadcast to get
the updated info of message handle(s) for pushMsg multiple
recipients case.
Change-Id: Ib36384734a0a8d534acab4a052378ffcbb09b4b1
CRs-fixed: 749034
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Handle illFormated BMessage email parsing
issue for not rfc822 complaint body format.
Change-Id: I0370d63f0042ce59a947dcc72d19f7c1ec8ea3bb
CRs-fixed: 752501
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handle Email pushMessage complete body parsing issue
for possible multiple occurencs of END:MSG in body.
Get index for last occurence of END:MSG in BMessage
pushed through MCE .
Allow SMS/MMS MNS sendingSucess event as always local
initiated.
Change-Id: I7d56279cd42683da4d7325030df3a74cbb4c59d2
CRs-fixed: 748338
|
| |
| |
| |
| |
| |
| |
| |
| | |
Modifications to fix KW P1 or
critical issues captured from KlocWork.
Change-Id: Ie7100907513147f0d743b579998a16880ebf734f
CRs-fixed: 739477
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Set MessageAccessPermission sharedPreference for MAP authorization
as per EXTRA_ALWAYS_ALLOWED flag indicated in ACTION_CONNECTION_ACCESS_REPLY
from Settings authority package.
Change-Id: I9e4c5e058aa3f27898ae9be0540d19d704e22bb3
CRs-fixed: 739535
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Email App Implementation moved email body parts storage to files
instead of direct db entries. Modify MessageSize email to fetch
contentURI and calculate size of corresponding files from Email db.
Change-Id: I6176485e4c2fe95b8310fd8316d8b14f347f88e1
CRs-fixed: 731435
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Register primary email account configuration or deletion to update
MAP Email support dynamically from MAP Server SDP only when primary
email is configured or available.
CRs-fixed: 727015
Change-Id: I7328e210d51e7a15f1493e00846f22688ff03148
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Email App Implementation moved email body parts storage to files
instead of direct db entries. Modify GET email Message implemenation
to fetch contentURI and data from corresponding files from Email db.
Change-Id: I7d3f945cfce43b004a64371f5d9d50101ddcc044
CRs-fixed: 719492
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Squashed bug fixes in map profile along with email support
MAP: Support MMS pushMessage feature.
Enable MMS push Message feature support. Parse multi
parts in bMessage including text and attachments as
per standard MIME format.
Change-Id: I292f9f96d0b1215f86c95c9ae531dbe7ec6e7b05
Bluetooth: Map: Add Bug fixes from kk.
Squashed commit of the following:
commit 2f11cda9955871c40e0ecde465e79eadeb24b089
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Fri Jul 18 00:03:10 2014 +0530
Bluetooth: Map: Bug fixes on MAP profile
Generic bug fixes in map profile.
Change-Id: I9b3dcf73de595f30c5c132caf6d9bb728f75191a
commit 741be2f08a844e7559f6e328e5b1e86311e5a4cf
Author: Ashwini Munigala <AshwiniM@codeaurora.org>
Date: Fri May 30 18:25:24 2014 +0530
MAP: Fix MAP Connect issue for frequent connect/disconnect trials
Ensure isWaitingAuthorization flag update during MAP Connect
authorization from SocketAcceptThread to avoid user timeout
disconnection for frequent remote connect/disconnect trials.
Change-Id: I1502ef1bd97cc1ecaf624f371fb23a33869ab80e
CRs-fixed: 667467
(cherry picked from commit 99eb62b3195782cdde8320e9fe231168b5b48a77)
commit 29111c59dba3498b24c5fdfad649b83ae59a7e40
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Sun Jun 22 17:33:51 2014 +0530
Bluetooth: Map: Add below fixes in map code
1) Do not allow message listing on root, telecom, msg folders.
2) Use fastXmlSerializer for creating xml folder listing element.
CRs-fixed: 683145
Change-Id: I446049d21272542274cb675123e9b1735691640d
commit 14713469686e72d82b05299ce0dac09f622fe16a
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Wed Jul 16 11:41:50 2014 +0530
Bluetooth: Map: Add only originator phone number in getMessage response
In a scenario where originator vcard comprises of multiple numbers,
Map server is adding all the numbers present in Originator's vcard
to bMessage while responding to getMessage request. This is creating
IOT issues with all the carkits, as carkits are not able to parse
properly this bMessage and always showing the last contact as the
message Originator. Add change to keep only the primary number with
which the message is sent, on the originator vcard.
Change-Id: I9b3368353ad57476357b4d9933227d39653f3328
CRs-fixed: 694556
commit 365673eb378670d8be8212b10dea34fde35a8f2b
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Wed Jul 9 12:28:02 2014 +0530
BT: Map: Add null check for number parameter during message listing
A case where message is saved in draft with no recipeint name. when we
try to fetch contact name during messagelisting, null number passed to
ContactsProvider would cause IllegalArgumentException. Add null and
empty check before quering contact provider.
Change-Id: Id25ba00af414d252dd8b1ca6475bfa31b9278757
CRs-fixed: 690894
commit 162b129aac30c5e4081b04e4144d2baa309ea587
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Tue Jun 24 11:08:48 2014 +0530
Bluetooth: Map: Parse Native format message properly
Add change to parse native format message properly and call
telephony interface with correct parameter.
Change-Id: I52b27fa872986229914787053528e2cc53d8440b
CRs-fixed: 684522
commit 2c5d6c433387c2dd863333c6f724ab6573fb4e0f
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Wed May 21 08:50:37 2014 +0530
Bluetooth: Map: IOT: Fix Message Display issue with FORD SYNC carkit
FORD SYNC carkit is unable to parse message if line feed (\n)
is present in it and displaying incomplete message. Add change to
remove line feed (\n) from message and keep only carriage return
(\r) in the message, to fix this IOT issue.
Change-Id: Icf30097a5651be8595017aa6772cac02582c99be
CRs-fixed: 667984
commit 858a4d750e05111e86d98cdbeb511d19fcd47a19
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Fri May 16 10:54:56 2014 +0530
Bluetooth:Map:IOT: Fix Subject Display issue with HONDA Carkit
Honda Carkit always masks subject field in message listing and hence
always shows a blank subject in UI. Add change to always send subject
field in Messagelisting for honda carkit,so that it can show proper
subject fields in UI and better user experience.
Change-Id: Icb9dd51ba0e1d1a5b45aeb417afcce6e79365b32
CRs-fixed: 664315
commit 030d6ddffc9df745f46566e93316c52913b14aac
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Thu May 8 13:02:58 2014 +0530
Bluetooth: Map: IOT: Fix Message Display issue with PCM carkit
PCM carkit is unable to parse message if carriage return(\r)
is present in it and displaying incomplete message. Add change to
remove carriage return (\r) from message to fix this IOT issue.
Change-Id: Ic69ffad138f2c633214a7a24c377b03c6f569d3f
CRs-fixed: 660620
commit 71124336d13c61190d41dccdf830b11242892dac
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Mon Feb 10 12:19:05 2014 +0530
Bluetooth: MAP: Synchronize Mns function's to avoid race condition
synchronize Mns shutdown and disconnect function so that if it is
called from different threads at the same point, it should not lead
to any crash.
CRs-fixed: 613764
Change-Id: I1df0440b4189521a0fb88d981f4208f225ef2a51
commit f1a78b061cffe66b58410bf2fd6dce3527150e56
Author: Pradeep Panigrahi <pradeepp@codeaurora.org>
Date: Fri Jan 31 11:27:58 2014 +0530
Bluetooth: Map: Validate BT Adapter before starting rfcomm listener
Validate BT adapter handle to avoid null pointer exception, while
trying to start rfcomm listener as a part of MAP profile startup.
Change-Id: Ifa5f1f77ea51cab793df3695a8f7058525f67b98
CRs-fixed: 608319
Change-Id: I7467247891b45708f9ebf8710c9545bdd94d93c3
Conflicts:
src/com/android/bluetooth/map/BluetoothMapService.java
MAP: Support MAP S Email Instance
Add MSE Implementation in Bluetooth Map Profile to
support email MAS instance for EMAIL type messages.
Change-Id: I65802821ebe545b605c7cfd5e9679173e780f2a1
Conflicts:
src/com/android/bluetooth/map/BluetoothMapService.java
Bluetooth:Map: Bug fixes in MAP profile.
1) Use Application mainlooper while calling phoneStateListener.
2) Generic bug fixes in map profile.
CRs-fixed: 716711
Change-Id: Ibc874c5cba17faa8c97c8b085525a4e40531b9b2
Bluetooth: Map: Add replyToAddressing field in message lisitng element
replyToAddressing field is not getting added in messageListing element even
if parameter mask is set to zero. Add change to include reply to address as
well in the messagelisting element.
Change-Id: Id4a87685684b6eb746690489f84347271bd2f21e
CRs-fixed: 718838
Bluetooth: Map: Filter email messages based on priority
Add change to filter email messages based on priority if message
lisiting is done with filterPriority parameter
CRs-fixed: 718854
Change-Id: I1dc963ba370d13b867ce559b43e939a5dcf120c4
Bluetooth: Map: Add following fix in MAP profile
Add change to filter email messages using originator email .When message
listing is done with filter originator parameter set to email
address then message listing is failing because filtering was only supported
with originator name. Add change to filter email address using originator
email as well to fix this issue.
Add change to create proper v card for all reciepints in bMessage response
to get message request.
CRs-fixed: 718859
Change-Id: I1834d6fdc77c6fb92dd29c8bf74e6df37e0b6637
Bluetooth: Map: do not add old folder field in MessageDeleted mns event
As per MAP spec 1.2 MessageDeleted event should not contain the old_folder
field in mns event report. Add change for the same.
CRs-fixed: 720675
Change-Id: I6259b6db1e3d7d8fb83a8c6ea9a912560c2cc4d9
Bluetooth: Map: Add change to not send mns event for mce initiate operation
MCE initiated operation does not need mns event to be sent by mas server.
Add change such that no mns event is sent for mce initiated operation for
email instance.
CRs-fixed: 720677
Change-Id: I2355a9c7b81b8ef3c9dc6d612ac440a8fee9b1ee
MAP: MMS SendingSuccess event only for MCE initiated push.
Report MNS SendingSuccess type event only when
MMS is pushed through MAP from MCE.
CRs-fixed: 715343
Change-Id: I6f291152d1d91e8eda5ed2aaba6986e018f45446
Bluetooth: Map: Add following fixes in map profile
1) Add change to send sending success mns event for only mce initiated
operation.
2) Add change to send message shift mns event
3) Add change to filter reply to addressing using parameter mask.
CRs-fixed: 724276
Change-Id: Iae285c63d9e0a452f44e32b58bb8c3240e07f933
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 326b5e610063ac24c0ba467ac585bd4c7f618a67.
Conflicts:
Android.mk
res/values/strings.xml
src/com/android/bluetooth/map/BluetoothMapService.java
src/com/android/bluetooth/map/BluetoothMnsObexClient.java
Change-Id: I1c1a3220d229473a6d13a568856d6001277bfa2a
|
| |
| |
| |
| |
| |
| | |
This reverts commit ba4b2f5b1e32e742a130f79ee1a1d0509390c6b3.
Change-Id: Ic99e4f489ccc67750472f4986e884f9874a6fb75
|
| |
| |
| |
| |
| |
| | |
This reverts commit 335b2b8f6f17c93a4c2b192c8e1b629e48b230b3.
Change-Id: Ifd603e49b2ad4cc3553b3459b0c743969789a8d0
|
| |
| |
| |
| |
| |
| | |
This reverts commit e796818505a0b57b225c3aeffc53f580c1e0c66e.
Change-Id: I14e1071eeb53c7cf70a7cc6cb1f5e485564b4e90
|
| |
| |
| |
| |
| |
| | |
This reverts commit 8b17c7f2f98bbea105a41a0bb962a4581b7cce5c.
Change-Id: I1bccab5135132d6e64fddfa83ba069830a74092f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds dynamic logging support for MAP, PBAP
and OPP data profiles.
OPP: Control Verbose logging runtime from adb shell
Support runtime VERBOSE logging control for OPP Server
or Client app implementation through "BluetoothOpp" TAG.
PBAP: Control Verbose logging runtime from adb shell.
Support runtime VERBOSE logging control for PBAP Server
App implementation through BluetoothPbapService TAG.
MAP: Set BluetoothMapService.VERBOSE to false from
code. Mark DEBUG for logs to be enabled by default.
OPP: Dump timestamp while send and receive file.
Add appropriate verbose logging.
CRs-fixed: 608230, 604523
Change-Id: Ia0db1ff0847d1f6822d53ecedc3f7095abed1fa5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support OPP1.2 features. OBEX over L2CAP , SRM and SRMP.
Use javax.btobex lib instead of javax.obex for OBEX OPP,
MAP and PBAP profiles.
CRs-Fixed: 639499
Conflicts:
src/com/android/bluetooth/opp/BluetoothOppTransfer.java
src/com/android/bluetooth/map/BluetoothMapService.java
Conflicts:
Android.mk
src/com/android/bluetooth/map/BluetoothMapAuthenticator.java
src/com/android/bluetooth/map/BluetoothMapService.java
src/com/android/bluetooth/map/BluetoothMnsObexClient.java
Change-Id: I9b4e64dcc4eae44252334547d5478a12f5b9bef5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bluetooth-OPP: Restart OPP service on ACL disconnect
Whenever OPP service is forcefully stopped, it will get
restarted on reception of ACL disconnected intent from frameworks.
Change-Id: I8b976c44dc5edd62288fd87abd84a1831e820957
Bluetooth: OPP: set csv format as acceptable shareinbound types
Adding csv format to acceptable inbound types, to be able to
receive these file formats from remote device.
Change-Id: I4ef8da4672d021412f806276c9bc292db17bf0c5
Bluetooth: OPP: Display proper name while cancelling transfer
Saves names of all the selected files to be transferred even
before starting of client thread so that names remain intact
in the outbound information even when the batch is cancelled
from initiator.
Change-Id: I1763e6fee04dc8bbac943ec1db4d739d46f40939
Bluetooth: OPP: Change for updating BT recipients prompt information
This patch adds changes for getting the updated name of the BT recipient
during OPP in case the device name is getting changed in between the two
consecutive transfers.
Change-Id: I0d2102343638b693fe6e02bf27ac4c603ff86962
Bluetooth: OPP: null check for optional header length
Adding null check for optional header length in put request
to avoid NUll pointer Exception.
Change-Id: Iac3b96b3803fb0ac83a41e75b7dcc6ce1f7c982f
Bluetooth: OPP: Handle Try Again exception to retry write
When the write to socket is faster than BT maximum throughput
socket buffer gets full and it returns EAGAIN, writing application
has to retry in this case. This return value is thrown as exception
from JNI layer and has to be handled properly to retry the write
operation.
Change-Id: I14db1d85a2e406cf70ae3687db8b727baaba782b
Allow an empty file information to be stored in ContentValues
OPP implementation doesn't store an empty file information in
ContentValues though the file has a valid URI info and it is allowed
to transfer an empty file to the remote device. Due to which, in OPP
file transfer history it became an unknown file. The change enables
OPP to update the valid empty file info in ContentValues which can be
processed by a ContentResolver.
Change-Id: I852bf0d51dc00325854ff1e76436cf4f104ac85c
Cleanup Opp session during ACL disconnect
Process ACL_DISCONNECT message in OPP module to clean up
the transfer related data as soon as ACL is disconnected.
This removes the delay we observe in displaying File not received
message when Remote device's Battery is abbruptly taken out
or remote disconnects the ACL when authorization request is in
pending state in DUT.
Change-Id: Ie749990987e43a02636c4e573e706f615e58fe7b
Bluetooth: Mark proper file transfer status upon OBEX response timeout
This patch will handle the scenario of obex timeout which occurs due
to cancelling the transfer in between and trying sending again.
Change-Id: I92a269be6cd7e972ddc98b10f036b19e7aebbbe5
Bluetooth: Do not terminate session when a Batch contains an empty file
If an empty file is rejected by the remote device, client session is
terminated and remaining files in the batch also marked as failure.
This change continues to send the pending files in the batch even an
empty file is rejected by the remote device. Also it provides appropriate
message to the user.
Change-Id: I0a48e1fb652c51b8e7eb8fa1c9a66efe99acd3d2
Bluetooth: OPP: Update the user confirmation with proper value
User confirmation for the Incoming Files is updated in the Array
from the Database. There are two Database reads, the first read
is used for evaluating the user confirmation and the second read
to update the information in the Local Array. The stored
information in the Array will be used to evaluate a change in
its value in the database. Because of this, if there is a change
in the database from the point of first read to second read, the
value stored in the array would be different than the value
evaluated. In this case the evaluation during next updateShare
call will not see any change in user confirmation value in database
and array and hence will not result in Notifying the ServerSession
which is waiting for user confirmation.
Change-Id: I382f9cccf63a8f53f46bb84639ab1345f784ad43
Bluetooth: Add send file information before retransmission
This patch adds send file information before retrying failed file transfer.
without this change, file outbound file could not be sent as file
information was missing resulting in error.
CRs-Fixed: 505101
Change-Id: I53e828672d107e80a600fbbcc73c7b0ec7bf0737
Bluetooth: OPP Update progress in worker thread
OPP throughput was seen very less because of the progress update
from BT Read/Write path. Moved it to worker thread.
Change-Id: I884356dc8b42a7f7eca1b8581e3118d5ec2ce9e2
Clean up file when file transfer is aborted by remote/local device
Delete File when the transfer is terminated due to
Remote's BT is turned off, remote being taken out of reach or
remote is turned off properly. Also delete the file on the next
reboot while the previous inbound transfer was interrupted by
local device power off.
CRs-Fixed: 506182
Change-Id: I96211e701610322881eda8345d04898ae3f18ab6
Bluetooth: set apk format as acceptable shareinbound types.
Adding apk format as a acceptable inbound types ,to be able
to receive these file formats from remote device.
Change-Id: I5175b634b88418b0d5c9baaedb84a48fe0d97357
CRs-fixed: 497427
OPP: Set ics format as acceptable shareinbound type
Adding ics format to acceptable inbound type, to be
able to receive these file format from remote device.
Change-Id: Ief9da2c745378ea28fa03da770aee3c8310892c4
CRs-fixed: 570922
OPP: Support for Obex Tx Rx at the same time
This change will allow the OPP Rx to be done even when
Tx is ongoing.
Change-Id: I87a048e8fdb1090bb755fe977901cc6325ce5415
CRs-fixed: 565447
Bluetooth-OPP: Separating Inbound and Outbound notifications
This change will ensure that inbound and outbound notifications will
be updated separately. Otherwise, during simultaneous Rx and Tx if
one of the ongoing transfer is aborted notification status will not
be updated and will show transfer in progress because there is one
active transfer.
CRs-Fixed: 601855, 609292, 653842
Change-Id: I907bd9706a747df82162ce3e5ce42eb40f8fc96f
Bluetooth-OPP: Truncate receiving file name instead of rejecting it
Truncate receiving filename if name exceeds OPP_LENGTH_OF_FILE_NAME
instead of rejecting file by the Obex server with response
OBEX_HTTP_INTERNAL_ERROR.
CRs-Fixed: 576621
Change-Id: I2ef5fbe22252f41a8c87958a2558476a310b7f39
Bluetooth-OPP: Cleanup OPP transfer sessions after abort
When user cancelled the tranfer while ongoing transfer,the transfer
session will be cleaned up properly. Otherwise, while Tx + Rx concurrency
if user abort the Tx and start Tx again new tranfer session will be created
only after Rx is finished.
CRs-Fixed: 585962
Change-Id: I9b5e1c0f1748ccc47811d669ddab96ba43f424f5
Bluetooth-OPP: Update notification while BT is turning OFF
Update notification while BT is turning OFF. Otherwise, if
notification thread didn't start when BT is turning OFF
inbound/outbound file transfer status notification will not properly
updated and show transfer in progress.
CRs-Fixed: 550485, 594171
Change-Id: I0752bcddcf218726c8564d26da7bc7c86a0005fd
Bluetooth-OPP: Handle Exceptions while OPP operation
Handle Exceptions while OPP operation. Otherwise, during transfer
if there is database or security error which will cause bluetooth
app crash.
CRs-Fixed: 568920
Change-Id: Id64facc10d08be7b7a60cd3b2b6a54e46f844777
Bluetooth-OPP: Cleaning up cursor object to avoid memory leak
Cursor objects are leaked after BT OFF/ON, when it is referenced
(Directly OR Indirectly). So Garbage Collector doesn't collect
cursor objects which are referenced. Setting NULL to cursor object
after closing to mark those variable as weak reference object.
Any objects memory is immediately claimed by GC, which are marked
as weak Reference.
CRs-Fixed: 579016
Change-Id: Ic019ae5bf6eb91fb25a259673216cd67fce4afe2
Bluetooth-OPP: Add pending state for multiple connection request
This change will ensure that multiple client connections are set to
pending when there already exist an OPP client connection. Otherwise,
some application can start OPP Server session without transfer and
if another client sends a file request during this time will cause
multiple incoming file request popup in DUT if first device trys to
send the file while DUT is already waiting for user confirmation for
the incoming file request from the second device.
CRs-Fixed: 659167
Change-Id: Iac6b3c160bd5be6a4ddcd31f8e82d1ee2528d0ec
Bluetooth-OPP: Fixed the BT occurs ANR when tap "try again" button
When tap the "try again" button on the send failed dialog, the
method "BluetoothOppSendFileInfo::generateFileInfo()" will be
call, if there are about 1500 contacts, execute this method
would be very time consuming, So caused the ANR happen.
Changed this method into the child thread execution, through
a Handler send a message to the main thread after this method
return, and then retry the failed transfer.
CRs-Fixed: 522213
Change-Id: I22bd04160e826789f8154bd334d948bb66ea1296
Bluetooth-OPP: Avoid IndexOutOfBoundsException if share is zero
This change will avoid IndexOutOfBoundsException if number of sharing
files are zero. Otherwise, Bluetooth application will force close itself
when exception encountered.
CRs-Fixed: 628860
Change-Id: I42473c8ca2d9116c6d57707ab8f3c452d7027e67
Bluetooth-OPP: Add ogg format support
Add ogg format to acceptable share inbound types to send/receive
these file format using OPP.
CRs-Fixed: 623953
Change-Id: I0547a4aee11db294f1d58a61b0b2c68f62e3498c
Bluetooth-OPP: Clear incoming file notification while BT turned OFF
This change will ensure that incoming file notification will be cleared
from notification bar while BT is turned OFF. Otherwise, incoming file
notification will be displayed on notification bar even though BT is OFF.
CRs-Fixed: 610549
Change-Id: I11d6cc0360802862d836d082e2b16e139090dad0
Bluetooth-OPP: Cleanup pending share while BT turn OFF
This will ensure that pending OPP shares will be removed from database
while BT is turning OFF. Otherwise, BT turned back ON if there are some
pending share in database it will start sending automatically.
CRs-Fixed: 611970
Change-Id: Ibc2664840f11bfeaefb5984e8ac18a171d515129
Bluetooth-OPP: Avoid sending TRANSFER_COMPLETED_ACTION intent
This change ensure that TRANSFER_COMPLETED_ACTION intent will not
sent to receiver if there is any exception occurred during OPP
operation because this intent is already sent to receiver from message
handler. Otherwise, OPP toast message will come twice in UI.
So no need to sent it twice.
CRs-Fixed: 609287
Change-Id: I5fbd78d51102dad27145133cd867150f886cc997
Bluetooth: Fix the issue of certain files didn't send by bluetooth
DUT didn't send APK files or files whose format were not supported.
DUT didn't send several MP3 files by one time. These caused by the
bluetooth file transfer limit.
Add file type for bluetooth.
CRs-Fixed: 591288
Change-Id: Iaa7443dafa724a7c34597bd14bd160528a05fd06
Bluetooth: The hint display English when share a 0kb file in Chinese
Add the Chinese resource for "empty_file_notification_sent" string.
CRs-Fixed: 670792
Change-Id: I6e1db8b6a9abc672009a2d2d6d9bab11e7a5e822
Bluetooth:Invalid turning on BT under CMCC mode
In CMCC mode, share a picture through BT will turn on BT when airplane
mode is on. Return when airplane on and in CMCC mode when shareing
files through BT. Use res-overlay variable to control it.
CRs-Fixed: 655125
Change-Id: I4682d8eaf3c8faf990605f89b5f9b885df35e542
Bluetooth-OPP: Orientation change fix for tranfer history popup
Enable screen orientation support in Manifest file of Bluetooth app
for Bluetooth file tranfer history activity. Otherwise "Clear List"
popup will disappears soon after screen orientation changes.
CRs-Fixed: 584258
Change-Id: Ia6cfe1e6a48d37271fe6d558ea090fe39669410f
OPP: Use long as file size instead of int
This patch fixes issue of problems in sending/receiving files
which cannot be accomodated in int type of Java. Instead of using
int, long data type is used, which can hold 64 bits data size in JAVA
which is suitable for storing file sizes in GB. Changes are done
in how updates are sent to progress bar which supports only int
by using the percentage of data transferred to update the progress.
Change-Id: Ie545fd483c46dd7f41da56857e67decbe7f5a167
CRs-Fixed: 583275
OPP: Always try to get current name of device from stack
This patch tries to retrieve current name of device from BD stack
everytime, so as to avoid using cached device name which would lead
to wrong name when remote device name has been changed.
Change-Id: I0ae604b0cb7203dec79bdeeb6bd8d89793f29fa9
CRs-Fixed: 593828
Conflicts:
src/com/android/bluetooth/opp/BluetoothOppNotification.java
Conflicts:
res/values/strings.xml
Change-Id: I4682d8eaf3c8faf990605f89b5f9b885df35e542
|
|/
|
|
|
|
|
|
|
|
| |
As per MAP profile spec when message listing or folder
listing is done with 0 as max list count, then the response
should not contain the body header. Hence add change for the
same
Change-Id: Idf50586ccf5616dec455cf36cb2d6edc24486e41
CRs-fixed: 590672
|
|\
| |
| |
| | |
lmp-dev
|
| |
| |
| |
| |
| |
| |
| | |
In MAP profile message update is not implemented for sms/mms.
bug 17723738
Change-Id: I6c7baaf9e6f54e7af1b6c8458a6a458239da7d10
|
|/
|
|
|
|
|
|
| |
+ Beforehand, if a user disabled MAP and then unpaired the device, then
Settings would automatically deny future MAP requests from the device.
Bug: 17391677
Change-Id: I068f37426ed6a044ed2b5e9391cd9dd00908f867
|
|
|
|
|
|
|
|
|
|
| |
A bug in Java makes the Long.parse() function throw and exception when message
handles start to become negative (which happens for CDMA SMS messages).
Fix simply shifts the handle masks on byte down in order to get around
the bug.
Bug: 17627572
Change-Id: Ie41aef589dc9d3ecb8bc7167472218e57a52fa33
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.
However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.
Bug: 17158953
Change-Id: I3808891cdcce84aa0d4df31f998c9f1240159d95
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not all messages in the MMS/Email message data bases have
the size/attachment size attribute set.
This causes MAP clients to behave wrongly, e.g. they
request to exclude attachments if the attachments size
is 0. Even for messages which actually have attachments.
The attachment size is the only way for MAP clients to
know if attachments are present, hence the behavior of
the client is not wrong.
bug 17389452
Change-Id: I82cd76bc044601eb6e8b190d0c6fc41b51410a93
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Making this broadcast ordered makes it possible to be intercepted
before Settings get it. This is cruicial to Android Audo's use case
and test automation.
The previous change we put in:
https://googleplex-android-review.git.corp.google.com/#/c/499135
was accidentally overwritten by
https://googleplex-android-review.git.corp.google.com/#/c/503267
We are putting this change back in, and making similar changes for
PBAP and HFP.
Change-Id: Ia9b4c22a05d0c9beb1485b53ddf04c45fa210526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added support for Emails
- added activity to do setup of the email accounts to share
- added improved handling of MMS, SMS and Email
- Many optimizations to speed (especially getMessageListing)
- fixed wakelock problem
- fixed user timeout problem when user do not react to msg access request
- added missing privileges
- support for Quoted Printable format
- added accountId in test case URIs
- fixed problem with service numbers being strings
- fixed problem with read flag in getMessage
- added support for transparent flag in Email Push
- added missing send-event for non-imap accounts
- set attachment size to 0 if text-only message
- fixed double send for sms messages with retry
- removed secondary phone numbers from recipient/originator
- removed insert-address-token in MMS messages
- fixed null-pointer exception in settings (missing extra in intent)
- send text-only mms as sms (workaround to make it cheaper)
- fixed rejection of native and fraction requests
- better handling of unknown message types in push
- fixed problem with possible illigal xml chars in message listing
- added missing WRITE_APN_SETTINGS permission to manifest
- fixed problem with notifications when pushing to folders other than OUTBOX
- removed debugging code
- added support for threadId
- fixed permission problems
- changed to use ContentProviderClients for Email app access
- fixed names for member vars
UPDATE: Moved the MAP E-mail API to the bluetooth package.
UPDATE: Added check for the presense of MMS parts.
This is needed due to a change in the MMS app/subsystem,
where deleted messages gets corrupted.
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
Change-Id: Ib5dbe7c2d5c0ba8d978ae843d840028592e3cab4
|
|\
| |
| |
| |
| |
| |
| | |
maxlist count is 0"" into klp-wireless-dev
* commit '24b52ce786d8c5fa4bf1c4294ec9fbfd3738754f':
Revert "Bluetooth: MAP: Do not set body header if maxlist count is 0"
|
| |
| |
| |
| |
| |
| | |
This reverts commit 7f25f97c92b970ef5d58b36f963e7233efd5bf2a.
Change-Id: Ib07fd8439f07de8e6028e88eb0a9798c1aec61a0
|
|\|
| |
| |
| |
| |
| |
| | |
is 0" into klp-wireless-dev
* commit 'c73bd48e5351a12103cb58a15fa9fc33825c9b07':
Bluetooth: MAP: Do not set body header if maxlist count is 0
|