Commit Graph

560 Commits

Author SHA1 Message Date
Chia-chi Yeh
065cd4be64 WifiSettings: rename WifiSettings2 to WifiSettings. 2010-02-03 15:56:55 +08:00
Chia-chi Yeh
df90dd9f55 WifiSettings: remove dead code. 2010-02-03 15:16:54 +08:00
Chia-chi Yeh
48090d4066 WifiSettings: revise and add support for editing EAP networks.
Use arrays.xml to store translations for enumerations;
avoid race conditions happened when pop up menu or dialog;
avoid saving configurations with networks disabled;
use the same layout for all the dialogs;
support editing EAP networks;
only unlock keystore before connecting;
and many bug fixes I cannot remember.

The number of lines in the new code is about 1/3 of the old one,
and it improves the readability a lot!
2010-02-02 18:31:58 +08:00
Dianne Hackborn
2842903337 Work on the device admin settings UI.
Improve the look of the UI, and add the confirmation screen
for enabling an administrator.  This uses the new framework APIs
to show its description and policies it will control.
2010-01-26 11:09:32 -08:00
Daniel Sandler
e67c881090 Add android.settings.DEVICE_INFO_SETTINGS.
Allows apps to jump straight to the DeviceInfoSettings
Activity.
2010-01-26 10:03:10 -05:00
Mike LeBeau
92c3352f89 Add a new "Voice input & output" top-level section of system settings.
This replaces the existing "Text-to-speech" section, placing that
inside, along with a link to the newly exposed voice search settings
(which will soon be expanded) and a link to the LatinIME settings
(pending a link to a new section in LatinIME for just voice settings,
including the comma setting and a new input language setting).

The VoiceSearch and LatinIME links are smart enough to remove themselves
if those don't exist on the device.
2010-01-25 19:30:30 -05:00
Amith Yamasani
992f10240d Refactor settings hierarchy and clump all volumes in one dialog.
Bug:2362077 Bug:2312836 Bug:2166486

Split Sound and Display into separate top-level settings.
All volume settings (including Alarm volume) now in one Volume dialog.
Remove some sub-texts to reduce clutter.
2010-01-25 14:58:34 -08:00
Amith Yamasani
2197f83b6b am 39c3d10b: am 0e2ab4f8: New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Merge commit '39c3d10bfccd74b26b045e3d6a712d282fba88d8'

* commit '39c3d10bfccd74b26b045e3d6a712d282fba88d8':
  New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
2010-01-21 17:54:47 -08:00
Dianne Hackborn
abc3dc64cf Start hooking up password device policies
This introduces a new activity for changing the password, which takes
care of launching the correct password activity based on the caller's
request and active policy.  The security settings activity now uses
this, and it implements the API action for launching the password UI.
2010-01-21 13:54:44 -08:00
Michael Chan
4e5d33d49f am 49efbf8b: am c9b9f650: Merge "b/2367861 Auto connect if the user turns on BT while docked." into eclair
Merge commit '49efbf8b5b7a6817a4a1020982cb34f4ca226d48'

* commit '49efbf8b5b7a6817a4a1020982cb34f4ca226d48':
  b/2367861 Auto connect if the user turns on BT while docked.
2010-01-20 14:35:08 -08:00
Amith Yamasani
39c3d10bfc am 0e2ab4f8: New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Merge commit '0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a' into eclair-plus-aosp

* commit '0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a':
  New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
2010-01-18 23:42:44 -08:00
Dianne Hackborn
feff652132 Initial UI for managing device policies.
More to come...  what is here now is very ugly, and completely missing the
confirmation screen for setting a device administrator.
2010-01-16 18:30:05 -08:00
Amith Yamasani
0e2ab4f884 New top-level Dock in Settings and a Dock Settings screen with Audio item. #2367275
Add a new top-level setting for car/desktop dock settings.
Sub menu contains one item - Audio (settings)
Sub text for Audio shows current docked status and launches either the
 audio settings or a dialog saying that you're not docked and you need to
 buy a new dock from Google (kidding).
