Commit Graph

773 Commits

Author SHA1 Message Date
Michael Chan
a87f2fd7d8 b/2320107 Fixed NPE for class bits. Docks do not have class bits.
Change-Id: Ibe4f697a906010f8f3ee270b891db286a4976f8a
2009-12-10 16:07:11 -08:00
Android (Google) Code Review
613549a622 Merge change I2c3621d1 into eclair
* changes:
  Fix desk dock getting stuck after unpairing.
2009-12-10 02:44:12 -08:00
Android (Google) Code Review
d1469da150 Merge change I10036c49 into eclair
* changes:
  b/2296110 Disable debugging/logging code before shipping.
2009-12-10 02:41:41 -08:00
Jaikumar Ganesh
b172cd5d23 Fix desk dock getting stuck after unpairing.
Note: This is a workaround. The read problem is that
we are making a call to Bluez when it is not ready yet.
The interface has not been registered, so dbus call should fail.
We need to fix this properly.

Dr No: Eastham
Bug: 2317784
2009-12-10 02:02:47 -08:00
Jaikumar Ganesh
6e3ee10a99 Fix auto connection of A2DP profile.
When the user selects profiles from the UI, set priority to ON.

Dr No: Eastham
Bug: 2317323
2009-12-09 19:15:30 -08:00
Android (Google) Code Review
e273289cfb Merge change Ic0ce5c9a into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-12-09 18:04:10 -08:00
Michael Chan
6fd5bc935e b/2296110 Disable debugging/logging code before shipping.
Change-Id: I10036c49e3c3d61d0fa1af74f1f0cd9d03502103
2009-12-09 18:00:48 -08:00
Android (Google) Code Review
d70e205b4c Merge change I724fc8fd into eclair
* changes:
  b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening
2009-12-09 17:45:07 -08:00
Android (Google) Code Review
1d5f14bd54 Merge change I92124d28 into eclair
* changes:
  b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
2009-12-09 17:45:03 -08:00
Android (Google) Code Review
488a80a7b1 Merge change Id587a517 into eclair
* changes:
  b/2314560 Prevent PIN dialog from showing up on undocked docks
2009-12-09 17:44:53 -08:00
Michael Chan
792edfcf12 b/2317194 Synchronize command queue to prevent ConcurrentModificationException from happening
Change-Id: I724fc8fd07d33cfa6e68221a766754dcb1f6aeba
2009-12-09 17:34:54 -08:00
Eric Fischer
c0ce5c9ae3 Import revised translations. DO NOT MERGE 2009-12-09 17:28:18 -08:00
Michael Chan
503c236db5 b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
Change-Id: I92124d2856e6c825a2b4148473431789a1f5b156
2009-12-09 17:27:56 -08:00
Michael Chan
d617a0781c b/2314560 Prevent PIN dialog from showing up on undocked docks
If unpaired while undocked, device will be removed from the BT device list.
If unpaired while docked, the user can do pair and connect. No PIN dialog will pop up.
If undocked after unpaired, device will be removed from the BT device list.

Change-Id: Id587a517999e08641451f78dec8696a06028cf16
2009-12-09 17:16:46 -08:00
Romain Guy
a9f9031ba3 Display icons in the correct density in the ActivityPicker.
This also fixes a memory leak in Home.

Do not merge.

Change-Id: Ib69b4055fae2c8705887bbd12be7fa61b689eb03
2009-12-09 15:20:46 -08:00
Michael Chan
146385663b b/2296110 Car Dock - Enable BT if not already enabled.
Change-Id: If1798f62c9438e58c342869176437067f941c8cb
2009-12-08 14:18:13 -08:00
Android (Google) Code Review
0c75b2d2dc Merge change I80790bdb into eclair
* changes:
  b/2296110 Dialog for setting up dock audio.
2009-12-07 20:48:16 -08:00
Michael Chan
df9504ef58 b/2296110 Dialog for setting up dock audio.
Reimplemented as a Foreground Service just so it can get on top of the Car Dock App.
Added debounce mechanism to not disconnect immediately after getting a undock event.
Each dock now has its own "Remember setting".
Remember Settings is on by default

Change-Id: I80790bdb7c831e2a642365b92433012191aa70c1
2009-12-07 16:57:26 -08:00
Jaikumar Ganesh
55dc6cb99d Disconnect even Sinks in Connecting state while connecting another sink.
We can hit this more when using a Car Dock

Bug: 2133530
Dr No: Eastham
2009-12-07 15:22:50 -08:00
Michael Chan
0bd445b974 b/2296110 New Dialog which appears when phone is place on dock.
Change-Id: I58b216ee9b4ca9ce16210309358c0512271e128e
2009-12-03 20:32:38 -08:00
Michael Chan
3327f78873 b/2293042 Fixed the problem where A2DP connections may fail if there's an existing connection to another device.
Change-Id: I1b4963a167b633c0905e2719ab3f651ff8be9f2c
2009-12-03 11:45:59 -08:00
Android (Google) Code Review
9f1d9c1688 Merge change I9a1ed7e4 into eclair
* changes:
  Update to reflect new priorities for A2DP profile. DO NOT MERGE.
2009-12-02 16:02:52 -08:00
Android (Google) Code Review
e2caf2eefe Merge change I82be95f6 into eclair
* changes:
  Feature #2296147	Settings for Car/Desk Dock on certain devices
2009-12-02 15:42:48 -08:00
Jaikumar Ganesh
9a1ed7e4e6 Update to reflect new priorities for A2DP profile. DO NOT MERGE.
1. PRIORITY_OFF is when it is unchecked.
2. PRIORITY_ON is when it is checked.
3. PRIORITY_AUTO_CONNECT is when we want to auto connect.

