Commit Graph

2005 Commits

Author SHA1 Message Date
Chia-chi Yeh
02f58e898d SecuritySettings: clean up. 2009-10-02 00:39:14 +08: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
Suchi Amalapurapu
78c69095ea Rename empty view so that the standard list view implementation
displays empty list message when list goes empty. Ideally the list is
not empty for running processes and All filter options. so the
message is just set to third party apps
Remove the empty list view logic from code base
2009-09-28 11:28:58 -07:00
Dianne Hackborn
9281c929d6 Explicitly show plugged state.
Change-Id: I4592382cdcc9e116d3af102fd76057968a6ea874
2009-09-26 12:44:02 -07:00
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
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
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
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
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
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
Dianne Hackborn
c58c549cc9 New UI for viewing and stopping currently running services.
Change-Id: I86012262635c911be23513aa0b027174b490374d
2009-09-01 12:11:24 -07:00
Eric Fischer
c27b12c9dc Cap the length of dictionary words to keep TextView from exploding.
Bug 1994172
2009-08-21 11:17:46 -07:00
Karl Rosaen
b732a2848e Improve layout of lock tutorial, especially improved for sholes.
Now, instead of having equal space overall above and below lock pattern widget,
the lock pattern widget is centered within the space above the button bar
at the bottom.  Also, removing the line below the lock pattern widget per
romain's recommendation; it looks goofy with the button bar below.

see screen shots in http://b/2045023 for the differences.
2009-08-12 16:42:38 -07:00
Android (Google) Code Review
ede25bc845 Merge change 20355
* changes:
  Re-ordered some Settings and renamed some.
2009-08-07 06:34:08 -07:00
Jeff Sharkey
7e4a019e19 am 6c3287a4: Adopt new AppWidget assets, per http://b/2038594.
Merge commit '6c3287a4d3a8e02322b501034db3133a3ccb1051'

* commit '6c3287a4d3a8e02322b501034db3133a3ccb1051':
  Adopt new AppWidget assets, per http://b/2038594.
2009-08-06 22:57:48 -07:00
Jeff Sharkey
6c3287a4d3 Adopt new AppWidget assets, per http://b/2038594. 2009-08-06 22:37:08 -07:00
Amith Yamasani
7f28787edf Re-ordered some Settings and renamed some.
Reduced padding around the icons in the top level screen.
Re-ordered top-level settings.
Moved Airplane mode to the top of wireless & networks.
2009-08-06 16:43:23 -07:00
Amith Yamasani
498d90474b Add an icon to the left of the settings at the top level.
Add a new attribute for the icon.
Add place holder icons.
2009-07-31 07:24:08 -07:00
Amith Yamasani
8fb0ec36ec UI improvements for "Battery use" app.
Change the controls UI to display a suggestion.
Bluetooth AT command tracking (not enabled yet).
2009-07-20 17:43:13 -07:00
Hung-ying Tyan
38a44f2445 Add UI to handle PKCS12 cert. 2009-07-17 20:58:06 +08:00
Hung-ying Tyan
0a59b50014 Integrate VPN with new keystore and misc fixes.
* Changes
  + Pass intent to keystore when needed and hooks to resume from it.
  + Generate random, unique ID for profile instead of base64 from its
    name.
  + Add VPN to "Wirless controls" description.
  + Add credential storage to "Security & location" description.
  + More hints to set password and unlock dialogs in credential storage
    settings for actions that come from other processes.
  + Sort VPN profiles according to the names.
  + Replace Keystore with CertTool in L2tpIpsecEditor
2009-07-06 18:47:47 +08:00
Chung-yih Wang
eb7836f11e Apply the new keystore and certtool library in Wifi setting.
1. Certificate related APIs were moved to CertTool. Therefore,
   we have to migrate to CertTool instead.
2. Unlock the keystore if it is not unlocked yet(send the intent
   out to credential storage) for EAP access points.
3. Add Password field for WPA_EAP and IEEE8021X(this is for
   phase 2 auth.)
