OSDN Git Service

android-x86/frameworks-base.git
15 years agoMerge change 21540 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 20:00:26 +0000 (13:00 -0700)]
Merge change 21540 into eclair

* changes:
  Fix listview clicks with the trackball.

15 years agoFix listview clicks with the trackball.
Romain Guy [Mon, 17 Aug 2009 19:51:30 +0000 (12:51 -0700)]
Fix listview clicks with the trackball.

15 years agoMerge change 21537 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 19:37:25 +0000 (12:37 -0700)]
Merge change 21537 into eclair

* changes:
  really be more friendly with C

15 years agoreally be more friendly with C
Mathias Agopian [Mon, 17 Aug 2009 19:33:20 +0000 (12:33 -0700)]
really be more friendly with C

15 years agoMerge change 21522 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 19:27:06 +0000 (12:27 -0700)]
Merge change 21522 into eclair

* changes:
  Dock changes:Docking station intents

15 years agoDock changes:Docking station intents
Dan Murphy [Wed, 12 Aug 2009 20:15:43 +0000 (15:15 -0500)]
Dock changes:Docking station intents

Docking station intents for dock switch driver.
Add DockObserver and updated Intent.java and systemserver.jave

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
modified:   core/java/android/content/Intent.java
new file:   services/java/com/android/server/DockObserver.java
modified:   services/java/com/android/server/SystemServer.java

Docking station updates

Add constants for the dock

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 21380 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 18:46:57 +0000 (11:46 -0700)]
Merge change 21380 into eclair

* changes:
  More work on wallpapers.

15 years agoMerge change 21512 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 18:07:08 +0000 (11:07 -0700)]
Merge change 21512 into eclair

* changes:
  Honor the clickable and enabled properties in ListView.

15 years agoMerge change 21492 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 17:47:06 +0000 (10:47 -0700)]
Merge change 21492 into eclair

* changes:
  WifiService: Hash based on both SSID and BSSID in scan result cache.

15 years agoMore work on wallpapers.
Dianne Hackborn [Fri, 14 Aug 2009 18:37:52 +0000 (11:37 -0700)]
More work on wallpapers.

- Do better about figuring out when to stop them and other related window
  management.
- Fix problem where we were not redrawing the surface when the orientation
  changed.  This was the cause of the device hang.

15 years agoHonor the clickable and enabled properties in ListView.
Romain Guy [Mon, 17 Aug 2009 17:36:23 +0000 (10:36 -0700)]
Honor the clickable and enabled properties in ListView.

15 years agoMerge change 21510 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 17:29:23 +0000 (10:29 -0700)]
Merge change 21510 into eclair

* changes:
  LocationManagerService: Add NullPointerException to avoid change in behavior.

15 years agoMerge change 21340 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 17:27:41 +0000 (10:27 -0700)]
Merge change 21340 into eclair

* changes:
  Squashed commit of the following:

15 years agoSquashed commit of the following:
Andreas Huber [Fri, 14 Aug 2009 21:37:10 +0000 (14:37 -0700)]
Squashed commit of the following:

commit 5bb012f0065f7ffaaeb4f569d71f0e3a8d6b19c3
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 14 10:40:08 2009 -0700

    An attempt at fixing export using the qcom encoders. More quirks.

commit 0690e76bfa48118a68287ccf1bbfa82febaa620c
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 14 09:08:28 2009 -0700

    Callbacks are now dispatched from a separate thread in OMX.

commit c6571a039526df29b6343f9a1971dbc019088c61
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 15:42:25 2009 -0700

    Massive API changes throughout stagefright, smart pointers everywhere.

commit 900612af6a0555664d9ba195112cd859491265f4
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 13:33:12 2009 -0700

    OMXCodecs now properly shutdown.

commit 96732f05e1b0603dcd1b11f16a23512592eeb4f5
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 12:04:04 2009 -0700

    More work on JPEG decoding using the hardware OMX component.

commit 63839a073ac393e3a130434ba467969053b694ad
Author: Andreas Huber <andih@google.com>
Date:   Wed Aug 12 13:13:31 2009 -0700

    An attempt to drive the JPEG decoder OMX node.

commit 3ac2fe5ab2926eda81b2123610b2434c645294ff
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 11 16:38:21 2009 -0700

    Renamed StateMachine to OMXCodec and put it in its proper place.

