Commit Graph

3549 Commits

Author SHA1 Message Date
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
satok
0f28e83298 am c9cd29dd: Remove invalid call of "clearFocus" in SetupWizard......
* commit 'c9cd29ddb832fd76d96fea080abe8325a8bb1bd2':
  Remove invalid call of "clearFocus" in SetupWizard......
2011-01-28 09:49:34 -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
9a406ea101 am a5082305: Merge "Fix issue #3400255 Dialog fragments crash on rotation in Settings app" into honeycomb
* commit 'a5082305e8c4f3107ec1802b9fd911aba1c288f3':
  Fix issue #3400255 Dialog fragments crash on rotation in Settings app
2011-01-27 23:20:37 -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
f74f870ba1 am 3b3af8d3: Merge "Updating Delete and Refresh icons to Honeycomb style" into honeycomb
* commit '3b3af8d3b0e6f76c355ce5363ed4c582f620cc4e':
  Updating Delete and Refresh icons to Honeycomb style
2011-01-27 19:08:25 -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
792fb594d5 am 3d1fd57e: Increase size of BT profile icons and decrease alpha for inactive profiles
* commit '3d1fd57e3063d9501266dc46e13df63eb4ba685a':
  Increase size of BT profile icons and decrease alpha for inactive profiles
2011-01-27 18:38:58 -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
Amith Yamasani
2b47976885 am 6a66b5c8: am a4035aef: Merge "Use the correct resource id for Battery use shortcut title." into honeycomb
* commit '6a66b5c861bc3fcf8af2c8592c071d52809998d0':
  Use the correct resource id for Battery use shortcut title.
2011-01-27 15:16:43 -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
Justin Ho
f994c3165e am 8d263307: am c5708925: Adding missing hdpi assets
* commit '8d2633075f8b2459656beb5ade5235465a6ed9e3':
  Adding missing hdpi assets
2011-01-27 15:11:08 -08:00
Amith Yamasani
6a66b5c861 am a4035aef: Merge "Use the correct resource id for Battery use shortcut title." into honeycomb
* commit 'a4035aef92132ec1e74e3af15f0adad9c1913ae4':
  Use the correct resource id for Battery use shortcut title.
2011-01-27 15:11:04 -08:00
Amith Yamasani
a4035aef92 Merge "Use the correct resource id for Battery use shortcut title." into honeycomb 2011-01-27 15:08:34 -08:00
Eric Fischer
0cd5e21a40 am 95112e5b: Import revised translations. DO NOT MERGE
* commit '95112e5b9810b6a70974ace6ee1c017b57e466af':
  Import revised translations.  DO NOT MERGE
2011-01-27 15:03:43 -08:00
Jake Hamby
f2941db77a am 6d509d2f: Merge "Fix settings NPE crash on launch." into honeycomb
* commit '6d509d2f35e39bcdc9c8fc01bf66b63d61c84192':
  Fix settings NPE crash on launch.
2011-01-27 15:03:40 -08:00
Amith Yamasani
3e9ab63c60 Use the correct resource id for Battery use shortcut title.
Bug: 3399262

When displaying a list of shortcuts to settings screens, "Storage
settings" was used instead of "Battery use".

Change-Id: I4d445f188fc45d66623dc83e9eb2f9b045899561
2011-01-27 14:58:21 -08:00
Jake Hamby
6d509d2f35 Merge "Fix settings NPE crash on launch." into honeycomb 2011-01-27 14:05:44 -08:00
Eric Fischer
95112e5b98 Import revised translations. DO NOT MERGE
Change-Id: I64435ed3b620c5e748b0f15017d548eadf7adbd5
2011-01-27 14:04:11 -08:00
Justin Ho
8d2633075f am c5708925: Adding missing hdpi assets
* commit 'c5708925c6355978f2752ed6e0a71abea2558072':
  Adding missing hdpi assets
2011-01-27 10:38:01 -08:00
Jason parks
4d9820c424 am cd25369c: am b1ab46b8: Merge "Fix the build." into honeycomb
* commit 'cd25369c04612335e9c7d2e2bf48daa8cf99ef69':
  Fix the build.
