Commit Graph

805 Commits

Author SHA1 Message Date
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
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
Jean-Michel Trivi
dd1f7c9e64 am 9d6be2ba: Add backup string for a platform setting to enable or disable advanced audio recording features on QSD8k phones.
Merge commit '9d6be2baf517462d2cce818c21b25958a40e4f06' into eclair-mr2

* commit '9d6be2baf517462d2cce818c21b25958a40e4f06':
  Add backup string for a platform setting to enable or disable
2009-11-02 10:52:15 -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
Eric Fischer
2b42f028f7 am 8e3c8c20: (-s ours) Merge change I1d016ce3 into eclair
Merge commit '8e3c8c209b1f13d1704669887edb47df0a1afc0a' into eclair-mr2

* commit '8e3c8c209b1f13d1704669887edb47df0a1afc0a':
  Import revised translations.  DO NOT MERGE
2009-10-30 11:18:07 -07: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
Mike Lockwood
afe722ff83 am fd07eb22: Merge change Ibe1d06fc into eclair
Merge commit 'fd07eb222b6bd32039cdc2545fb75552835e418f' into eclair-mr2

* commit 'fd07eb222b6bd32039cdc2545fb75552835e418f':
  Avoid setting screen brightness when initializing brightness dialog in automatic mode.
2009-10-30 10:02:57 -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
8b643d9462 am 0cb3743e: b/2219381 Gray out Bluetooth Settings for the emulator
Merge commit '0cb3743e93aef81e7669f1e6c81184559e0f8154' into eclair-mr2

* commit '0cb3743e93aef81e7669f1e6c81184559e0f8154':
  b/2219381 Gray out Bluetooth Settings for the emulator
2009-10-29 19:34:49 -07:00
Amith Yamasani
a8a974bd17 am dd45a47b: Merge change I4d31288f into eclair
Merge commit 'dd45a47bde9cdb9c27cb3ac3529a34f9789782ec' into eclair-mr2

* commit 'dd45a47bde9cdb9c27cb3ac3529a34f9789782ec':
  Fix for 1974140. Delete entry if not valid on hitting home.
2009-10-29 19:27:12 -07:00
Eric Fischer
7bb19a892c am 17fcd476: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '17fcd476643e27943f548415e49e1be7d8e74ac1' into eclair-mr2

* commit '17fcd476643e27943f548415e49e1be7d8e74ac1':
  Import revised translations.  DO NOT MERGE
2009-10-29 19:24:59 -07:00
Michael Chan
0cb3743e93 b/2219381 Gray out Bluetooth Settings for the emulator
Change-Id: I11ae2e6c7652ba550aeadf0dadb6f520c19dedc6
2009-10-29 14:42:06 -07:00
Mike Lockwood
acfc96f150 am 53dcdeeb: Don\'t restore old brightness when cancelling brightness dialog in automatic mode.
Merge commit '53dcdeeb85e523e0b752d802d3413f5d4001d575' into eclair-mr2

* commit '53dcdeeb85e523e0b752d802d3413f5d4001d575':
  Don't restore old brightness when cancelling brightness dialog in automatic mode.
2009-10-29 13:45:44 -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
Mike Cleron
ac465854ac am d02acfb9: Merge change I2abbb876 into eclair
Merge commit 'd02acfb908562780eec830a85e121f9925108c36' into eclair-mr2

* commit 'd02acfb908562780eec830a85e121f9925108c36':
  New widgets
2009-10-29 01:26:57 -07: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
Eric Fischer
a4ec838d12 am e0711522: Use consistent punctuation for the Chinese locale names.
Merge commit 'e0711522bc5e7c62951b0e429c4b4550feeeabf0' into eclair-mr2

* commit 'e0711522bc5e7c62951b0e429c4b4550feeeabf0':
  Use consistent punctuation for the Chinese locale names.
2009-10-28 11:43:04 -07:00
Jaikumar Ganesh
760b45c2a6 am 195bc434: Add Authentication Type field to the APN settings.
Merge commit '195bc43460967e57e4c1131ba156083a93e0e4e8' into eclair-mr2

* commit '195bc43460967e57e4c1131ba156083a93e0e4e8':
  Add Authentication Type field to the APN settings.
2009-10-28 10:30:20 -07:00
Android (Google) Code Review
d02acfb908 Merge change I2abbb876 into eclair
* changes:
  New widgets
2009-10-28 03:16:41 -04:00