4394 Commits

Author SHA1 Message Date
Adam Cohen
a02fdf1ba0 Adding widget auto-advance capability
Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
2010-11-10 17:18:37 -08:00
Brad Fitzpatrick
c65347f239 am bf44ebae: am 9de93424: Merge "Without SD card the shutdown sequence was delayed"
* commit 'bf44ebae04f837596b9942ccb15d3d47bad4acec':
  Without SD card the shutdown sequence was delayed
2010-11-10 11:11:40 -08:00
Brad Fitzpatrick
bf44ebae04 am 9de93424: Merge "Without SD card the shutdown sequence was delayed"
* commit '9de93424cc05446e3a216f406c55a3937c028416':
  Without SD card the shutdown sequence was delayed
2010-11-10 11:07:18 -08:00
Robert Greenwalt
cec30a7a02 Merge "Fix data state change callbacks" 2010-11-10 10:12:09 -08:00
Dianne Hackborn
6c8e20f96a Implement new task transition animations.
Change-Id: I62c10e7b2afac4371b3739f1cd5948c655edc125
2010-11-09 19:04:49 -08:00
Robert Greenwalt
8e7e0a9fd5 Fix data state change callbacks
Initial state should be unknown or we miss the first connected change.
Don't send a disconnected msg when changing network types.
Filter out redundent disconnects.
Add some logging.

bug:3060742
Change-Id: Idc797c1276b7417337a91ed60b12b1bf392d57c0
2010-11-09 16:28:51 -08:00
Jean-Michel Trivi
820b9e0d3b Add recording source for voice communication
Add a recording source used to designate a recording stream for
voice communications such as VoIP.

Change-Id: I4091d67069b1a0170c1a5ca5e6acd51eb0aa08f9
2010-11-09 14:32:43 -08:00
Tadashi G. Takaoka
0ba75bb22c Revert "Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed."
This reverts commit 1ab852fbcfe155c9d4373b7130f8515591669634.
2010-11-09 12:19:32 -08:00
Johan Alfven
5d0db4d356 Without SD card the shutdown sequence was delayed
If the memory card is not inserted (or removed) from
the phone the shut down process is very long. It
takes almost 24 seconds. For the phone with memory
card the averige is 5-6 seconds

Make sure to send onShutDownComplete even if an SD
card is not mounted and no unmount is done.

Change-Id: I0e79b82e294a971f5e7144cdd3cc16b7ff414b9c
2010-11-09 10:32:25 +01:00
satok
1ab852fbcf Add a history of InputMethodSubtype for getting the last subtype of selected IME when IME was changed.
Change-Id: I66752a881726c0ce2816a9d54de60fb0d992e968
2010-11-09 16:43:00 +09:00
Mathias Agopian
e3cfa1b8b2 am f8c24a66: am cd43fbb4: Merge "improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz)" into gingerbread
* commit 'f8c24a66a7318554604ae63d0ae4948c41b0d6e1':
  improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz)
2010-11-08 20:00:33 -08:00
Mathias Agopian
f8c24a66a7 am cd43fbb4: Merge "improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz)" into gingerbread
* commit 'cd43fbb4537487a9c3185e919904f8b0c93daee6':
  improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz)
2010-11-08 19:38:28 -08:00
Joe Onorato
646f46eddf make the resolver activity's items visible
Change-Id: Ic02c834c01c3d71d6e1c073f986b87ae5faa1da0
2010-11-08 15:08:56 -08:00
Mathias Agopian
94c4f5c1b2 improve sensorservice dumpsys and increase the max sensor rate to 1 ms (1000Hz)
the increased maximum rate is needed for proper gyro integration, current gyro
parts can sample at up to 800Hz

Change-Id: Ide75f6d5bc7a0fdafeb2dafd72db39e7afb9e794
2010-11-08 13:51:53 -08:00
Joe Onorato
1a542c7b8e The CHEEK_TOUCH stuff never worked. Remove it.
Bug: 3104906
Change-Id: Ia37236ba1775fc3ec8c111e2e0b85b105e0dea6a
2010-11-08 13:02:58 -08:00
Jeff Brown
3915bb845b Tell system server whether the app handled input events.
Refactored ViewRoot, NativeActivity and related classes to tell the
dispatcher whether an input event was actually handled by the application.