commit 247da75a96bf8881956413023dd49a84d5b4f5b2
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 11 16:06:19 2009 -0700

    Statemachine is now a full-fledged MediaSource.

commit 045244f6771fa0b9b329495c953afda900a84b71
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 7 09:16:54 2009 -0700

    Properly setup the input format when exporting to AMR audio.

commit 271b984cb32c5cd9e46e3f90ae121f334e4b8da9
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 6 09:59:38 2009 -0700

    Added some code to test audio encoding to the OMX harness.

commit 79af4748e4af33bd66d3fbac606e332a69741cf4
Author: Andreas Huber <andih@google.com>
Date:   Wed Aug 5 14:36:22 2009 -0700

    Merge the old OMXDecoder and the new, shiny, StateMachine code.

commit 91cf5dd77a8762bc10a0b2ffce35e3bbeb262231
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 4 17:41:43 2009 -0700

    A new harness to test OMX node compliance (and quirks).

15 years agoLocationManagerService: Add NullPointerException to avoid change in behavior.
Mike Lockwood [Mon, 17 Aug 2009 17:16:08 +0000 (13:16 -0400)]
LocationManagerService: Add NullPointerException to avoid change in behavior.

After fixing a null pointer check we were no longer throwing NullPointerExceptions
which caused a CTS test to fail.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoFix ExpandableListView context menus when has header views.
Jeff Sharkey [Mon, 17 Aug 2009 07:52:46 +0000 (00:52 -0700)]
Fix ExpandableListView context menus when has header views.

createContextMenuInfo() should have been subtracting any
header views, similar to performItemClick().  Previously,
this caused getUnflattenedPos() to return invalid positions.

This fixes http://b/issue?id=1778239

15 years agoMerge change 21494 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 16:48:55 +0000 (09:48 -0700)]
Merge change 21494 into eclair

* changes:
  Allow animation styles to be applied to popup windows.

15 years agoMerge change 21442 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 16:19:23 +0000 (09:19 -0700)]
Merge change 21442 into eclair

* changes:
  Fix a cookie bug. If "secure" is in the end of the string, it was ignored.

15 years agoAllow animation styles to be applied to popup windows.
Amith Yamasani [Mon, 17 Aug 2009 14:50:19 +0000 (07:50 -0700)]
Allow animation styles to be applied to popup windows.

Window params were not carrying the package name required for loading
animation styles from outside of the android package.

15 years agoWifiService: Hash based on both SSID and BSSID in scan result cache.
Mike Lockwood [Mon, 17 Aug 2009 14:09:36 +0000 (10:09 -0400)]
WifiService: Hash based on both SSID and BSSID in scan result cache.

Fixes problem with base stations that have multiple SSIDs.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoLocationManagerService: Fix null pointer check in sendExtraCommand().
Mike Lockwood [Mon, 17 Aug 2009 12:39:12 +0000 (08:39 -0400)]
LocationManagerService: Fix null pointer check in sendExtraCommand().

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 21473 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 12:16:14 +0000 (05:16 -0700)]
Merge change 21473 into eclair

* changes:
  Fix 1860351: Put datetime in jpeg exif to datetaken field.

15 years agoFix 1860351: Put datetime in jpeg exif to datetaken field.
Chih-Chung Chang [Mon, 17 Aug 2009 07:54:18 +0000 (15:54 +0800)]
Fix 1860351: Put datetime in jpeg exif to datetaken field.

15 years agoDO NOT MERGE - cherry-picked from master:
Mike Lockwood [Thu, 13 Aug 2009 20:05:38 +0000 (16:05 -0400)]
DO NOT MERGE - cherry-picked from master:

PowerManager: Fix problem waking screen from negative proximity sensor events.

Fixes bug b/2048591

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 21471 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 06:24:12 +0000 (23:24 -0700)]
Merge change 21471 into eclair

* changes:
  Add Galaxy wallpaper

15 years agoAdd Galaxy wallpaper
Romain Guy [Sat, 15 Aug 2009 01:58:33 +0000 (18:58 -0700)]
Add Galaxy wallpaper

15 years agoMerge change 21432 into eclair
Android (Google) Code Review [Mon, 17 Aug 2009 00:14:20 +0000 (17:14 -0700)]
Merge change 21432 into eclair

