Commit Graph

2998 Commits

Author SHA1 Message Date
Daisuke Miyakawa
649b9f19e1 Disable left pane of "Input languages" conditionally.
The screen is available from LatinIME's setting button, in which
we don't want the left pane, while we want the left pane when
launched as part of Settings app.

Bug: 3383738
Change-Id: I62e901e7cc14053742ae35829d82c20e432a358f
2011-01-31 22:12:01 -08:00
Amith Yamasani
424953d55b Use a custom media file for media volume sample.
Bug: 3409194

Intercept volume hard keys and ignore them if not voice capable.

Change-Id: Ieb620f1cfff675ab5a6a8ee69a7dd42355d2932e
2011-01-31 21:20:22 -08:00
Andy Stadler
13d62049f7 More CryptKeeper UI work.
* Implemented failure case.
* More pixel perfect
* Remove the animation
* Display the encroid on the blank screen
* Remove the back button.
* Fix portrait mode screens

Bug: 3384231
Bug: 3394103
Bug: 3388721
Bug: 3381450
Bug: 3406278
Bug: 3351832
Change-Id: Ib763c8b577198deb45255acc767bc6d5409efc0c
2011-01-31 19:21:37 -08:00
Amith Yamasani
ad39c70c2c am 015bf7ae: am a27868d9: Merge "Fix crash after adding a word to the user dictionary." into honeycomb
* commit '015bf7ae34d9ef48cc6243c638ba51e598386d80':
  Fix crash after adding a word to the user dictionary.
2011-01-31 15:46:43 -08:00
Amith Yamasani
a27868d9bd Merge "Fix crash after adding a word to the user dictionary." into honeycomb 2011-01-31 15:20:30 -08:00
Daisuke Miyakawa
8e7aff2c41 am 6a452ce1: am 8ad1fb63: Merge "Disable back button on SetupWizard flow." into honeycomb
* commit '6a452ce148f45cd0c8ac924803a29bb4a92bedbd':
  Disable back button on SetupWizard flow.
2011-01-31 13:56:04 -08:00
Amith Yamasani
8875edede1 Fix crash after adding a word to the user dictionary.
Bug: 3407951

Make sure that the parent fragment is a SettingsPreferenceFragment. Otherwise it's not
necessary to manage the mDialogFragment.

Change-Id: I331a3507fe11a7331ff24ecf64fe8c8c3f613636
2011-01-31 12:46:57 -08:00
Daisuke Miyakawa
8ad1fb6340 Merge "Disable back button on SetupWizard flow." into honeycomb 2011-01-31 11:55:43 -08:00
Andy Stadler
69ba9331ad am 865ca2a2: am 17141200: Final cleanup of "password required" dialog
* commit '865ca2a2efb4ebec3b6ddc89401f8544515cd43a':
  Final cleanup of "password required" dialog
2011-01-31 11:05:50 -08:00
Daisuke Miyakawa
62fb701ea9 Disable back button on SetupWizard flow.
Bug: 3383738
Change-Id: Ie06d85ee22482f865a8173a45d0645699427729e
2011-01-31 11:05:05 -08:00
Andy Stadler
171412000a Final cleanup of "password required" dialog
Bug: 3406068
Change-Id: I65c0e8f37236194565cb3a1cf022dfdfdc5c0044
2011-01-31 10:15:53 -08:00
Andy Stadler
a946934cc3 am d19b76f6: am f534db8a: Merge "Improvements to enable encryption steps" into honeycomb
* commit 'd19b76f6062665ce8e0f80276ee3076262f7c4b0':
  Improvements to enable encryption steps
2011-01-30 17:30:13 -08:00
Andy Stadler
8dbcb888ec Improvements to enable encryption steps
* Don't crash when user has pattern lock
* Updated text for final confirmation screen
* Show power & battery level warning text
* Updated layout for both confirmation screens (cleaned up margins,
  removed hardcoded text sizes, made settings & confirm consistent).
* Added comments for translators to all cryptkeeper strings

Bug: 3383190
Bug: 3383292
Bug: 3405707
Change-Id: I1adcdd963a549eb6541662ff941d245db5563710
2011-01-30 16:25:38 -08:00
Daisuke Miyakawa
3fb48a588a am bb627e40: am a93196f1: Take care of null in Wifi setup.
* commit 'bb627e40cf7c174eb701eca8825e087355ba5eee':
  Take care of null in Wifi setup.
2011-01-29 12:06:31 -08:00
Daisuke Miyakawa
a93196f165 Take care of null in Wifi setup.
The preference isn't available in Wifi setup launched from
SetupWizard, causing NPE.

Bug: 3404998
Change-Id: Ia0dabea95e5e7424698a269c0851d610fd305309
2011-01-29 11:55:24 -08:00
Hung-ying Tyan
9bb922dd58 am 2188a5e7: am 27682b0a: Merge "Clear mDialogFragment when it\'s detached" into honeycomb
* commit '2188a5e7e5e8c070e0cc6913e0ded0d35288fbb8':
  Clear mDialogFragment when it's detached