2010-01-15 11:53:42 -08:00
Michael Chan
49efbf8b5b am c9b9f650: Merge "b/2367861 Auto connect if the user turns on BT while docked." into eclair
Merge commit 'c9b9f650fcbce8ba2ab0b2e60e5334b02b4010e5' into eclair-plus-aosp

* commit 'c9b9f650fcbce8ba2ab0b2e60e5334b02b4010e5':
  b/2367861 Auto connect if the user turns on BT while docked.
2010-01-14 15:20:31 -08:00
Michael Chan
845e740fc6 b/2367861 Auto connect if the user turns on BT while docked.
Change-Id: I855d0448af9c9c665fb8288c83cd13ae9c3d6050
2010-01-14 11:26:18 -08:00
Jim Miller
00d2476d8f Fix 2332563: Add password-lock support to lockscreen 2010-01-11 15:51:59 -08:00
Dianne Hackborn
517ea9ffea Update to use new ActivityManager.forceStopPackage() API. 2010-01-05 15:47:41 -08:00
Bjorn Bringert
7e6b3d7e6d Delete obsolete LauncherAppWidgetBinder activity
Launcher no longer needs this activity to bind
appwidgets.

Change-Id: I5c33cfc0eb02ee5d7310c14b8c2b83d818c4e4e8
2009-12-16 13:25:02 +00:00
Michael Chan
b37c4a09bb am 5217a122: am 1d5f14bd: Merge change I92124d28 into eclair
Merge commit '5217a122d70dfeb74f0a2b0e0a73d920ec9d58d7' into eclair-mr2-plus-aosp

* commit '5217a122d70dfeb74f0a2b0e0a73d920ec9d58d7':
  b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
2009-12-10 17:49:37 -08:00
Michael Chan
5217a122d7 am 1d5f14bd: Merge change I92124d28 into eclair
Merge commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda' into eclair-mr2

* commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda':
  b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
2009-12-10 17:41:29 -08:00
Irfan Sheriff
a702cab6cf am 2ff62e2c: Wifi diagnostic app to enable debug and provide information
Merge commit '2ff62e2c7b1ecf2f4463cc8b683ea52e32337b9d' into eclair-mr2-plus-aosp

* commit '2ff62e2c7b1ecf2f4463cc8b683ea52e32337b9d':
  Wifi diagnostic app to enable debug and provide information
2009-12-10 15:18:33 -08:00
Irfan Sheriff
2ff62e2c7b Wifi diagnostic app to enable debug and provide information
This is the first checkin on the wifi diagnostic app. Right now,
it supports using the WifiManager API, shows the configuration details
and provides status on the supplicant, network and wifi state along with
some additional details.

More to come:
- add more API and status on any additional fields
- provide a way to show some logs

Bug: 2302130
2009-12-10 15:07:05 -08:00
Michael Chan
2a0770c9e4 am 1d5f14bd: Merge change I92124d28 into eclair
Merge commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda' into eclair-plus-aosp

* commit '1d5f14bd54490ccd4c93dfe350aa5abfbfe9ceda':
  b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
2009-12-09 17:47:21 -08:00
Michael Chan
503c236db5 b/2296110 Car Dock - Stop service when done processing each command. Clean up logs.
Change-Id: I92124d2856e6c825a2b4148473431789a1f5b156
2009-12-09 17:27:56 -08:00
Michael Chan
af03e5f0f3 am 41eb3841: am 0c75b2d2: Merge change I80790bdb into eclair
Merge commit '41eb38412a0c1337ea4e61dcc4d35f82292ba0ae' into eclair-mr2-plus-aosp

* commit '41eb38412a0c1337ea4e61dcc4d35f82292ba0ae':
  b/2296110 Dialog for setting up dock audio.
