Commit Graph

1852 Commits

Author SHA1 Message Date
Daisuke Miyakawa
027d610205 Merge "Notify "skip to caller." 2011-03-02 18:25:53 -08:00
Daisuke Miyakawa
e0d9ed4a31 Merge "fix datetime setup problem" 2011-03-02 18:13:46 -08:00
Daisuke Miyakawa
a85bfd2552 fix datetime setup problem
- remove bat if clause for xl
- use HOUR_OF_DAY instead of HOUR

Bug: 3487947
Change-Id: I46a641c301bb3d375cd24692a12ebcc118ad348c
2011-03-02 18:00:40 -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
Jean-Michel Trivi
9a777a8513 Merge "Fix bug 3421125 Use default TTS rate for demo in Settings" 2011-03-02 16:08:44 -08:00
Daisuke Miyakawa
83183f4698 Notify "skip to caller.
Bug: 3504698
Change-Id: Ifb39830ff15943a3ef1a0130a8620049fe481ff9
2011-03-02 15:56:45 -08:00
Jean-Michel Trivi
8863ce9f4d Fix bug 3421125 Use default TTS rate for demo in Settings
When initializing the TTS engine, the default speech rate is
 correctly read, but the TTS demonstration in the Settings
 screen was overriding that value by setting the rate to
 its fixed default value after the engine was initialized.
The fix consists in applying the default value after it has
 been read from the settings (as is done for the language
 for instance).

Change-Id: Ie13dfa3a2a7e59e5e120e74dc41e60afbedea821
2011-03-02 15:47:52 -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
Daisuke Miyakawa
6291d50b5d Shrink screen correctly on authentication failure
Bug: 3505089
Change-Id: Ibbd54c6afb0d349fb446775af93412e7557df3c5
2011-03-02 13:48:45 -08:00
Daisuke Miyakawa
d1c22a1b56 Show more graceful screens for "add network" flow
- use TableLayout instead of RelativeLayout for
  wifi configuration to align each columns appropriately.
- split @id/type field into two fields in SetupWizard

Bug: 3403168
Change-Id: I37f2c60ce1b0473af7d20dee1775e9893d2abade
2011-03-02 13:05:14 -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
Daisuke Miyakawa
302b057207 Remove unnecessary visibility change hack
Bug: 3502198
Change-Id: I173323eabe7bc5f8ff89b01e71bf00b1b5a83bff
2011-03-02 12:41:54 -08:00
Daisuke Miyakawa
dfd492df3f Remove bottom padding below wifi preference.
- show bottom padding only when top bar is using static View
- hide wifi preference when ProgressBar is used
- show bottom padding when top bar is using static View and
  wifi preference is hidden.
- rename wifi_config_padding to content_padding, as it is not
  just for wifi config but for acquiring default hight of
  @id/content
- update screen state correctly

Bug: 3502220
Change-Id: I86c89435f43d6bd016a78f7afeb5f477f63d0696
2011-03-02 12:37:30 -08:00
Daisuke Miyakawa
851e68a97c Merge "Not show connecting screen when editing a network" 2011-03-02 12:25:51 -08:00
Daisuke Miyakawa
c4a495fb5b Not show connecting screen when editing a network
Bug: 3505089
Change-Id: I4793cca80b70e9a7f8ac8d3703e22424d181ac67
2011-03-02 12:24:56 -08:00
Robert Greenwalt
923a41bf8b Merge "Use new NetworkUtils.numericToInetAddress." 2011-03-02 12:24:25 -08:00
Amith Yamasani
b7e393bf9b Merge "Bring back Wi-Fi sleep policy setting for wifi-only devices." into honeycomb 2011-03-02 10:51:36 -08:00
Amith Yamasani
967da9517f Bring back Wi-Fi sleep policy setting for wifi-only devices.
Have a different set of strings, since we cannot mention mobile data for
a wifi-only device.

Bug: 3487952
Change-Id: I486315da40f15807f75d85d2a077a6b234a1e3d7
2011-03-02 10:36:31 -08:00
Dianne Hackborn
861c04fbd4 Show force stop button if package is not fully stopped.
Change-Id: I88ccb0907352e082ccb538da77aeccc5ab309a49
2011-03-01 19:16:38 -08:00
Jaikumar Ganesh
98fc5e2570 Fix crashes with OPP profile in Settings app.
Change-Id: I712667f11c0de849da48add912421dfca3e85484
2011-03-01 19:12:44 -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
Daisuke Miyakawa
2adae4e274 Clean up for Wifi setup XL
Change-Id: I5f5c6764be244252cb91331b59d920a54cc03e86
2011-03-01 14:27:45 -08:00
Amith Yamasani
853ecb2fee Merge "Track changes to brightness and orientation lock in Settings." 2011-03-01 14:19:47 -08:00
Amith Yamasani
03e90322db Merge "Remove more entries not relevant to wifi-only devices." into honeycomb 2011-03-01 13:27:08 -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
Mike Lockwood
cac558acb5 Merge "InstalledAppDetails: "Clear defaults" button now clears USB service settings" 2011-03-01 11:58:49 -08:00
Irfan Sheriff
2a450a010a Merge "Use AsyncChannel in settings" 2011-03-01 11:32:28 -08:00
Jason parks
00cc39ec41 Merge "Partial fix for Bug 3495575." 2011-03-01 11:14:51 -08:00
Jason parks
06c5ff4a46 Partial fix for Bug 3495575.
Move the decrypt attempt to a AsyncTask. This will
unblock the UI thread in order for the device to
still be "responsive". There is still the issue of
decrypt taking 3+ seconds before it returns to. The
delay is still there becfore the fade but the text
field is now cleared and you can tap on keys.

