Commit Graph

845 Commits

Author SHA1 Message Date
Jim Miller
fc5a02225e Fix 2582241: Update selection based on user setting instead.
When the user adds a DPM, Settings removes all display
timeout options with t > maxTimeout. It was incorrectly
setting the preference to maxTimeout.

The corrected code picks the user's preference if less
than maxTimeout or nothing otherwise.

Change-Id: I5a47fdce89f4cf216fd76bb585c3c0120b39db92
2010-04-13 15:31:41 -07:00
Jean-Michel Trivi
fced126829 Fix bug 2577511 NPE in TTS Settings
A previous bug had caused incorrect settings to be saved, in
particular the default language variant was not stored, unlike
the default language and country. When settings were restored, this
caused an invalid group of settings to be loaded, with a null
language variant. The fix consists in:
- discarding invalid default language settings
- reevaluating which language should be selected in the list of
  available languages.

Change-Id: If58882a9acc28f14a78f6142fefa17d04ca4ad5d
2010-04-13 09:08:09 -07:00
Charles Chen
8ca7d88c1b Fixing bug #2591288
The language pref needs to be set after populating the entries
based on the selected engine.

Change-Id: I16db4428eee83052ff7c5115942eef4bf3d87454
2010-04-12 18:32:33 -07:00
Charles Chen
28e7651f80 Merge "Fixing bug 2577511 - incorrectly trying to access a setting." into froyo 2010-04-12 14:21:59 -07:00
Jim Miller
0b326a6fad Merge "Fix 2579923: Make changing lock screen method more discoverable." into froyo 2010-04-12 13:48:36 -07:00
Charles Chen
681d0b8a9e Fixing bug 2577511 - incorrectly trying to access a setting.
Change-Id: I50f3b2f4878bea1392aa36d47015cd312a59e23a
2010-04-12 13:15:46 -07:00
Jim Miller
bbb4afa19f Fix 2579923: Make changing lock screen method more discoverable.
This changes the organization of lock screen security settings
to make choosing an alternate unlock method more discoverable.

Instead of having to disable the old lock method to use a new
one, the user now just has one set/change option in lock settings,
with a list of method-specific setting below it.

In addition, we ask the user to confirm their old credentials
before prompting them to choose a new one, which eliminates one
source of confusion.

Also, ChooseLockGeneric now shows a UI if quality isn't specified.
Any unlock method less secure than minimum specified by
DevicePolicyManager (if active) is greyed out.

Change-Id: Iecc6f64d4d3368a583f06f8d5fe9655cc3d5bd3b
2010-04-11 23:28:33 -07:00
Irfan Sheriff
3957b3c147 Merge "scan only when wifi is enabled" into froyo 2010-04-10 09:42:15 -07:00
Irfan Sheriff
2215c7f868 scan only when wifi is enabled
Bug: 2570611
Change-Id: Ibb51dee8ec110179ec28f9469526a1fe61e74d00
2010-04-09 17:52:26 -07:00
Charles Chen
8c8185b260 Fixing bugs 2577511 and 2581920.
Making sure that the language, country, and variant defaults are always
set to something to ensure that there won't be an NPE.
Dismissing the ListPreference dialogs before a rotation to avoid list
data corruption caused by the list being displayed while its data is
being re-initialized.

Change-Id: Iecdb3b4d415542dc8a4db162c930e6a6570a55f2
2010-04-08 16:51:35 -07:00
Jim Miller
2088c1ada1 Merge "Fix 2579481: Fix change alphanumeric password security hole" into froyo 2010-04-08 13:39:57 -07:00
Charles Chen
755cb302e9 Merge "Fix for 2579445 - Using the correct strings for accessing Intent extras now." into froyo 2010-04-08 09:45:17 -07:00
Jim Miller
9c1e7f8c4c Fix 2579481: Fix change alphanumeric password security hole
This fixes a bug where changing an alphanumeric password didn't
ask for the old password first.

Change-Id: I8ef4d2b4b87d02c6ddd23da3177e6802fc579c64
2010-04-08 00:48:52 -07:00
Suchi Amalapurapu
3a95f92650 Merge "Fix 2579461 Disable move when manifest option for install location is unspecified and install location is auto/internal" into froyo 2010-04-07 21:24:44 -07:00
Suchi Amalapurapu
4056459e9e Fix 2579461
Disable move when manifest option for install location is unspecified
and install location is auto/internal

