Commit Graph

3959 Commits

Author SHA1 Message Date
Dianne Hackborn
3784d003b8 am 805ad7d1: am 4749fcf7: More tricksy.
Merge commit '805ad7d1aa3d5177b383af3ad49df20092d2ef9d'

* commit '805ad7d1aa3d5177b383af3ad49df20092d2ef9d':
  More tricksy.
2010-08-23 12:01:51 -07:00
Jaikumar Ganesh
8eb4986049 Match devices by Class for tethering.
Change-Id: I711de3c8d6f6b1dafeec4fb5dde4fa33d997bcca
2010-08-23 11:49:19 -07:00
Jake Hamby
2cd6aad561 am 2876ad62: am 2fcfb289: Merge " Fix Bluetooth Settings activity memory leak."
Merge commit '2876ad62082207e0e02cbc38b65ce9993cb121bf'

* commit '2876ad62082207e0e02cbc38b65ce9993cb121bf':
  Fix Bluetooth Settings activity memory leak.
2010-08-21 09:35:49 -07:00
Dianne Hackborn
999d66df26 am 4962c855: am a712c3b7: A couple small settings fixes:
Merge commit '4962c855b871f1657ca6d90817567203e6863551'

* commit '4962c855b871f1657ca6d90817567203e6863551':
  A couple small settings fixes:
2010-08-21 09:35:38 -07:00
Dianne Hackborn
805ad7d1aa am 4749fcf7: More tricksy.
Merge commit '4749fcf762de0e34ac28f927501d42555062c521' into gingerbread-plus-aosp

* commit '4749fcf762de0e34ac28f927501d42555062c521':
  More tricksy.
2010-08-19 18:37:35 -07:00
Dianne Hackborn
4749fcf762 More tricksy.
Change-Id: I4752344e0eea302ba28e907ff5bd5c20f74a82b7
2010-08-19 18:21:31 -07:00
Erik Ljungberg
d5234bc844 BT: The Phone doesn't "wake up" when trying to pair with it.
To improve the pairing request usability:
- In the case where a notification shall be used the standard
  notification sound is added
- When the screen is off notification is always used.

Change-Id: I751a7913517c64de5d7ba06d7c17358197d002c5
2010-08-19 17:47:44 +02:00
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
2010-08-18 22:59:33 -07:00
Jake Hamby
2876ad6208 am 2fcfb289: Merge " Fix Bluetooth Settings activity memory leak."
Merge commit '2fcfb28982b84a6383774cfd50d6a963b1a985e1' into gingerbread-plus-aosp

* commit '2fcfb28982b84a6383774cfd50d6a963b1a985e1':
  Fix Bluetooth Settings activity memory leak.
2010-08-18 19:36:53 -07:00
Jake Hamby
2fcfb28982 Merge " Fix Bluetooth Settings activity memory leak." 2010-08-18 19:29:53 -07:00
Dianne Hackborn
4962c855b8 am a712c3b7: A couple small settings fixes:
Merge commit 'a712c3b7b5a17129d016ede082e3e3b2bbd31f9a' into gingerbread-plus-aosp

* commit 'a712c3b7b5a17129d016ede082e3e3b2bbd31f9a':
  A couple small settings fixes:
2010-08-18 18:42:18 -07:00
Dianne Hackborn
a712c3b7b5 A couple small settings fixes:
- Correctly position WIFI/GPS charts.
- Start out with running services hidden in case we need to show
  the progress bar.

Change-Id: I8852f334f68f4e9122b5d688d9fd57d0f94d94d8
2010-08-18 17:47:39 -07:00
Danica Chang
32711b6752 bluetooth tethering
Change-Id: I8dfb1c85bb8b963d2937b8bc4a4c9f0cf641785d
2010-08-17 19:07:07 -07:00
thigobr
d4cebee1e4 Fix Bluetooth Settings activity memory leak.
There were two leaks in Bluetooth Settings: one when rotating the
    phone and other when scanning for bluetooth devices.