This will be used to move more of the global default key processing
into the system server instead of the application.

Change-Id: If06b98b6f45c543e5ac5b1eae2b3baf9371fba28
2010-11-08 12:49:43 -08:00
Irfan Sheriff
60029771d2 Merge "add frequency band control API" 2010-11-08 12:24:31 -08:00
Brad Fitzpatrick
3fe3851753 Window manager: cancel animations before losing references to them.
For possible future changes to android.view.animation.Animation to tie
into StrictMode's animation annotations on violations.

Change-Id: I3a23fa9bd5edb0500586bb0e341f83f998b28ae7
2010-11-08 11:22:01 -08:00
Brad Fitzpatrick
5b59e02eb5 Merge "StrictMode: now in more system server threads." 2010-11-08 11:01:41 -08:00
Dianne Hackborn
ab36acb399 Fixe some stuff.
Addresses these bugs:

3061847 - With no headers, PreferenceActivity crashes
2888426 - minor typo in DevicePolicyManagerService.ActiveAdmin.writeToXml()
3159155 - IllegalStateException:"Can not perform this action after
    onSaveInstanceState" while dismissing a DialogFragment
3155995 - PopupWindow.showAtLocation does not respect LayoutParams

Also tweak the new fragment APIs to use abstract classes instead of
interfaces as base classes.

Change-Id: I9c0b4337fe0e304b737b5f7c2762762372bb3020
2010-11-08 10:46:19 -08:00
Brad Fitzpatrick
ec062f63a2 StrictMode: now in more system server threads.
Who knew there were so many Loopers in the system server?

This adds dropbox logging for the activity manager thread, policy
thread, and window manager thread.

The goal's to catch more stuttering.

Change-Id: I999a6ff4a955f0ef549b12a38796b843ade5fe66
2010-11-08 10:39:05 -08:00
Irfan Sheriff
36f7413dab add frequency band control API
Change-Id: I6cc6cdef27d493d4ef76cec17fdca7e49d9dc8d7
2010-11-08 10:09:17 -08:00
Joe Onorato
12b1401262 Merge "Turn off the ALS when the user setting doesn't ask for automatic brightness." 2010-11-06 13:00:35 -07:00
Joe Onorato
d28f753c94 Turn off the ALS when the user setting doesn't ask for automatic brightness.
Bug: 3118027
Change-Id: I24a97adce55b7b403edcbd331bdc8b0fc593b76f
2010-11-06 12:56:53 -07:00
Kenny Root
8806fc729b am 70fc04c8: Reorganize PackageManager dump to avoid NPE
* commit '70fc04c84db8f99ac2ac60fd9719b91057aacc9b':
  Reorganize PackageManager dump to avoid NPE
2010-11-05 13:58:20 -07:00
Dianne Hackborn
ed7bfbf6c8 Fix issue #3163426: Screen corruption when using the watermark feature
Change-Id: I23f76f04fb52bb272eccbbcc55606c09404c6ca9
2010-11-05 13:45:10 -07:00
Kenny Root
70fc04c84d Reorganize PackageManager dump to avoid NPE
versionCode and mVersionName were added recently but ps.pkg can be null
in some situations. Move them to where it will check before
dereferencing it.

Bug: 3152896
Change-Id: If992a1f29ac7b8f595f847b7743fd2374662bb6e
2010-11-05 11:59:45 -07:00
satok
9ef0283bdc Change API for getting InputMethodSubtype's mode from resource id to String
Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
2010-11-05 11:40:56 +09:00
Irfan Sheriff
09018c3e53 Merge "Initiate wake up scan only in a disconnected state" 2010-11-04 18:08:36 -07:00
Robert Greenwalt
1678246710 Merge "Tell each VM to flush their DNS cache." 2010-11-04 17:02:44 -07:00
Brian Carlstrom
38b2a89df5 Merge "Fixing CloseGuard reported issue in WiredAccessoryObserver" 2010-11-04 16:46:05 -07:00
Chris Tate
7b362e431f Implement local-window-only drags
Change-Id: I19a9c4a045c532b99e3af9eb878797aed5cda1bf
2010-11-04 16:29:32 -07:00
Brian Carlstrom
237171f8ab Fixing CloseGuard reported issue in WiredAccessoryObserver
This was previously masked by the ArrayIndexOutOfBoundsException so I
missed it on my first pass.

