Commit Graph

269 Commits

Author SHA1 Message Date
Svetoslav Ganov
dded90c67e Merge "Adding system wide long press timeout configurability under accessibility." 2011-03-02 19:17:30 -08:00
Vasu Nori
4602996430 Merge "bug:3321005 make Settings --> Storage screen display little less ugly" 2011-03-02 17:52:42 -08:00
Vasu Nori
340e85d1d0 bug:3321005 make Settings --> Storage screen display little less ugly
I have implemented most of what the UX designer proposed. except these
1. Percentage Bar chart left padding should be 16dip
2. Percentage Bar chart and Total Space preferences should be combined into
   one singne ViewGroup or something. and "total Space" shoudl be aligned
   on the right border

Change-Id: I9b238eaa561c9837b47b9955e7d718d92543ca34
2011-03-02 17:26:53 -08:00
Amith Yamasani
80c1e9ff0e Merge "Move up wifi tethering settings one level." 2011-03-02 16:52:41 -08:00
Amith Yamasani
84a042c6e9 Move up wifi tethering settings one level.
Bug: 3249998

Remove an extra level of menu by moving the Configure Wi-Fi hotspot preference to the Tethering settings page.

Change-Id: I20b67ae1ddd7e9967c99ff6a8039799be792382f
2011-03-02 16:31:38 -08:00
Svetoslav Ganov
82623019d2 Adding system wide long press timeout configurability under accessibility.
bug:3505096

Added an option in the accessibility set

Change-Id: Ie36240229ca15a252d5f34051bfe8ac77a101da9
2011-03-02 14:02:23 -08:00
Amith Yamasani
0c62c6449b am 38d3353e: am 03e90322: Merge "Remove more entries not relevant to wifi-only devices." into honeycomb
* commit '38d3353e37be450b1b95d2525acbd53e9b67130e':
  Remove more entries not relevant to wifi-only devices.
2011-03-02 12:53:31 -08:00
Jake Hamby
436b29e68e Refactor Bluetooth settings for readability and performance.
Major refactoring of Bluetooth settings classes.
- Moved all functionality from LocalBluetoothManager into new
  LocalBluetoothAdapter and LocalBluetoothPreferences, and into
  existing classes.
- Refactored functionality from BluetoothEventRedirector into new
  BluetoothEventManager class, deleting the original version. New
  version uses a HashMap from action Strings to implementers of the
  BluetoothEventManager.Handler interface.
- Created new BluetoothDiscoveryReceiver to update shared preferences
  timestamp for Bluetooth discovery start/finish. This is the only event
  handling we need to do when the settings app is not visible, so it has
  its own receiver entry in AndroidManifest.xml. Edits are written using
  QueuedWork.singleThreadExecutor(), which BroadcastReceiver knows about
  and will wait for completion, eliminating the need for PendingResult.
- Miscellaneous cleanups to code style and logic for readability.
- Pulled some large switch statement code blocks into new methods.
- Changed all Bluetooth state references to the new BluetoothProfile
  constants.
- Changed use of deprecated Notification constructor in
  BluetoothPairingRequest to use Notification.Builder.
- Moved Utf8ByteLengthFilter helper function from BluetoothNamePreference
  into its own class, and moved test cases into the same package.
- Moved all LocalBluetoothProfileManager functionality related to
  specific profiles into new top-level classes (A2dpProfile, etc.), all
  implementing the LocalBluetoothProfile interface.
- Moved all UI-related methods from CachedBluetoothDevice into the class
  that uses the method, or into the static Utils class for shared methods.

Change-Id: I6d49b7f4ae0c7d7dcf62551ee40b51ecb5fe4f47
2011-03-01 18:44:36 -08:00
Amith Yamasani
38d3353e37 am 03e90322: Merge "Remove more entries not relevant to wifi-only devices." into honeycomb
* commit '03e90322db140139b19739fbe826494daa900773':
  Remove more entries not relevant to wifi-only devices.
2011-03-01 13:33:49 -08:00
Amith Yamasani
c06d4c48a9 Remove more entries not relevant to wifi-only devices.
Bug: 3488384
Bug: 3487976
Bug: 3488381