2010-08-17 12:59:41 -03:00
Ben Clark
f2687380dc am 8d62eb4a: am 0008d219: Refactor to remove multiple in-loop Object[]->String[] castings
Merge commit '8d62eb4a51141f4464ba0b4c510cf0ec4198a56a'

* commit '8d62eb4a51141f4464ba0b4c510cf0ec4198a56a':
  Refactor to remove multiple in-loop Object[]->String[] castings
2010-08-17 07:51:35 -07:00
Ben Clark
8d62eb4a51 am 0008d219: Refactor to remove multiple in-loop Object[]->String[] castings
Merge commit '0008d219a2964218477d5bd5f28a848844063c44' into gingerbread-plus-aosp

* commit '0008d219a2964218477d5bd5f28a848844063c44':
  Refactor to remove multiple in-loop Object[]->String[] castings
2010-08-17 07:48:32 -07:00
Dianne Hackborn
c94e7d1954 am 6ca1da8c: am ff3673c7: Make running services initial update async.
Merge commit '6ca1da8c97f76f1b07fc70846ae31e22fb72c160'

* commit '6ca1da8c97f76f1b07fc70846ae31e22fb72c160':
  Make running services initial update async.
2010-08-16 15:18:30 -07:00
Dianne Hackborn
e5b148ba29 am 343158c7: am be5994d2: Some improvements to the battery usage UI:
Merge commit '343158c797ea12f3f43df2a0ec70c65ada9e6daa'

* commit '343158c797ea12f3f43df2a0ec70c65ada9e6daa':
  Some improvements to the battery usage UI:
2010-08-16 15:17:36 -07:00
Daisuke Miyakawa
3f1f0393f8 Tiny fix: remove warnings in WifiApiDialog.
Change-Id: Ifff3dd5d0a98e0be5bbe97c11fe4441bccfa6d09
2010-08-15 19:34:15 -07:00
Dianne Hackborn
6ca1da8c97 am ff3673c7: Make running services initial update async.
Merge commit 'ff3673c7f477b1d78e64a8bc28754552dcdc8826' into gingerbread-plus-aosp

* commit 'ff3673c7f477b1d78e64a8bc28754552dcdc8826':
  Make running services initial update async.
2010-08-15 17:37:14 -07:00
Dianne Hackborn
ff3673c7f4 Make running services initial update async.
Also fix the value show for an app's awake time.

Change-Id: I801681d3a1d47a6bb1f3fb8cc5b0ef009201146f
2010-08-15 17:29:07 -07:00
Dianne Hackborn
343158c797 am be5994d2: Some improvements to the battery usage UI:
Merge commit 'be5994d20152c7194aac79eb8152240655fd3373' into gingerbread-plus-aosp

* commit 'be5994d20152c7194aac79eb8152240655fd3373':
  Some improvements to the battery usage UI:
2010-08-13 16:00:49 -07:00
Dianne Hackborn
be5994d201 Some improvements to the battery usage UI:
- Show wake lock usage in the battery history.
- Show WIFI usage in the battery history.
- Show the amount an app has held a wake lock in the app details.
- Also fix service run time computation in running services.

Change-Id: I5aa959857f83808fbc709f65204f59bbfb73935b
2010-08-13 14:22:34 -07:00
Daisuke Miyakawa
c81adf598f Create LocalePickerFragment for fragmentizing LocalePicker Activity.
Need to add proguard.flag, as the Activity crashes without it.

Change-Id: Icbc75be4a4183920ed472ac64cc509115260f865
2010-08-13 13:36:51 -07:00
Jean-Baptiste Queru
f9cfab203a Fix build - add missing import
Change-Id: I31c5db903532c68b42760f29b3fbb46c7c7854f8
2010-08-12 14:30:26 -07:00
Daisuke Miyakawa
6a3e48c035 Merge "Remove LocalePickerInSetupWizard." 2010-08-12 12:22:05 -07:00
Irfan Sheriff
ccba07f522 Merge "asynchronous API changes" 2010-08-12 07:59:25 -07:00
Dianne Hackborn
b2d2a6c63f am 0e404872: am 36735462: More version info.
Merge commit '0e4048721980926ed9f78de955658eb5d07dcfc4'