* changes:
  do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch

15 years agoBring back SHOULD_SYNC flag so sync groups can be edited.
Jeff Sharkey [Sun, 16 Aug 2009 23:34:35 +0000 (16:34 -0700)]
Bring back SHOULD_SYNC flag so sync groups can be edited.

15 years agoFix a cookie bug. If "secure" is in the end of the string, it was ignored.
Grace Kloba [Sun, 16 Aug 2009 07:05:01 +0000 (00:05 -0700)]
Fix a cookie bug. If "secure" is in the end of the string, it was ignored.

15 years agodo not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
Fred Quintana [Sun, 16 Aug 2009 04:45:26 +0000 (21:45 -0700)]
do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch

15 years agoReplace loop-delay in setPowerStateToDesired() with async approach
Yong Zhang [Fri, 14 Aug 2009 15:23:53 +0000 (10:23 -0500)]
Replace loop-delay in setPowerStateToDesired() with async approach

Issues to be addressed:
The method setPowerStateToDesired() in CdmaServiceStateTracker class sends
a msg to CdmaDataConnectionTracker class to deactive data call, and then starts
a loop which calls SystemClock.sleep() to wait for several seconds.The purpose
of this is to wait for data-disconnection before sending RADIO_POWER off request.
However, the CdmaServiceStateTracker and CdmaDataConnectionTracker are running in
the same process so that the CdmaDataConnectionTracker is not able to process the
message to deactive data before the loop ends.

The patch includes the following changes:
1) In setPowerStateToDesired() in CdmaServiceStateTracker, replace implementation
   of loop-delay by sending a delayed msg to set RADIO_POWER off.

2) In CdmaDataConnectionTracker, when getting EVENT_DISCONNECT_DONE, call a new
   method in CdmaServiceStateTracker to process pending request to turn RADIO_POWER
   off.

15 years agoA hack that when restartRadio is called the CdmaDataConnectionTracker
Wink Saville [Sat, 15 Aug 2009 18:15:26 +0000 (11:15 -0700)]
A hack that when restartRadio is called the CdmaDataConnectionTracker
to retry a connection and possibly reconnect after a temporary data loss.

The root cause appears to be because DEACTIVATE and POWER_RADIO_OFF are
sent back to back and POWER_RADIO_OFF completes before DEACTIVATE.
When this happens CdmaDataConnectionTracker won't attempt to reestablish
a data connection until a voice call terminates.

At this time it appears the better solution is have CdmaDataConnectionTracker
wait for DEACTIVATE to complete before issuing POWER_RADIO_OFF, this fix
will be implemented in the near future.

15 years agoAllow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS
Wink Saville [Sat, 15 Aug 2009 15:40:30 +0000 (08:40 -0700)]
Allow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS
and when data roaming is enabled reset the retry manager.

This change also refactors mRetryMgr to DataConnectionTracker
removing it from Cdma and Gsm data connection trackers child classes.

15 years agoMerge change 21413 into eclair
Android (Google) Code Review [Sat, 15 Aug 2009 07:02:36 +0000 (00:02 -0700)]
Merge change 21413 into eclair

* changes:
  Fix aapt to be able to add configs from overlays.

15 years agoFix aapt to be able to add configs from overlays.
Dianne Hackborn [Sat, 15 Aug 2009 07:00:33 +0000 (00:00 -0700)]
Fix aapt to be able to add configs from overlays.

Fixes a bug where any new configurations introduced in an overlay
would be half-way ignored (enough to result in a broken .apk).

15 years agoMerge change 21401 into eclair
Android (Google) Code Review [Sat, 15 Aug 2009 03:07:51 +0000 (20:07 -0700)]
Merge change 21401 into eclair

* changes:
  make sure to update a surface's usage bits when it changes, instead of only the first time.

15 years agomake sure to update a surface's usage bits when it changes, instead of only the first...
Mathias Agopian [Sat, 15 Aug 2009 01:52:17 +0000 (18:52 -0700)]
make sure to update a surface's usage bits when it changes, instead of only the first time.

also fixed a few locking issues in Surface and commented how each member is protected.