Change-Id: Ic7a493ecbbed6017326e2ec728e25c6ea9de8223
2010-04-07 20:50:26 -07:00
Charles Chen
510bc4a2c3 Fix for 2579445 - Using the correct strings for accessing Intent extras now.
Change-Id: I8a0b8f3add637ffffed4119b976c800ab3251b72
2010-04-07 17:41:07 -07:00
Michael Chan
0557a7062d Merge "b/2174155 Remove debug logging in bluetooth" into froyo 2010-04-07 15:48:07 -07:00
Charles Chen
263b7704bc Merge "Fix for bug #2577984 - Settings app was trying to access the TTS before the TTS was ready." into froyo 2010-04-07 15:40:21 -07:00
Irfan Sheriff
0b2669647f Fix window leak on orientation change
Use Activity managed dialogs

Bug: 2571764
Bug: 2571820
Change-Id: Id506988abd4200155774e92b31dd132519e29172
2010-04-07 14:38:42 -07:00
Charles Chen
cf31e652d6 Fix for bug #2577984 - Settings app was trying to access the TTS
before the TTS was ready.

Change-Id: Ic8127f12a2608982fb35e126c7522cf6747b93ac
2010-04-07 14:26:31 -07:00
Michael Chan
293867bd10 b/2174155 Remove debug logging in bluetooth
Change-Id: Ia40af3bb362fe99fbfda1a23cdcb04fb96af7ca8
2010-04-07 13:31:21 -07:00
Michael Chan
d9db9e7621 Merge "b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly" into froyo 2010-04-07 13:12:33 -07:00
Adam Powell
bdbb57b6ab Merge "Fix bug 2564450 - prevent deadlock in BT settings" into froyo 2010-04-07 09:48:28 -07:00
Brad Fitzpatrick
6e29e07357 Merge "Make Power Control widget a bit more responsive." into froyo 2010-04-07 09:19:14 -07:00
Charles Chen
473111bcfc Fixing bug #2575499 - TextToSpeech Settings did not verify that the
current default language was still supported when the default engine
changes.

Change-Id: I2f4b986311161ceaa9d4b9cf3a495f536d9425cd
2010-04-06 16:03:33 -07:00
Brad Fitzpatrick
046915c4c8 Make Power Control widget a bit more responsive.
Based on a lot of timings on Sapphire.

Also, initially this CL improved the speed of Toasts, but now it just
removes the use of Toasts in the widget after eng/UX discussions with
various people.

BUG=2535155

Change-Id: I134a730f17ebee8a119b7796984f00b22e0d6120
2010-04-06 15:44:30 -07:00
Michael Chan
732c1dad5a b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly
Change-Id: Ic4771e7c305192fee56f5f80c6cabeecf11a99dc
2010-04-06 15:42:04 -07:00
Adam Powell
54f334489c Fix bug 2564450 - prevent deadlock in BT settings
Change-Id: Iea5d341d771d18e5d9bf7c6686995ba6cbbf2172
2010-04-06 13:32:35 -07:00
Irfan Sheriff
6e74d41bd0 Fix network disable on connect
If we dont have an updated access point list
when we are re-enabling networks after connecting,
we could end up keeping some networks disabled.

This could happen if there is no event that
triggers an access point before enabling networks

Update the current access point list
right before enabling all networks.

Bug: 2567770
Change-Id: Ieb1ac8147d4acb05a6d13c44396653f0af94643d
2010-04-05 09:28:25 -07:00
Dianne Hackborn
07f636059a Fix issue #2549511 Crash while moving the installed app to Phone
android.view.WindowManager$BadTokenException: Unable to add window

Change-Id: Ie844fd9cde05134431695f4f5bd27827e9e23ce5
2010-03-31 10:00:16 -07:00
Jeff Brown
9c0cc3b8ee Merge "Refresh apps when they become (un)available." into froyo 2010-03-31 09:27:25 -07:00
Dianne Hackborn
d4fb738aa7 Merge "Fix issue# 2544176: running services list update outside of ui thread." into froyo 2010-03-30 18:25:10 -07:00
Dianne Hackborn
309f236255 Fix issue# 2544176: running services list update outside of ui thread.
Also fix to put the services in a somewhat reasonable order.