When the box is checked, we want to auto connect,
so set the priority to AUTO_CONNECT.
When the user disconnects, we set the priority back
to PRIORITY_ON.

Change priority for Headset profile on the same lines as A2DP profile.

AUTO_CONNECT => we auto_connect.
ON => Settings app box is checked and we allow incoming connections.
OFF => Settings app check box is unchecked.

Dr no: Eastham
Bug: 2133530
2009-12-02 15:38:52 -08:00
Amith Yamasani
d2b3ab088f Feature #2296147 Settings for Car/Desk Dock on certain devices
This inserts a launcher for the Dock settings dialog, if the
device supports it and is currently docked.
The menu item disappears if the phone is not docked in the car/desk dock.
2009-12-02 15:36:34 -08:00
Eric Fischer
81482b04be Import revised translations. DO NOT MERGE 2009-12-02 14:57:56 -08:00
Amith Yamasani
8f2fb65b36 Setting in Sound & Display for trackball pulsing on notification. Bug #2238250 2009-12-01 19:06:14 -08:00
Eric Fischer
76395bc9bc Import revised translations. DO NOT MERGE 2009-11-30 11:38:40 -08:00
Eric Fischer
18517f50ed Import revised translations. DO NOT MERGE 2009-11-16 16:45:29 -08:00
Eric Fischer
83e718f927 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-13 17:24:10 -08:00
Eric Fischer
48c451b388 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-12 19:50:45 -08:00
Android (Google) Code Review
a79239b102 Merge change I2d844842 into eclair
* changes:
  Fix for NPE in #2248683
2009-11-11 19:15:47 -08:00
Amith Yamasani
f6b384045d Fix for NPE in #2248683
Also fix a problem in type-to-filter. It was looking for substring match
instead of searching on word boundaries. It will now search by word
boundaries (separated by space).
2009-11-11 19:03:09 -08:00
Jason Chen
6b23b2700c Fix misspellings in the Settings app.
Bug: 2176816
2009-11-11 08:39:31 -08:00
Michael Chan
5469ff8b3f b/2226832 Showing Pairing Dialog in the foreground
Pairing Dialogs notifications (in the window shade) were not visible in full
screen apps e.g. gallery.  Showing Pairing Dialog in the foreground:
1) if the remote device was picked in the device picker in the last minute or
2) if the device was in discoverable mode in the last minute.
2009-11-10 10:37:54 -08:00
Android (Google) Code Review
7ceb387ee6 Merge change Ib720a080 into eclair
* changes:
  Updated icons for Settings. DO NOT MERGE
2009-11-06 16:44:30 -05:00
Michael Chan
834e5993e4 b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
Also added test app.
2009-11-05 18:32:09 -08:00
Daniel Sandler
30182033d3 Updated icons for Settings. DO NOT MERGE
Fixes http://b/2105756

DrNo for eclair: mcleron

Change-Id: Ib720a080613a4513bd7bd62ae416c243ef9841a7
2009-11-05 19:49:13 -05:00
Michael Chan
4d004e9107 b/2238546 Fixed NPE in Settings when Bluetooth "class" is null 2009-11-04 17:19:48 -08:00
Jean-Michel Trivi
9d6be2baf5 Add backup string for a platform setting to enable or disable
advanced audio recording features on QSD8k phones.
2009-11-02 09:18:32 -08:00
Android (Google) Code Review
8e3c8c209b Merge change I1d016ce3 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-10-30 14:09:06 -04:00
Eric Fischer
1d016ce34d Import revised translations. DO NOT MERGE 2009-10-30 10:05:54 -07:00
Android (Google) Code Review
fd07eb222b Merge change Ibe1d06fc into eclair
* changes:
  Avoid setting screen brightness when initializing brightness dialog in automatic mode.
2009-10-30 12:56:20 -04:00
Mike Lockwood
9878e86c45 Avoid setting screen brightness when initializing brightness dialog in automatic mode.
Fixes bug b/2226257 (Brightness wonky)

Change-Id: Ibe1d06fc907960dcb6a70faa92e6c3a562016865
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-30 09:43:02 -04:00
Michael Chan
0cb3743e93 b/2219381 Gray out Bluetooth Settings for the emulator
Change-Id: I11ae2e6c7652ba550aeadf0dadb6f520c19dedc6
2009-10-29 14:42:06 -07:00
Android (Google) Code Review
dd45a47bde Merge change I4d31288f into eclair
* changes:
  Fix for 1974140. Delete entry if not valid on hitting home.
2009-10-29 09:28:35 -04:00
Eric Fischer
17fcd47664 Import revised translations. DO NOT MERGE 2009-10-28 21:19:37 -07:00
Amith Yamasani
4d31288fe3 Fix for 1974140. Delete entry if not valid on hitting home.
If user doesn't enter an APN or name, then delete the entry on hitting home.

And if user has enough information but doesn't enter a name, then set the
name to "Untitled" to avoid blank APNs in the list.
2009-10-28 16:59:17 -07:00
Mike Lockwood
53dcdeeb85 Don't restore old brightness when cancelling brightness dialog in automatic mode.
Fixes a problem that could result in the backlight getting set to a bogus brightness
level if you open the dialog and cancel when in automatic mode.

Bug b/2015734

Change-Id: I302697e4ebd37afcdbfdd74ba0b1cc9be27ee40b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-28 18:33:04 -04:00
Android (Google) Code Review
d02acfb908 Merge change I2abbb876 into eclair
* changes:
  New widgets
2009-10-28 03:16:41 -04:00