OSDN Git Service

android-x86/frameworks-base.git
14 years agoFix #2269582 Sometimes camera preview screen is truncated
Dianne Hackborn [Fri, 11 Dec 2009 22:51:35 +0000 (14:51 -0800)]
Fix #2269582 Sometimes camera preview screen is truncated

There were a few places in the window manager where we wouldn't cause
a layout after making a window visible.  This would leave it using
whatever size and position it last have since we don't layout windows
when they are not visible.

Also includes a little part I missed in the security issue that
allowed wallpapers to see input on the lock screen.

Change-Id: Icd7e037ad9a67ac936bc7039d87ed68f49502d73

14 years agoMerge change I2ffe306f into eclair
Android (Google) Code Review [Sat, 12 Dec 2009 02:25:21 +0000 (18:25 -0800)]
Merge change I2ffe306f into eclair

* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing

14 years agoFix issue #2304284: contacts/dialer/recentcalls constantly flashing
Dianne Hackborn [Fri, 11 Dec 2009 23:24:33 +0000 (15:24 -0800)]
Fix issue #2304284: contacts/dialer/recentcalls constantly flashing

Make sure the application is always given the most recent configuration
when launcher.  Use the current configuration, instead of whatever happens
to be set by the app, for reporting what it was launched with.

Change-Id: I2ffe306f56cc9092b640546dd0a28d2c29b9c0b3

14 years agoMerge change I6dc8a694 into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 22:54:19 +0000 (14:54 -0800)]
Merge change I6dc8a694 into eclair

* changes:
  Layoutlib: Add a constant for default density value.

14 years agoLayoutlib: Add a constant for default density value.
Xavier Ducrohet [Fri, 11 Dec 2009 22:20:54 +0000 (14:20 -0800)]
Layoutlib: Add a constant for default density value.

Change-Id: I6dc8a694bbdae2385d4e877ea04a6b4325a5719e

14 years agoFix #2320798: Device hang then runtime restart
Christopher Tate [Fri, 11 Dec 2009 20:11:31 +0000 (12:11 -0800)]
Fix #2320798: Device hang then runtime restart

The system_server process is deadlocking between event dispatch and window
manager code.  This change fixes the lock scoping to eliminate the deadlock.

Change-Id: I00f029e4d51d7432119ad3aeec260df215b52546

14 years agofix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is...
Mathias Agopian [Fri, 11 Dec 2009 08:56:10 +0000 (00:56 -0800)]
fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly

When a surface is removed from the screen while it holds a "freeze lock", the
release of that lock happens in the destructor as a "safety net". However, it
doesn't trigger an update at that point.

Make sure that "freeze locks" are released from the transaction at the point
a surface is removed from the screen (if it's not on screen, it shouldn't
prevent the screen to redraw, and therefore cannot hold a freeze lock).
The refresh corresponding to that transaction will pick it up as soon as possible.

14 years agoMerge change I18305fec into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 01:03:30 +0000 (17:03 -0800)]
Merge change I18305fec into eclair

* changes:
  Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.

14 years agofix [2319255] crash in openGL : from the media recorder stress test.
Mathias Agopian [Thu, 10 Dec 2009 23:52:29 +0000 (15:52 -0800)]
fix [2319255] crash in openGL : from the media recorder stress test.

never call eglCreateImageKHR() with a NULL native buffer, which can
happen in OOM conditions.

14 years agoAdd ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples...
Roman Nurik [Thu, 10 Dec 2009 17:42:51 +0000 (09:42 -0800)]
Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.

14 years agoMerge change I24bb662a into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 07:42:13 +0000 (23:42 -0800)]
Merge change I24bb662a into eclair

* changes:
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.

14 years agoFix media player decode function. Bug 2317821.
Dave Sparks [Thu, 10 Dec 2009 04:20:26 +0000 (20:20 -0800)]
Fix media player decode function. Bug 2317821.

There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.

