Commit Graph

845 Commits

Author SHA1 Message Date
Amith Yamasani
305b0fb47c Fix 2242164 Soft keyboard keeps getting enabled even if I disable it
On keyboardful devices, it is possible to disable the system soft input
method. Something changed in eclair that caused the ime to be re-enabled
on every package manager update (packages added/deleted).

Now keep track of disabled system imes in the settings db and search
in that list before enabling a system IME on package changes.

Every time the user goes to settings to enable/disable imes, the list
is re-created.

Any new system IMEs that may be added via an OTA will get enabled if
they have a different package name.
2010-03-24 22:30:16 -07:00
Suchi Amalapurapu
3d503e356f When unmounting the sdcard, we are currently checking for apps that
have open file references on the sdcard. We also have to check for apps on sd
that are currently running. Use the new ActivityManager api to get a list of these apps before deciding to show the dialog.

Change-Id: Idb00fcbd0a3f314d75ee1662cb2b10a84569527a
2010-03-24 09:08:40 -07:00
Suchi Amalapurapu
e4a318f15c Merge "Disable uninstall button when move is in progress. Handle onActivityResult in ManageApplications when a package has been uninstalled." 2010-03-23 16:11:32 -07:00
Suchi Amalapurapu
de03ac27b7 Disable uninstall button when move is in progress.
Handle onActivityResult in ManageApplications when a package has been
uninstalled.

Change-Id: I4c4a8a54f9743f89949f47e21c1e143ac08ca2c3
2010-03-23 15:43:35 -07:00
Suchi Amalapurapu
983192df77 Merge "The getStorageUsers only returns list of storage users accessing the sdcard. We also have to check if applications on sdcard are currently running." 2010-03-23 15:37:12 -07:00
Suchi Amalapurapu
6f58b1b426 The getStorageUsers only returns list of storage users accessing the sdcard.
We also have to check if applications on sdcard are currently running.

Change-Id: I4b6478bc834e956f963735f69829c5ba4c7fb8c2
2010-03-23 15:17:52 -07:00
Dianne Hackborn
98d55daeea Update running services in background thread.
This avoid the main UI glitching when an update happens.  Also fix
some problems with how overall memory usage was shown.

Change-Id: Ida415eb07c8671059a24c3be1ebf16910f4b6da2
2010-03-23 10:45:07 -07:00
Chung-yih Wang
141fe818f1 Fix the incorrect keystore prefix of private key in the wpa_supplicant.conf.
Change-Id: Ibc77d10f6c945d274037422b2e4e58d1bbd9888d
2010-03-23 12:17:20 +08:00
Brad Fitzpatrick
b1f83e4496 Merge "Make the Power Control widget more responsive." 2010-03-22 18:08:16 -07:00
Brad Fitzpatrick
94ea6e21c3 Make the Power Control widget more responsive.
BUG=2535155

Change-Id: Id3049fa9ba850c05140d7374065717b854a5d721
2010-03-22 18:07:17 -07:00
Charles Chen
50d4a68182 Merge "Fixing a problem with the TextToSpeech settings not reflecting the current engine that the user has selected when displaying the list of engines that are available." 2010-03-22 16:11:09 -07:00
Charles Chen
be6e8276e3 Fixing a problem with the TextToSpeech settings not reflecting
the current engine that the user has selected when displaying
the list of engines that are available.

Change-Id: I77d35ff1c691fd3e5c967fcf367647d415d2468e
2010-03-22 16:06:05 -07:00
Irfan Sheriff
9775dc9515 Add password hint and fix settings crash
Bug: 2534348
Bug: 2533980
Change-Id: I2f220ac9c710869d3f93a56557afb33478c3b323
2010-03-22 15:33:44 -07:00
Irfan Sheriff
3e5cfe8f0a Update AP config status
Bug: 2533950
Change-Id: Idac1213b9dc44c073fa5cf8da00b8599161565f2
2010-03-22 14:50:46 -07:00
Robert Greenwalt
38925c0b96 Choose the Tether help file based on device config
Don't show wifi Tethering help on devices that don't support it, etc.

bug:2520021
Change-Id: I905d1b66fc239d5a5f5028715623d8781041f9ca
2010-03-19 10:27:52 -07:00
Irfan Sheriff
b3be4d0c50 Move status update to WifiApEnabler
Bug: 2528202
Change-Id: I093699ac171279af9df5f3b3b4ae359aab79088b
2010-03-19 09:17:59 -07:00
David Brown
7a87cca46b Merge "Fix 2520977: NPE in com.android.settings.deviceinfo.Status" 2010-03-18 12:45:25 -07:00
David Brown
f42d5e7e2e Fix 2520977: NPE in com.android.settings.deviceinfo.Status
In normal operation, Phone.getLine1Number() returns an empty string if the
device doesn't know its own phone number for some reason.  However the
monkey caught a case where it was returning null, which crashed the
Settings -> About Phone -> Status app.