Removed Cell standby entry from Battery use screen.
Removed Mobile signal strength from BatteryHistory screen.
Added wifi IP address to About->Status
Remove auto-timezone checkbox in Settings->Date & time

Change-Id: I228721a3613b1aeb600026e42274337886552698
2011-03-01 12:03:24 -08:00
Doug Zongker
e18897bc22 am 26c433c1: am 489c7bff: show Build.SERIAL in settings > about > status
* commit '26c433c1c64416aed4736bb5a76b0ac4585958a1':
  show Build.SERIAL in settings > about > status
2011-02-25 17:30:55 -08:00
Doug Zongker
26c433c1c6 am 489c7bff: show Build.SERIAL in settings > about > status
* commit '489c7bff5c54c35e7156a99337d538e08f3aab7f':
  show Build.SERIAL in settings > about > status
2011-02-25 17:27:56 -08:00
Doug Zongker
489c7bff5c show Build.SERIAL in settings > about > status
For wifi-only devices, this may be the only way we have to identify
the device.

Change-Id: I70c09e4cdb101282e5d085bcab3f57c890bc7a98
Bug: 3490911
2011-02-25 15:01:50 -08:00
Amith Yamasani
a377470486 am 88de52da: am 5d6f0a16: Merge "Remove / re-word some settings for WiFi-only devices." into honeycomb
* commit '88de52da15ed94d6eb70ae75e0df2ddbce923eb0':
  Remove / re-word some settings for WiFi-only devices.
2011-02-24 20:31:58 -08:00
Amith Yamasani
88de52da15 am 5d6f0a16: Merge "Remove / re-word some settings for WiFi-only devices." into honeycomb
* commit '5d6f0a16bbe7efb4db8c43ceb8e0058b5228d5c2':
  Remove / re-word some settings for WiFi-only devices.
2011-02-24 17:19:15 -08:00
Amith Yamasani
0f85c48d6c Remove / re-word some settings for WiFi-only devices.
Bug: 3468248

1. Remove Wireless->Mobile networks
2. Remove Wireless->Tethering and WiFi hotspot
3. Remove Wireless->Wi-Fi Settings->Wi-Fi disconnect policy
4. Re-word Network location summary text to not include "mobile network"

Change-Id: I84a551a1b63591974731029b0d4b90a85e43a716
2011-02-24 10:53:29 -08:00
Vasu Nori
21809740f2 display amount of storage on /sdcard by downloads, music etc
when music storage usage is clicked on, show music app
when downloads storage usage is clicked on, show download app
when pic/videos storage usage is clicked on, show gallery app

Change-Id: Ia1c341013e550acb537e6f8a4f4558030888cc45
2011-02-18 12:05:13 -08:00
Lorenzo Colitti
a7e587fc8d Support configuring the protocol in APN settings.
Change-Id: I435061a631bdb2f58935af607abf8cd7c5d252ba
2011-02-04 13:17:15 -08:00
Chris Wren
1b0489cb3e Allow users to change the length of Bluetooth discoverability to
be two minues, five minutes, an hour, or forever discoverable.

This addresses the internal bug 2413429:
	http://b/issue?id=2413429
and external issue 6348:
	http://code.google.com/p/android/issues/detail?id=6348

Original Author: Chris Wren <crwen@google.com>
Modifications done by: Jaikumar Ganesh<jaikumar@google.com>

Change-Id: Ie12e56ac41aa01a161d263c7525b6e021d4eeb1f
2011-02-01 16:25:44 -08:00
Irfan Sheriff
c3bc110466 am 7bdf0e73: Move sleep policy to main settings page
* commit '7bdf0e73d051f176fbc20451761eb50177d69f91':
  Move sleep policy to main settings page
2011-01-28 17:30:59 -08:00
Irfan Sheriff
7bdf0e73d0 Move sleep policy to main settings page
Bug: 3404049
Change-Id: I091abd737894a4adb9ebfc08b8e63bc3224b971c
2011-01-28 17:00:37 -08:00
Amith Yamasani
069b512347 am 735e0f00: Merge "Rearrange Applications settings items." into honeycomb
* commit '735e0f0079572c0fc43ed8662adbaf1d1716cb98':
  Rearrange Applications settings items.