14 years agoAdding screenshots for development/samples/Wiktionary and development/samples/Wiktion...
Trevor Johns [Thu, 10 Dec 2009 04:26:55 +0000 (20:26 -0800)]
Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.

14 years agoMerge change Ia48b3f2a into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:41:04 +0000 (18:41 -0800)]
Merge change Ia48b3f2a into eclair

* changes:
  Fix #2313887: Device doesn't boot after rebooting device...

14 years agoFix #2313887: Device doesn't boot after rebooting device...
Dianne Hackborn [Thu, 10 Dec 2009 02:26:21 +0000 (18:26 -0800)]
Fix #2313887: Device doesn't boot after rebooting device...

...in setup wizard ->Wifi setup screen.

We were stopped waiting for the wallpaper to draw, which it would never do
because it had been obscured and thus hidden.

Change-Id: Ia48b3f2a46ca970f143cbaee99f5f2a054378986

14 years agoMerge change I06398298 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:20:21 +0000 (18:20 -0800)]
Merge change I06398298 into eclair

* changes:
  docs: add images used in BT developer guide.

14 years agodocs: add images used in BT developer guide.
Scott Main [Thu, 10 Dec 2009 02:11:16 +0000 (18:11 -0800)]
docs: add images used in BT developer guide.

needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b

14 years agoMerge change Ie4cdb5a3 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:09:49 +0000 (18:09 -0800)]
Merge change Ie4cdb5a3 into eclair

* changes:
  Add --custom-package to aapt

14 years agodocs: add the Bluetooth developer guide,
Scott Main [Thu, 10 Dec 2009 00:07:39 +0000 (16:07 -0800)]
docs: add the Bluetooth developer guide,
and make some revisions to the BT javadocs

14 years agoMerge change I3c299167 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:59:07 +0000 (17:59 -0800)]
Merge change I3c299167 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change I54400322 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:51:34 +0000 (17:51 -0800)]
Merge change I54400322 into eclair

* changes:
  Adding screenshots for development/samples/ContactManager documentation.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 10 Dec 2009 01:06:04 +0000 (17:06 -0800)]
Import revised translations.  DO NOT MERGE

14 years agoMerge change Icced7a09 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:00:09 +0000 (17:00 -0800)]
Merge change Icced7a09 into eclair

* changes:
  Maintain a list of all Bluetooth docks.

14 years agoMaintain a list of all Bluetooth docks.
Jaikumar Ganesh [Wed, 9 Dec 2009 20:09:21 +0000 (12:09 -0800)]
Maintain a list of all Bluetooth docks.

With this change, isBluetoothDock API can be used anytime and is not in tied
to dock state. The Dock State is a sticky intent so users
can query for the dock state.

Dr No: Eastham
Bug: 2133530

14 years agofix [2315900] Monochrome camera preview screen after launching camera
Mathias Agopian [Wed, 9 Dec 2009 22:32:56 +0000 (14:32 -0800)]
fix [2315900] Monochrome camera preview screen after launching camera

this was introduced by a recent change. when we try to figure out the size of
the yuv->rgb temporary buffer, the output resolution has not been computed yet
and an invalid buffer size is used. most of the time the allocation fails
and the system reverts to "standard" GL will uses onle the Y plane.

the allocation of the temporary buffer is moved to onDraw(), the first
time it is called, by that time, the window is positioned properly.

14 years agoMerge change I0f73439a into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 19:46:50 +0000 (11:46 -0800)]
Merge change I0f73439a into eclair

* changes:
  Partially fix bug 2111240 Detect docking / undocking event by reporting to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY values. This CL is complemented by an update of the APM to take into account the FOR_DOCK usage.

14 years agoMerge change Id22c0137 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 19:07:16 +0000 (11:07 -0800)]
Merge change Id22c0137 into eclair

* changes:
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.

14 years agoThrottle low priority RS threads by sleeping once per frame to avoid starving other...
Jason Sams [Wed, 9 Dec 2009 19:05:45 +0000 (11:05 -0800)]
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.

