Commit Graph

826 Commits

Author SHA1 Message Date
Michael Chan
41eb38412a am 0c75b2d2: Merge change I80790bdb into eclair
Merge commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350' into eclair-mr2

* commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350':
  b/2296110 Dialog for setting up dock audio.
2009-12-07 20:50:32 -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
e509c36f1e am 55dc6cb9: Disconnect even Sinks in Connecting state while connecting another sink.
Merge commit '55dc6cb99db1f9f6677dfec5a25a34e933807be5' into eclair-mr2

* commit '55dc6cb99db1f9f6677dfec5a25a34e933807be5':
  Disconnect even Sinks in Connecting state while connecting another sink.
2009-12-07 15:52:53 -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
2ffa95fd59 am 0bd445b9: b/2296110 New Dialog which appears when phone is place on dock.
Merge commit '0bd445b974292dc3910b6bb85dcee7e7c378968f' into eclair-mr2

* commit '0bd445b974292dc3910b6bb85dcee7e7c378968f':
  b/2296110 New Dialog which appears when phone is place on dock.
2009-12-03 20:44:45 -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
87985ae6de am 3327f788: b/2293042 Fixed the problem where A2DP connections may fail if there\'s an existing connection to another device.
Merge commit '3327f7887328c55ef2d837a8e2a07cea2070c744' into eclair-mr2

* commit '3327f7887328c55ef2d837a8e2a07cea2070c744':
  b/2293042 Fixed the problem where A2DP connections may fail if there's an existing connection to another device.
2009-12-03 12:23:17 -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
Jaikumar Ganesh
f74e344df0 am 9f1d9c16: (-s ours) Merge change I9a1ed7e4 into eclair
Merge commit '9f1d9c16887d2bdebce65ceb1ac80e1fedd9ef48' into eclair-mr2

* commit '9f1d9c16887d2bdebce65ceb1ac80e1fedd9ef48':
  Update to reflect new priorities for A2DP profile. DO NOT MERGE.
2009-12-02 16:09:30 -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
Amith Yamasani
1a8cb120b1 am e2caf2ee: Merge change I82be95f6 into eclair
Merge commit 'e2caf2eefe84418fb1390b24aa24d5ec021438a8' into eclair-mr2

* commit 'e2caf2eefe84418fb1390b24aa24d5ec021438a8':
  Feature #2296147	Settings for Car/Desk Dock on certain devices
2009-12-02 15:47:19 -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
e5142b7f61 am 81482b04: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '81482b04be2147bf88f96290581cc2fd2093b5a9' into eclair-mr2

* commit '81482b04be2147bf88f96290581cc2fd2093b5a9':
  Import revised translations.  DO NOT MERGE
2009-12-02 15:12:28 -08:00
Eric Fischer
81482b04be Import revised translations. DO NOT MERGE 2009-12-02 14:57:56 -08:00
Amith Yamasani
379953def1 am 8f2fb65b: Setting in Sound & Display for trackball pulsing on notification. Bug #2238250
Merge commit '8f2fb65b360ebc7ed71ddbc884451536e5e99c03' into eclair-mr2

* commit '8f2fb65b360ebc7ed71ddbc884451536e5e99c03':
  Setting in Sound & Display for trackball pulsing on notification. Bug #2238250
2009-12-02 09:50:05 -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
42b78b6b4c am 76395bc9: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '76395bc9bc0f2db49d37fd94017c01ca1c8fb1a7' into eclair-mr2

* commit '76395bc9bc0f2db49d37fd94017c01ca1c8fb1a7':
  Import revised translations.  DO NOT MERGE
2009-12-01 17:12:09 -08:00
Irfan Sheriff
60e5714311 Missing Forget button after doing Add Network on an AP in the scanned list
Problem:

On the Wifi Settings screen, if instead of clicking on the AP shown on the scanned list, we do an "Add Wi-Fi network" and enter the AP information - the AP information gets stored and the client device connects to the AP. Afterwards, if we click on the AP again the "Forget" button does not appear until we exit the Wifi Settings screen and return.

Root cause and Fix:
mApScanList in WifiLayer tracks the list of APs shown. Upon doing a connect through a direct click, the configured state for the AP in the list updated. However, if we do an Add Network, the configured state on mApScanList remains unupdated. This causes the Settings screen to not show "Forget" for the AP when it is clicked.

The fix is to set the Configured state to true in handleSave() by fetching the AP state stored in WifiLayer.

Bug: 2296038
Change-id: I70c545905a4984a03a0f235f3baf17cd36688710
2009-12-01 16:56:39 -08:00
Android (Google) Code Review
6c01d1305e Merge change I42499a85 into eclair-mr2
* changes:
  Change priority for Headset profile on the same lines as A2DP profile.
