Commit Graph

15016 Commits

Author SHA1 Message Date
Suchi Amalapurapu
fe4a2bc43f Change default filter to third party when launched via settings and all apps when launched via
low storage. Update string name.
fix padding for Force Stop button
Change message when clearing application data.
2009-09-20 15:11:44 -07:00
Benny Wong
dc543d2898 Fix the issue WiFi UI IP settings lost when change slider state before save IP settings
Original GID: 1062
2009-09-18 07:54:53 -07:00
Dianne Hackborn
f66beeaea7 Follow along with startActivityPendingIntent() change.
Change-Id: I6d804af66deeaf87339eeb548b6a3d2965262f02
2009-09-17 18:01:57 -07:00
Dianne Hackborn
3faa23a2b0 Use new memory API; show memory used by bg and fg processes.
Change-Id: I449eba1aa4bc1de7537f8c526e27d32c1979d823
2009-09-17 12:07:00 -07:00
Amith Yamasani
985f5efc82 Add "settings" to a bunch of screens. Fix 2110077, 2115734, 2101651
Move Factory data reset to About phone.

Show input method when dialog to enter/edit new dictionary word is displayed.

Add title to Accessibility settings.
2009-09-17 10:39:10 -07:00
Android (Google) Code Review
5d9ee14902 Merge change 25397 into eclair
* changes:
  Fix issues with updating list when applications get installed while ManageApps is paused or stopped. When ManageApps gets started, the list of installed apps is retrieved from PackageManager and compared against the old list to figure out newly installed apps(since the app has been stopped) and also to weedout stale entries of packages which might have been deleted. Since the application objects themselves might have changed the list is usually refreshed with new objects. Deleted applications are taken care of right away by just removing from the List adapter. For newly added apps however, the size and label/resource info has to be loaded before being inserted in to the list since the list is already sorted. So just remove these entries from the list for now and let ADD_PKG message handle adding the new elements. Make AppInfo a nested class so that it doesn't hold a reference to its enclosing class and  we have too many such entries one for each package.
2009-09-17 01:05:12 -04:00
Suchi Amalapurapu
355b32faa9 Fix issues with updating list when applications get installed while ManageApps is paused or stopped.
When ManageApps gets started, the list of installed apps is retrieved from PackageManager and
compared against the old list to figure out newly installed apps(since the app has been stopped) and
also to weedout stale entries of packages which might have been deleted.
Since the application objects themselves might have changed the list is usually refreshed with new objects.
Deleted applications are taken care of right away by just removing from the List adapter.
For newly added apps however, the size and label/resource info has to be loaded before being inserted in to
the list since the list is already sorted. So just remove these entries from the list for now and let
ADD_PKG message handle adding the new elements.
Make AppInfo a nested class so that it doesn't hold a reference to its enclosing class and
 we have too many such entries one for each package.
2009-09-16 17:12:08 -07:00
Android (Google) Code Review
bb3343923c Merge change 25354 into eclair
* changes:
  Fix string name for bluetooth pairing and fix NPE
2009-09-16 18:29:31 -04:00
Jaikumar Ganesh
363bd5554e Fix string name for bluetooth pairing and fix NPE
Change-Id: Ibfd0e1e1ed3e1a1e5939d0bdffd17e2e929317b1
2009-09-16 14:56:08 -07:00
Debajit Ghosh
ae57dbd618 make power settings widget toggle sync, not background data 2009-09-16 11:29:16 -07:00
Android (Google) Code Review
dd1bb33e01 Merge change 24646 into eclair
* changes:
  Aggregate the security settings for WiFi network configuration.
2009-09-16 06:26:54 -04:00
Mike Lockwood
65f49474d6 Restore backlight brightness after restoring auto ALS mode.
Fixes b/2121632

Change-Id: I14228a4fd1d599de1e5fdbb3c8b4b3c02a1460ac
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 06:22:19 -04:00
Hung-ying Tyan
10d3cf5082 Enable cert install from sdcard in Settings...
And remove ADD_CREDENTIAL intent from AndroidManifest.xml.
2009-09-16 15:52:02 +08:00
Chung-yih Wang
98f447fe2d Aggregate the security settings for WiFi network configuration.
* Merge WPA and WPA2 PSK.
* Merge WPA-EAP and IEEE8021X.
* Remove unused field "private key password" in EAP configuration.
2009-09-16 15:34:32 +08:00
Android (Google) Code Review
dd498f901e Merge change 24870 into eclair
* changes:
  Transient patch for the WifiConfiguration change.
2009-09-16 02:35:42 -04:00
Android (Google) Code Review
a383452afd Merge change 25125 into eclair
* changes:
  Show name for incoming pairing requests.