* commit '0e4048721980926ed9f78de955658eb5d07dcfc4':
  More version info.
2010-08-11 22:34:43 -07:00
Dianne Hackborn
0e40487219 am 36735462: More version info.
Merge commit '3673546205ebf1b4c83c212c1032eea38c8adbe7' into gingerbread-plus-aosp

* commit '3673546205ebf1b4c83c212c1032eea38c8adbe7':
  More version info.
2010-08-11 22:32:15 -07:00
Dianne Hackborn
3673546205 More version info.
Change-Id: I006951028135e95ce7bb2463f00649a691b5f615
2010-08-11 22:28:29 -07:00
Daisuke Miyakawa
4ced172492 Remove LocalePickerInSetupWizard.
Currently LocalePicker and LocalePickerInSetupWizard are identical and
the latter is not used at all. Let's remove it.

Change-Id: I951433350a7ead5c0b7036e84b609424ad0d0898
2010-08-11 18:12:32 -07:00
Irfan Sheriff
d821c7adcc asynchronous API changes
Use the simplified connect, save & remove async API

Change-Id: I5754f1772163bcb4ab0ae18cab3747e17c21531a
2010-08-11 08:32:28 -07:00
Vasu Nori
d334d52c47 if requery returns false, throw exception
bug:2894145
Change-Id: Iba36031fae90e53a6c71677e3ec23ba017234407
2010-08-05 11:32:54 -07:00
Oscar Montemayor
05411893af Enabling users toset the Global Proxy from wireless settings.
Change-Id: Ie9b37e4c8e042fab738d2181878e93d7d2645834
2010-08-04 14:52:21 -07:00
Irfan Sheriff
7add00049a Increase scan time in settings
With the combo scan on all bands taking about 5-6s,
increase scan time in settings to 10s.

Change-Id: Ie98605a211dcb149b3bbd2c723bc10352e207cc3
2010-08-04 11:27:42 -07:00
Irfan Sheriff
ecea11f3e9 Keep airplane mode UI & system settings in sync
If mobile radio bring up/down fails, airplane mode UI & system settings
go out of sync and this prevents wifi from being brought up on every
reboot.

Bug: 2887841
Change-Id: Id0f1299e6b4e2c28b72c8fb8d853dad3fcaceaa7
2010-08-02 19:14:17 -07:00
Dianne Hackborn
cdc8ee9ed7 am a3be8640: am 0f9daab7: Manage apps "third party" and "on sd card" filters were swapped.
Merge commit 'a3be864081ece005cf378ba8878063218cb1a131'

* commit 'a3be864081ece005cf378ba8878063218cb1a131':
  Manage apps "third party" and "on sd card" filters were swapped.
2010-07-30 15:30:05 -07:00
Dianne Hackborn
a3be864081 am 0f9daab7: Manage apps "third party" and "on sd card" filters were swapped.
Merge commit '0f9daab75f1557722b6e687a68eebfd5d28cbc51' into gingerbread-plus-aosp

* commit '0f9daab75f1557722b6e687a68eebfd5d28cbc51':
  Manage apps "third party" and "on sd card" filters were swapped.
2010-07-30 15:25:29 -07:00
Dianne Hackborn
0f9daab75f Manage apps "third party" and "on sd card" filters were swapped.
Also change the app details screen to make use of the common
ApplicationsState object for its UI, improving launch performance.

Change-Id: I387ed72a06d44aab47a85692c10247ce488c605c
2010-07-30 14:26:37 -07:00
Ben Clark
0008d219a2 Refactor to remove multiple in-loop Object[]->String[] castings
(This replaces Iaa0f3b25eaadb094a4c3fb4cecbd09e0322aae33)

This change removes the need to convert Object[]->String[] for each iteration
of each of available,tethered,errored states in updateStatus()
by converting these as soon as possible.

