16560 Commits

Author SHA1 Message Date
Dave Sparks
f6e43bf290 Add OnLoadCompleteListener to SoundPool. 2009-12-23 09:11:29 -08:00
Android (Google) Code Review
fddd8f96f3 Merge change I70f91838
* changes:
  keystore: Add paddings before checksumming.
2009-12-22 01:39:14 -08:00
Chia-chi Yeh
fa4ae74ef7 keystore: Add paddings before checksumming.
Also fix a file descriptor leak when file system is nearly full.

Bug: 2339184
2009-12-22 17:26:42 +08:00
Android (Google) Code Review
2d49b7229a Merge change If80d6e13
* changes:
  Rework activity manager debug dumps.
2009-12-21 20:25:39 -08:00
Dianne Hackborn
c59411b176 Rework activity manager debug dumps.
Change how we do debug dumps from the activity manager to make
everything go through the activity manager interface (no more
secondary interfaces), and use the command line arguments to
control what gets dumped.

The output from dumpsys without args still dumps everything.

When just dumping the activity service, we now dump a subset
of all of the am state that is interesting without being
overwhelming.

You can use "dumpsys activity -h" to get help with other things
that can be dumped.
2009-12-21 20:20:59 -08:00
Android (Google) Code Review
f966afa146 Merge change I34a427a5
* changes:
  Adding support for LoggingPrintStream.write(byte[]) and friends.
2009-12-21 18:39:19 -08:00
Dianne Hackborn
ee0511d76c Fix issue #1154972: clone defined, but class doesn't implement Cloneable 2009-12-21 18:08:13 -08:00
Dianne Hackborn
6cf67faf3b Fix issue #2329765: Activities are not being immediately stopped.
This was caused by the launchers new hidden surface on top.  The
algorithm for determining whether an activity was visible assumed
that all windows would want to be visible.  Now it ignores ones that
have explicitly requested to be hidden.
2009-12-21 16:57:11 -08:00
Android (Google) Code Review
33b13e34e3 Merge change Ide2606dc
* changes:
  Don't perform app transition of the app is not currently visible.
2009-12-21 16:51:08 -08:00
Android (Google) Code Review
1d2f5c39bb Merge change I76d2295c
* changes:
  SIM toolkit: Phone app crashes while reading SIM card
2009-12-21 16:31:54 -08:00
Android (Google) Code Review
69e0eae003 Merge change I83fd7b0d
* changes:
  frameworks/base: Handle broadcast sms properly
2009-12-21 16:29:34 -08:00
Android (Google) Code Review
b6347a2188 Merge change I6b4d1294
* changes:
  DropBox logging of app & system server crashes.
