Commit Graph

1725 Commits

Author SHA1 Message Date
Kenny Root
28b245c01d Import revised translations
Change-Id: I6f0e1a9dbaa3b3e81b24de207c3731249d160a59
2010-05-17 11:42:19 -07:00
Chung-yih Wang
8c81257f70 Fix the double-quoted SSID issue.
Bug id http://b/issue?id=2684571

Change-Id: I0f1e508b9a3d0fefcef28235380392368a51e42a
2010-05-15 10:57:23 +08:00
Robert Greenwalt
e434bfb216 String change - wifi tether = hotspot
bug:2664412
Change-Id: I6ca955e7fcc299ae1d69892c93c9250229610b19
2010-05-08 17:20:26 -07:00
Michael Chan
d2c81986c2 b/2652059 Refresh UI after bond state change
Change-Id: I8f8a939ba3f383aae36091986cea4e8a6eae13fb
2010-05-07 15:24:22 -07:00
Michael Chan
1308453b16 b/2652059 Fixed the broken BT connects/disconnects after unpair
The unpair command was stuck in the queue.

Change-Id: I803cb10adcfaedbe6fd202e0db463593880e4280
2010-05-03 23:06:51 -07:00
Kenny Root
6d40987098 Import revised translations
Change-Id: If5691d275bf86c94038a53beed65a93dad65b450
2010-04-29 16:01:54 -07:00
Michael Chan
6078d4503d Merge "b/2630339 Fixed the crash when an app requests BT to be enabled" into froyo 2010-04-28 12:43:00 -07:00
Michael Chan
a0de1dcd19 b/2630339 Fixed the crash when an app requests BT to be enabled
For AlertActivity, the dialog needs to display at onCreate() time.
Otherwise, the decor view would be made. Trying to display the
dialog afterward would crash. Changed to AlertDialog instead.

Change-Id: I2ea8463b4c475b9b54746d0a722fa80eea3d4529
2010-04-28 11:24:00 -07:00
Kenny Root
b3c872bf58 Merge "Import revised translations" into froyo 2010-04-28 09:23:34 -07:00
Kenny Root
eab62faea7 Import revised translations
Change-Id: I91401f661d61a86d166baac1cad14b8897d0a467
2010-04-28 09:20:52 -07:00
Amith Yamasani
64ab5338cb Fix regression in removing settings that aren't relevant for a platform.
Bug: 2630695

The PreferenceCategories added into the hierarchy caused removePreference() to
not work, since the preferences to be removed were not immediate children of
the preference screen.

Create empty PreferenceCategory elements and pull the preferences to the same
depth as the categories.

Change-Id: I34826ea4d84cda0ecab75c66a73febe3d51e7c68
2010-04-27 13:35:12 -07:00
Michael Chan
6368b25c09 Merge "b/2608693 Fix the problem where BT was automatically reconnecting ... after the user unpaired while docked." into froyo 2010-04-23 10:46:43 -07:00
Michael Chan
96b0c1dc08 b/2608693 Fix the problem where BT was automatically reconnecting
... after the user unpaired while docked.

Change-Id: I65642f440109968387401fc3c103da0f2b15f49f
2010-04-22 16:07:35 -07:00
Suchi Amalapurapu
b99e029db1 Fix string for uninstall button for system apps.
Change-Id: Iad26aae3d99447eddb6997e66c84080cdce727da
2010-04-22 16:06:30 -07:00
Suchi Amalapurapu
a3683a51fa Enable moving packages when install location is set to auto.
Change-Id: If081ad949cb2aed6b3555275c582e951e579ffc9
2010-04-22 13:42:41 -07:00
Daniel Sandler
f07466782b Merge "Redesign vibration settings." into froyo 2010-04-21 17:37:01 -07:00
Daniel Sandler
19340d213c Merge "Labeled categories to help clarify Sound prefs." into froyo 2010-04-21 17:36:48 -07:00
Daniel Sandler
2c917847f5 Redesign vibration settings.
Under the hood there remain three axes:
 1. Are we in silent mode now?      | RINGER_MODE_{VIBRATE,SILENT}
 2. Do we vibrate in silent mode?   | VIBRATE_IN_SILENT == 1
 3. Do calls vibrate:     | getVibrateSetting(VIBRATE_TYPE_RINGER)
    - always              |    == VIBRATE_SETTING_ON
    - never               |    == VIBRATE_SETTING_OFF
    - only in silent      |    == VIBRATE_SETTING_ONLY_SILENT

We now expose this to the user much more simply by
collapsing (2) and (3) above, and discarding states that
don't make sense:
  - VIBRATE_SETTING_OFF + VIBRATE_IN_SILENT
  - VIBRATE_SETTING_ONLY_SILENT + !VIBRATE_IN_SILENT