However the javadoc for Phone.getLine1Number() *does* clearly say "May
return null if not available or the SIM is not ready", so the Status app
*should* gracefully handle this.

Now it does.  (We display this case as "Unknown", just like if we get an
empty string.)

FWIW I grepped thru the rest of the code base for other uses of
getLine1Number(), and everybody else *does* handle null gracefully except
for one case in apps/Mms, which I'll open a separate bug about.

Bug: 2520977
Change-Id: I173561f903f116dbdc2b7c32b8011b59a9eb29d7
2010-03-17 23:03:45 -07:00
Charles Chen
f47cce0789 Saving the list of enabled plugins in secure settings so that the
TextToSpeech service can later check which plugins are enabled.

Change-Id: I5fce45540c1b7faf466c11b3b76259fde2e7c2ed
2010-03-17 17:35:33 -07:00
Chia-chi Yeh
05d35416e8 WifiSettings: do not set auth_alg for WPA/WPA2 networks.
Change-Id: Ib41a52d90ca8db3cb52aa1fb87e2433bb76f4de2
2010-03-17 15:52:54 +08:00
Charles Chen
9bb75d3677 Merge "Adding plugin specific settings to TTS settings + changing the UI to be more like the IME settings." 2010-03-16 20:53:56 -07:00
Charles Chen
0a0eb5f7e8 Adding plugin specific settings to TTS settings + changing the UI
to be more like the IME settings.

Change-Id: I0d26042262b4d9e636d3f456e867c725fa56ae55
2010-03-16 20:32:18 -07:00
Irfan Sheriff
47ebb78954 softAp UI changes
Remove channel settings
Add subtext error handling
Remove WEP, keep WPA2 only for now

Bug: 2413908
Change-Id: Ie867e84a0705f0d2185eeb3a4c86a8227446a338
2010-03-16 16:03:13 -07:00
Dmitry Shmidt
df001da221 Merge "Fix WEP Open/Shared network settings" 2010-03-16 13:26:49 -07:00
Dmitry Shmidt
c11618c826 Fix WEP Open/Shared network settings
Change-Id: I2ccf73e19d27ed5c60f3f028a44a241ed6a7bb50
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-03-16 12:47:33 -07:00
Robert Greenwalt
a2b7927e0c Merge "Add Tether Help UI." 2010-03-15 17:44:35 -07:00
Robert Greenwalt
c3c93e5c62 Add Tether Help UI.
Add a "Help" button to the tethering page that loads on-device html.

Change-Id: I816ec552a4433296a6cb57345a37611eb2a92b37
2010-03-15 17:21:16 -07:00
Jeff Hamilton
f25b3e04db Format the phone number when displaying in the status settings panel.
Change-Id: I12e437696ebfa6ca8dcdc373f1387fd98e451e50
2010-03-15 17:02:40 -05:00
Daniel Sandler
dee13a94b1 Merge "Disable dock audio settings if the dock doesn't have Bluetooth." 2010-03-15 07:20:38 -07:00
Patrick Auchter
a6b9dcbb16 Fix regex for optional nested parentheses in kernel compiler string
Change-Id: Ie171148b3846bf6c4fd6a1bb31c87aba8db0eb6a
Signed-off-by: Patrick Auchter <patrick.auchter@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-14 10:49:53 -04:00
Daniel Sandler
c0a51abd85 Disable dock audio settings if the dock doesn't have Bluetooth.
We should really have a separate string here to indicate
this case, but it's pretty late for that sort of thing, so I
left it at the generic "configure dock audio".

We might also want to dim this setting rather than popping
up a "Must dock phone first" dialog if the phone is not
docked.

Bug: 2469862
Change-Id: I4c61f5a50baac55881f5a21e523c370c456f0be8
2010-03-12 14:53:49 -05:00
Robert Greenwalt
f0ed2f3f31 Fix Settings handling of UMS broadcasts.
Had to update the filter settings to accomodate the data scheme
sent with the broadcast.

bug:2504908
Change-Id: Idf07d3b6d408489735c55df5f3310551cf6192f5
2010-03-12 11:42:32 -08:00
David Brown
6e101d125a Add "Power button ends call" accessibility setting.
This is part 3 of the fix for bug 2364220 "Accessibility improvements for
ending calls".

This change adds a checkbox under "Accessibility settings" to control the
new Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR value, which allows the
user to specify that the Power button should hang up while in-call
(instead of just turning off the screen.)  The checkbox is only shown on
devices that actually have a POWER button.