15 years agoMerge change 21298 into eclair
Android (Google) Code Review [Sat, 15 Aug 2009 01:41:56 +0000 (18:41 -0700)]
Merge change 21298 into eclair

* changes:
  ConnectivityService: Do not send broadcasts until the system is ready.

15 years agoGet rid of Settings.getJIDResource(), which really should live in GTalkService. Add...
Wei Huang [Fri, 14 Aug 2009 16:49:01 +0000 (09:49 -0700)]
Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings.

15 years agoMerge change 21364 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 23:04:29 +0000 (16:04 -0700)]
Merge change 21364 into eclair

* changes:
  Moving contacts-specific strings to donottranslate files.

15 years agoMoving contacts-specific strings to donottranslate files.
Dmitri Plotnikov [Fri, 14 Aug 2009 21:39:49 +0000 (14:39 -0700)]
Moving contacts-specific strings to donottranslate files.

15 years agoDO NOT MERGE, ALready merged to master.
Sahil Sachdeva [Fri, 14 Aug 2009 21:52:23 +0000 (14:52 -0700)]
DO NOT MERGE, ALready merged to master.
1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.

15 years agoMerge change 21311 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 19:38:51 +0000 (12:38 -0700)]
Merge change 21311 into eclair

* changes:
  fix documentation

15 years agofix documentation
Mike Reed [Fri, 14 Aug 2009 19:34:36 +0000 (15:34 -0400)]
fix documentation

15 years agoMerge change 21307 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 19:24:02 +0000 (12:24 -0700)]
Merge change 21307 into eclair

* changes:
  Turn off static live wallpaper for now.

15 years agoTurn off static live wallpaper for now.
Dianne Hackborn [Fri, 14 Aug 2009 19:12:31 +0000 (12:12 -0700)]
Turn off static live wallpaper for now.

15 years agoConnectivityService: Do not send broadcasts until the system is ready.
Mike Lockwood [Fri, 14 Aug 2009 18:18:49 +0000 (14:18 -0400)]
ConnectivityService: Do not send broadcasts until the system is ready.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoHide the title bar when zoomed in.
Leon Scroggins [Thu, 13 Aug 2009 19:34:06 +0000 (15:34 -0400)]
Hide the title bar when zoomed in.

15 years agoAdds the ability to configure the mock Geolocation service from DumpRenderTree.
Steve Block [Fri, 14 Aug 2009 11:08:33 +0000 (12:08 +0100)]
Adds the ability to configure the mock Geolocation service from DumpRenderTree.

15 years agoThe local loaders assume the url given to them is decoded.
Patrick Scott [Thu, 13 Aug 2009 19:39:20 +0000 (15:39 -0400)]
The local loaders assume the url given to them is decoded.

Decode the url before passing down to the local loaders since they do not decode
the url themselves. This was creating a crash on youtube.com since the data url
was percent-encoded and failing to parse from base64.

15 years agoMerge change 21225 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 05:36:05 +0000 (22:36 -0700)]
Merge change 21225 into eclair

* changes:
  fix a bug that could cause a window to be hidden in some cases.

15 years agoMerge change 21235 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 04:33:57 +0000 (21:33 -0700)]
Merge change 21235 into eclair

* changes:
  Change the number of volume steps from 6 to 7 per Verizon Requirements

15 years agoChange the number of volume steps from 6 to 7 per Verizon Requirements
Jared Suttles [Fri, 14 Aug 2009 02:50:52 +0000 (21:50 -0500)]
Change the number of volume steps from 6 to 7 per Verizon Requirements

Submitted on behalf of Helen Tran <Helen.Tran@motorola.com>
Signed-off-by: Jared Suttles <jared.suttles@motorola.com>
15 years agoA little more wallpaper robustness.
Dianne Hackborn [Fri, 14 Aug 2009 01:51:59 +0000 (18:51 -0700)]
A little more wallpaper robustness.

- Recover if a live wallpaper is crashing repeatedly.
- Don't crash when someone tries to set a static wallpaper.
- Make the static wallpaper update correctly when the image changes.

15 years agofix a bug that could cause a window to be hidden in some cases.
Mathias Agopian [Fri, 14 Aug 2009 02:08:00 +0000 (19:08 -0700)]
fix a bug that could cause a window to be hidden in some cases.

this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.

in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.