2009-09-15 17:36:52 -04:00
Jaikumar Ganesh
3eb43fe7a4 Show name for incoming pairing requests.
Settings apps invalidates its cache whenever a new scan is started.
When there is a new incoming pairing request, we will not get a DeviceFound
signal, because its not due to a inquiry scan. Thus when the pairing request
is displayed, the settings app doesn't have it in cache and hence will
just display the address. Make it query the framework when it doesn't have the name.
2009-09-15 14:07:22 -07:00
Mike Lockwood
cd03f5320d Move backlight brightness from HardwareService to PowerManager
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming

Change-Id: Ic4faa008357fd3d74225ba90f05801c5127fd8c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-15 15:24:14 -04:00
Dan Murphy
a096888f3c apps/settings: Add auto/manual brightness control to Brightness settings
Add changes to have the ability to turn on and off the
automatic light sensing for the device.  This is fully configurable
and is by default not  present.  Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible.  Manual mode
will present the slide bar to the user.

Change-Id: I512c9d5dd72ddd831b33eb8fcd4680e2fc7f786e
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-14 21:42:56 -04:00
Chung-yih Wang
210e7acf82 Transient patch for the WifiConfiguration change.
Comment out the access to the enterprise fields of
WifiConfiguration class in AccessPointState class.
And will have a new patch for accessing the new WifiConfiguration.
2009-09-14 14:25:09 +08:00
Hung-ying Tyan
a3aaf19e09 Fix setting passwd string and vpn checkbox titles.
* Add min length requirement in setting passwd string.
* Do not change vpn checkbox title with state changes.
2009-09-14 11:54:29 +08:00
Jaikumar Ganesh
5f23cb39a1 Modify settings for 2.1
Add incoming pairing dialog
Add DisplayPasskey handling of pairing keyboards with 2.1 devices.
Modify code path to show errors when bonding request fails.
Misc fixes like string changes.
2009-09-11 12:00:14 -07:00
Nick Pelly
16cc86315d Update application for Bluetooth API changes.
Change-Id: I8351611f0f0c5eda3e423dbe7e7b53e52d75ac36
2009-09-10 18:44:25 -07:00
Android (Google) Code Review
cded847838 Merge change 24553 into eclair
* changes:
  Make running services show dependent processes.
2009-09-10 15:57:57 -04:00
Android (Google) Code Review
e07eb49793 Merge change 24555 into eclair
* changes:
  Allow setting a silent ringtone (bug 1600056).
2009-09-10 15:33:55 -04:00
Marco Nelissen
0399617744 Allow setting a silent ringtone (bug 1600056). 2009-09-10 12:11:33 -07:00
Dianne Hackborn
85710167c6 Make running services show dependent processes.
And other various improvement and cleanup.

Change-Id: I0a33ab2876c8f409cd3cfecbbac574563ef1a162
2009-09-10 12:08:53 -07:00
Hung-ying Tyan
f71c8b40b5 Add install-cert-from-sdcard in Security settings
Also:
* Resume keystore states in SecuritySettings.onResume().
* Use action strings defined in CertTool and Keystore.
2009-09-10 12:50:10 +08:00
Android (Google) Code Review
18cd409301 Merge change 24440 into eclair
* changes:
  Fix bug 2078454 where clicking on Settings in the Home menu would take the user to Market after clicking on "Install Voice Data" in the TTS Settings page. Launching the Activity for the installation of the TTS data should be a distinct task, dissociated from the one associated with the Settings app. Also the intent ACTION_INSTALL_TTS_DATA doesn't return a result, so the activity should be started with startActivity() rather than startActivityForResult().
2009-09-09 18:38:11 -04:00
Jean-Michel Trivi
58ea43acf9 Fix bug 2078454 where clicking on Settings in the Home menu would
take the user to Market after clicking on "Install Voice Data" in
the TTS Settings page.
Launching the Activity for the installation of the TTS data should
be a distinct task, dissociated from the one associated with the
Settings app. Also the intent ACTION_INSTALL_TTS_DATA doesn't return
a result, so the activity should be started with startActivity()
rather than startActivityForResult().
2009-09-09 15:20:56 -07:00
Android (Google) Code Review
6ee7dd0913 Merge change 24435 into eclair
* changes:
  Fix display strings and enter passkey handling.
2009-09-09 18:06:30 -04:00
Jaikumar Ganesh
67efa271bb Fix display strings and enter passkey handling. 2009-09-09 15:03:24 -07:00
Android (Google) Code Review
843b4ee178 Merge change 24276 into eclair
* changes:
  Update application for Bluetooth API change: deprecation of BluetoothError.