2009-12-09 15:42:29 -08:00
Michael Chan
4e1e2d2bf6 am 0c75b2d2: Merge change I80790bdb into eclair
Merge commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350' into eclair-plus-aosp

* commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350':
  b/2296110 Dialog for setting up dock audio.
2009-12-07 20:50:54 -08:00
Michael Chan
41eb38412a am 0c75b2d2: Merge change I80790bdb into eclair
Merge commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350' into eclair-mr2

* commit '0c75b2d2dc35b88d5cb9db96afc72ed074ca5350':
  b/2296110 Dialog for setting up dock audio.
2009-12-07 20:50:32 -08:00
Michael Chan
df9504ef58 b/2296110 Dialog for setting up dock audio.
Reimplemented as a Foreground Service just so it can get on top of the Car Dock App.
Added debounce mechanism to not disconnect immediately after getting a undock event.
Each dock now has its own "Remember setting".
Remember Settings is on by default

Change-Id: I80790bdb7c831e2a642365b92433012191aa70c1
2009-12-07 16:57:26 -08:00
Michael Chan
a11c57234f am 2ffa95fd: am 0bd445b9: b/2296110 New Dialog which appears when phone is place on dock.
Merge commit '2ffa95fd591424ae87337078ead9693b716a9873' into eclair-mr2-plus-aosp

* commit '2ffa95fd591424ae87337078ead9693b716a9873':
  b/2296110 New Dialog which appears when phone is place on dock.
2009-12-03 20:47:16 -08:00
Michael Chan
85230695f7 am 0bd445b9: b/2296110 New Dialog which appears when phone is place on dock.
Merge commit '0bd445b974292dc3910b6bb85dcee7e7c378968f' into eclair-plus-aosp

* commit '0bd445b974292dc3910b6bb85dcee7e7c378968f':
  b/2296110 New Dialog which appears when phone is place on dock.
2009-12-03 20:44:50 -08:00
Michael Chan
2ffa95fd59 am 0bd445b9: b/2296110 New Dialog which appears when phone is place on dock.
Merge commit '0bd445b974292dc3910b6bb85dcee7e7c378968f' into eclair-mr2

* commit '0bd445b974292dc3910b6bb85dcee7e7c378968f':
  b/2296110 New Dialog which appears when phone is place on dock.
2009-12-03 20:44:45 -08:00
Michael Chan
0bd445b974 b/2296110 New Dialog which appears when phone is place on dock.
Change-Id: I58b216ee9b4ca9ce16210309358c0512271e128e
2009-12-03 20:32:38 -08:00
Paul Westbrook
179a7d76ea am 4cb03801: Merge change Ia74e2b5c into eclair-mr2
Merge commit '4cb03801ebb4ce3c4f1b2d770f1033677446d6ca' into eclair-mr2-plus-aosp

* commit '4cb03801ebb4ce3c4f1b2d770f1033677446d6ca':
  Switched Settings to use the new Gmail permission name space
2009-11-30 10:40:09 -08:00
Paul Westbrook
a74e2b5cff Switched Settings to use the new Gmail permission name space 2009-11-20 17:12:36 -08:00
Amith Yamasani
8c59140507 am a8a974bd: am dd45a47b: Merge change I4d31288f into eclair
Merge commit 'a8a974bd171ccbc3b35b18c3e73a23d22834d05e' into eclair-mr2-plus-aosp

* commit 'a8a974bd171ccbc3b35b18c3e73a23d22834d05e':
  Fix for 1974140. Delete entry if not valid on hitting home.
2009-10-29 19:54:53 -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
Amith Yamasani
59103bde50 am dd45a47b: Merge change I4d31288f into eclair
Merge commit 'dd45a47bde9cdb9c27cb3ac3529a34f9789782ec' into eclair-plus-aosp

* commit 'dd45a47bde9cdb9c27cb3ac3529a34f9789782ec':
  Fix for 1974140. Delete entry if not valid on hitting home.