15 years agoam 94ff3f1f: Merge change 21063 into donut
Xavier Ducrohet [Fri, 14 Aug 2009 01:43:54 +0000 (18:43 -0700)]
am 94ff3f1f: Merge change 21063 into donut

Merge commit '94ff3f1f08805b68c5524b39024968aebcdc83ee' into eclair

* commit '94ff3f1f08805b68c5524b39024968aebcdc83ee':
  Fix handling of reference XML file in layout files

15 years agoam e1b63d22: Merge change 21033 into donut
Xavier Ducrohet [Fri, 14 Aug 2009 01:43:46 +0000 (18:43 -0700)]
am e1b63d22: Merge change 21033 into donut

Merge commit 'e1b63d224a0a68191f087186c470cde317e3fa76' into eclair

* commit 'e1b63d224a0a68191f087186c470cde317e3fa76':
  Mock ServiceManager and AccesibilityManager to make the view renders in ADT

15 years agobe more friendly with C
Mathias Agopian [Fri, 14 Aug 2009 00:57:53 +0000 (17:57 -0700)]
be more friendly with C

15 years agoSurface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically...
Mathias Agopian [Fri, 14 Aug 2009 00:29:02 +0000 (17:29 -0700)]
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed.

this also ripples into the window manager API by making some constant there deprecated as well.

15 years agoMerge change 21207 into eclair
Android (Google) Code Review [Fri, 14 Aug 2009 00:59:39 +0000 (17:59 -0700)]
Merge change 21207 into eclair

* changes:
  Always have a wallpaper service running.

15 years agoAlways have a wallpaper service running.
Dianne Hackborn [Thu, 13 Aug 2009 17:20:21 +0000 (10:20 -0700)]
Always have a wallpaper service running.

15 years agoui: make native_window_set_usage be a static inline
Dima Zavin [Thu, 13 Aug 2009 23:50:54 +0000 (16:50 -0700)]
ui: make native_window_set_usage be a static inline

Signed-off-by: Dima Zavin <dima@android.com>
15 years agoFix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
Grace Kloba [Thu, 13 Aug 2009 18:01:21 +0000 (11:01 -0700)]
Fix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
treat it as double click in the middle of the page.

15 years agoBackup participants must now hold the BACKUP_DATA permission
Christopher Tate [Thu, 13 Aug 2009 22:13:03 +0000 (15:13 -0700)]
Backup participants must now hold the BACKUP_DATA permission

Packages that do not use android.permission.BACKUP_DATA will neither be backed
up nor restored.  That permission is currently signature-only.  In the future if
access to the backup/restore infrastructure is made available to arbitrary 3rd
party applications, the permission checks (and indeed, the permission itself)
can simply be removed.

15 years agoMerge change 21171
Android (Google) Code Review [Thu, 13 Aug 2009 22:14:12 +0000 (15:14 -0700)]
Merge change 21171

* changes:
  Allow max_retires to be set to infinite.

15 years agoMerge change 21166
Android (Google) Code Review [Thu, 13 Aug 2009 22:13:58 +0000 (15:13 -0700)]
Merge change 21166

* changes:
  Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.

15 years agoMerge change 21186
Android (Google) Code Review [Thu, 13 Aug 2009 22:13:47 +0000 (15:13 -0700)]
Merge change 21186

* changes:
  Trigger data connection update if network type changes.

15 years agoTrigger data connection update if network type changes.
jsh [Thu, 13 Aug 2009 22:02:18 +0000 (15:02 -0700)]
Trigger data connection update if network type changes.

Data connection icon could be stale otherwise.

15 years agoMerge change 21162
Android (Google) Code Review [Thu, 13 Aug 2009 22:00:34 +0000 (15:00 -0700)]
Merge change 21162

* changes:
  more support for bindStatic some minor tweaks to the layout in the hopes I can start using this for gtalk soon

15 years agoMerge change 21185
Android (Google) Code Review [Thu, 13 Aug 2009 21:58:43 +0000 (14:58 -0700)]
Merge change 21185

* changes:
  Set V8 flag --expose_gc in TestShellActivity.

15 years agoSet V8 flag --expose_gc in TestShellActivity.
Feng Qian [Thu, 13 Aug 2009 21:54:56 +0000 (14:54 -0700)]
Set V8 flag --expose_gc in TestShellActivity.

