Commit Graph

119 Commits

Author SHA1 Message Date
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
Michael Chan
732c1dad5a b/2498180 b/2568119 Retry if BT dock disconnects unexpectedly
Change-Id: Ic4771e7c305192fee56f5f80c6cabeecf11a99dc
2010-04-06 15:42:04 -07: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
Irfan Sheriff
65cff17722 Add AP support for tethering
First phase of the AP support in
UI and framework
Bug: 2421638

Change-Id: I0b6c31be5fe79bd4d33c292464d271b054754e8d
2010-03-04 14:34:52 -08:00
Suchi Amalapurapu
29d587fa18 Add dialog when ejecting sdcard
Remove some dead code
2010-02-24 20:30:09 -08:00
Suchi Amalapurapu
ad1482712d Enable move option for moving packages from internal to sdcard 2010-02-19 15:48:08 -08:00
Robert Greenwalt
c4764d2483 Update Settings UI regarding tethering.
If tethering is disabled (build var or a gservices property) for the device,
don't show any of the tethering options.  If Usb Tethering is disabled (config.xml) don't show
Usb Options.  If Wifi Tethering is disabled (config.xml) don't show Wifi Options.
2010-02-16 16:56:43 -08:00
Jeff Hamilton
c60fb58d58 Add an original-package tag that matches the real package name.
Change-Id: I4586048665494eb23b4578ee3be436eebe43e2ec
2010-02-11 16:25:53 -06:00
Robert Greenwalt
3901edbdf5 First pass at USB-only tether settings.
bug:2281900
2010-02-04 09:17:41 -08:00
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