2009-12-21 16:04:07 -08:00
Dan Egnor
60d8762413 DropBox logging of app & system server crashes.
The crashes are also reported to the event log (and of course the
main logcat, like they always have been).  Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is.  (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
2009-12-21 16:03:19 -08:00
Jean-Baptiste Queru
5237f019b9 am c4978805: merge from open-source master
Merge commit 'c4978805dc8837570701629a9b8098e80804ad34'

* commit 'c4978805dc8837570701629a9b8098e80804ad34':
  ImageButton example doesn't work. Default state should be at the last.
  Time.parse3339 range checking and proper 'sec-frac' skip
2009-12-21 15:52:57 -08:00
Jean-Baptiste Queru
c4978805dc merge from open-source master 2009-12-21 15:32:25 -08:00
Dianne Hackborn
de2606dcd3 Don't perform app transition of the app is not currently visible.
Yet more special casing for the window manager...  try really hard,
if we are performing an activity transition that is behind an
opaque window (like say the lock screen or status bar) to just not
do it.  And, just as important, do a reasonable transition away from
whatever is on top.

Examples:

- If the lock screen is up, and you get a call or press the
  emergency dialer button, we fade from the lock screen to the
  new UI, instead of fading to the animation going on between
  the old and new.

- If you are in something hiding the lock screen, like the
  in-call screen, and that is hidden, then fade back to the
  lock screen.

- If you select an item from the status bar, then have the
  new item displayed behind it as the status bar rolls up
  rather than seeing a second animation.  (In fact this can't
  always be done because we may not start the transition to
  the new thing until the status bar is already going away.
  But for most cases we can do this with just one anim.)
2009-12-21 15:26:51 -08:00
Android Code Review
f8e104135b Merge change I700e6d4d
* changes:
  Time.parse3339 range checking and proper 'sec-frac' skip
2009-12-21 15:14:02 -08:00
Jeff Sharkey
223bd7af98 Fix javadoc reference to ContactsContract.Contacts. 2009-12-21 14:51:19 -08:00
Jaikumar Ganesh
987c415c83 am f5d2eec4: am 11b97c50: Merge change I551ed729 into eclair
Merge commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38'

* commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38':
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:22:47 -08:00
Jaikumar Ganesh
b58938a0ae am 1aa25597: am 87ed10d7: Merge change I577dd1f3 into eclair
Merge commit '1aa2559797d49fa0c6cf7885c9fed5797e42231f'

* commit '1aa2559797d49fa0c6cf7885c9fed5797e42231f':
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:22:37 -08:00
Jaikumar Ganesh
f5d2eec4fd am 11b97c50: Merge change I551ed729 into eclair
Merge commit '11b97c50e6fb6d723e88eac3c125b60ca42184f7' into eclair-plus-aosp

* commit '11b97c50e6fb6d723e88eac3c125b60ca42184f7':
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:19:50 -08:00
Jaikumar Ganesh
1aa2559797 am 87ed10d7: Merge change I577dd1f3 into eclair
Merge commit '87ed10d78d290f48d382a6e628241da0c61cfb45' into eclair-plus-aosp

* commit '87ed10d78d290f48d382a6e628241da0c61cfb45':
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:19:43 -08:00
Jeff Sharkey
a503f6f7cf Adjust for compatibility mode before setSourceBounds().
When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode.  This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
2009-12-21 14:18:09 -08:00
Android (Google) Code Review
11b97c50e6 Merge change I551ed729 into eclair
* changes:
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:17:15 -08:00
Android (Google) Code Review
87ed10d78d Merge change I577dd1f3 into eclair
* changes:
  Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:16:44 -08:00
Scott Main
afbe1259d7 am 186b94fe: am 74962e56: upload new dev site robots.txt to disallow old tutorial and samples directories (while old pages are still orphaned) and upload new sitemap including new resources pages.
Merge commit '186b94fe60a4cede177bace19b68c72c6f475190'

* commit '186b94fe60a4cede177bace19b68c72c6f475190':
  upload new dev site robots.txt to disallow old tutorial and
2009-12-21 14:08:34 -08:00
Scott Main
186b94fe60 am 74962e56: upload new dev site robots.txt to disallow old tutorial and samples directories (while old pages are still orphaned) and upload new sitemap including new resources pages.
Merge commit '74962e56c5d625fe94a6bfc9cf1acd361382f0b6' into eclair-plus-aosp

* commit '74962e56c5d625fe94a6bfc9cf1acd361382f0b6':
  upload new dev site robots.txt to disallow old tutorial and
2009-12-21 13:46:28 -08:00
Tom Taylor
126b02faee am 497cf2b9: am 6a188713: Merge change I37f5ced1 into eclair-mr2
Merge commit '497cf2b9bf2a67d8e5492c3139624e6363ec59c1'

* commit '497cf2b9bf2a67d8e5492c3139624e6363ec59c1':
  Move various utility classes to android-common
2009-12-21 11:39:10 -08:00
Scott Main
74962e56c5 upload new dev site robots.txt to disallow old tutorial and
samples directories (while old pages are still orphaned) and upload
new sitemap including new resources pages.
2009-12-21 11:32:22 -08:00
Tom Taylor
497cf2b9bf am 6a188713: Merge change I37f5ced1 into eclair-mr2
Merge commit '6a18871355f22bd0f91192e91345f48dff91f71a' into eclair-mr2-plus-aosp

* commit '6a18871355f22bd0f91192e91345f48dff91f71a':
  Move various utility classes to android-common
2009-12-21 11:26:32 -08:00
Dmitri Plotnikov
b4413fa3c6 Clean-up of naming of the new Contact/Name columns
Change-Id: I52316b365c4299dddbfb2972459a37893413bd8b
2009-12-21 10:18:53 -08:00
Android (Google) Code Review
6a18871355 Merge change I37f5ced1 into eclair-mr2
* changes:
  Move various utility classes to android-common
2009-12-21 09:59:25 -08:00
John Joseph
76d2295c8e SIM toolkit: Phone app crashes while reading SIM card
Incorrect log message results in an IllegalFormatConversionException
when trying to print SIMRecords Object as an integer.
2009-12-21 09:30:50 -08:00
John Joseph
83fd7b0d53 frameworks/base: Handle broadcast sms properly
Broadcast SMS does not have teleservice id field. Add
support to identify broadcast SMS based on message type.
2009-12-21 09:28:54 -08:00
Android (Google) Code Review
4845ce3174 Merge change I66a4a6e4
* changes:
  Fix merge conflict markers that accidentally got checked in.
2009-12-21 01:42:43 -08:00
Jack Palevich
66a4a6e45f Fix merge conflict markers that accidentally got checked in.
(They were in a comment, so it wasn't detected by the compiler.)
2009-12-21 17:39:58 +08:00
Android (Google) Code Review
9e285028d9 Merge change I21799450
* changes:
  Fix bug 2325244	screen turns black for a brief period of time
2009-12-20 22:51:43 -08:00
Jack Palevich
21799450ec Fix bug 2325244 screen turns black for a brief period of time
The problem was a black first frame when creating a surface, or a
garbage frame when the surface was resized.

The cause was lack of synchronization between the render thread and the
UI thread. The UI thread would typically return before the render thread
had a chance to draw its first frame.

The fix was to make the UI thread wait until at least one frame had been
rendered by the rendering thread.

The waiting is done in the surfaceChanged method because we know
that surfaceChanged will be called in both the surface created
and surface changed cases.
2009-12-21 14:47:35 +08:00
Grace Kloba
824c82e1eb am fb2fbefd: am 9a67c820: Address the multiple resizing during initializing problem adobe run into.
Merge commit 'fb2fbefd6fa3b6503522dc24214295122c3d4f31'

* commit 'fb2fbefd6fa3b6503522dc24214295122c3d4f31':
  Address the multiple resizing during initializing
2009-12-20 11:37:30 -08:00
Grace Kloba
fb2fbefd6f am 9a67c820: Address the multiple resizing during initializing problem adobe run into.
Merge commit '9a67c82089e43d37f5038c74b0e1dca8edc4ac8a' into eclair-mr2-plus-aosp

* commit '9a67c82089e43d37f5038c74b0e1dca8edc4ac8a':
  Address the multiple resizing during initializing
2009-12-20 11:34:57 -08:00
Grace Kloba
9a67c82089 Address the multiple resizing during initializing
problem adobe run into.

When a child view is created, we first hide it if
the webview is not ready to draw yet. This will avoid
the multiple resizing notification.
2009-12-20 11:33:58 -08:00
Scott Main
0f10c2bd32 am 5508987b: am e4c2a376: Merge change I2703edac into eclair
Merge commit '5508987bfcdd9a441966893ee21c6cf7803c0b49'

* commit '5508987bfcdd9a441966893ee21c6cf7803c0b49':
  docs: add new device features for the uses-feature
2009-12-19 12:36:05 -08:00
Scott Main
5508987bfc am e4c2a376: Merge change I2703edac into eclair
Merge commit 'e4c2a37624612c9708d0767f8643a10502e6887a' into eclair-plus-aosp

* commit 'e4c2a37624612c9708d0767f8643a10502e6887a':
  docs: add new device features for the uses-feature
2009-12-19 12:33:00 -08:00
Android (Google) Code Review
e4c2a37624 Merge change I2703edac into eclair
* changes:
  docs: add new device features for the uses-feature manifest element and edit some other pieces.
2009-12-19 12:30:15 -08:00
James Dong
11b04a6e76 am 122fe7e1: am 4d0e827d: Attempt to fix simular build break. Missing header file stdlib.h for free, malloc, etc
Merge commit '122fe7e10297ce51d63b6076a33573d217f3f1cc'

* commit '122fe7e10297ce51d63b6076a33573d217f3f1cc':
  Attempt to fix simular build break.
2009-12-19 09:03:27 -08:00
James Dong
122fe7e102 am 4d0e827d: Attempt to fix simular build break. Missing header file stdlib.h for free, malloc, etc
Merge commit '4d0e827d0be6085893428b420ec5800f1973a43b' into eclair-mr2-plus-aosp

* commit '4d0e827d0be6085893428b420ec5800f1973a43b':
  Attempt to fix simular build break.
2009-12-19 09:00:17 -08:00
James Dong
4d0e827d0b Attempt to fix simular build break.
Missing header file stdlib.h for free, malloc, etc
2009-12-19 08:53:01 -08:00
James Dong
8852a67e3a am 2473eb4a: am 4e4795c8: Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
Merge commit '2473eb4a33b226758e1f5db322cb8d687ce01602'

* commit '2473eb4a33b226758e1f5db322cb8d687ce01602':
  Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
2009-12-19 08:29:59 -08:00
James Dong
2473eb4a33 am 4e4795c8: Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
Merge commit '4e4795c8c0934eb063048471037ecb8a713e85fd' into eclair-mr2-plus-aosp

* commit '4e4795c8c0934eb063048471037ecb8a713e85fd':
  Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
2009-12-19 08:26:03 -08:00
Scott Main
2703edac00 docs: add new device features for the uses-feature
manifest element and edit some other pieces.
2009-12-19 00:55:18 -08:00