2009-07-06 17:03:53 +08:00
Hung-ying Tyan
7031ab0d75 Add credential storage settings.
* Changes
  + Initial implementation of credential storage settings.
  + Use alert icon on delete and reconnect dialogs in VpnSettings.
    (piggy-backed)
  Patch Set 12:
  + Add password length and no-space verification.
  + Simplify dialog view xml files.
2009-07-03 23:00:53 +08:00
Ken Shirriff
311356dd71 Redo power widget layout with the proper widget style.
The power widget now uses the fuzzy-edged widget background.
It has a resonable layout in portrait and landscape.
appwidget_inner is the background for a button on the inside, with a border on the left.
appwidget_outer is the background for a button on the outside (i.e. leftmost); it
does not have a border.
2009-06-29 16:43:23 -07:00
Hung-ying Tyan
e7565f3c48 Add L2TP secret, L2TP/IPSec PSK support. Fix screen orientation.
* Changes
  + Add L2tpActor, L2tpEditor, L2tpIpsecPskActor.
  + Make L2tpIpsecEditor extend L2tpEditor.
  + Revise the code for saving username. Make
    VpnSettings.saveProfileToStorage() static.
  + Fix support for screen orientation change in both VpnSettings and
    VpnEditor.

  Patch Set 2:
  + Remove Util.isNullOrEmpty(). Use TextUtils.isEmpty() instead.
  + Remove unused imports. Wrap lines longer than 80 chars.

  Patch Set 3:
  + Fix all the strings according to UI feedback.
  + Remove all the added actor subclasses and move password to editor.
  + Remove VPN entry in Security & location.

  Patch Set 4:
  + Misc string fixes.

  Patch Set 5:
  + Add strings for credential storage settings.
  + Changed the error dialog icon.
  + Fix "Remember me" indentation in connect dialog.

  Patch Set 6:
  + resolve res/values/strings.xml
2009-06-26 14:24:50 +08:00
Amith Yamasani
0f1e11e219 Track native processes.
Add gauge to detail screen and make it look like the item from summary screen.
Some string changes.
2009-06-25 00:40:50 -07:00
Hung-ying Tyan
d22da2096b Add save-username checkbox in the connect dialog.
* changes
  + Add checkbox to layout file and handling code in related classes.
  + Add new methods to VpnProfileActor.
  + Move dialog handling to VpnSettings from AuthenticatorActor in order
    to support screen orientation change.
  + Hide "Connect" in the context menu if the profile is connecting.
  + Enable connecting profile in case it was disabled in last call.
2009-06-20 11:36:16 +08:00
Chung-yih Wang
b2f1c334de Simply the EAP certificate selection in Wifi Setting.
-- use the new keystore APU to save one more selection in WiFi EAP setting.
2009-06-17 15:46:42 +08:00
Ken Shirriff
b315980367 Improve power control widget GUI.
Shrink power widget to 3 cells wide.  Reorder buttons to group wireless
and other.  Add color bar to indicate on/off.
2009-06-12 15:04:25 -07:00
Amith Yamasani
0422a3bf61 Minor UI improvements and showing of unplugged duration. 2009-06-12 14:23:15 -07:00
Hung-ying Tyan
1617706d25 Add VPN settings classes to Settings app.
PATCH SET 2:
+ Add import com.android.settings.R

PATCH SET 3:
+ Remove @Override interface methods to be compilable by Java 1.5.

PATCH SET 4:
+ Add import android.net.vpn.VpnManager

PATCH SET 5:
+ Add license headers.

PATCH SET 6:
+ Remove Constant.java and move the constants to VpnSettings.
+ Make AuthenticationActor implement DialogInterface's handlers.
+ Remove trailing spaces.