2011-01-25 21:45:45 -08:00
Amith Yamasani
735e0f0079 Merge "Rearrange Applications settings items." into honeycomb 2011-01-25 21:43:19 -08:00
Amith Yamasani
a27573522e Rearrange Applications settings items.
Bug: 3337264
Change-Id: I955c15f7db791167b97b04beaeafc2953bdccd76
2011-01-25 14:56:44 -08:00
Jake Hamby
7bfb8601c8 am 51cd0d6d: Remove "Allow incoming file transfers" option from BT settings.
* commit '51cd0d6d29c8f8f5320968f778b04b448984abc8':
  Remove "Allow incoming file transfers" option from BT settings.
2011-01-25 14:41:38 -08:00
Jake Hamby
51cd0d6d29 Remove "Allow incoming file transfers" option from BT settings.
The user preference to allow automatic incoming file transfers for
specific devices isn't implemented yet. Remove the preference from
the settings UI.

Bug: 3385941
Change-Id: Ib8fee9a0d99063a8c05d52a960664364e4812ace
2011-01-25 13:57:30 -08:00
Jason parks
4b2a602eaa am 323fa9c6: Merge "Display the correct encryption settings." into honeycomb
* commit '323fa9c669da74cf1dde982c982f7ea9c0c1b5a8':
  Display the correct encryption settings.
2011-01-25 09:56:00 -08:00
Jason parks
323fa9c669 Merge "Display the correct encryption settings." into honeycomb 2011-01-25 09:53:00 -08:00
Jason parks
4112199ed6 Display the correct encryption settings.
* You can no longer try to encrypt the device when it is encrypted.
* Moved the encryption section below the lock screen section. It will be more common to change the lock screen settings.
* If the device doesn't support encryption don't display the encryption section.

Bug: 3384074
Change-Id: I172f5894a3cea57b1b8d03a84f1ecf0ee500c1f3
2011-01-25 10:29:50 -06:00
Amith Yamasani
0cd3fd6a20 am 48e031c7: Merge "Tabletize Device administrator screen and fix the layout for DeviceAdminAdd." into honeycomb
* commit '48e031c710acb812361d9689836b69b3ee5b5ac2':
  Tabletize Device administrator screen and fix the layout for DeviceAdminAdd.
2011-01-24 22:12:22 -08:00
Amith Yamasani
a1d0184166 Tabletize Device administrator screen and fix the layout for DeviceAdminAdd.
Bug: 3376986

Convert the DeviceAdminSettings screen to a fragment, remove fat titlebar.
Convert the DeviceAdminAdd screen to layout nicely in the new holo DialogWhenLarge
style.

Change-Id: I20a9d16aed135a2178969dfff807075b0b79237c
2011-01-24 16:24:55 -08:00
Jason parks
f947ca5157 am a13e9c87: Merge "Encrypt inplace settings." into honeycomb
* commit 'a13e9c877ce4928df0095f47b6117cc4b5403fb2':
  Encrypt inplace settings.
2011-01-20 17:07:36 -08:00
Jason parks
a13e9c877c Merge "Encrypt inplace settings." into honeycomb 2011-01-20 15:50:55 -08:00
Chia-chi Yeh
2dbfa51069 am 9003862e: Merge "Extract credential storage dialogs to a new activity." into honeycomb
* commit '9003862e2548d513bf6d10ee853761ce9a3586d9':
  Extract credential storage dialogs to a new activity.
2011-01-20 04:28:16 -08:00
Chia-chi Yeh
91d65a20af Extract credential storage dialogs to a new activity.
Since now SecuritySettings is a fragment, not an activity, reacting
to intents is not easier anymore. The new activity is transparent,
and it works just like a dialog. This change also refactor'ed
SecuritySettings by moving some preference construction into
security_settings_misc.xml.

