Nick Pelly
d1a04291c5
Update application code for BluetoothAdapter.getDefaultAdapter().
...
Change-Id: Ic8f2188a28631f55ceb048daff545ca5e6053f92
DrNo: eastham
Bug: 2158765
Joke: When is a car not a car? When it turns into a driveway.
2009-10-08 01:03:34 +02:00
Jaikumar Ganesh
98d76cc9b8
Remove STOPSHIP debug log.
...
Bug: 2151872
Dr No: Eastham
2009-10-06 08:01:21 -07:00
Android (Google) Code Review
6e6d2362cc
Merge change I25f2afba into eclair
...
* changes:
Check if a device is added to the cache before returning.
2009-10-01 16:07:49 -04:00
Jaikumar Ganesh
fca3c1cf8b
Check if a device is added to the cache before returning.
...
For incoming connections, we don't have the device in the Settings cache.
After we tried to readPairedDevices, check if we added to the cache.
If we successfully added it, continue with the connections, else bail out.
Bug id: 2160617
Change-Id: I25f2afba8ef6d2c32a7940f967cf12f1321ad9e0
2009-10-01 13:05:22 -07:00
Michael Chan
b547dda338
Don't auto-connect to OPP after pairing
...
Change-Id: Ie7e8a7ef7188f7ffa6b32595764c100a0d72be89
2009-09-30 23:08:19 -07:00
Michael Chan
e6531e253b
b/2154978 Show only connectable profiles (Headset and& A2DP but not OPP) in Bluetooth Device Advance Options aka "Connect to..."
...
Change-Id: I34249a4828707bde491da4a82dca94ecf37cf490
2009-09-30 17:43:12 -07:00
Michael Chan
eaf13a2c15
b/2154576 Fixed the problem were some BT profiles were not connected when first UUID notification of many didn't have all the UUIDs
...
Reset connect timer event if profile was non-empty.
Clear profiles after unpair
mConnectAttemptedWithoutUuid
Change-Id: I5eab1270a755c6c87eb5be13a2f43dbbcd9a2f88
2009-09-30 12:34:32 -07:00
Michael Chan
e1089ad338
b/2142065 Added Bluetooth API to allow developer to request the user's permission to enable discovery mode.
...
Change-Id: I6da1598661ad05b4cfd2b7cc81e05d3053df5777
2009-09-28 17:16:23 -07:00
Nick Pelly
079ee952bd
Update application for android.bluetooth.ParcelUuid -> android.os.ParcelUuid
...
Change-Id: Iebf2b3ea9cac224e3e6c67e503b1063491dce5bb
2009-09-28 13:05:28 -07:00
Android (Google) Code Review
7b576e4917
Merge change 27058 into eclair
...
* changes:
Fix device picker minor bug
2009-09-28 14:46:49 -04:00
Michael Chan
b662f54542
b/2137747 Fixed the problem where BT is stuck grayed out if you turned off BT, turned on Airplane mode, turn off then on screen, turned off Airplane mode.
...
Change-Id: I37c628e4a98157ed91d519518773a458dca36c00
2009-09-27 12:46:51 -07:00
Android (Google) Code Review
51a81002ec
Merge change 27057 into eclair
...
* changes:
Restrict Bluetooth adapater name length to 200 characters.
2009-09-25 13:28:10 -04:00
Lixin Yue
cd47ae6af2
Fix device picker minor bug
...
When in device picker screen, if other device triggers pairing process with own
device, after paired succssfully, it should not send intent to OppReceiver to
start file sending. We need check if the paired device is the one user selected.
Original Author: Lixin Yue
Modified by: Jaikumar Ganesh (jaikumar@google.com )
Change-Id: I32df995ba94417470cccaead492844a9c61c0846
2009-09-25 10:27:25 -07:00
Jaikumar Ganesh
4b6b2aa123
Restrict Bluetooth adapater name length to 200 characters.
...
The max allowed as per spec is 248.
Change-Id: I287fb7f861a30e736d6078923712433c52f3031a
2009-09-25 10:27:17 -07:00
Android (Google) Code Review
776dcff143
Merge change 26878 into eclair
...
* changes:
b/2140751 Fixed the problem where BT device icon was showing until pairing happens (actually UUID comes in to be exact)
2009-09-25 13:12:40 -04:00
Michael Chan
cb844e2eab
b/2140751 Fixed the problem where BT device icon was showing until pairing happens (actually UUID comes in to be exact)
...
Change-Id: I670f29d5f9a577ec177b049cfd9c775bf91b60c3
2009-09-25 10:11:26 -07:00
Michael Chan
f2f3ceebbd
b/2138890 Pre-initilize Bluetooth profile managers
...
Change-Id: I633202457ca445308ec35b99260e603a85451042
2009-09-24 07:45:49 -07:00
Jaikumar Ganesh
1bfe73d0b1
Filter devices by UUID and then class.
...
The settings app has been updated to use UUIDs.
When there is a filter type set for device picket UI, use the
UUIDs first and then the class bits.
Change-Id: Ifde5dbc3a1cf25babce4c686002315aa3933de59
2009-09-23 10:35:36 -07:00
Michael Chan
2aef1f3c81
b/2126036 Improve remote device capability identification by switching to use UUIDs instead of class bits.
...
Change-Id: Ie60d1c579e40027c2174215c1989887a3250c9bc
2009-09-22 15:37:14 -07:00
Jaikumar Ganesh
363bd5554e
Fix string name for bluetooth pairing and fix NPE
...
Change-Id: Ibfd0e1e1ed3e1a1e5939d0bdffd17e2e929317b1
2009-09-16 14:56:08 -07:00
Jaikumar Ganesh
3eb43fe7a4
Show name for incoming pairing requests.
...
Settings apps invalidates its cache whenever a new scan is started.
When there is a new incoming pairing request, we will not get a DeviceFound
signal, because its not due to a inquiry scan. Thus when the pairing request
is displayed, the settings app doesn't have it in cache and hence will
just display the address. Make it query the framework when it doesn't have the name.
2009-09-15 14:07:22 -07:00
Jaikumar Ganesh
5f23cb39a1
Modify settings for 2.1
...
Add incoming pairing dialog
Add DisplayPasskey handling of pairing keyboards with 2.1 devices.
Modify code path to show errors when bonding request fails.
Misc fixes like string changes.
2009-09-11 12:00:14 -07:00
Nick Pelly
16cc86315d
Update application for Bluetooth API changes.
...
Change-Id: I8351611f0f0c5eda3e423dbe7e7b53e52d75ac36
2009-09-10 18:44:25 -07:00
Android (Google) Code Review
6ee7dd0913
Merge change 24435 into eclair
...
* changes:
Fix display strings and enter passkey handling.
2009-09-09 18:06:30 -04:00
Jaikumar Ganesh
67efa271bb
Fix display strings and enter passkey handling.
2009-09-09 15:03:24 -07:00
Nick Pelly
f4779354b3
Update application for Bluetooth API change: deprecation of BluetoothError.
2009-09-08 17:49:57 -07:00
Nick Pelly
ca564d6bda
Update application for Bluetooth API change.
2009-09-08 16:24:03 -07:00
Michael Chan
77395cc39c
b/2050798 Bluetooth Passkeys should always be 6 digits so show leading zeros if needed.
...
Removed extra new lines in the passkey and pin dialogs because the string didn't fit in landscape mode. (scrollbars to appeared)
2009-09-02 12:30:05 -07:00
Jaikumar Ganesh
cb6a3b3d9e
Show error messages when Authentication fails.
...
Call Canceled when user presses "Don't Pair".
Thus for Authentication Failed cases we can show the message to the
user.
2009-08-21 11:55:29 -07:00
Android (Google) Code Review
9182721336
Merge change 22130 into eclair
...
* changes:
Call the correct function for canceling a pairing request.
2009-08-20 15:10:49 -07:00
Jaikumar Ganesh
8c08bcd2ab
Call the correct function for canceling a pairing request.
2009-08-20 15:02:41 -07:00
Yue Lixin
a41e2f94b7
Implement Bluetooth device picker
...
Add Bluetooth device picker in Settings
- add resource to support device picker
- show different UI accroding to start Intent
- add OPP profile manager
2009-08-19 20:45:18 -07:00
Jaikumar Ganesh
53121cf110
Fix device address check when profile state changes.
2009-08-19 12:25:37 -07:00
Nick Pelly
d63c011225
Bluetooth: Update Settings.apk to match BT API change.
...
Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.
BluetoothAdapter: Represents the local BT adapter. Operations on the local
adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
(pair, connect, etc).
2009-08-17 17:09:44 -07:00
Michael Chan
5eb32e86a2
b/2005377 Fixed the problem where previously paired devics can't be access(grayed out) in Bluetooth settings after a reboot.
2009-08-14 13:57:25 -07:00
Michael Chan
110befc20e
do not merge: cherry-pick e9f4f5dd39
from master branch
2009-08-14 13:33:49 -07:00
Michael Chan
fdfb90f9e8
b/1770342 Bluetooth: Show the pair and connect when the user long touches a device without any supported profiles.
2009-08-12 15:38:01 -07:00
Michael Chan
e15d3a0cfb
b/2026622 Fixed the problem with the UI keeps showing that BT is scanning even though it has stopped.
...
For some reason, the framework does not notify the settings app when the scan is done while the screen is off.
2009-08-12 14:27:18 -07:00
Michael Chan
e41a4ca695
Modified the Bluetooth 2.1 Passkey confirmation dialog
...
- Changed the Passkey confirmation to show Pair/Don't Pair.
- Fixed the problem where the Ok button was showing up as Pair for the error dialog box.
- Disable the toasts when pairing failed in this case. Will need to check if this causes regression in other cases.
2009-08-04 18:20:17 -07:00
Michael Chan
487843886d
2005382 Disable long press on Bluetooth device when BT is off
...
1930418 Grey BT device when BT is off
2009-07-30 16:35:44 -07:00
Jaikumar Ganesh
3a76bcaa83
Initial 2.1 bluetooth support.
...
Need to work with Strings and UI person to fix and later test everything.
2009-07-20 10:38:02 -07:00
Michael Chan
3e1c1d1920
b/1818390 Show Computer and Phone icons on such devices even if they support A2DP or HSP
2009-07-15 15:14:12 -07:00
Michael Chan
f9bdcb6c26
am 132b2144
: Disable the individual remote Bluetooth devices when BT is off
...
Merge commit '132b21440b1b930322fc129a504afa6107835f8e'
* commit '132b21440b1b930322fc129a504afa6107835f8e':
Disable the individual remote Bluetooth devices when BT is off
2009-07-03 08:17:50 -07:00
Michael Chan
132b21440b
Disable the individual remote Bluetooth devices when BT is off
2009-07-01 14:06:43 -07:00
Jaikumar Ganesh
d97daa064b
Handle class and name changed actions with DeviceFound signals.
...
When the class or name of a device changed, due to name resolution
or otherwise, we were not updating the cache.
2009-06-19 17:10:19 -07:00
Jaikumar Ganesh
91b33f1462
Settings app changes for Bluez4.
2009-06-08 17:28:06 -07:00
Michael Chan
8762093e00
Findbug fixes in Settings app
...
modified: src/com/android/settings/ApnPreference.java
modified: src/com/android/settings/ApnSettings.java
modified: src/com/android/settings/BandMode.java
modified: src/com/android/settings/BatteryInfo.java
modified: src/com/android/settings/LanguageSettings.java
modified: src/com/android/settings/ManageApplications.java
modified: src/com/android/settings/RadioInfo.java
modified: src/com/android/settings/SdCardSettings.java
modified: src/com/android/settings/UsageStats.java
modified: src/com/android/settings/ZoneList.java
modified: src/com/android/settings/bluetooth/LocalBluetoothDevice.java
modified: src/com/android/settings/deviceinfo/Status.java
modified: src/com/android/settings/quicklaunch/QuickLaunchSettings.java
modified: src/com/android/settings/wifi/AccessPointDialog.java
modified: src/com/android/settings/wifi/AccessPointPreference.java
modified: src/com/android/settings/wifi/WifiLayer.java
modified: src/com/android/settings/wifi/WifiSettings.java
2009-05-14 17:47:02 -07:00
Michael Chan
f341e5ee35
am 6c97742
: Always add the bt profile to profile list on the arrive of a
...
Merge commit '6c97742c88303c65e68fe08257a7ccf841f03866'
* commit '6c97742c88303c65e68fe08257a7ccf841f03866':
Always add the bt profile to profile list on the arrive of a connect event
2009-05-06 18:25:41 -07:00
Michael Chan
6c97742c88
Always add the bt profile to profile list on the arrive of a connect event
...
Always add the bt profile to profile list on the arrive of a connect event. Previously,
the connect event is ignored if it is a profile that's not known ahead of time.
2009-05-06 18:08:58 -07:00
Michael Chan
5ffbb91013
Reenable verbose logging for post-donut
2009-04-30 16:33:42 -07:00