Page cycler calls window.gc between pages, JSC exposes window.gc by default, and V8 requires the flag to be set.

15 years agoMerge change 21159
Android (Google) Code Review [Thu, 13 Aug 2009 21:34:27 +0000 (14:34 -0700)]
Merge change 21159

* changes:
  Allow overlays to add resources.

15 years agomore support for bindStatic
Mark Wagner [Wed, 12 Aug 2009 19:23:03 +0000 (12:23 -0700)]
more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon

15 years agoMerge change 21152
Android (Google) Code Review [Thu, 13 Aug 2009 21:18:52 +0000 (14:18 -0700)]
Merge change 21152

* changes:
  Implement named slots and convert script.addType to script.setType to remove ordering restrictions.

15 years agoAllow max_retires to be set to infinite.
Wink Saville [Thu, 13 Aug 2009 21:18:00 +0000 (14:18 -0700)]
Allow max_retires to be set to infinite.

Setting max_retires to infinite sets mRetryForever to true and therefore
isRetryNeeded will always be true. This is better than an alternative
which is to set max_retires to a large value such as 2147483647.

15 years agoMerge change 21134
Android (Google) Code Review [Thu, 13 Aug 2009 21:04:37 +0000 (14:04 -0700)]
Merge change 21134

* changes:
  Add a more compact representation of usage stats.

15 years agoMerge change 20853
Android (Google) Code Review [Thu, 13 Aug 2009 21:02:08 +0000 (14:02 -0700)]
Merge change 20853

* changes:
  Add net type to mobile for mobile-required traffic

15 years agoMerge change 21158
Android (Google) Code Review [Thu, 13 Aug 2009 20:41:15 +0000 (13:41 -0700)]
Merge change 21158

* changes:
  Add brackets, braces, and backslash to alt-space character entry popup.

15 years agoAllow overlays to add resources.
Dianne Hackborn [Thu, 13 Aug 2009 20:36:00 +0000 (13:36 -0700)]
Allow overlays to add resources.

15 years agoAdd brackets, braces, and backslash to alt-space character entry popup.
Eric Fischer [Thu, 13 Aug 2009 20:27:23 +0000 (13:27 -0700)]
Add brackets, braces, and backslash to alt-space character entry popup.

Bug 2024806

15 years agoMerge change 21153
Android (Google) Code Review [Thu, 13 Aug 2009 20:02:56 +0000 (13:02 -0700)]
Merge change 21153

* changes:
  Increase search radius for adjacent keys, to reduce unpredictability of suggestions.

15 years agoIncrease search radius for adjacent keys, to reduce unpredictability of
Amith Yamasani [Thu, 13 Aug 2009 20:00:12 +0000 (13:00 -0700)]
Increase search radius for adjacent keys, to reduce unpredictability of
suggestions.

15 years agoImplement named slots and convert script.addType to script.setType to remove ordering...
Jason Sams [Thu, 13 Aug 2009 19:59:04 +0000 (12:59 -0700)]
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.

15 years agoAdd methods for directly setting Contact header data.
Jeff Sharkey [Thu, 13 Aug 2009 04:23:39 +0000 (21:23 -0700)]
Add methods for directly setting Contact header data.

Previously, ContactHeaderWidget only allow data binding
through helper methods, or a single static call.  In the
Contacts edit UI, we need to set individual fields directly
based on internal EntityDelta states.  Also added more
documentation and exposed more-direct query helpers.

15 years agohandle false results in file.delete
Cary Clark [Wed, 12 Aug 2009 17:20:41 +0000 (13:20 -0400)]
handle false results in file.delete

found by findbugs
http://b/issue?id=1856614

15 years agoAdd a more compact representation of usage stats.
Christian Sonntag [Thu, 13 Aug 2009 18:51:13 +0000 (11:51 -0700)]
Add a more compact representation of usage stats.