14 years agoMerge change Ib548dbb2 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 09:39:23 +0000 (01:39 -0800)]
Merge change Ib548dbb2 into eclair

* changes:
  improve video performance to minimize the tearing effect seen in 720p movies

14 years agoAdding screenshots for development/samples/ContactManager documentation.
Trevor Johns [Tue, 24 Nov 2009 13:14:47 +0000 (05:14 -0800)]
Adding screenshots for development/samples/ContactManager documentation.

14 years agoimprove video performance to minimize the tearing effect seen in 720p movies
Mathias Agopian [Wed, 9 Dec 2009 03:29:38 +0000 (19:29 -0800)]
improve video performance to minimize the tearing effect seen in 720p movies

always rescale videos to their target size using copybit during yuv->rgb
conversion. this improves performance of the GPU pass and doesn't require
linear filtering to be enabled. Also always use 16-bits buffers.

the average processing time for 720p dropped from ~50ms to ~30ms

14 years agoMerge change Ifd95b9f5 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 02:40:37 +0000 (18:40 -0800)]
Merge change Ifd95b9f5 into eclair

* changes:
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.

14 years agoFix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
Dianne Hackborn [Tue, 8 Dec 2009 23:51:43 +0000 (15:51 -0800)]
Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.

This is a quick and dirty hack to not deliver touch events to the wallpaper when
they are being sent to the keyguard.  Perhaps we should have a separate window
flag for this, but...  bleah.  Maybe later.  Or maybe I'll use that secure flag.
Or something.

Change-Id: Ifd95b9f5b10db24a0854a93b925a833b24331b4c

14 years agoPorting change I064698b3 from mr2 to eclair.
Robert Greenwalt [Tue, 8 Dec 2009 23:37:47 +0000 (15:37 -0800)]
Porting change I064698b3 from mr2 to eclair.

Add support for "HANGED" driver state - we'll reboot the driver when requested (by the driver).

bug: 2310372

14 years agoMerge change If990cab0 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 22:07:50 +0000 (14:07 -0800)]
Merge change If990cab0 into eclair

* changes:
  Make sure to acknowledge stale broadcasts

14 years agoPaper over 2275704 by not having LotsOfApps installed on the monkeys builds.
Joe Onorato [Tue, 8 Dec 2009 22:02:09 +0000 (14:02 -0800)]
Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.

14 years agoMake sure to acknowledge stale broadcasts
Christopher Tate [Tue, 8 Dec 2009 21:48:45 +0000 (13:48 -0800)]
Make sure to acknowledge stale broadcasts

If a broadcast arrives at a process but the receiver has been unregistered in
the interval between dispatch and its arrival on the receiving process's side,
we were simply dropping the broadcast entirely, leading to spurious ANRs and
potentially issues involving future broadcasts being timed out incorrectly.  Fix
this by making sure to correctly 'finish' a broadcast even when the recipient
app no longer has any receiver that matches the broadcast's profile.

Change-Id: If990cab021a26668052cb536753f6c308d80a5b4

14 years agoUpdating list of standard Intents in android.content.Intent
Trevor Johns [Fri, 20 Nov 2009 20:54:57 +0000 (12:54 -0800)]
Updating list of standard Intents in android.content.Intent
documentation.

14 years agoPartially fix bug 2111240 Detect docking / undocking event by reporting
Jean-Michel Trivi [Tue, 8 Dec 2009 02:40:56 +0000 (18:40 -0800)]
Partially fix bug 2111240 Detect docking / undocking event by reporting
to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK
which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY
values. This CL is complemented by an update of the APM to take into
account the FOR_DOCK usage.

14 years agoDocument that some parameters will not be null and fix getSupportedPictureFormats.
Wu-cheng Li [Fri, 4 Dec 2009 11:59:18 +0000 (19:59 +0800)]
Document that some parameters will not be null and fix getSupportedPictureFormats.

14 years agoMerge change I705b1d33 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 01:17:47 +0000 (17:17 -0800)]
Merge change I705b1d33 into eclair

* changes:
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