2009-09-09 14:34:52 -04:00
Android (Google) Code Review
1e4519979b Merge change 24230 into eclair
* changes:
  Update application for Bluetooth API change.
2009-09-09 14:30:26 -04:00
Marco Nelissen
620e5f9c05 Remove logging. 2009-09-09 09:06:40 -07:00
Nick Pelly
f4779354b3 Update application for Bluetooth API change: deprecation of BluetoothError. 2009-09-08 17:49:57 -07:00
Nick Pelly
ca564d6bda Update application for Bluetooth API change. 2009-09-08 16:24:03 -07:00
Dianne Hackborn
76315391f0 Improve running services to services managed by the system.
Also a little tweak to the animations preference.

Change-Id: I3183ef21e687a3b120d02c79e7388300084b9202
2009-09-03 13:33:55 -07:00
Android (Google) Code Review
5b41931e1f Merge change 23701 into eclair
* changes:
  Fix bug 2088099 where the TTS example doesn't play in the Settings app when the UI is in Japanese. Rewrite of the initialization of the default language in the TTS Settings. The previous implementation had the following issues: - the "Listen to an example" didn't use the default settings - the string used for the example didn't match the selected language  (this was in order to not imply that TTS is doing translation, but   that proved confusing to users). The language initialization is now implemented in initDefaultLang() and ensures that the default locale is one supported in the array of available locales. The speech rate is also initialized from the settings or the default rate (if no value was stored in the settings).
2009-09-03 09:20:15 -07:00
Jean-Michel Trivi
e8e23db707 Fix bug 2088099 where the TTS example doesn't play in the Settings app
when the UI is in Japanese.
Rewrite of the initialization of the default language in the TTS Settings.
The previous implementation had the following issues:
- the "Listen to an example" didn't use the default settings
- the string used for the example didn't match the selected language
 (this was in order to not imply that TTS is doing translation, but
  that proved confusing to users).
The language initialization is now implemented in initDefaultLang()
and ensures that the default locale is one supported in the array
of available locales.
The speech rate is also initialized from the settings or the
default rate (if no value was stored in the settings).
2009-09-02 15:48:32 -07:00
Android (Google) Code Review
39ec58134d Merge change 23699 into eclair
* changes:
  b/2045917 Fixed the problem where Bluetooth enable/disable remain disabled when Airplane mode is turned off.
2009-09-02 15:34:31 -07:00
Michael Chan
d3da3379a4 b/2045917 Fixed the problem where Bluetooth enable/disable remain disabled when Airplane mode is turned off. 2009-09-02 15:20:07 -07:00
Michael Chan
77395cc39c b/2050798 Bluetooth Passkeys should always be 6 digits so show leading zeros if needed.
Removed extra new lines in the passkey and pin dialogs because the string didn't fit in landscape mode. (scrollbars to appeared)
2009-09-02 12:30:05 -07:00
Jean-Michel Trivi
ab6552c3f0 Make sure the TTS example in the TTS Settings loads a supported language.
This fixes the issue where the example wouldn't play when the UI is in
Japanese in bug 2088099.
2009-09-01 13:46:44 -07:00
Dianne Hackborn
c58c549cc9 New UI for viewing and stopping currently running services.
Change-Id: I86012262635c911be23513aa0b027174b490374d
2009-09-01 12:11:24 -07:00
Android (Google) Code Review
71964dd659 Merge change 23372 into eclair
* changes:
  Show the Use location prompt only once if user agrees. Bug #1910370
2009-08-31 17:39:34 -07:00
Amith Yamasani
f411c9625c Show the Use location prompt only once if user agrees. Bug #1910370 2009-08-31 17:27:53 -07:00
Chouting Zhang
71cc49e480 Airplane Mode in Emergency Callback Mode (ECM)
When user tries to change Airplane Mode between ON & OFF
in ECM mode, a notice should be shown to indicate it's in ECM mode,
and ask if user wants to exit ECM, if yes, then the Airplane Mode
is changed after ECM mode exit. If not, Airplane Mode should not be
changed.
2009-08-31 09:45:21 -07:00
Amith Yamasani
11cd8c5ac9 Fix for 1785342: The old PIN is required after entering New PIN
State of dialogs was not properly maintained across pause/resume.
2009-08-28 17:10:46 -07:00
Hung-ying Tyan
7ca3655dcb Handle two new err codes:
REMOTE_PPP_HUNG_UP and PPP_NEGOTIATION_FAILED.
Also refactor the dialog creation code to directly use the err code as
the dialog id and make it easier to tell which type of dialog (reconnect
or edit) is invoked for which err code.
2009-08-28 11:25:44 +08:00