Commit Graph

1642 Commits

Author SHA1 Message Date
Dianne Hackborn
7cad4e2c88 am 3a6bb47d: Merge "Some improvements to the manage apps code:" into gingerbread
Merge commit '3a6bb47d9f97ff55d75a23fac85c0febbabcb2eb' into gingerbread-plus-aosp

* commit '3a6bb47d9f97ff55d75a23fac85c0febbabcb2eb':
  Some improvements to the manage apps code:
2010-09-20 17:09:39 -07:00
Dianne Hackborn
19df79af26 Some improvements to the manage apps code:
- Battery stats now aggregates bluetooth usage.
- Battery stats now uses new history iterator API.
- Battery stats chart is refectored to have the start of a
  common facility for building tick charts.
- Manage apps will now asynchronously wait for the apps list
  if it is taking >.25ms to build.

Change-Id: I568dd74beedf9a0a5a4c88ab567510cee9af8299
2010-09-20 17:06:17 -07:00
Imre Sunyi
524146698f Support showing "Cold" battery health.
The Linux kernel supports reporting "cold" battery health to sysfs.
Android framework has not implemented this and it defaults to "unknown"
This adds handling the cold battery health.

Change-Id: Idfc7029fabcdfdaaf2b5c95977c11e0eb3fd76a7
2010-09-20 18:02:28 +02:00
Dianne Hackborn
5ba2640003 am 7222997e: am cb818619: Update power usage UI to follow WIFI data changes.
Merge commit '7222997e342920efb45edc312318fc5751c9a0ef'

* commit '7222997e342920efb45edc312318fc5751c9a0ef':
  Update power usage UI to follow WIFI data changes.
2010-09-17 18:14:00 -07:00
Dianne Hackborn
7222997e34 am cb818619: Update power usage UI to follow WIFI data changes.
Merge commit 'cb818619c669d4257a4df969dd03eff479ba84d0' into gingerbread-plus-aosp

* commit 'cb818619c669d4257a4df969dd03eff479ba84d0':
  Update power usage UI to follow WIFI data changes.
2010-09-17 15:20:06 -07:00
Irfan Sheriff
7dd69ffa14 Merge "fix add wifi network dialog" 2010-09-17 14:16:44 -07:00
Irfan Sheriff
9b7edb16d1 fix add wifi network dialog
On changing security type with the spinner,
the password/eap fields should change accordingly.

Due to a bug with checking of the spinner, this
was not happening. fix it.

Bug: 1654928
Change-Id: I9bb174448694671206293ccdc380a9aad14a3f12
2010-09-17 14:11:30 -07:00
Dianne Hackborn
cb818619c6 Update power usage UI to follow WIFI data changes.
Now handles WIFI start times being distributed across applications,
and collapses all work done in WIFI uid procs (esp that supplicant
thing) into the apps and overall WIFI category.

Change-Id: I341e5d63c45eeb0fb4121beed62474d947f9de11
2010-09-17 11:28:08 -07:00
Daisuke Miyakawa
a2633d0232 Move ManageAccountsSettings into Settings.
- Add activity-alias for the Activity.
- Copy the Activity from AccountsAndSyncSettings.
- Fragmentize ManageAccountsSettings.
- Remove dependency toward AccountPreferenceBase, which is
  used in AccountsAndSyncSettings widely.
- Add missing implementation derived from AccountPrefernceBase.
- Copy dependent drawables.
- Copy dependent xmls
- Copy AccountPrefernce.java.
- Copy strings, adding CHAR LIMIT.
- Remove the logic which remove the preference when its destination
  Activity is missing. We already have the destination as
  Fragment, and it never disappear.

Change-Id: Id41c63d7064aebeaae31bcd84bf4fd20a5636dfe
2010-09-17 11:22:02 -07:00
Daisuke Miyakawa
4f169ba1aa Merge "Fragmentize wifi.AdvancedSettings." 2010-09-17 11:06:30 -07:00
Daisuke Miyakawa
3b2afb04f4 Merge "Fragmentize VoiceOutputSettings." 2010-09-17 11:05:31 -07:00
Jaikumar Ganesh
69b0218849 am 356745ec: am 213d579f: Merge "Don\'t disconnect the same device before connecting." into gingerbread
Merge commit '356745ecc63419a2569345186e8612a5b0ced28d'

* commit '356745ecc63419a2569345186e8612a5b0ced28d':
  Don't disconnect the same device before connecting.
2010-09-16 23:24:15 -07:00
Jaikumar Ganesh
356745ecc6 am 213d579f: Merge "Don\'t disconnect the same device before connecting." into gingerbread
Merge commit '213d579f98a83145989f11cfdbd47631b64de000' into gingerbread-plus-aosp

* commit '213d579f98a83145989f11cfdbd47631b64de000':
  Don't disconnect the same device before connecting.