14 years agoMerge change Ia5ef9acd into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 00:59:46 +0000 (16:59 -0800)]
Merge change Ia5ef9acd into eclair

* changes:
  remove an old STOPSHIP comment

14 years agoMerge change I38227501 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:49:50 +0000 (15:49 -0800)]
Merge change I38227501 into eclair

* changes:
  Add API to get Active Sinks.

14 years agoGpsLocationProvider: Do not release wakelock until the GPS engine is fully off
Mike Lockwood [Mon, 7 Dec 2009 23:43:36 +0000 (18:43 -0500)]
GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

Change-Id: I705b1d33af2d70aa1084cca8f6280fade9461d2c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change Ib097fbbf into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:27:19 +0000 (15:27 -0800)]
Merge change Ib097fbbf into eclair

* changes:
  DO NOT MERGE  Reverting change I53e91db7.

14 years agoMerge change I204e4787 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:27:02 +0000 (15:27 -0800)]
Merge change I204e4787 into eclair

* changes:
  Fix updating Bluetooth icon on status bar and for Wifi.

14 years agoDO NOT MERGE Reverting change I53e91db7.
Robert Greenwalt [Mon, 7 Dec 2009 23:20:50 +0000 (15:20 -0800)]
DO NOT MERGE  Reverting change I53e91db7.

Accidentally submitted into eclair instead of eclair-mr2.
I apparently rebased my mr2 working dir to eclair by mistake.

Do not merge this so the desired change will survive on mr2 as intended.

bug: 2265222

14 years agoAdd API to get Active Sinks.
Jaikumar Ganesh [Fri, 4 Dec 2009 23:10:54 +0000 (15:10 -0800)]
Add API to get Active Sinks.

Allow incoming connections only when there are no active sinks.

Dr No: Eastham
Bug: 2133530

14 years agoFix updating Bluetooth icon on status bar and for Wifi.
Jaikumar Ganesh [Mon, 7 Dec 2009 18:58:18 +0000 (10:58 -0800)]
Fix updating Bluetooth icon on status bar and for Wifi.

Status bar uses the SINK_STATE_CHANGE intent to determine the icon.
This intent also has the device. Thus, we can get this intent for any
device and we update the icon wrongly. The same problem is with Wifi.

This was not commonly observed till now, but with the car dock changes
its easy to reproduce as we can get an incoming connection from the
car's bluetooth system. For Wifi, this will cause coexistance issues
especially with desk docks.

Dr No: Eastham
Bug: 2133530

14 years agoMerge change I53e91db7 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:04:52 +0000 (15:04 -0800)]
Merge change I53e91db7 into eclair

* changes:
  Filter out minor Connectivity Notifications.

14 years agoremove an old STOPSHIP comment
Fred Quintana [Mon, 7 Dec 2009 22:23:33 +0000 (14:23 -0800)]
remove an old STOPSHIP comment

14 years agoFilter out minor Connectivity Notifications.
Robert Greenwalt [Mon, 7 Dec 2009 19:33:18 +0000 (11:33 -0800)]
Filter out minor Connectivity Notifications.

Don't send a connectivity change notification if the change is in detailed state only.
IE, Disconnect/Idle -> Disconnect/Scanning should not trigger a connection change
notification.

bug: 2265222

14 years agoMerge change I771bebb9 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 20:55:38 +0000 (12:55 -0800)]
Merge change I771bebb9 into eclair

* changes:
  Add Java exceptions to catch RS calls with no context or no surface.

14 years agoAdd Java exceptions to catch RS calls with no context or no surface.
Jason Sams [Mon, 7 Dec 2009 20:40:12 +0000 (12:40 -0800)]
Add Java exceptions to catch RS calls with no context or no surface.

14 years agoFix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
Eric Laurent [Mon, 7 Dec 2009 18:53:10 +0000 (10:53 -0800)]
Fix issue  2306779: Runtime restart - Init failed at android.media.ToneGenerator.

The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer.

All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting.

The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.