Bug: 3495575
Change-Id: Icec82e83d3a09b3c0f856aa77870925fc8469625
2011-03-01 10:17:57 -06:00
Mike Lockwood
9d6d92b33e InstalledAppDetails: "Clear defaults" button now clears USB service settings
The USB service caches the preferred activity preferences for USB devices
and accessories and allows permission to access the hardware based on the
user's selection.  The "Clear defaults" button can now be used to clear
these settings.

Change-Id: I307c118cb0ce06362e289e35bca93a47ce4631a5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:05:59 -08:00
Amith Yamasani
26a1f898e0 Track changes to brightness and orientation lock in Settings.
Bug: 3491814
Bug: 3482859
Bug: 3497535

Since the system bar can now change brightness and orientation lock, Settings needs to listen
to changes to those settings and reflect in the UI.

Also fix a problem with restoring state on cancel when the brightness dialog is invoked a
second time.

Change-Id: I3ada6e77df9a6b013a16061877fcb6b55c94a903
2011-02-28 17:27:04 -08:00
Jaikumar Ganesh
20436ad626 Merge "Display imaging icon for printer devices." 2011-02-28 14:06:08 -08:00
Jaikumar Ganesh
5a3120cab7 Display imaging icon for printer devices.
Change-Id: Iea2a77bb3b79934174f6e39b080ade47bd119773
2011-02-28 11:27:35 -08:00
Irfan Sheriff
02ec121900 Merge "Handle airplane mode change for hotspot settings" 2011-02-28 10:37:51 -08:00
Robert Greenwalt
3cdf323c87 am ca5cc015: am 29ebf5fa: Merge "Just use device configuration for Tethering." into honeycomb
* commit 'ca5cc0152f3fc26f871797dddd6c45cd2d265600':
  Just use device configuration for Tethering.
2011-02-28 10:15:38 -08:00
Robert Greenwalt
29ebf5fa50 Merge "Just use device configuration for Tethering." into honeycomb 2011-02-28 09:47:55 -08:00
Irfan Sheriff
590e6c23b7 Use AsyncChannel in settings
Change-Id: I440f08dec986e4dad4b578ee4065d6063b8ef989
2011-02-27 22:08:33 -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
Robert Greenwalt
4ad4b4fdf7 Just use device configuration for Tethering.
Don't need extra code here if the device is configured propertly.

Change-Id: Ieb65e36c1c91a62bbb0c8619e2efb34735fbb564
2011-02-25 17:25:38 -08:00
Daisuke Miyakawa
7e3ff8eca6 Tiny fix for Wifi setup XL.
Change-Id: I918f4bc8dfbb84a3bdaf6aa74f326f2f5e22bfe2
2011-02-25 17:12: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
Vasu Nori
587aebad8a Merge "replace some ugly code with not-too-ugly code.." 2011-02-24 23:37:38 -08:00
Vasu Nori
8128ff8cbe replace some ugly code with not-too-ugly code..
replaced this kind of code
   string + " " + number + "out of" + " " + number
with this
   String.format("%1$d out of %2$d", number, number);

Change-Id: If1cc296da48dd6823e9081a55b6eab2e3fcee552
2011-02-24 23:32:08 -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
Daisuke Miyakawa
e056cc2ac8 Merge "Fix visual stuffs of XL Wifi setup." 2011-02-24 17:43:21 -08:00
Daisuke Miyakawa
be10e75c8c Fix visual stuffs of XL Wifi setup.
- remove delayed button enabler stuff including
  "add network" and "refresh" buttons
- add bottom padding to stop moving bottom divider up/down
- add padding for the preference, which should have been
  done in I1f8fb8eca11d52d9c18866301553110c2147b3ef

Bug: 3424645
Change-Id: Ifc8120c123ee154fbe11526474edc65c5943eea6
2011-02-24 16:30:56 -08:00
Irfan Sheriff
8e10affcde Handle airplane mode change for hotspot settings
Bug: 2618370
Change-Id: I7d14603aef9aaf7665ceaebfc314858226400e04
2011-02-24 16:08:53 -08:00