| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Created by Jovie Brett Bardoles
Change-Id: Id722a8f83c97bca217188037f22733c9243514bb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some dialogs imported from CAF are still using a Holo style, this
patch changes those to material and changes some layouts for better
usability:
1) Changes the enable dialog when something is shared via BT and it is off.
2) Changes the enabling progress dialog.
3) Removes a Toast (visible in screenshots)
4) Sets a transparent theme on the intent receiver, it's only a forwarding
activity but it is up for enough time and shows a ugly incomplete view
that immediately disappears.
Change-Id: Ia3f64f7d22a6486565df3035d22883e8d216dbe0
|
|
|
|
|
| |
Change-Id: Icefeba7766793b91683f0eeff29e4f9e947ba48a
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
Add support for RTL layout direction.
Convert left/right layout properties to start/end properties.
Change-Id: Icde97a86ed71d6c98cd274fd8b8706bcaeefdadd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Android configchanges attribute is added to application manifest
so that activity will not close during orientation changes.
OPP cleanup api will be called in onDestroy instead of onPause.
Otherwise, if device went to suspend/display OFF during BTON activity
onPause is called and share file information is removed from hashmap
This will lead to transfer failure.
CRs-Fixed: 706665
Change-Id: I8c5f7a6e164e1efb1c14e964cce7910ead66e278
|
|
|
|
|
|
|
| |
This patch adds support for HID Device Role which enables phone being
used as a Bluetooth keyboad or mouse.
Change-Id: I931867442111ad997a34a166c7b2ec1daf317ddd
|
|
|
|
|
|
|
|
|
|
|
| |
This patch includes changes for implementing the Low power
proximity features. Also, it adds a new Adapter Service
for accepting upstream and downstream requests to and from the
parallel Bleutooth Adapter, created for performing specific
LE tasks.
CRs-Fixed: 581289
Change-Id: I328fa1e3ae178e78840052699b85782f7c2562fe
|
|
|
|
|
|
|
|
| |
Wipower feature code is been enabled, This is used to
perform wireless charging over bluetooth low energy.
Change-Id: I0495ffff09496f593a58dff57041b1d105841fa2
CRs-fixed: 698314
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| |
| |
| |
| | |
file" into klp-wireless-dev
* commit 'ead7ebb5ccb5bf81435437b4210a6e5413eb1c2f':
Bluetooth: Fix to avoid crash while sending deleted file
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A case where DUT send a file "A" to remote device from
download app(which was already deleted it in file explorer app)
via bluetooth, file sharing is unsuccessful. Now slide down the
status bar, Press bluetooth share item, enter to outbound
transfers screen & Press the "Try again" for file "A" on
file transfer pop-up box. Bluetooth share application is crashed
due to security exception, because it does not have following
permission android.permission.MANAGE_DOCUMENTS. So Adding
android.permission.MANAGE_DOCUMENTS permission to solve this
issue.
Change-Id: I1fea7c359edabf0e653a6afbd8fc864cd65c9663
|
|\|
| |
| |
| |
| | |
* commit '4216387d9887926cebd652f8d3807d780642fc87':
PBAP: Remove the PBAP pop up in various scenarios
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-If ACL is disconnected by remote device OR DUT(unbond from
the DUT) before accepting incoming authorization request for
PBAP connection. PBAP authorization pop up should be removed.
- If authorization is cancelled due to USER_TIMEOUT(30 second),
then PBAP authorization pop up should be removed.
Change-Id: I0a69f23c7882a43de9fe207c84926de91713c79b
|
| |
| |
| |
| |
| |
| | |
This makes our terminology consistent with the existing BluetoothHeadset profile
Change-Id: I527977250cf9a34d55d01b357c5c438826e58156
|
| |
| |
| |
| | |
Change-Id: I865f77c85d971bf06dbc0643722abad7f6b94ab9
|
| |
| |
| |
| | |
Change-Id: If2c1b9b919c90e65a3808c9a55b554c0e899a9c2
|
| |
| |
| |
| |
| |
| |
| | |
Implementation changes in Bluetooth App to support
HFP Client role.
Change-Id: I795f475c6a1548fd7cc68d0a02b22f30cf5a182b
|
| |
| |
| |
| |
| |
| | |
Bug 13964670
Change-Id: Icea596a7efa6aeeafb6c6a32bd203a9654dfa9bf
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the process of adding Wifi as a transport for Beam,
the only consumer of this code as of yet. Need to decouple
the file transfer events from the bluetooth stack to be able
to cleanly reuse them in the wifi code.
Change-Id: I9dafe4f6756bf429b4770826c46d41330a334493
|
| | |
| | |
| | |
| | | |
Change-Id: I865f77c85d971bf06dbc0643722abad7f6b94ab9
|
| | |
| | |
| | |
| | | |
Change-Id: If2c1b9b919c90e65a3808c9a55b554c0e899a9c2
|
| | |
| | |
| | |
| | |
| | |
| | | |
This makes our terminology consistent with the existing BluetoothHeadset profile
Change-Id: I527977250cf9a34d55d01b357c5c438826e58156
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implementation changes in Bluetooth App to support
HFP Client role.
Change-Id: I795f475c6a1548fd7cc68d0a02b22f30cf5a182b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug 13964670
Change-Id: Icea596a7efa6aeeafb6c6a32bd203a9654dfa9bf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 7ed421e6fbd032fed75f27a97984fd2be450c6ca.
We've switched to a whitelist approach.
Change-Id: Ibd2719c44bfa976ba8773ba3066ddca92f7eda8b
|
|/ /
| |
| |
| | |
Change-Id: I6c5ccac860a1d3f5874963760d849552e0b7ff74
|
|/
|
|
| |
Change-Id: Iba48f4757a6b54911277900b875d83eaa81488b7
|
|
|
|
|
|
|
| |
path is doing a full path match. It did not guard /btopp/
also fix a minor problem in tests/AndroidManifest.xml
bug 11148516
Change-Id: I8f4a614f999e643e8ae122baf0bf898b2b3008d5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Add proper MIME types for xml as text/xml.
bug 9170384
Change-Id: Idd23c4fe26e1d82b2ea1deb51acfeeb61c1634aa
|
| |
| |
| |
| |
| |
| |
| | |
Required to register IRemoteControlDisplay implementation
b/8209392
Change-Id: Ide88e9a11bcfa68e7d5e2095208e63afdb5c511e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- updated code to comply with MAP spec 1.1
- removed activity + strings.xml
- removed unused notification code
- fixed TODOs
- added more string validation and case insensitivity
- fixed internal+google review comments
- Added dump of incoming bMessages to /sdcard/bluetooth/log when verbose debug in enabled. Only the latest received message will be stored
- Fix functions msgListingSize and msgListingHasUnread to also consider mms filter message type
- Fix wrong tag length define for notification status parameter
- Re-added shutdown code to interupt the MNS
- removed map activity
- Added initial bluetooth map unit tests
- Fix map event report xml start tag to uppercase 'MAP'
- added support for using ProfileService class
- changed the way the Broadcast Receiver was implemented
- Fixed minor bugs found during Automotive Test Event
- FilterPeriod application parameters can be present, but with zero length
- For MMS the end-boundary were added too early
- The FOLDER entry in bMessage can be empty for a message push
- Wrong error value returned for a set status operation with a wrong handle
- In getMessage() exclude all binary content and smil.xml if the appParam attachment is set to "no".
- Set correct content id and content location for mms. Fix mms mime parser bug.
- moved disconnect to Handler thread
- fixed multipart-message split bug.
- added a few Unit tests for multi-part messages
- MMS parser optimized
- fixed exception in MNS obex Client
- fixed problem with Native PDUs not getting correct timestamp
- corrected mixup in ordinator/recipient for MMS
Change-Id: I3875762822a7f8ce0132065e0da5d0257e3850a1
Bug:10692365
|
|/
|
|
|
|
| |
bug:10116530
Change-Id: If9ce878d71c1e1b12416014c433da03b3033e158
|
|
|
|
|
|
|
| |
Add proper MIME types for xlsx, docx, pptx.
Bug: 7479989
Change-Id: I77b065f7856fa399c5084ffa96deace0e3f15487
|
|
|
|
| |
Change-Id: I9579b3074bc4bc59dd45f71c0937e8879196555e
|
|
|
|
|
|
|
|
|
|
|
| |
Photo transfers incoming through Android Beam switch processes
twice (Gallery->NFC, NFC->Bluetooth), and the permission to
access to the Gallery content provider is not transferred.
As a short term solution, grant Gallery provider
permissions to Bluetooth.
Bug: 7433498
Change-Id: Id5915f4a37bec5003a42646162249a0c2c69aa48
|
|
|
|
|
|
|
|
| |
to reject background user access.
bug 6925422
Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
|
|
|
|
|
|
|
| |
Add bt_net_stack permission
bug 6925422
Change-Id: I5765a9cc770f7c48eb88bff4757b276f0cad4709
|
|
|
|
|
|
|
|
| |
Enforce MODIFY_PHONE_STATE permission for some HeadsetService APIs that
only provided for Phone app for phone stat change notifications
bug 7115021
Change-Id: I62e3f429f4205feb50e123ee94b4c468999804a6
|
|
|
|
|
|
|
|
|
| |
In a future version of Android, the default value for
<provider android:exported> will change from true to false.
Explicitly set android:exported="true"
Bug: 3306452
Change-Id: I4df74c627505c596a3bce81a5417d32e5002a75f
|
|
|
|
| |
Change-Id: I0e601eecdb1e7f52bc7ada037b1182b1a5a49f16
|
|
|
|
| |
Change-Id: I819ca7920d9d866bd3aca88d4365a18e2369ee81
|
|
|
|
|
|
| |
PBAP image support
Change-Id: Ieb2993c9505185d4f85cbbf6b5c554936618cff0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change-Id: I65e1c18e2899cea0a1e5c0102c4d24d39dce0249
Conflicts:
jni/com_android_bluetooth_hdp.cpp
jni/com_android_bluetooth_hid.cpp
Conflicts:
jni/com_android_bluetooth_hid.cpp
|
|
|
|
| |
Change-Id: Ie6323a225b5e1ccd1ad9f65e90b144c93b957a8b
|