14 years agoMerge change I9cc489a2 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 19:00:54 +0000 (11:00 -0800)]
Merge change I9cc489a2 into eclair

* changes:
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

14 years agoMerge change Ibb9b1de1 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 18:51:16 +0000 (10:51 -0800)]
Merge change Ibb9b1de1 into eclair

* changes:
  1) Capture the start memory before the test started 2) Report the mem diff to zero if it is negative.

14 years agoFix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent ...
Eric Laurent [Sat, 5 Dec 2009 13:20:01 +0000 (05:20 -0800)]
Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e
so that an invalid IO handle (0) is returned in case of failure.
Applied the same correction to openOutput().
Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes
the record start to fail.
Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function.

Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account
and not change mRecordingState to RECORDSTATE_RECORDING if start fails.

14 years agoRevert "When using MDP, we needed to use a texture for diming."
Dima Zavin [Mon, 7 Dec 2009 08:17:06 +0000 (00:17 -0800)]
Revert "When using MDP, we needed to use a texture for diming."

This reverts commit bf0c320afbf6bf2441916755ecb443b64afbe73f.

14 years agoMerge change Ibe1c422a into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 22:59:43 +0000 (14:59 -0800)]
Merge change Ibe1c422a into eclair

* changes:
  If the usage stats file doesn't exist in the first place there is no need to backup and short return.

14 years ago1) Capture the start memory before the test started
Yu Shan Emily Lau [Fri, 4 Dec 2009 22:13:00 +0000 (14:13 -0800)]
1) Capture the start memory before the test started
2) Report the mem diff to zero if it is negative.

14 years agoIf the usage stats file doesn't exist in the first place there is no need to
Suchi Amalapurapu [Fri, 4 Dec 2009 20:31:13 +0000 (12:31 -0800)]
If the usage stats file doesn't exist in the first place there is no need to
backup and short return.

14 years agoMerge change I397b6a93 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 20:51:44 +0000 (12:51 -0800)]
Merge change I397b6a93 into eclair

* changes:
  Don't accidentally signal multiple exceptions in setThreadPriority()

14 years agoImages.Media.DATE_TAKEN should be in milliseconds.
Ray Chen [Fri, 4 Dec 2009 09:47:07 +0000 (01:47 -0800)]
Images.Media.DATE_TAKEN should be in milliseconds.
http://b/2297371

14 years agoDon't accidentally signal multiple exceptions in setThreadPriority()
Christopher Tate [Fri, 4 Dec 2009 19:05:12 +0000 (11:05 -0800)]
Don't accidentally signal multiple exceptions in setThreadPriority()

After signalling an exception due to set_sched_policy() failing (probably
because the thread in question had exited before this function was called), we
proceeded to call setpriority() anyway, and raised *another* exception when it
also failed.  We don't do this any more; we just bail after signalling the first
exception.

Change-Id: I397b6a93c73d3f0870176e26759f2bec33e56205

14 years agoMerge change I8c5f2fc3 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 18:22:47 +0000 (10:22 -0800)]
Merge change I8c5f2fc3 into eclair

* changes:
  Fix invalidate code path (#2273209).

14 years agoFix invalidate code path (#2273209).
Romain Guy [Fri, 4 Dec 2009 01:13:02 +0000 (17:13 -0800)]
Fix invalidate code path (#2273209).

Cached views would, in some situations, not update if they contained an
animating child. This was caused by clearing the dirty cache flag too
early in View.buildDrawingCache().

Approved by Dr. No mcleron.

Change-Id: I8c5f2fc3e6605657e0da625d60d50b55bb133666

14 years agoMerge change I8b63ab66 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 06:14:19 +0000 (22:14 -0800)]
Merge change I8b63ab66 into eclair

* changes:
  Better animation for sliding widget.

14 years agoMerge change Iaa7edda4 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 01:10:59 +0000 (17:10 -0800)]
Merge change Iaa7edda4 into eclair

* changes:
  don't reschedule syncs that failed with a tooManyRetries error

14 years agoMerge change Ic73ec39b into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 00:15:46 +0000 (16:15 -0800)]
Merge change Ic73ec39b into eclair