2011-01-29 02:33:57 -08:00
Hung-ying Tyan
27682b0aff Merge "Clear mDialogFragment when it's detached" into honeycomb 2011-01-29 02:29:15 -08:00
Vasu Nori
f3e7f5097d am 1acf3d16: am a0098bd3: Merge "bug:3402846 fix settings->storage" into honeycomb
* commit '1acf3d16298ac6a9c807db71d1a0f8908b9bed3d':
  bug:3402846 fix settings->storage
2011-01-28 18:45:12 -08:00
Vasu Nori
a0098bd346 Merge "bug:3402846 fix settings->storage" into honeycomb 2011-01-28 18:39:38 -08:00
Irfan Sheriff
785961e574 am c3bc1104: am 7bdf0e73: Move sleep policy to main settings page
* commit 'c3bc1104666ca4b54b849a5642ce7bc963a8e065':
  Move sleep policy to main settings page
2011-01-28 17:32:45 -08:00
Vasu Nori
a3314e2bdb bug:3402846 fix settings->storage
Change-Id: Icb9e33cb0336f87f43797330f56e9c8fcbe2dfd0
2011-01-28 17:14:38 -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
Daisuke Miyakawa
22e57a880f am e4df0b3e: am 46f4b754: Merge "Enlarge texts and fit the other elements" into honeycomb
* commit 'e4df0b3ec87ddcb6d480ffff5c954d9eee7bef74':
  Enlarge texts and fit the other elements
2011-01-28 16:28:57 -08:00
Daisuke Miyakawa
46f4b754e1 Merge "Enlarge texts and fit the other elements" into honeycomb 2011-01-28 16:23:45 -08:00
Jake Hamby
12f608479f am e3b22331: am e1f883a3: Merge "Don\'t display extra A2DP profile icon for OPP." into honeycomb
* commit 'e3b223310787a3603dce40c776e55e4a911c6025':
  Don't display extra A2DP profile icon for OPP.
2011-01-28 14:25:37 -08:00
Daisuke Miyakawa
7893447987 Enlarge texts and fit the other elements
Basically set text size to 18sp and change layouts
along with the new design.

- Add custom list item xml for Wi-Fi security field
  rename existing "custom_list_item.xml" to appropriate
  name so that we won't be confused with their naming.
- Use the custom xml just in SetupWizard.

Bug: 3364731
Change-Id: I014903277a03c359ea193dd0f0a37c84ade19fa1
2011-01-28 14:22:48 -08:00
Jake Hamby
e1f883a38c Merge "Don't display extra A2DP profile icon for OPP." into honeycomb 2011-01-28 14:21:19 -08:00
Daisuke Miyakawa
defb07d3da am b03c6276: am a7155141: Merge "Disable "add network" button." into honeycomb
* commit 'b03c6276248475212d98e0ebae34dbf534f2c714':
  Disable "add network" button.
2011-01-28 12:39:58 -08:00
Daisuke Miyakawa
a71551418c Merge "Disable "add network" button." into honeycomb 2011-01-28 12:36:07 -08:00
Daisuke Miyakawa
6ca5354727 Disable "add network" button.
It has broken UI which possibly get users stuck.

Bug: 3400715
Change-Id: Ic618078bc70a7db35ec22e6382b9486e92630120
2011-01-28 12:08:02 -08:00
satok
efa39c573e am 0f28e832: am c9cd29dd: Remove invalid call of "clearFocus" in SetupWizard......
* commit '0f28e83298a13328f7cd6147187a56c2a30b3e3f':
  Remove invalid call of "clearFocus" in SetupWizard......
2011-01-28 09:50:59 -08:00
Hung-ying Tyan
18eb39d085 Clear mDialogFragment when it's detached
and re-associate it when it's re-created.

Before this CL, the association is gone when fragment goes through the pause-resume
cycle.

Similarly, restore onDismiss and onCancel listeners in VpnSettings.onCreateDialog(),
restore states in onCreate() instead of onActivityCreated() so that screen rotation
can be handled correctly.

Now that profiles are shared between Settings instances, always handle state change
in VpnSettings.changeState() so that state changed in one instance can be conveyed
to the other and preferences can be correctly enabled/disabled.

In additions, fix some trivial mistakes in VpnSettings.

Bug: 3396394
Change-Id: I242e1ed6c6d410b4dfefb373d8f98266fc9b46d0
2011-01-28 23:39:45 +08:00
satok
c9cd29ddb8 Remove invalid call of "clearFocus" in SetupWizard......
Bug: 3398097

- Also disabled logging......
- Once you call "clearFocus", onFocusChanged will be called and
  EditText will try to show the keyboard again. And while bringing up the keyboard,
  the activity is changed and it will end up with the keyboard being shown in the next activity...

Change-Id: If4d3876d4950bb2583c5588f462a94d022d6a7cf
2011-01-28 18:03:47 +09:00
Dianne Hackborn
efe9d71bce am 9a406ea1: am a5082305: Merge "Fix issue #3400255 Dialog fragments crash on rotation in Settings app" into honeycomb
* commit '9a406ea101401f6f883aadced93b21bdcfa45c0d':
  Fix issue #3400255 Dialog fragments crash on rotation in Settings app
