OSDN Git Service

android-x86/frameworks-base.git
13 years agoEthernet: initialize state depends on interfaces
Chih-Wei Huang [Fri, 25 Feb 2011 09:26:28 +0000 (17:26 +0800)]
Ethernet: initialize state depends on interfaces

If no interface found, disable Ethernet on initialization.

13 years agocamera: fix an uninitialized variable
Suman Saraf [Fri, 11 Feb 2011 02:33:25 +0000 (10:33 +0800)]
camera: fix an uninitialized variable

13 years agocamera: define CAM_SIZE
Chih-Wei Huang [Fri, 11 Feb 2011 02:31:22 +0000 (10:31 +0800)]
camera: define CAM_SIZE

13 years agodrop keyevents when Surfaceflinger give up the screen
Chih-Wei Huang [Tue, 8 Feb 2011 08:39:15 +0000 (16:39 +0800)]
drop keyevents when Surfaceflinger give up the screen

It fixes the 100% CPU usage problem switching to Alt-F1 console.

13 years agores: set default disable softkeyboard to be true
Patrick Ferguson [Mon, 31 Jan 2011 09:18:11 +0000 (17:18 +0800)]
res: set default disable softkeyboard to be true

13 years agochange the default screen timeout to 10 minutes
Chih-Wei Huang [Fri, 28 Jan 2011 10:18:07 +0000 (18:18 +0800)]
change the default screen timeout to 10 minutes

13 years agores: add Chinese translations for power off dialog android-x86-2.2
Chih-Wei Huang [Thu, 13 Jan 2011 07:13:46 +0000 (15:13 +0800)]
res: add Chinese translations for power off dialog

13 years agoDefine keys (in database) for power off dialog/confirmation settings
kwok [Sat, 4 Dec 2010 17:54:53 +0000 (18:54 +0100)]
Define keys (in database) for power off dialog/confirmation settings

13 years agoAdded setting to disable screen lock
kwok.wong@live.nl [Wed, 24 Nov 2010 09:28:14 +0000 (10:28 +0100)]
Added setting to disable screen lock

13 years agocamera: fix two crashing issues
Chih-Wei Huang [Thu, 25 Nov 2010 06:55:48 +0000 (14:55 +0800)]
camera: fix two crashing issues

The patch sets KEY_SUPPORTED_PREVIEW_SIZES for V4L2Camera to avoid
crashing in preview mode.

Besides, adds a helper class MemoryStream to compress captured picture
to JPEG in memory, instead of using a temporary file.
Android doesn't provide a reliable way to create a temporary file.

13 years agoAdd Wysie's colors and canadiancow's battery percentage.
Jef Oliver [Fri, 2 Jul 2010 18:33:58 +0000 (12:33 -0600)]
Add Wysie's colors and canadiancow's battery percentage.

Also modified canadiancow's battery percentage to never show 100 since it wraps wierd on the dream.

13 years agoBatteryService: update battery status periodically
Stephane Lajeunesse [Mon, 22 Nov 2010 07:07:16 +0000 (15:07 +0800)]
BatteryService: update battery status periodically

13 years agoenable mplayer as the default player if BUILD_WITH_MPLAYER is true
Owen Kwon [Mon, 11 Oct 2010 02:53:42 +0000 (11:53 +0900)]
enable mplayer as the default player if BUILD_WITH_MPLAYER is true

13 years agoInputDevice: adjust orientation according to ro.sf.hwrotation
Chih-Wei Huang [Wed, 10 Nov 2010 08:19:54 +0000 (16:19 +0800)]
InputDevice: adjust orientation according to ro.sf.hwrotation

The touchscreen events are not rotated by ro.sf.hwrotation.
The patch fixes this issue.

13 years agomouse: fix cursor movements after rotations
Chih-Wei Huang [Wed, 10 Nov 2010 07:38:46 +0000 (15:38 +0800)]
mouse: fix cursor movements after rotations