* changes:
  DO NOT MERGE. Implement WAR which should prevent the white square bug from appearing on user devices.  If we see a 0 texture id during bind for rendering, attempt to re-upload.  If this fails log debug info and restart the app.

14 years agoMerge change Ia70bd8c4 into eclair
Android (Google) Code Review [Fri, 4 Dec 2009 00:06:52 +0000 (16:06 -0800)]
Merge change Ia70bd8c4 into eclair

* changes:
  add BluetoothChat sample app to the dev guide

14 years agoDO NOT MERGE. Implement WAR which should prevent the white square bug from appearing...
Jason Sams [Thu, 3 Dec 2009 23:43:18 +0000 (15:43 -0800)]
DO NOT MERGE. Implement WAR which should prevent the white square bug from appearing on user devices.  If we see a 0 texture id during bind for rendering, attempt to re-upload.  If this fails log debug info and restart the app.

14 years agoadd BluetoothChat sample app to the dev guide
Scott Main [Wed, 2 Dec 2009 23:42:30 +0000 (15:42 -0800)]
add BluetoothChat sample app to the dev guide

14 years agoMerge change I00d0b54a into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 23:30:23 +0000 (15:30 -0800)]
Merge change I00d0b54a into eclair

* changes:
  surfaceflinger: remove un-cached buffer hack for SGX

14 years agodon't reschedule syncs that failed with a tooManyRetries error
Fred Quintana [Thu, 3 Dec 2009 22:18:58 +0000 (14:18 -0800)]
don't reschedule syncs that failed with a tooManyRetries error

14 years agoAdd API level 7.
Dianne Hackborn [Thu, 3 Dec 2009 22:13:53 +0000 (14:13 -0800)]
Add API level 7.

Change-Id: Id87dc724f0758ce0faee9c00621d4af6cb9f5bd9

14 years agosurfaceflinger: remove un-cached buffer hack for SGX
Erik Gilling [Thu, 3 Dec 2009 22:08:19 +0000 (14:08 -0800)]
surfaceflinger: remove un-cached buffer hack for SGX

Signed-off-by: Erik Gilling <konkers@android.com>
14 years agobase: process: Abort setting the process group if one of the threads fails to switch
San Mehat [Thu, 3 Dec 2009 20:21:28 +0000 (12:21 -0800)]
base: process: Abort setting the process group if one of the threads fails to switch

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge change I79420b02 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 19:49:38 +0000 (11:49 -0800)]
Merge change I79420b02 into eclair

* changes:
  Add support for Car Dock.

14 years agoMerge change I33e0f00e into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 19:40:22 +0000 (11:40 -0800)]
Merge change I33e0f00e into eclair

* changes:
  docs: fix markup error in xml sample

14 years agoAdd support for Car Dock.
Jaikumar Ganesh [Thu, 3 Dec 2009 01:28:38 +0000 (17:28 -0800)]
Add support for Car Dock.

Dr No: Eastham
Bug: 2133530

14 years agodocs: fix markup error in xml sample
Scott Main [Thu, 3 Dec 2009 19:33:25 +0000 (11:33 -0800)]
docs: fix markup error in xml sample

14 years agoMerge change I9ef88863 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 18:59:25 +0000 (10:59 -0800)]
Merge change I9ef88863 into eclair

* changes:
  Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was turned off by the proximity sensor.

14 years agoMerge change Id5fa58cf into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 18:24:18 +0000 (10:24 -0800)]
Merge change Id5fa58cf into eclair

* changes:
  Fix timezone issue to comply with EXIF standard.

14 years agoFix lock screen layouts with emergency call buttons.
Daniel Sandler [Wed, 2 Dec 2009 21:15:37 +0000 (16:15 -0500)]
Fix lock screen layouts with emergency call buttons.

Fixes http://b/2259529
Partially fixes http://b/2260798