2011-01-27 10:16:33 -08:00
Justin Ho
c5708925c6 Adding missing hdpi assets
Change-Id: I791d331d7dbc93af6869d741eaa4282e7558a874
2011-01-27 10:14:54 -08:00
Jason parks
cd25369c04 am b1ab46b8: Merge "Fix the build." into honeycomb
* commit 'b1ab46b8cb792a7f75fac03c13130474b4249ef5':
  Fix the build.
2011-01-27 10:13:52 -08:00
Jason parks
b1ab46b8cb Merge "Fix the build." into honeycomb 2011-01-27 10:11:00 -08:00
Jason parks
1b066aeff7 Fix the build.
I think I checked in the wrong file before.

Change-Id: Ie426bb5e865ea17f219ee07d3eb8cdd6f06e8cc7
2011-01-27 12:08:44 -06:00
Justin Ho
5c9ec54561 am cbc9fedf: am 565d0eb8: Merge "New tab assets for Honeycomb" into honeycomb
* commit 'cbc9fedf58e9247af901ede20508a68a6ea10d78':
  New tab assets for Honeycomb
2011-01-27 09:51:53 -08:00
Justin Ho
cbc9fedf58 am 565d0eb8: Merge "New tab assets for Honeycomb" into honeycomb
* commit '565d0eb8089beebb08f4ed2d6949246409131ea2':
  New tab assets for Honeycomb
2011-01-27 09:49:37 -08:00
Justin Ho
565d0eb808 Merge "New tab assets for Honeycomb" into honeycomb 2011-01-27 09:48:18 -08:00
Justin Ho
636bdc5ac9 New tab assets for Honeycomb
Change-Id: Ia955180781142295991df179fa419690fd0ffeee
2011-01-27 09:47:35 -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
ebabdd4d24 am f8217304: More work on the Crypt Keeper.
* commit 'f8217304073b5cd13823a0602568394be93bf310':
  More work on the Crypt Keeper.
2011-01-27 09:31:21 -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
Roy West
0dcdcd76ef Merge "Roy West's fix is stuck in auto-merger" 2011-01-26 20:49:25 -08:00
Dianne Hackborn
91f5593452 am 7cabc5bf: (-s ours) am f955eda8: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '7cabc5bf75ec6b19d72ac9deb8a19e6903166268':
  Import revised translations.  DO NOT MERGE
2011-01-26 19:11:01 -08:00
Roy West
a1f81a2a9e am fe5d8143: am e2c557d4: Merge "Fix build; dumb syntax error." into honeycomb
* commit 'fe5d814311ea229b9141488bff70062cfd85e215':
  Fix build; dumb syntax error.
2011-01-26 19:08:07 -08:00
Jim Miller
23cf3be9e6 am 7eb22a90: am f484f23a: Merge "Fix 3395616: Show IME by default when seting/changing password" into honeycomb
* commit '7eb22a907193590d485260982c9215e773c0f904':
  Fix 3395616: Show IME by default when seting/changing password
2011-01-26 19:07:37 -08:00
Glenn Kasten
c73982cd81 Roy West's fix is stuck in auto-merger
Change-Id: I3290227e95911adc2c2cfc4f4a3b9eceb8066e35
2011-01-26 18:05:54 -08:00
Dianne Hackborn
7cabc5bf75 am f955eda8: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit 'f955eda877a35241635714a8ba2dfe8fc8a8c5c0':
  Import revised translations.  DO NOT MERGE
2011-01-26 18:02:40 -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
Dianne Hackborn
f955eda877 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-01-26 17:35:59 -08:00
Eric Fischer
a1871544e8 Import revised translations. DO NOT MERGE
Change-Id: I00d851d7635880d85a4880e5a9201cbcabc101c9
2011-01-26 16:39:47 -08:00
Roy West
fe5d814311 am e2c557d4: Merge "Fix build; dumb syntax error." into honeycomb
* commit 'e2c557d4c0fb81496a0429fb32fe033b2e769611':
  Fix build; dumb syntax error.
2011-01-26 16:36:12 -08:00