Change-Id: I564c4d3fb1c0d803fe795c3d3a4a1d1d731f77fa
2010-03-30 18:14:38 -07:00
Robert Greenwalt
388b4a8726 Merge "Add Title to the Tether help dialog" into froyo 2010-03-30 15:54:47 -07:00
Jim Miller
43630806bb Merge "Fix 2527411: Remove unusable display timeouts from Settings." into froyo 2010-03-30 13:51:43 -07:00
Robert Greenwalt
b6b3d17007 Add Title to the Tether help dialog
bug:2546313
Change-Id: Ib70118b40289abd3cafdecf7fc814ca48bce2960
2010-03-30 13:48:27 -07:00
Jim Miller
d90b5a84d8 Fix 2527411: Remove unusable display timeouts from Settings.
This fix removes unusable display timeouts from Settings when
a device policy is enabled.

Patch 3 catches the case where not having any active policies clears the list.

Change-Id: I5b08d420c73b1c2e6fe2bb4e65656790290574cd
2010-03-29 22:16:55 -07:00
Jeff Brown
347c9a0544 Refresh apps when they become (un)available.
This fixes a bug in the current code that causes apps to be removed
from the list when they become unavailable.

Change-Id: Ic0b4c0fa34662ce3c458117b6807742448ec6575
2010-03-29 17:51:23 -07:00
Oscar Montemayor
316c0db4eb Merge "DO NOT MERGE Removing unused features from source tree. Please refer to Bug#2502219." into froyo 2010-03-29 16:23:53 -07:00
Suchi Amalapurapu
29c8037335 Merge "Return empty string for new error code. The new string will be defined later." into froyo 2010-03-29 15:31:34 -07:00
Suchi Amalapurapu
9a3a1a4e58 Return empty string for new error code.
The new string will be defined later.

Change-Id: I7dc80ca96461e083cd8d8fba4815ac263dac61a4
2010-03-29 15:18:34 -07:00
San Mehat
8439822289 Settings: Fix for http://b/issue?id=2538399 (ANR while formatting sd)
Change-Id: I94b84a45557cbce706c37d5088d398283a639c80
Signed-off-by: San Mehat <san@google.com>
2010-03-29 14:32:02 -07:00
Oscar Montemayor
6f72be68c1 DO NOT MERGE
Removing unused features from source tree.
Please refer to Bug#2502219.

Change-Id: Ib3321f3c0e3edf7dff947917ba9bad0f7da93c89
2010-03-26 18:45:05 -07:00
Dianne Hackborn
39e64e76c1 API council: don't allow admin add from new task.
Change-Id: I45f75f8e2c43ba0dae51d37e104d18d0b1a2cdbf
2010-03-26 13:24:39 -07:00
Jim Miller
449708b123 Merge "Fix 2535700: Add support for enforcing password quality" 2010-03-25 19:55:54 -07:00
Jim Miller
af366a3ed6 Fix 2535700: Add support for enforcing password quality
Change-Id: I908b4229d46061f3d450adec72b04276fe10afc1
2010-03-25 18:45:22 -07:00
Jaikumar Ganesh
9166a9635e Merge "Stop scanning as soon as device is picked in the device picker." 2010-03-25 15:57:17 -07:00
Jaikumar Ganesh
cdc5e6eea2 Stop scanning as soon as device is picked in the device picker.
This improves OPP transfer time by a couple of seconds.

Change-Id: I40e8f092ca3950a2d180b78f07f1cc717f2daaf6
2010-03-25 14:21:10 -07:00
Irfan Sheriff
9303d97e6a Remember Wifi state prior to tethering
We now remember whether Wifi was enabled
prior to enabling tethering. This will
allow us to restore Wifi when tethering
is disabled.

Bug: 2537983
Change-Id: Ia530563bd5647856d62cd59b67ae5156de6fd5d9
2010-03-25 12:23:18 -07:00
Irfan Sheriff
a6a74e222a Disable tethering to enable Wifi
We need to explicitly disable wifi while enabling
tethering and disable tethering while enabling wifi

Bug: 2539071
Change-Id: I7fda6e4d9d1bb804e81561d52b5f3a982a674b0e
2010-03-25 11:39:11 -07:00