We are replaceing the package name in the activity name with a * iff the activity is in the
same package, otherwise the activity name is pritned out in full.
This small change will remove a lot of bytes (in the order of kilobytes for a real log) from the logged data on the network and downstream processing,
since the package name is repeated in almost all cases.

 An exampe of the new format is here:
 DUMP OF SERVICE usagestats:
 D:4,20090813
 P:com.android.launcher,4,155456
 A:*.Launcher,4,0,0,0,0,0,0,0,0,0,2
 P:com.android.browser,1,6724
 A:*.BrowserActivity,1,0,0,0,0,0,0,0,0,0,0
 A:*.CombinedBookmarkHistoryActivity,1,0,0,0,0,0,0,0,0,0,1
 P:com.google.android.apps.maps,1,2219
 A:com.google.android.maps.MapsActivity,1,0,0,0,0,0,0,0,0,0,0
 P:com.android.contacts,1,0
 A:*.DialtactsActivity,1,0,0,0,0,0,0,0,0,0,1

15 years agoMerge change 21063 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 18:31:07 +0000 (11:31 -0700)]
Merge change 21063 into donut

* changes:
  Fix handling of reference XML file in layout files

15 years agoFix handling of reference XML file in layout files
Xavier Ducrohet [Thu, 13 Aug 2009 04:47:11 +0000 (21:47 -0700)]
Fix handling of reference XML file in layout files

This allows layout that references animation to properly load
in the layout editor in ADT

15 years agoPass clicks to webkit's textfield to determine the new selection.
Leon Scroggins [Wed, 12 Aug 2009 22:48:10 +0000 (18:48 -0400)]
Pass clicks to webkit's textfield to determine the new selection.

Requires a corresponding change to external/webkit.  We were previously
letting WebTextView handle clicks, determine the change in selection,
and pass that down to webkit.  This sometimes resulted in a different
placement of the caret if the WebTextView and the webkit-rendered
textfield did not line up exactly.  Now, we pass the click directly
to webkit, which determines the new selection and passes that info
back to the WebTextView.  This also has the benefit of letting
the WebTextView reflect changes in the selection that originated from
webkit. Also remove some unused parameters.

15 years agoMerge change 21033 into donut
Android (Google) Code Review [Thu, 13 Aug 2009 18:13:46 +0000 (11:13 -0700)]
Merge change 21033 into donut

* changes:
  Mock ServiceManager and AccesibilityManager to make the view renders in ADT

15 years agoRename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.
Wink Saville [Wed, 12 Aug 2009 17:48:00 +0000 (10:48 -0700)]
Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.

15 years agoModified the camera HAL interface to use the same generic callback architecture as...
Benny Wong [Wed, 12 Aug 2009 17:01:27 +0000 (12:01 -0500)]
Modified the camera HAL interface to use the same generic callback architecture as camera services

15 years agoMerge change 21090
Android (Google) Code Review [Thu, 13 Aug 2009 17:33:36 +0000 (10:33 -0700)]
Merge change 21090

* changes:
  remove Gears

15 years agoMerge change 21106
Android (Google) Code Review [Thu, 13 Aug 2009 16:46:29 +0000 (09:46 -0700)]
Merge change 21106

* changes:
  In the simulator, make sure that the preview thread is a Java thread, since we won't be going through the binder in single process mode.

15 years agoIn the simulator, make sure that the preview thread is a Java thread,
Marco Nelissen [Thu, 13 Aug 2009 16:24:47 +0000 (09:24 -0700)]
In the simulator, make sure that the preview thread is a Java thread,
since we won't be going through the binder in single process mode.

15 years agoremove Gears
Andrei Popescu [Thu, 13 Aug 2009 10:59:57 +0000 (11:59 +0100)]
remove Gears

15 years agoUnbreak the sdk build.
Joe Onorato [Thu, 13 Aug 2009 05:40:37 +0000 (22:40 -0700)]
Unbreak the sdk build.

I didn't break it, so if this doesn't fix it, somebody else should give
it a shot.

15 years agoresolved conflicts for merge of 4431a065 to master
Dianne Hackborn [Thu, 13 Aug 2009 04:58:34 +0000 (21:58 -0700)]
resolved conflicts for merge of 4431a065 to master

15 years agoMerge change 21044
Android (Google) Code Review [Thu, 13 Aug 2009 04:53:24 +0000 (21:53 -0700)]
Merge change 21044

* changes:
  Add new API to compare certs of two UIDs.

15 years agoDon't crash when the window is closing
Joe Onorato [Thu, 13 Aug 2009 04:40:29 +0000 (21:40 -0700)]
Don't crash when the window is closing