13 years agoFix the animation disappeared issue
Chih-Wei Huang [Wed, 3 Nov 2010 07:33:00 +0000 (15:33 +0800)]
Fix the animation disappeared issue

The animation movie disappears due to the incorrect logic of
commit c11f46259a1e8f4e7e58925aefd1ed9eaf57a7fc.

Change-Id: I9c0eac2bf2950fe20e931da367036ddf38d81f52

13 years agoframeworks: WindowManagerService: Fix out of memory for surface error
Kan-Ru Chen [Mon, 4 Oct 2010 11:06:52 +0000 (19:06 +0800)]
frameworks: WindowManagerService: Fix out of memory for surface error

Surface.openTransaction and Surface.closeTransaction is not reentrant.
If we are updating the mouse surface when the WindowManager is also
updating the surfaces, the global transaction can be closed too early
by the other side. The results are random runtime exceptions and
unstable surface state.

Move the mouse surface update logic to the big surfaces update
loop, together with the other surfaces update logic.

13 years agosurfaceflinger: fix video playback no full screen issue
Chih-Wei Huang [Fri, 22 Oct 2010 09:12:48 +0000 (17:12 +0800)]
surfaceflinger: fix video playback no full screen issue

The video playback is not full screen due to the incorrect
workabound commit 8a0ecc74c88158d9b8affbbd8cc85ca20fefafa6.

13 years agosurfaceflinger: Auth DRM magic.
Chia-I Wu [Mon, 11 Oct 2010 05:19:41 +0000 (13:19 +0800)]
surfaceflinger: Auth DRM magic.

Change-Id: I8948633502695491c97cfc31b1563f25e5c7e65a

13 years agosurfaceflinger: a workaround to fix the slow GUI issue on x86
Chih-Wei Huang [Wed, 29 Sep 2010 11:25:29 +0000 (19:25 +0800)]
surfaceflinger: a workaround to fix the slow GUI issue on x86

13 years agoadd Ethernet support to Android
Yi Sun [Fri, 24 Sep 2010 08:03:43 +0000 (16:03 +0800)]
add Ethernet support to Android

13 years agobootanimation: Don't open non-existing bootanimation.zip
Jim Huang [Mon, 9 Aug 2010 19:12:15 +0000 (03:12 +0800)]
bootanimation: Don't open non-existing bootanimation.zip

While booting from AOSP image, logcat always complains as following:
W/zipro   ( 1001): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro   ( 1001): Unable to open zip '/system/media/bootanimation.zip':
No such file or directory

This patch avoids opening non-existing files.

Change-Id: I54cc03f125a5e16dbc930515bd2e43c623b63f8f

13 years agoignore any exception in requestLocationUpdates
Chih-Wei Huang [Thu, 2 Sep 2010 07:01:28 +0000 (15:01 +0800)]
ignore any exception in requestLocationUpdates

13 years agoadd software mouse cursor
Chih-Wei Huang [Tue, 6 Jul 2010 02:22:22 +0000 (10:22 +0800)]
add software mouse cursor

This is a rework of mouse cursor for Froyo based on Yi's work
and merges all patches into one. Also incorporates the button
features from 0xdroid:

  Menu: Middle button
  Back: Right button

This is more convenient.

13 years agoOnly monitor recognized uevent devices.
Sean McNeil [Wed, 23 Jun 2010 09:00:37 +0000 (16:00 +0700)]
Only monitor recognized uevent devices.

system_server can potentially monitor uevent devices that are
of no use to it. For instance, an accelerometer implementation
as uevents. This would cause the process to be busy when
unnecessary. If a device cannot be classified, don't monitor it.

Change-Id: I489cc453bdce7cb376102cba67a9ea470e13292d

13 years agolibRS: initEGL according to GL version
Chih-Wei Huang [Sun, 18 Apr 2010 12:35:47 +0000 (20:35 +0800)]
libRS: initEGL according to GL version