2009-12-01 12:45:41 -08:00
Eric Fischer
76395bc9bc Import revised translations. DO NOT MERGE 2009-11-30 11:38:40 -08:00
Android (Google) Code Review
4cb03801eb Merge change Ia74e2b5c into eclair-mr2
* changes:
  Switched Settings to use the new Gmail permission name space
2009-11-30 10:36:39 -08:00
Jaikumar Ganesh
42499a85e8 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.
2009-11-30 10:32:27 -08:00
Jaikumar Ganesh
210667f353 Update to reflect new priorities for A2DP profile.
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.
2009-11-24 14:43:45 -08:00
Paul Westbrook
a74e2b5cff Switched Settings to use the new Gmail permission name space 2009-11-20 17:12:36 -08:00
Eric Fischer
b459a33545 am 18517f50: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '18517f50edcfebf41b61965b24e360858db1c5e4' into eclair-mr2

* commit '18517f50edcfebf41b61965b24e360858db1c5e4':
  Import revised translations.  DO NOT MERGE
2009-11-16 19:53:51 -08:00
Eric Fischer
18517f50ed Import revised translations. DO NOT MERGE 2009-11-16 16:45:29 -08:00
Eric Fischer
7cd65f3dac am 83e718f9: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '83e718f92710c766ef341fdde769b2efc489bef9' into eclair-mr2

* commit '83e718f92710c766ef341fdde769b2efc489bef9':
  Import revised translations.  DO NOT MERGE
2009-11-13 17:55:36 -08:00
Eric Fischer
83e718f927 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-13 17:24:10 -08:00
Eric Fischer
92b93495c0 am 48c451b3: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '48c451b38824e96b85ab9f5bac8724b07bd2c9e5' into eclair-mr2

* commit '48c451b38824e96b85ab9f5bac8724b07bd2c9e5':
  Import revised translations.  DO NOT MERGE
2009-11-13 10:42:40 -08:00
Eric Fischer
48c451b388 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-12 19:50:45 -08:00
Amith Yamasani
eba00ec701 am a79239b1: Merge change I2d844842 into eclair
Merge commit 'a79239b102f7b9c83e31be7b3a47ab50459b6a4f' into eclair-mr2

* commit 'a79239b102f7b9c83e31be7b3a47ab50459b6a4f':
  Fix for NPE in #2248683
2009-11-11 19:20:33 -08:00
Jason Chen
554cd5eca3 am 6b23b270: Fix misspellings in the Settings app.
Merge commit '6b23b2700c2c5a2766ec2ab23d83a6e3ba7ab26c' into eclair-mr2

* commit '6b23b2700c2c5a2766ec2ab23d83a6e3ba7ab26c':
  Fix misspellings in the Settings app.
2009-11-11 19:20:30 -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
4fcf94c47b am 5469ff8b: b/2226832 Showing Pairing Dialog in the foreground
Merge commit '5469ff8b3f9966c6f141078b37da5f178b7825e4' into eclair-mr2

* commit '5469ff8b3f9966c6f141078b37da5f178b7825e4':
  b/2226832 Showing Pairing Dialog in the foreground
2009-11-10 11:06:36 -08:00
Daniel Sandler
c3ace180d0 am 7ceb387e: (-s ours) Merge change Ib720a080 into eclair
Merge commit '7ceb387ee601655ba72264646e3d8ecf2d74c138' into eclair-mr2

* commit '7ceb387ee601655ba72264646e3d8ecf2d74c138':
  Updated icons for Settings. DO NOT MERGE
2009-11-10 11:06:27 -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
Eric Fischer
60037611a4 Import revised translations. DO NOT MERGE 2009-11-06 15:29:45 -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
51dfd4b035 am 834e5993: b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
Merge commit '834e5993e4f2f34d5aceb3196601b30231d00b07' into eclair-mr2

* commit '834e5993e4f2f34d5aceb3196601b30231d00b07':
  b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
2009-11-06 13:32:53 -08: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
Android (Google) Code Review
a21a458bf3 Merge change I3abd5c0d into eclair-mr2
* changes:
  Updated icons for Settings.
2009-11-05 19:33:14 -05:00
Michael Chan
d55c31ead6 am 4d004e91: b/2238546 Fixed NPE in Settings when Bluetooth "class" is null
Merge commit '4d004e910732565ddd449c7c525f7d6cbd353392' into eclair-mr2

* commit '4d004e910732565ddd449c7c525f7d6cbd353392':
  b/2238546 Fixed NPE in Settings when Bluetooth "class" is null
2009-11-05 10:32:57 -08:00
Michael Chan
4d004e9107 b/2238546 Fixed NPE in Settings when Bluetooth "class" is null 2009-11-04 17:19:48 -08:00
Daniel Sandler
3abd5c0d79 Updated icons for Settings.
Fixes http://b/2105756
2009-11-03 14:11:37 -05:00