Yeah, it's a little strange having this under Accessibility (since it's not
that obvious *why* this feature is accessibility-related), but there's no
obvious better place.  See discussion in the bug for more info.

Bug: 2364220

Change-Id: I0fd7cf357972519b390575b9c06a4bbe46ff1c9b
2010-03-11 17:39:11 -08:00
Robert Greenwalt
7785e508b7 Merge "Update Tether Settings for new UMS behavior." 2010-03-10 17:24:57 -08:00
Robert Greenwalt
a2488762a7 Update Tether Settings for new UMS behavior.
Framework Tethering now will remove USB interfaces from the available iface list
when UMS is started.  Do note when UMS changes though so we can display the correct
strings.

bug:2469818
Change-Id: I5bf1eaea71994cbf9882e10301e88593533651a2
2010-03-10 16:57:08 -08:00
Jim Miller
2348a9db51 Merge "Fix 2504863: Use password min/max constants in ChooseLockPassword" 2010-03-10 16:51:03 -08:00
Suchi Amalapurapu
5cc062f1cd Add new error dialog when moving apps fails.
Change-Id: I3b1c815ff5f515c2116771e0392cf91fbfaea9f4
2010-03-10 16:39:09 -08:00
Jim Miller
70d5c3a013 Fix 2504863: Use password min/max constants in ChooseLockPassword
This fixes a bug where the system was defaulting to 8 digits max password length.

The UI is best for N <=12, but works for more.  I set the default limit to 16 which is
more than most humans can remember. That also seems to be the practical limit for the small
sample of DevicePolicyManagers I checked.

DevicePolicyManagers can always specify more digits if they really want.

Change-Id: I8637e0c9366800886759424b5a28f48dca15c535
2010-03-10 14:50:14 -08:00
Amith Yamasani
7210caf802 Merge "Fixing bug 2486048 - Disabling Accessibility does not disable Accessibility services check boxes" 2010-03-10 12:33:03 -08:00
Suchi Amalapurapu
d2b8efa494 Rename flag in ApplicationInfo
Change-Id: I368aabf364398bba574d8f5508d1d360f8c2dd6d
2010-03-10 09:56:33 -08:00
Daniel Sandler
00290356b4 Ensure "vibrate in silent" box is never disabled.
Should complete the decoupling work started in change
I724c43aa4f5b1a12b95097381844a47c5dcf1e0d.

Change-Id: I3bad426534533149879fb098533a223cdcdb4d72
2010-03-10 10:56:23 -05:00
Svetoslav Ganov
f7adf2bd07 Fixing bug 2486048 - Disabling Accessibility does not disable Accessibility services check boxes
Change-Id: Ie5d78c1ddb61241db8259a200a3df1950d767cce
2010-03-09 20:32:20 -08:00
Amith Yamasani
8542d8972c Merge "Use a queried package name for the IME settings activity." 2010-03-09 15:13:42 -08:00
Amith Yamasani
e086d9ad61 Use a queried package name for the IME settings activity.
This fixes a bug that if the package name of the IME settingsActivity
is different from it's class name, it wouldn't find the activity. This
allows the package name to be optionally specified in the XML or it
will be queried, for proper intent resolution.

Change-Id: Ib9e6e8ef7d59ad9e88300529873eed2b39fe9981
2010-03-09 15:03:53 -08:00
Robert Greenwalt
204e7c1a6e Clean up the tethering settings screen a bit.
Change-Id: Iadd1cf9245a5ccd38537050a6b6c9d9390400b20
2010-03-09 11:19:37 -08:00
Erik
669262bca0 Merge "b/2491823 Fixed brightness toggle for phones w/o auto-brightness" 2010-03-09 09:40:23 -08:00
Hung-ying Tyan
488dc08b0b Fix VPN profile path in settings.
http://b/issue?id=2485656

...and eliminate multiple Settings instances in history stack

Change-Id: I076b78781ee7ce458f82e6d9659a94ce64841a0e
2010-03-09 12:25:01 +08:00
Erik
5bc5cedc7a b/2491823 Fixed brightness toggle for phones w/o auto-brightness
Logic didn't allow a transition from max to min brightness when used on
a phone that didn't support auto-brightness.
2010-03-08 15:25:43 -08:00
Daniel Sandler
b8955defaf Merge "Fix vibrate settings for incoming calls." 2010-03-08 12:10:39 -08:00
Daniel Sandler
4ce4f759bd Fix vibrate settings for incoming calls.
Bug: 2489593
Change-Id: Id0347bada808f604febc51c3d69d30442c3d51c4
2010-03-08 15:10:02 -05:00