Do not use GL2 for libagl since it doesn't implement EGL_OPENGL_ES2_BIT.

See http://code.google.com/p/0xdroid/issues/detail?id=76

13 years agoDisable dithering by default for the sake of performance.
Kan-Ru Chen [Fri, 2 Apr 2010 09:18:16 +0000 (17:18 +0800)]
Disable dithering by default for the sake of performance.

This is a workaround for the performance drop on Eclair. Enabling
dithering prevents the fast path in software renderer implementation
thus the performance drops drastically.

Disabling dithering has small impact on the rendering result, but the
performance boosts a lot.

13 years agoadd a global flag to prevent the EventHub to push events to upper layer
Yi Sun [Mon, 22 Feb 2010 05:18:18 +0000 (21:18 -0800)]
add a global flag to prevent the EventHub to push events to upper layer

By doing this, the keyevents will not be pushed to Android when
Surfaceflinger give up the screen (Alt-F1 is used).

The idea is based on the original code from
Filippo Pagin <filippo.pagin@gmail.com>.

13 years agomake camcorder ok
Swan Wang [Wed, 20 Jan 2010 09:59:50 +0000 (17:59 +0800)]
make camcorder ok

13 years agomake audio recorder ok
Wallace Wang [Wed, 20 Jan 2010 09:35:18 +0000 (17:35 +0800)]
make audio recorder ok

13 years agochange the keyword "phone" to "device"
Yi Sun [Wed, 6 Jan 2010 23:30:56 +0000 (15:30 -0800)]
change the keyword "phone" to "device"

13 years agochange the original orientation.
Yi Sun [Sun, 13 Dec 2009 07:12:59 +0000 (23:12 -0800)]
change the original orientation.

13 years agoAdd battery status support for PC and VMs
Yi Sun [Fri, 4 Dec 2009 21:14:49 +0000 (13:14 -0800)]
Add battery status support for PC and VMs

13 years agoInputDevice: read calibration settings from pointercal
Bryan Hundven [Wed, 2 Dec 2009 05:45:28 +0000 (21:45 -0800)]
InputDevice: read calibration settings from pointercal

Patch from git.koolu.org by Sean McNeals
(applied in koolu freerunner by Brian Code)

Updated for Froyo by Chih-Wei Huang

13 years agoadd new wallpaper
Yi Sun [Tue, 17 Nov 2009 19:48:06 +0000 (11:48 -0800)]
add new wallpaper

13 years agoinstalld: fix disk_free issue
Yi Sun [Tue, 17 Nov 2009 02:28:20 +0000 (18:28 -0800)]
installd: fix disk_free issue

When the available free size of a partition is bigger than 2G,
the disk_free function does not work correctly.
Fixed it by the correct variable type.

13 years agoadd surport for the key between SHIFT_LEFT and KEY_Z in some keyboards
Swan_Wang [Thu, 12 Nov 2009 06:14:24 +0000 (14:14 +0800)]
add surport for the key between SHIFT_LEFT and KEY_Z in some keyboards

13 years agoenable keyboard layout selection
Kelly.Blue [Thu, 12 Nov 2009 06:07:02 +0000 (14:07 +0800)]
enable keyboard layout selection

13 years agoadd support for ctrl and cap keys
Yi Sun [Wed, 11 Nov 2009 09:01:59 +0000 (01:01 -0800)]
add support for ctrl and cap keys

13 years agoTouchFeature: Add the touch features to do Home/Menu/Back functions
Swan_Wang [Tue, 10 Nov 2009 06:01:52 +0000 (14:01 +0800)]
TouchFeature: Add the touch features to do Home/Menu/Back functions

The changes add the following touch features to the status bar. Touch
the right corner of the status bar to enable or disable the functions.

* Home: Touch the status bar.
* Menu: Touch the status bar from left to right.
* Back: Touch the status bar from right to left.