PATCH SET 7:
+ Remove default username.
2009-06-12 15:44:49 +08:00
Ken Shirriff
0d3e37c22a Shrink power widget to 3 cells wide. 2009-06-11 17:04:57 -07:00
Amith Yamasani
78fd96a1c5 More details in the summary and details screens.
Show packages included, time that a subsystem was on for.
Load label and icon in the background and cache the values.
Switch between totals and since-unplugged.
Other UI improvements.
2009-06-10 20:19:42 -07:00
Chung-yih Wang
0c1f89857a Add EAP/802.1X configuration for WiFi Setting.
1. Remove the isEnterprise() filter in Scanresult.
2. This requires the new fields such as identity, eap, certificate/key
to support EAP authentication in Wifi Settings.
3. Add simple file-based keystore to select the cert/key from UI.

-- Updated from the comments.
-- Fix the bug for passing null pointer for adding spinner items.
2009-06-09 10:11:11 +08:00
Ken Shirriff
03a6110b4f Implement the power-control widget.
This widget allows uses to turn on/off bluetooth, wifi, gps, and sync,
and adjust brightness without going through the settings menu.

The widget provider updates the settings when the buttons are pressed.
The widget provider is also a receiver for events indicating that the
status was updated elsewhere and the buttons need to be changed.
2009-06-08 13:57:26 -07:00
Amith Yamasani
7f6aa6283a Add detail page for Battery usage and track GPS and foreground CPU.
Show details such as Cpu time, Cpu foreground time, data sent/received,
and GPS usage.
2009-06-03 16:31:15 -07:00
Amith Yamasani
2a2daf960c Top level screen for App Fuel Gauge.
Shows sorted list of power usage (with some debug information) by the top 10
apps and subsystems. Doesn't yet take into account certain subsystems such
as data network usage, audio/video DSP usage, Bluetooth and lights other than
screen backlight.

Screen, Idle, Wifi and Voice usage and CPU time are accounted for.

Also need to add detail screens for each item and suggested actions.
2009-05-22 19:41:32 -07:00
Suchi Amalapurapu
50b516760a Add version number to Installed_App_Details
Change uninstall string value to Factory reset for updated system apps
present a new confirmation dialog when factory resetting a system app.
refresh size, app properties and button's text(to clear, uninstall or factory reset) in onStart
Add new version attribute in layout. Add new layout attributes for app snippets instead of using the one
from ManageApps
Use managed dialogs to avoid leaks
2009-05-11 14:37:18 -07:00
Jim Miller
bd092fc446 AI 145861: am: CL 145578 Tweak buttons in ChooseLockPatternTutorial to accomodate more text and marquee if necessary.
Original author: jaggies
  Merged from: //branches/cupcake/...

Automated import of CL 145861
2009-04-13 08:57:57 -07:00
Evan Millar
83368552d1 Automated import from //branches/donutburger/...@142431,142431 2009-03-24 22:42:51 -07:00
Jeffrey Sharkey
3f9aa9ad01 Automated import from //branches/donutburger/...@141651,141651 2009-03-24 20:41:22 -07:00
Dianne Hackborn
b2d3e60478 Automated import from //branches/donutburger/...@141018,141018 2009-03-24 19:15:15 -07:00
John Huang
1bae5b41b7 Automated import from //branches/donutburger/...@140756,140756 2009-03-24 18:26:28 -07:00
The Android Open Source Project
72ed6feab2 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:25 -07:00
The Android Open Source Project
80a7a1dbf2 auto import from //branches/cupcake/...@137873 2009-03-11 12:11:59 -07:00
The Android Open Source Project
86997beac8 auto import from //depot/cupcake/@136594 2009-03-05 14:34:39 -08:00
The Android Open Source Project
afc4ab2ffb auto import from //depot/cupcake/@135843 2009-03-03 19:32:34 -08:00
The Android Open Source Project
4e14e5ccbf auto import from //depot/cupcake/@135843 2009-03-03 18:28:52 -08:00
The Android Open Source Project
4772968987 auto import from //branches/cupcake/...@132276 2009-02-19 10:57:36 -08:00
The Android Open Source Project
b9f5851434 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00