Bug: 3120992
Bug: 2117436
Change-Id: I8bd3fc7faa2a31d100b8d67310f9266260cfc31d
2011-01-20 19:45:04 +08:00
Eric Fischer
d4147929cb am a934c39d: Merge "Distinguish Atlantic Time in Barbados from Atlantic Time in Canada." into honeycomb
* commit 'a934c39d19c0a906065193fe913a318a68d5cc1e':
  Distinguish Atlantic Time in Barbados from Atlantic Time in Canada.
2011-01-19 15:40:02 -08:00
Eric Fischer
a934c39d19 Merge "Distinguish Atlantic Time in Barbados from Atlantic Time in Canada." into honeycomb 2011-01-19 15:36:56 -08:00
Eric Fischer
de6eb79e15 Distinguish Atlantic Time in Barbados from Atlantic Time in Canada.
Bug 2605239

Change-Id: I196aadd21281d18e228a7bf7e947a2b0fa7c6d05
2011-01-19 15:16:20 -08:00
Jake Hamby
cf35b7c362 am 2fdd006b: Add preference to show the list of files received via Bluetooth.
* commit '2fdd006b1a625cd20d94861a8c7210f93a283b77':
  Add preference to show the list of files received via Bluetooth.
2011-01-19 13:29:24 -08:00
Jake Hamby
2fdd006b1a Add preference to show the list of files received via Bluetooth.
Add a preference item to show a dialog window containing the list
of files received via Bluetooth. This replaces the "live folder"
view that was available in Gingerbread and earlier.

Bug: 3167219
Change-Id: I703266dba47c9ef8c52e5569aba0f812a9511bb5
2011-01-19 13:24:57 -08:00
Amith Yamasani
b50a06a0e1 am 2768ae05: am f7fd4ca8: Merge "Disable change PIN when PIN is inactive"
* commit '2768ae05bc675e08ab84499d6d0ef83231ff2b04':
  Disable change PIN when PIN is inactive
2011-01-18 09:14:14 -08:00
Amith Yamasani
f7fd4ca832 Merge "Disable change PIN when PIN is inactive" 2011-01-18 08:52:40 -08:00
Jason parks
3e8b76319d Encrypt inplace settings.
Change-Id: I5b9cb94c987dedecf3bf31cb67a42e2f24866d3b
2011-01-18 09:31:51 -06:00
Chia-chi Yeh
e5b5f6ebe0 Merge "Fix PhysicalKeyboardSettings by merging it into InputMethodConfig." into honeycomb 2011-01-14 01:21:12 -08:00
Chia-chi Yeh
71966ce931 Fix PhysicalKeyboardSettings by merging it into InputMethodConfig.
Change-Id: I00deeda813f438f9eb2b7932e3b4d273be2e1ab8
2011-01-14 17:12:01 +08:00
Jason parks
6f8fb43617 Add a setting to enable encryption.
This isn't final and it will wipe your device.

Change-Id: I7fecded92a745844435878d0409d620bfa571472
2011-01-13 17:39:20 -06:00
Jake Hamby
2748fc24cf Close scan screen when pairing and remove device when unpairing.
Close the scan screen after successful pairing, and remove a
device from the list of paired devices after unpairing.

As part of the fix, BluetoothSettings was refactored into a parent
class, DeviceListPreferenceFragment, and three subclasses for each
variant type: BluetoothSettings, BluetoothFindNearby, and
DevicePickerFragment, replacing the checks against mScreenType with
custom logic in the child classes.

Bug: 3325848
Change-Id: If64fddc3ba5b4f1136451491c7d5a1139b696e47
2011-01-12 20:33:27 -08:00
Amith Yamasani
be6fab0d6d Remove popup indicator for dialog style preferences.
Bug: 3341160

This is for some custom settings that needed dialog style indicators.

Change-Id: Ied9d88c890e764bc0ae50e0299daff50a6b432aa
2011-01-12 14:18:58 -08:00
Jeff Brown
8c1524d37a Merge "Disable quicklaunch settings preference." into honeycomb 2011-01-11 15:09:05 -08:00
Jim Miller
c9787070ba Fix 3333490,3250193: Update LockScreen settings
This updates LockScreen to conform to the latest UI design.

Change-Id: Ie88a26db7912ddb4331804e347189cc084c481f4
2011-01-10 18:26:20 -08:00