13 years agoadd Eee PC hot keys support for mute, sleep and wifi
Yi Sun [Thu, 5 Nov 2009 17:54:13 +0000 (09:54 -0800)]
add Eee PC hot keys support for mute, sleep and wifi

13 years agoadd an option to enable/disable software keyboard
Kelly2.Blue [Mon, 19 Oct 2009 18:45:22 +0000 (11:45 -0700)]
add an option to enable/disable software keyboard

13 years agofix the airplan mode by adding the command simulator
Wallace Wang [Fri, 16 Oct 2009 22:38:46 +0000 (15:38 -0700)]
fix the airplan mode by adding the command simulator

13 years agoadd reboot item to power button dialog
Yi Sun [Thu, 24 Sep 2009 23:36:41 +0000 (16:36 -0700)]
add reboot item to power button dialog

13 years agodisable compatibility mode (#issue 31)
Chih-Wei Huang [Fri, 28 Aug 2009 03:08:48 +0000 (11:08 +0800)]
disable compatibility mode (#issue 31)

13 years agoadd navigation hot keys for browser (like firefox & IE)
Chih-Wei Huang [Fri, 14 Aug 2009 10:25:18 +0000 (18:25 +0800)]
add navigation hot keys for browser (like firefox & IE)

PageUp / PageDown
Alt-Left/Right  - go back/forward a page

13 years agoadd keycodes for PageUp and PageDown
Chih-Wei Huang [Fri, 14 Aug 2009 10:24:34 +0000 (18:24 +0800)]
add keycodes for PageUp and PageDown

13 years agofixed a possible crash on WifiStateTracker
Yi Sun [Thu, 6 Aug 2009 01:42:52 +0000 (18:42 -0700)]
fixed a possible crash on WifiStateTracker

13 years agoadd wifi support for x86
Yi Sun [Fri, 24 Jul 2009 23:51:43 +0000 (16:51 -0700)]
add wifi support for x86

13 years agoadd Eee Top touchscreen support
Chih-Wei Huang [Fri, 10 Jul 2009 11:09:59 +0000 (19:09 +0800)]
add Eee Top touchscreen support

13 years agomerge the v4l2 camera works from android-m912 project by Niels Keeman
Chih-Wei Huang [Wed, 30 Jun 2010 10:56:01 +0000 (18:56 +0800)]
merge the v4l2 camera works from android-m912 project by Niels Keeman

13 years agoprovide link to backup guide above the fold
Scott Main [Mon, 20 Sep 2010 21:11:18 +0000 (14:11 -0700)]
provide link to backup guide above the fold

Change-Id: I84ad3fbd4c3c7793fbf330d6a2be5cab611a9b26

13 years agoMerge "Add an option to hide the Voice Search icon." into froyo
Leon Scroggins III [Tue, 14 Sep 2010 17:21:25 +0000 (10:21 -0700)]
Merge "Add an option to hide the Voice Search icon." into froyo

13 years agoDoc change: update ADT 0.9.8 checksum and size.
Dirk Dougherty [Mon, 13 Sep 2010 18:24:06 +0000 (11:24 -0700)]
Doc change: update ADT 0.9.8 checksum and size.

Change-Id: I610985683cd4608b075a22e8d8089de7896eb312

13 years agoAdd an option to hide the Voice Search icon.
Leon Scroggins III [Tue, 14 Sep 2010 14:56:25 +0000 (10:56 -0400)]
Add an option to hide the Voice Search icon.

Some search engines do not support voice search, so provide a flag
to disable showing the icon in the SearchDialog.

Change-Id: I7ef4ad5d382edb86c08014260defa4af6d5eca0a

13 years agodocs: update platform dashboard
Scott Main [Fri, 10 Sep 2010 15:47:41 +0000 (08:47 -0700)]
docs: update platform dashboard

Change-Id: Id4acf3ca425b278e534f83511fb10dfdbdceb03b

13 years agoDoc change: Fixes for toggle image and adt release date.
Dirk Dougherty [Fri, 10 Sep 2010 01:40:13 +0000 (18:40 -0700)]
Doc change: Fixes for toggle image and adt release date.

Change-Id: I2e76a42650c3ab54e597340cd96e4f7b23fe5116

13 years agoMerge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
Dirk Dougherty [Thu, 9 Sep 2010 00:52:45 +0000 (17:52 -0700)]
Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo

13 years agoDoc change: Add notes for SDK Tools r7 and ADT 0.9.8.
Dirk Dougherty [Sat, 31 Jul 2010 02:24:17 +0000 (19:24 -0700)]
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.

Change-Id: I7cc8301e0160acd0adb3efbd20c6515ed985684f

13 years agofix code snippet error
Scott Main [Fri, 3 Sep 2010 18:03:42 +0000 (11:03 -0700)]
fix code snippet error

Change-Id: Ida2f5ac2bc0bfb9b13b142f6422dd4b815603ab5

13 years agoMerge "clarify dp dimension description" into froyo
Scott Main [Fri, 3 Sep 2010 00:53:14 +0000 (17:53 -0700)]
Merge "clarify dp dimension description" into froyo

13 years agoAdd BT test instrumentation for reboot tests.
Eric Rowe [Tue, 31 Aug 2010 22:06:58 +0000 (15:06 -0700)]
Add BT test instrumentation for reboot tests.

Change-Id: If8134a1c11f3982086b7299e5c8bd3ef8eaa5959

13 years agoDO NOT MERGE Separate utility methods into utility class.
Eric Rowe [Mon, 30 Aug 2010 23:14:08 +0000 (16:14 -0700)]
DO NOT MERGE Separate utility methods into utility class.

Methods in BluetoothTestUtils remain the same as they were in
BluetoothStressTest except for the constructor and close().  The constructor
is derived from setUp() and close() from tearDown().

Change-Id: I09f9637d3969c98e46cbde1d61bc6c3223aec7c1

13 years agoFix closing tag in docs.
Brad Fitzpatrick [Fri, 27 Aug 2010 18:11:24 +0000 (11:11 -0700)]
Fix closing tag in docs.

BUG=2956223

Change-Id: I0772d0b5386a783762319064c13d567c124da394

13 years agoMerge "Improve logging and flexibility of BT stress tests." into froyo
Eric Rowe [Fri, 27 Aug 2010 00:21:46 +0000 (17:21 -0700)]
Merge "Improve logging and flexibility of BT stress tests." into froyo

13 years agoImprove logging and flexibility of BT stress tests.
Eric Rowe [Thu, 26 Aug 2010 22:13:24 +0000 (15:13 -0700)]
Improve logging and flexibility of BT stress tests.

Change-Id: I657638b3b410175919da545e9a9b7d9df6466362

13 years agoContinue trying to make the turn off quickly after call feature work.
Joe Onorato [Thu, 26 Aug 2010 18:46:01 +0000 (14:46 -0400)]
Continue trying to make the turn off quickly after call feature work.

The previous implementation worked if the set timeout is short enough, which mine was.  This one
carries the remaining amount of timeout override forward through all of the countdown steps.

Bug: 2844990
Change-Id: I040df22f9f9ddf98c355ac6845b7624e95f84f33

13 years agoreconcile open-source froyo into google variant
Jean-Baptiste Queru [Wed, 25 Aug 2010 16:38:48 +0000 (09:38 -0700)]
reconcile open-source froyo into google variant

Change-Id: Idfacbf98a6c98176620f252504213d01bbd49eb9

13 years agoMake the default backup configuration "disabled; local transport selected"
Christopher Tate [Tue, 24 Aug 2010 22:37:42 +0000 (15:37 -0700)]
Make the default backup configuration "disabled; local transport selected"

By default out of the box, an Android build will have the backup mechanism in
its "disabled" state and pointed to the LocalTransport test transport.  We
do not want retail devices built without the Google backend to have backup
enabled out of the box; it would cause them to gradually grind away the
cache partition for no good reason.  On those devices with this change,
developers would need to enable backup manually (possibly using the normal
Settings UI; more probably using the 'bmgr' shell tool), but would no longer
also have to manually configure the active transport name.

Device vendors producing Google-enabled products will simply use resource
overlays to configure the default state and transport name for their builds.
When building a product that points to the Google backup transport by default,
the "def_backup_enabled" boolean resource should still be set to 'false' --
the Google backup disclosure activity supplied by GSF will take care of
enabling the backup services if the user opts in to it.  (Basically, vendors
will never have to overlay the def_backup_enabled resource -- the default
value of 'false' is correct for any retail device regardless of whether it
can use the Google backup transport.)

In the SDK build, the default transport will remain the local one, but
the default enable state overridden and set to "true".  This is the ideal
situation for developers: all aspects of the backup mechanism immediately
operative with no manual configuration needed.

Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34

13 years agoMerge "Make the default backup configuration "disabled; local transport selected...
Christopher Tate [Wed, 25 Aug 2010 01:05:09 +0000 (18:05 -0700)]
Merge "Make the default backup configuration "disabled; local transport selected"" into froyo

13 years agoMake the default backup configuration "disabled; local transport selected"
Christopher Tate [Tue, 24 Aug 2010 22:37:42 +0000 (15:37 -0700)]
Make the default backup configuration "disabled; local transport selected"

By default out of the box, an Android build will have the backup mechanism in
its "disabled" state and pointed to the LocalTransport test transport.  We
do not want retail devices built without the Google backend to have backup
enabled out of the box; it would cause them to gradually grind away the
cache partition for no good reason.  On those devices with this change,
developers would need to enable backup manually (possibly using the normal
Settings UI; more probably using the 'bmgr' shell tool), but would no longer
also have to manually configure the active transport name.

Device vendors producing Google-enabled products will simply use resource
overlays to configure the default state and transport name for their builds.
When building a product that points to the Google backup transport by default,
the "def_backup_enabled" boolean resource should still be set to 'false' --
the Google backup disclosure activity supplied by GSF will take care of
enabling the backup services if the user opts in to it.  (Basically, vendors
will never have to overlay the def_backup_enabled resource -- the default
value of 'false' is correct for any retail device regardless of whether it
can use the Google backup transport.)

In the SDK build, the default transport will remain the local one, but
the default enable state overridden and set to "true".  This is the ideal
situation for developers: all aspects of the backup mechanism immediately
operative with no manual configuration needed.

Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34

13 years agoMerge "Doc change: Add table to clarify launch modes and caution against using Single...
Dirk Dougherty [Tue, 24 Aug 2010 00:40:46 +0000 (17:40 -0700)]
Merge "Doc change: Add table to clarify launch modes and caution against using SingleTask and SingleInstance modes." into froyo

13 years agoDoc change: Add table to clarify launch modes and caution against using SingleTask...
Dirk Dougherty [Mon, 23 Aug 2010 19:11:14 +0000 (12:11 -0700)]
Doc change: Add table to clarify launch modes and caution against using SingleTask and SingleInstance modes.

Change-Id: I9e04c54ed3e4d10afddedd6e6e35761e67652cd8

13 years agoMerge "docs: add dev guide for getting user location" into froyo
Scott Main [Mon, 23 Aug 2010 19:32:51 +0000 (12:32 -0700)]
Merge "docs: add dev guide for getting user location" into froyo

13 years agoDisabling AccessibilityService sample from build system.
Trevor Johns [Sat, 21 Aug 2010 00:13:02 +0000 (17:13 -0700)]
Disabling AccessibilityService sample from build system.

This is necessary for an upcoming doc push. I'll revert this change after the
doc push is complete.

Change-Id: I32bbff7797cf5af1642da2b907b20847c1d17d21

13 years agoChange CDMAPhone.getDeviceId to return MEID or ESN.
Wink Saville [Fri, 20 Aug 2010 23:24:02 +0000 (16:24 -0700)]
Change CDMAPhone.getDeviceId to return MEID or ESN.

This allows devices with only ESN's to work.

bug: 2938223
Change-Id: I33939151c59f598b939e73d98f1178669d6ceb75

13 years agodocs: add dev guide for getting user location
Scott Main [Wed, 18 Aug 2010 03:29:03 +0000 (20:29 -0700)]
docs: add dev guide for getting user location

Change-Id: I63558c0304a632ccfbb7a80411ab23ad2c82b5c9

13 years agoMerge "docs: add links from widget classes to tutorials" into froyo
Scott Main [Fri, 20 Aug 2010 00:31:12 +0000 (17:31 -0700)]
Merge "docs: add links from widget classes to tutorials" into froyo

13 years agodocs: add links from widget classes to tutorials
Scott Main [Thu, 19 Aug 2010 23:57:07 +0000 (16:57 -0700)]
docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243

13 years agomake android_id random seed depend on time as well as ro.serialno
Doug Zongker [Thu, 19 Aug 2010 20:38:26 +0000 (13:38 -0700)]
make android_id random seed depend on time as well as ro.serialno

Change-Id: I0a48aacd8da30896d91fa05b7791335e6ed751e5

13 years agoAmend previous ndc commit
Kenny Root [Wed, 2 Jun 2010 03:50:21 +0000 (20:50 -0700)]
Amend previous ndc commit

Submitted wrong patchset. This includes the delta for the latest
patchset.

Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1

13 years agoAdd more error checking for ndc
Kenny Root [Tue, 1 Jun 2010 20:23:53 +0000 (13:23 -0700)]
Add more error checking for ndc

In NativeDaemonConnector.doCommand() calls, there was inconsistent error
checking. This change adds error checking for every call and makes it so
that any call to .doCommand() that gets an error code won't cause the
code to hang forever.

Change-Id: If714282b6642f278fb8137f652af1a012670253b

13 years agoPackageManagerService: always install native binaries from .apk
David 'Digit' Turner [Thu, 3 Jun 2010 21:37:42 +0000 (14:37 -0700)]
PackageManagerService: always install native binaries from .apk

The previous implementation fails to work properly when the .apk
and installed versions of the binaries have the same size and date.

Change-Id: I063817a935da9ad459858d7eec8bb3d940607850

13 years agoMerge "Adding a sample accessibility service -make" into froyo
Roman Nurik [Tue, 17 Aug 2010 17:36:03 +0000 (10:36 -0700)]
Merge "Adding a sample accessibility service -make" into froyo

13 years agoclarify dp dimension description
Scott Main [Wed, 11 Aug 2010 22:34:54 +0000 (15:34 -0700)]
clarify dp dimension description

Change-Id: I85152f8ab668984ca9db3a4f56c4f8a5ab6ebacd

13 years agoAdd --max-res-version flag to aapt.
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:13:08 +0000 (14:13 -0700)]
Add --max-res-version flag to aapt.

aapt will ignore any versioned resource directories over the
specified version (if used).  e.g. --max-res-version=6 will
cause layout-land-v7 to be ignored.

Merged from eclair.

Change-Id: I40ccf820c8a6e3074fccc987dd60a511dd8eb0de

13 years agoMerge "Fix subscribe links for Developer Forums doc." into froyo
Trevor Johns [Thu, 12 Aug 2010 21:27:33 +0000 (14:27 -0700)]
Merge "Fix subscribe links for Developer Forums doc." into froyo

13 years agoAdding a sample accessibility service -make
Svetoslav Ganov [Wed, 11 Aug 2010 04:39:56 +0000 (21:39 -0700)]
Adding a sample accessibility service -make

Change-Id: I5bdd57e022b9907f7745046d8818801dbc3929a8

13 years agoFix subscribe links for Developer Forums doc.
Trevor Johns [Tue, 10 Aug 2010 18:36:56 +0000 (11:36 -0700)]
Fix subscribe links for Developer Forums doc.

The email-based subscribe links for the Android Developer forums do
not work for two groups (android-discuss, android-beginners) due to
recent changes in those groups. These links need to be changed to
HTML-based subscribe links instead.

For consistency, other links are being changed to use the HTML-based
subscription mechanism as well.

Internal Bug: 2908002

Change-Id: I601b959935584270d6107c4600b28ac5f51359e1

13 years agoRemove @LargeTest annotations
Eric Rowe [Mon, 9 Aug 2010 22:34:24 +0000 (15:34 -0700)]
Remove @LargeTest annotations

Change-Id: Ib7e6f6e8b6437db5ca2ad2bcb89f079a0cbf7453

13 years agoMerge "COMMENT ONLY change to fix some formatting glitches and (more importantly...
Dan Egnor [Fri, 6 Aug 2010 23:39:02 +0000 (16:39 -0700)]
Merge "COMMENT ONLY change to fix some formatting glitches and (more importantly) clarify issues surrounding removed accounts." into froyo

13 years agoMerge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroll...
Adam Powell [Fri, 6 Aug 2010 01:33:31 +0000 (18:33 -0700)]
Merge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller" into froyo

13 years agoMerge "Changed SyncOperation.toKey() to not rely on the implementation of Account...
Fred Quintana [Fri, 6 Aug 2010 00:36:27 +0000 (17:36 -0700)]
Merge "Changed SyncOperation.toKey() to not rely on the implementation of Account.toString()" into froyo

13 years agoChanged SyncOperation.toKey() to not rely on the implementation of
Fred Quintana [Thu, 5 Aug 2010 21:14:49 +0000 (14:14 -0700)]
Changed SyncOperation.toKey() to not rely on the implementation of
Account.toString()

bug: 2898033
Change-Id: I6bfac976127190d2d667312df7aa9c7d57b21555

13 years agoDO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller
Adam Powell [Fri, 23 Jul 2010 22:49:03 +0000 (15:49 -0700)]
DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller

Change-Id: Ia176cdb029201dbad193d2d213d3cf6e16fbee63

13 years agoMerge "fix xml sample error" into froyo
Scott Main [Thu, 5 Aug 2010 22:49:08 +0000 (15:49 -0700)]
Merge "fix xml sample error" into froyo

13 years agofix xml sample error
Scott Main [Thu, 5 Aug 2010 22:44:26 +0000 (15:44 -0700)]
fix xml sample error

Change-Id: Ifd188a5866382a79c2c9de94c0682b707baffdcf

13 years agoMerge "Checkin initial bluetooth stress tests." into froyo
Eric Rowe [Thu, 5 Aug 2010 21:49:22 +0000 (14:49 -0700)]
Merge "Checkin initial bluetooth stress tests." into froyo

13 years agoCheckin initial bluetooth stress tests.
Eric Rowe [Thu, 29 Jul 2010 19:11:29 +0000 (12:11 -0700)]
Checkin initial bluetooth stress tests.

Bluetooth stress tests include stress tests for enabling/disabling bluetooth,
making the device discoverable/undiscoverable, and starting and stopping scans.

Change-Id: Ic8ba09475ffe5551717438673e0ed3f4bd17cf2f

13 years agofix some doc errors in the resources;
Scott Main [Thu, 5 Aug 2010 00:33:33 +0000 (17:33 -0700)]
fix some doc errors in the resources;
add link to resource docs for ColorStateList class

Change-Id: I7f59bfd136d5bd3c2ea066b6123ee13ccd57f502