2011-01-27 23:22:13 -08:00
Dianne Hackborn
a5082305e8 Merge "Fix issue #3400255 Dialog fragments crash on rotation in Settings app" into honeycomb 2011-01-27 23:19:13 -08:00
Dianne Hackborn
300768fea5 Fix issue #3400255 Dialog fragments crash on rotation in Settings app
Change-Id: I337c1fb41e3fbedd7982418df497487481bb35d2
2011-01-27 20:39:21 -08:00
Jake Hamby
a6d9fce2e1 Don't display extra A2DP profile icon for OPP.
The getDrawableResource() method for OppProfileManager was returning
the resource ID for the A2DP icon. This was causing an extra headset
icon to be drawn for devices supporting OPP, when no icon should be
shown for this profile. Changed to return 0.

Bug: 3368197
Change-Id: Idcadaf59fe53301544cda215ca24f15608b2d727
2011-01-27 20:32:21 -08:00
Justin Ho
738516b70b am f74f870b: am 3b3af8d3: Merge "Updating Delete and Refresh icons to Honeycomb style" into honeycomb
* commit 'f74f870ba135d8a5e8e7b99b0089c88f516881d1':
  Updating Delete and Refresh icons to Honeycomb style
2011-01-27 19:10:23 -08:00
Justin Ho
3b3af8d3b0 Merge "Updating Delete and Refresh icons to Honeycomb style" into honeycomb 2011-01-27 19:06:24 -08:00
Jake Hamby
8a8dac1c42 am 792fb594: am 3d1fd57e: Increase size of BT profile icons and decrease alpha for inactive profiles
* commit '792fb594d58358eee869f69b4000b50c2a235033':
  Increase size of BT profile icons and decrease alpha for inactive profiles
2011-01-27 18:40:51 -08:00
Jake Hamby
3d1fd57e30 Increase size of BT profile icons and decrease alpha for inactive profiles
Increase the size of the Bluetooth profile icons from 20dp to 30dp.
Decrease the alpha for disabled profile icons to 50% of theme default.

Bug: 3400851
Change-Id: Ieb5ecb01ccbd7185d383828e0d9c9f78525ee0c4
2011-01-27 18:33:17 -08:00
Justin Ho
8472b1b60d Updating Delete and Refresh icons to Honeycomb style
Bug: 3362749
Change-Id: Ib4b61c9e7db05b0627c1f353d3747268455dab6c
2011-01-27 17:59:23 -08:00
Jake Hamby
f870c1926c am f2941db7: am 6d509d2f: Merge "Fix settings NPE crash on launch." into honeycomb
* commit 'f2941db77a82cff807e2318b4780dfd7e9c83823':
  Fix settings NPE crash on launch.
2011-01-27 15:11:13 -08:00
Jake Hamby
6d509d2f35 Merge "Fix settings NPE crash on launch." into honeycomb 2011-01-27 14:05:44 -08:00
Jason parks
0581cebb2c am ebabdd4d: am f8217304: More work on the Crypt Keeper.
* commit 'ebabdd4d2491048d1c73b1858931cb4640a0d564':
  More work on the Crypt Keeper.
2011-01-27 09:33:17 -08:00
Jason parks
f821730407 More work on the Crypt Keeper.
* Use the DPM to determine if we are encrypted.
* Fix misspelling (Comfirm -> Confirm).
* Animate to black when enabling encryption.
* Add holo droid background.
* Change the progress bar to indterminate.
* Display the percentage complete in the status line.
* Fixed bug 3388097. You will no longer have to unplug your device to start encryption. This line is intentionally long. I could make it shorter but I am proving a point: <magic>overflow: auto;</magic>.
* Actually hold onto the wakelock to prvent the device from sleeping.
* Implement onStop() as a orientation change can happen at boot. This will start the activity twice and there will be multiple handlers with messages.

Change-Id: Ia752d106c39e0d81431e856f8f500182e8ec1abd
2011-01-27 11:26:58 -06:00
Chung-yih Wang
5b9408898d Fix the crash when home button is pressed.
When the fragment is going to be removed, we should ignore the events
left in the message queue.

bug:3392087
Change-Id: Ie716c9cc6742e9990c08d1428f10a956a727d6ed
2011-01-27 15:38:00 +08:00
Jake Hamby
632a10f470 Fix settings NPE crash on launch.
Sometimes when the settings app is resumed, HeadsetProfileManager's
getConnectedDevices() method is called before the onServiceConnected()
callback gives us the proxy object, causing an NPE. Check that we
have the proxy object, and return an empty list otherwise. The
correct states will be shown in the UI because the
onServiceConnected() callback makes its own call to getConnectedDevices()
to set the correct headset profile state.

Bug: 3378431
Change-Id: I364ade0804fb2090378438c8721afef6cac2b0b8
2011-01-26 17:49:20 -08:00
Jake Hamby
1f5be05ee5 Merge "Implement "show received files" preference item." into honeycomb 2011-01-26 13:40:37 -08:00
Amith Yamasani
ae71d89a6b Merge "Update airplane mode checkbox when toggled from system bar." into honeycomb 2011-01-26 13:16:30 -08:00