Change-Id: I0bdca9c888c77cb31f21def18809649321aa5427
2010-11-04 16:23:21 -07:00
Dianne Hackborn
373818eeac Revert "StrictMode: now in more system server threads."
This reverts commit 0721861d6111a8a03eb0d4aad14b7a90fd83cab6.
2010-11-04 15:37:47 -07:00
Irfan Sheriff
090813ac95 Initiate wake up scan only in a disconnected state
When wifi is connected to an access point, we should
not wake up the device to initiate scans.

Change-Id: I1a48387a0cac7b23a8d947d8409cafc63da18d38
2010-11-04 15:20:01 -07:00
Brian Carlstrom
a4f03f98f1 Merge "Integrate StrictMode with CloseGuard" 2010-11-04 14:32:33 -07:00
Brian Carlstrom
fd9ddd1a40 Integrate StrictMode with CloseGuard
In additional to adding the StringMode API for controling CloseGuard,
this checkin fixes several CloseGuard issues found booting a device.

Bug: 3041575
Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
2010-11-04 14:21:33 -07:00
Daniel Sandler
b73617de46 Rotation lock.
IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
2010-11-04 16:55:29 -04:00
Elliott Hughes
1ab022b8c8 Merge "Fix an off-by-one error." 2010-11-04 13:47:13 -07:00
Dianne Hackborn
ea9020e085 Add API to find out if there is a vibrator.
Change-Id: If29f6ee19448222433cad9fad325d0095a8e5737
2010-11-04 13:01:56 -07:00
Elliott Hughes
b55dcc244d Fix an off-by-one error.
I/SystemServer(  104): Wired Accessory Observer
  E/SystemServer(  104): Failure starting WiredAccessoryObserver
  E/SystemServer(  104): java.lang.ArrayIndexOutOfBoundsException: index=3 length=3
  E/SystemServer(  104): 	at com.android.server.WiredAccessoryObserver.<init>(WiredAccessoryObserver.java:79)
  E/SystemServer(  104): 	at com.android.server.ServerThread.run(SystemServer.java:401)

Change-Id: I6d40259d96b8c57c0ff04eab362a66b70e9fcd25
2010-11-04 12:35:01 -07:00
Dianne Hackborn
bbd4a9f916 Merge "StrictMode: now in more system server threads." 2010-11-04 12:21:48 -07:00
Robert Greenwalt
03595d0118 Tell each VM to flush their DNS cache.
bug:3095357
Change-Id: I93de24e3e5a7d8b94d55f4facfffc863a2b8c202
2010-11-04 11:52:35 -07:00
satok
dfe7fd1776 Merge "Find the most applicable subtype when there is no selected subtype but IME has subtypes" 2010-11-03 23:09:46 -07:00
satok
8fbb1e84ee Find the most applicable subtype when there is no selected subtype but IME has subtypes
Change-Id: I1239d67a65abd5eedebd689d02f007961b9c5d73
2010-11-04 14:58:28 +09:00
Brad Fitzpatrick
0721861d61 StrictMode: now in more system server threads.
Who knew there were so many Loopers in the system server?

This adds dropbox logging for the activity manager thread, policy
thread, and window manager thread.

The goal's to catch more stuttering.

Change-Id: I3ce8518ce183b3c90426750a2992e67200fee5d5
2010-11-03 21:11:34 -07:00
Praveen Bharathi
26e3734983 frameworks/base: switch audio to hdmi when cable is plugged in
Change-Id: I01c4ee968bc0ffbb6ce75370935571cc1ff6f8c7
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-11-03 15:38:12 -07:00
Irfan Sheriff
1997eebd62 Merge "Set country code in the driver and remove channel set" 2010-11-03 12:23:01 -07:00
Chris Tate
5f4b7d8a8a Merge "Fix drag enter/exit reporting" 2010-11-03 12:00:56 -07:00
Irfan Sheriff
ed4f28b492 Set country code in the driver and remove channel set
With dual band support, using country code
settings is the way to go

Bug: 2936741
Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
2010-11-02 16:35:56 -07:00