2010-09-16 22:15:50 -07:00
Jaikumar Ganesh
213d579f98 Merge "Don't disconnect the same device before connecting." into gingerbread 2010-09-16 19:08:32 -07:00
Jaikumar Ganesh
84905edb63 Don't disconnect the same device before connecting.
We Pair: Remote device sends incoming connection, we get connected.
We get BondingState change and we connect.
Settings app disconnects connected profiles and then connects
without checking whether we are disconnecting the same device itself.

How was it working before ? Settings app used to queue all
commands. The disconnect followed by the connect would work
but unnecessarily disconnect and then connect.
With the queuing moved to framework, the connect fails
since the disconnect status has not been broadcasted.

Settings app shouldn't be disconnecting connected profiles.
That logic should reside in the framework. There is an open bug
and when the new APIs get implemented this will get removed.

Change-Id: I32a7fa36ff3c3321691c55071498f985dcdcfe8e
2010-09-16 18:56:30 -07:00
Svetoslav Ganov
3d64653d1f WebView accessibility support - Adding opt-in setting for enabling accessibility script injection from Google
Change-Id: I1676f34c30a0e9414d51060ad4fb2c9c502b09c3
2010-09-16 12:45:19 -07:00
Daisuke Miyakawa
49a305ec54 Fragmentize VoiceOutputSettings.
Change-Id: Ifc8f9a8169cf43f53dc122342d95eac6058e6c88
2010-09-16 10:37:28 -07:00
Daisuke Miyakawa
c481a7aa16 Refrain flickering in AccessibilitySettings.
Bug: 3006118
Change-Id: I40249340242323e23bbd3008a8fb50589e939096
2010-09-16 09:49:20 -07:00
Daisuke Miyakawa
7e7ae9e59d Fragmentize wifi.AdvancedSettings.
Change-Id: I3dde2eb604886a8d0719549eabac76fadc74c220
2010-09-15 22:06:47 -07:00
Daisuke Miyakawa
ab4fa2c8dd Merge "Check null of getActivity() when needed." 2010-09-15 18:14:58 -07:00
Daisuke Miyakawa
b5647c5720 Fragmentize VpnSettings and relevant Activities.
Add startFragment() to SettingsFragmentPreference.

Change-Id: Ifab93b2e68892d5f6da559f337c94d62629780c8
2010-09-15 16:48:25 -07:00
Daisuke Miyakawa
b962d6566c SetupWizard improvement: let users see "scanning"
Current UI shows nothing when there's no connection available, even when
the device is finding some. So user cannot know whether the static
"Not connected" screen means: the device is finding right now, or
actually no network is available.

Change-Id: Ia8ea1c66956e8de819f6a98362bcc9086bda172c
2010-09-15 12:57:34 -07:00
Dianne Hackborn
746d913e0b am e2fc49ac: am 5c2a4684: Merge "Supercalifragilisticexpialidocious." into gingerbread
Merge commit 'e2fc49ac1b16b88c471975d980bb836ee7d90201'

* commit 'e2fc49ac1b16b88c471975d980bb836ee7d90201':
  Supercalifragilisticexpialidocious.
2010-09-15 11:38:49 -07:00
Daisuke Miyakawa
1a68f98dfb Merge "Reflects framework change." 2010-09-15 10:54:48 -07:00
Daisuke Miyakawa
f2d5e9536a Hide software keyboard when it becomes unnecessary
Bug: 3003749
Change-Id: If8dcf66cf088590bbe26e5ec71537b6b43f66226
2010-09-15 10:49:38 -07:00
Daisuke Miyakawa
e25b55c00b Clear focus when auto mode is set.
Bug: 3003541
Change-Id: I2dbaac4ae55b4484387053dbad1311d562102304
2010-09-15 10:10:26 -07:00
Daisuke Miyakawa
0b8c710d06 Reflects framework change.
See I4062a70e11600d87e889b40d30796387c7069e21

Change-Id: I29685118467bd2a68b80abcf234f91098839be0b
2010-09-15 08:42:29 -07:00
Irfan Sheriff
cc2c684c71 Merge "Add static IP UI" 2010-09-15 08:31:44 -07:00
Brad Fitzpatrick
eaea841be0 am f8a473c3: am c5c8dad0: Use new apply() instead of commit().
Merge commit 'f8a473c3985d7c818dc24f94330f210e1d56a409'

* commit 'f8a473c3985d7c818dc24f94330f210e1d56a409':
  Use new apply() instead of commit().
2010-09-15 07:08:52 -07:00
Irfan Sheriff
f027ce5e02 Add static IP UI
Remove the existing UI and add per network static IP config option

Change-Id: I9b8636e1559de9691144fdb54e20d40985896650
2010-09-14 17:02:21 -07:00
Dianne Hackborn
e2fc49ac1b am 5c2a4684: Merge "Supercalifragilisticexpialidocious." into gingerbread
Merge commit '5c2a46848133c0ad6b2197aa1d6f5ae2ba9c8119' into gingerbread-plus-aosp

* commit '5c2a46848133c0ad6b2197aa1d6f5ae2ba9c8119':
  Supercalifragilisticexpialidocious.