Change-Id: Iabb3f74dc2a331810ae8ff44ebb319fe25d217ef

14 years agoAdd WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was turned...
Mike Lockwood [Thu, 3 Dec 2009 13:40:18 +0000 (08:40 -0500)]
Add WindowManagerPolicy.OFF_BECAUSE_OF_PROX_SENSOR to indicate screen was turned off by the proximity sensor.

Part of a fix for bug b/2300622 (Proximity sensor always blows up the lock screen while in call)

Change-Id: I9ef888638b19540a78a34507d52ff522f505102f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDocument that stopPreview is not needed before takePicture.
Wu-cheng Li [Wed, 2 Dec 2009 10:57:29 +0000 (18:57 +0800)]
Document that stopPreview is not needed before takePicture.

Also, applications can call startPreview after jpeg callback is received.

http://b/2292461

14 years agoMake the notification panel send the position as well.
Joe Onorato [Thu, 3 Dec 2009 07:26:27 +0000 (23:26 -0800)]
Make the notification panel send the position as well.

14 years agoMake RemoteViews also set the sourceBounds in the PendingIntent.
Joe Onorato [Thu, 3 Dec 2009 07:04:55 +0000 (23:04 -0800)]
Make RemoteViews also set the sourceBounds in the PendingIntent.

14 years agoAdd a new field to Intent that allows you to give a hint about what on screen caused...
Joe Onorato [Thu, 3 Dec 2009 05:13:17 +0000 (21:13 -0800)]
Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
be sent.

14 years agoMerge change Ica5efffe into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 05:01:20 +0000 (21:01 -0800)]
Merge change Ica5efffe into eclair

* changes:
  Fix bug 2216426: correct the hdpi star assets for RatingBar.

14 years agoFix bug 2216426: correct the hdpi star assets for RatingBar.
Jack Veenstra [Thu, 3 Dec 2009 04:14:50 +0000 (20:14 -0800)]
Fix bug 2216426: correct the hdpi star assets for RatingBar.

14 years agoMerge change I7b9328c7 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 02:51:19 +0000 (18:51 -0800)]
Merge change I7b9328c7 into eclair

* changes:
  Fix issue #2300232: Bugs in resolving conflicting pointers

14 years agoFix issue #2300232: Bugs in resolving conflicting pointers
Dianne Hackborn [Thu, 3 Dec 2009 02:42:39 +0000 (18:42 -0800)]
Fix issue #2300232: Bugs in resolving conflicting pointers

Change-Id: I7b9328c7a1c4f6b731e64cdca2ed9de71b84587f

14 years agoMerge change Iaa6e73a6 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 02:21:49 +0000 (18:21 -0800)]
Merge change Iaa6e73a6 into eclair

* changes:
  Revive backup tests

14 years agoRevive backup tests
Omari Stephens [Thu, 3 Dec 2009 01:39:27 +0000 (17:39 -0800)]
Revive backup tests

14 years agoMerge change Id86beb99 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 01:09:46 +0000 (17:09 -0800)]
Merge change Id86beb99 into eclair

* changes:
  fix [2291418] Camera preview cannot work in Emulator

14 years agoMerge change Icc49422a into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 00:24:15 +0000 (16:24 -0800)]
Merge change Icc49422a into eclair

* changes:
  Implement new notification LED blinking logic:

14 years agofix [2291418] Camera preview cannot work in Emulator
Mathias Agopian [Thu, 3 Dec 2009 00:23:11 +0000 (16:23 -0800)]
fix [2291418] Camera preview cannot work in Emulator

The image buffer used by glTexImage2d() would be uninitialized when no copybit engine
can be found.
We now always initialize images, since the abscence of copybit is not necessarily fatal.

14 years agoMerge change If1f0bf33 into eclair
Android (Google) Code Review [Thu, 3 Dec 2009 00:17:54 +0000 (16:17 -0800)]
Merge change If1f0bf33 into eclair

* changes:
  Some work on issue #2286804: sometimes text field doesn't accept input