Now we offer the user four choices:

    Phone vibrate:
    * "Never"
        --> VIBRATE_IN_SILENT=0, VIBRATE_SETTING_OFF
    * "Always"
        --> VIBRATE_IN_SILENT=1, VIBRATE_SETTING_ON
    * "Only in silent mode"
        --> VIBRATE_IN_SILENT=1, VIBRATE_SETTING_ONLY_SILENT
    * "Only when not in silent mode"
        --> VIBRATE_IN_SILENT=0, VIBRATE_SETTING_ON

This should make it easier to choose exactly the behavior
the user wants as well as avoid nonsensical combinations of
settings.

Bug: 2598014
Change-Id: I9244d25ec97a3e2b572b71b521049debd22fa4e0
2010-04-21 15:29:34 -04:00
Daniel Sandler
8ad849ca26 Labeled categories to help clarify Sound prefs.
Bug: 2598014
Change-Id: Ia846367fc479345bfd02c10fe1860373719334eb
2010-04-21 08:52:59 -04:00
Robert Greenwalt
4c3b2f0cf0 Fix the tethering help page.
It worked with language+country resources but for some resources it's just language.
Added a check to see if we had lanugage+country before deciding which to use.

bug:2605981
Change-Id: Icb667a51f0c376f5188e3a43f264e236cd265468
2010-04-19 12:22:48 -07:00
Irfan Sheriff
ea87b6d75c Merge "Stop scanning after errors" into froyo 2010-04-17 09:28:21 -07:00
Irfan Sheriff
e81497095b Stop scanning after errors
When scan fails for 3 times, we show a
failure toast and continue to scan.
In one case this caused infinite toasts,
until the user stopped wifi.

Its not clear what can cause this kind of
a state since wifi disable broadcast should
stop the scans. This fix will stop scans
after 3 continuous failures. Any wifi state
change will restart scan.

Bug: 2601937
Change-Id: I68733394cb3c9b76ffb15f7579e7af6c1f54d39c
2010-04-16 14:56:54 -07:00
Kenny Root
82164c365a Set encoding for HTML assets to UTF-8
Change-Id: Ia6989e94efc93e359b4035a1e0a99ab9262b7424
2010-04-15 21:40:34 -07:00
Kenny Root
ee38142267 Merge "Import revised translations" into froyo 2010-04-15 05:56:36 -07:00
Kenny Root
398213ec34 Import revised translations
Change-Id: Ia29e5c15fbd147579185c31d03844ccc5a11032e
2010-04-14 20:34:50 -07:00
Robert Greenwalt
ddd1b8757e Merge "Update the tethering help with correct link." into froyo 2010-04-14 16:18:43 -07:00
Irfan Sheriff
c190c4f535 Merge "Grey out wifi tethering in airplane mode" into froyo 2010-04-14 15:32:32 -07:00
Irfan Sheriff
2d4e135fec Grey out wifi tethering in airplane mode
When airplane mode is enabled, wifi tethering
should be disabled since there is no real
use case for it.

This also addresses the issue
of trying to restore Wifi (with tethering on)
when airplane mode is disabled.

Bug: 2594720
Change-Id: I7379ebed74a58b148ae82ed589d09aa2b9ca767d
2010-04-14 15:15:09 -07:00
Jim Miller
c02a09aa56 Merge "Fix 2594148: confirm PIN/Password before resetting device" into froyo 2010-04-14 14:47:48 -07:00
Suchi Amalapurapu
6023d0b93d Merge "Fix 258181 Enable moving apps to external storage if install location is set and they had been moved to internal storage." into froyo 2010-04-14 14:05:38 -07:00
Robert Greenwalt
697d8c2e96 Update the tethering help with correct link.
Also adding localized versions.

bug:2561337
bug:2591665
Change-Id: Ic2543d0c524738f67c3bbf51e0c707117671b0e4
2010-04-14 09:49:32 -07:00
Jim Miller
2deec7edc9 Fix 2594148: confirm PIN/Password before resetting device
This fixes a bug where user was allowed to factory reset the device
without entering their PIN/Password.

It also fixes the same issue with MediaFormat (Settings->SD Card->Format).

Change-Id: I0677a50aa771ad8663513fd7ec398a70953dcde2
2010-04-14 01:15:05 -07:00
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
Suchi Amalapurapu
30de84777b Fix 258181
Enable moving apps to external storage if install location is set and they had been
moved to internal storage.

Change-Id: I54b24303872dc525a86294c3d2b8c0c76dd366c5
2010-04-13 13:15:59 -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
c06bb82f37 Merge "Fixing bug #2591288" into froyo 2010-04-12 20:38:32 -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
Jim Miller
91523d601a Fix 2579923: Update language to make consistent with related feature.
Change-Id: I2f07b92d717e4661ec3a2c25775fa90ef62caed3
2010-04-12 17:43:41 -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