2010-09-14 12:33:38 -07:00
Dianne Hackborn
5c2a468481 Merge "Supercalifragilisticexpialidocious." into gingerbread 2010-09-14 12:31:20 -07:00
Dianne Hackborn
44178e2801 Supercalifragilisticexpialidocious.
Change-Id: Ifaece97c80b859cb455eab56230e076eca916f4a
2010-09-14 12:29:32 -07:00
Brad Fitzpatrick
f8a473c398 am c5c8dad0: Use new apply() instead of commit().
Merge commit 'c5c8dad0afb84bda9495a0aa1f7d6a3db28de5cb' into gingerbread-plus-aosp

* commit 'c5c8dad0afb84bda9495a0aa1f7d6a3db28de5cb':
  Use new apply() instead of commit().
2010-09-14 10:29:35 -07:00
Brad Fitzpatrick
c5c8dad0af Use new apply() instead of commit().
apply() starts an async disk write and doesn't have a return
value but is otherwise identical in observable effects.

Change-Id: I0f528607319d7eb5136bb11fce0b24d8741ccdf9
2010-09-14 09:26:51 -07:00
Daisuke Miyakawa
29e812f299 Check null of getActivity() when needed.
Some bloadcast is thrown when Activity isn't ready.

onResume() correctly update time so we don't need to
call updateTimeAndDateDisplay() when Activity is null.

Change-Id: Iea8feaa1111bb87e66462ed0f95fde9d07f2c68d
2010-09-13 16:50:57 -07:00
Daisuke Miyakawa
6ebf8619d7 Fragmentize BluetoothSettings.
Add UserLeaveHintListener.java, so that the settings won't use
its implementation around Activity#onUserLeaveHint().

Also fragmentize bluetooth tethering screen.

Change-Id: Id06ae3161fbdb5854ddb7a257f464fb16ea9b089
2010-09-13 16:18:05 -07:00
Daisuke Miyakawa
b68e0f1d7d Merge "Fragmentize UserDictionary." 2010-09-13 15:48:16 -07:00
Daisuke Miyakawa
26ed96c0a5 Merge "Fragmentize ProxySettings." 2010-09-13 15:47:42 -07:00
Daisuke Miyakawa
f58090d522 Fragmentize UserDictionary.
Depending on I2c962726b0adc8811c18dd6df7ff7bdc93c31a07, which
implements DialogCreatable.

Change-Id: I9857e592218731bfbddc578c15180cc681fa4d20
2010-09-13 15:46:28 -07:00
Jaikumar Ganesh
470ae03ec1 am 1647d472: am e714898a: Merge "OutOfband pairing user dialog." into gingerbread
Merge commit '1647d472a8c04069a0aab22730a54ec374185ea5'

* commit '1647d472a8c04069a0aab22730a54ec374185ea5':
  OutOfband pairing user dialog.
2010-09-13 14:42:36 -07:00
Jaikumar Ganesh
1647d472a8 am e714898a: Merge "OutOfband pairing user dialog." into gingerbread
Merge commit 'e714898a1abfd828a239e1be7b3f75e2a3cc2120' into gingerbread-plus-aosp

* commit 'e714898a1abfd828a239e1be7b3f75e2a3cc2120':
  OutOfband pairing user dialog.
2010-09-13 11:52:15 -07:00
Jaikumar Ganesh
e714898a1a Merge "OutOfband pairing user dialog." into gingerbread 2010-09-13 11:43:01 -07:00
Daisuke Miyakawa
48d753c58a Remove unnecessary Activity.
Change-Id: I9e1a66feec6364c97ca85df26ac4fc1e61aee1cb
2010-09-13 11:38:07 -07:00
Daisuke Miyakawa
a41a9286ab Remove unnecessary comment.
Change-Id: I4532a3b042f3dfee4f1a1fe3c26111ed8b00d023
2010-09-12 20:35:06 -07:00
Daisuke Miyakawa
21c1abcef7 Fragmentize ProxySettings.
Change-Id: I2c962726b0adc8811c18dd6df7ff7bdc93c31a07
2010-09-12 17:43:10 -07:00
Daisuke Miyakawa
2712fb5d79 Merge "Simplify the logic for LanguageSettings." 2010-09-12 13:52:09 -07:00
Daisuke Miyakawa
c88c6bbcd0 Simplify the logic for LanguageSettings.
Change-Id: Id065df20fc9a94dd03612eecdcdb310bc033bb4d
2010-09-12 13:51:54 -07:00
Amith Yamasani
b61cf51d85 Breadcrumbs in the action bar for navigating up one level and showing current title.
Change-Id: I595e06549b888bd67c6dddd599a4cc77416c3a41
2010-09-12 11:47:26 -07:00
Amith Yamasani
60133dd036 Conditionally remove settings that aren't required on the tablet.
Bug: 2985267

Changes not done : SD card related stuff, as we need some way still
to figure out if there is a real SD card in the device.

Change-Id: I21c41f18ebe6c050981918481a7f6d69f04b65d0
2010-09-11 14:58:01 -07:00