This fix (and the code before) is strange because each of available,tethered,
errored are defined as type ArrayList<String> but
intent.getStringArrayListExtra() returns type Object[] dispite its name.
Because other calls to updateState() use String[] it seems best to do the
conversion outside this method in the Object[] case and thus avoid the
per-iteration casting in the Object[] case and the downright wasteful
per-iteration String[]->Object[]->String[] casting in the String[] input cases.

I've also removed some unused imports and an unused variable.

Change-Id: I805ef19aa9ceff7e4fc491623cdcb413ce170798
2010-07-29 20:51:31 +01:00
Dianne Hackborn
26d349815d am 6fce81a6: am 508fedc4: Improvements to manage apps / running services:
Merge commit '6fce81a69d7c2891d31618016c8ddc7b08deaa03'

* commit '6fce81a69d7c2891d31618016c8ddc7b08deaa03':
  Improvements to manage apps / running services:
2010-07-28 17:46:32 -07:00
Dianne Hackborn
6fce81a69d am 508fedc4: Improvements to manage apps / running services:
Merge commit '508fedc4102790dcd7004e4962e2b540967b714b' into gingerbread-plus-aosp

* commit '508fedc4102790dcd7004e4962e2b540967b714b':
  Improvements to manage apps / running services:
2010-07-28 17:44:19 -07:00
Dianne Hackborn
508fedc410 Improvements to manage apps / running services:
- Running services now keeps a single data structure to make
  switching through the UI a lot faster.
- Display text when there are no apps.
- Fix deadlock.
- Add new preference entry to view manage apps for storage use.
- Etc.

Change-Id: I0f5babf407ed7e84169f59584ddcb6cd0e9d67d9
2010-07-28 17:41:08 -07:00
Dianne Hackborn
57e1734173 am 9248082d: am e7623f77: Rewrite Manage Applications to be faster and simpler.
Merge commit '9248082d0a19a1d1c9b2d70e0be8f78e38ecc657'

* commit '9248082d0a19a1d1c9b2d70e0be8f78e38ecc657':
  Rewrite Manage Applications to be faster and simpler.
2010-07-27 16:59:32 -07:00
Dianne Hackborn
9248082d0a am e7623f77: Rewrite Manage Applications to be faster and simpler.
Merge commit 'e7623f775cb37a8de049dae8c03b5b396526fdd1' into gingerbread-plus-aosp

* commit 'e7623f775cb37a8de049dae8c03b5b396526fdd1':
  Rewrite Manage Applications to be faster and simpler.
2010-07-27 16:35:13 -07:00
Dianne Hackborn
e7623f775c Rewrite Manage Applications to be faster and simpler.
Change-Id: I4cf405e83a369cb935bccf375798557ffd93e14e
2010-07-27 15:23:51 -07:00
Mike Dodd
5e47f95316 Fix build.
Change-Id: I9982c3b1a7f844af82513012a267f2efb14a5031
2010-07-26 15:16:03 -07:00
Jean-Baptiste Queru
58d70800fd am 885ac770: am 46c0a5b1: Merge "Remove unused imports in SecuritySettings.java"
Merge commit '885ac7701fc809276aed1be151b9ecd8bd0a1cd3'

* commit '885ac7701fc809276aed1be151b9ecd8bd0a1cd3':
  Remove unused imports in SecuritySettings.java
2010-07-26 14:41:52 -07:00
Jean-Baptiste Queru
885ac7701f am 46c0a5b1: Merge "Remove unused imports in SecuritySettings.java"
Merge commit '46c0a5b12973fcd40b72b48fe344e45f1110865e' into gingerbread-plus-aosp

* commit '46c0a5b12973fcd40b72b48fe344e45f1110865e':
  Remove unused imports in SecuritySettings.java
2010-07-26 14:37:30 -07:00
Jean-Baptiste Queru
46c0a5b129 Merge "Remove unused imports in SecuritySettings.java" 2010-07-26 14:33:08 -07:00