2009-10-29 06:35:07 -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
Hung-ying Tyan
ae59063b7a am f20623b2: Merge change I6983cab3 into eclair-mr2
Merge commit 'f20623b2b6f75ecbbe1ac5de4994dd2944083d7b' into eclair-mr2-plus-aosp

* commit 'f20623b2b6f75ecbbe1ac5de4994dd2944083d7b':
  Add saving/restoring state in CredentialInstaller and ...
2009-10-13 03:00:12 -07:00
Hung-ying Tyan
2b9d9ef2aa Add saving/restoring state in CredentialInstaller and ...
make it transparent.
2009-10-13 17:40:25 +08:00
Amith Yamasani
75f25db90d am d7705d4c: Fix 2147749: Make Settings.ACTION_SOUND_SETTINGS work
Merge commit 'd7705d4cd710ad93954acbffa464f9c96bf33809' into eclair-plus-aosp

* commit 'd7705d4cd710ad93954acbffa464f9c96bf33809':
  Fix 2147749: Make Settings.ACTION_SOUND_SETTINGS work
2009-09-29 11:20:59 -07:00
Amith Yamasani
d7705d4cd7 Fix 2147749: Make Settings.ACTION_SOUND_SETTINGS work
Added the official action to the Settings manifest.
2009-09-29 11:10:05 -07:00
Michael Chan
26917f1ddd am e1089ad3: b/2142065 Added Bluetooth API to allow developer to request the user\'s permission to enable discovery mode.
Merge commit 'e1089ad33896f4fe5b75e773813367d700773b6f' into eclair-plus-aosp

* commit 'e1089ad33896f4fe5b75e773813367d700773b6f':
  b/2142065 Added Bluetooth API to allow developer to request the user's permission to enable discovery mode.
2009-09-28 17:39:14 -07:00
Michael Chan
e1089ad338 b/2142065 Added Bluetooth API to allow developer to request the user's permission to enable discovery mode.
Change-Id: I6da1598661ad05b4cfd2b7cc81e05d3053df5777
2009-09-28 17:16:23 -07:00
Hung-ying Tyan
ad088b68b6 am 70cef693: Add CredentialInstaller.
Merge commit '70cef693d133bc66db029bf055c51733ac54c972' into eclair-plus-aosp

* commit '70cef693d133bc66db029bf055c51733ac54c972':
  Add CredentialInstaller.
2009-09-28 01:09:34 -07:00
Hung-ying Tyan
70cef693d1 Add CredentialInstaller. 2009-09-28 16:00:04 +08:00
Wink Saville
bfcb890080 am a40fb237: Add Safety information to Settings > About Phone
Merge commit 'a40fb23734cc5d5ac6e69a060cbb488269ad8af3' into eclair-plus-aosp

* commit 'a40fb23734cc5d5ac6e69a060cbb488269ad8af3':
  Add Safety information to Settings > About Phone
2009-09-27 12:00:01 -07:00
Wink Saville
a40fb23734 Add Safety information to Settings > About Phone
The Safety information link is stored in a system property, ro.url.safetylegal

If the phone has data connection, select "Safety information" menu will open the
Safety information link.  If there is no data connection for the phone, a message will
pop up which ask user to open Safety information link from PC.

Change-Id: Ia46e2e868ebcda93138cb9f00c978d8ac827022a
2009-09-26 21:10:38 -07:00
Dianne Hackborn
0fad576cb5 am ec54997a: Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
Merge commit 'ec54997a04307887b709c607808dace00df2f138' into eclair-plus-aosp

* commit 'ec54997a04307887b709c607808dace00df2f138':
  Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
2009-09-23 23:27:50 -07:00
Dianne Hackborn
ec54997a04 Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off
These dialogs should clear.

Change-Id: Ie78212c1bd112d1f2f7a05f2d23eb9b5c9f02131
2009-09-23 22:24:22 -07:00