6359 Commits

Author SHA1 Message Date
Android (Google) Code Review
8af2d22552 Merge change 21471 into eclair
* changes:
  Add Galaxy wallpaper
2009-08-16 23:24:12 -07:00
Romain Guy
81e4640d18 Add Galaxy wallpaper 2009-08-16 23:22:44 -07:00
Android (Google) Code Review
106278c402 Merge change 21432 into eclair
* changes:
  do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
2009-08-16 17:14:20 -07:00
Jeff Sharkey
403d7ac7d1 Bring back SHOULD_SYNC flag so sync groups can be edited. 2009-08-16 16:34:35 -07:00
Fred Quintana
ffd0cb04f9 do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch 2009-08-15 22:40:25 -07:00
Yong Zhang
fa2944d93f 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.
2009-08-15 13:01:52 -07:00
Wink Saville
e6a9bcb7e8 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.
2009-08-15 11:17:18 -07:00
Wink Saville
ad4d9e5beb 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.
2009-08-15 08:40:30 -07:00
Android (Google) Code Review
549db46cb3 Merge change 21413 into eclair
* changes:
  Fix aapt to be able to add configs from overlays.
2009-08-15 00:02:36 -07:00
Dianne Hackborn
64551b2e0e 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).
2009-08-15 00:00:33 -07:00
Android (Google) Code Review
7193a58763 Merge change 21401 into eclair
* changes:
  make sure to update a surface's usage bits when it changes, instead of only the first time.
2009-08-14 20:07:51 -07:00
Mathias Agopian
321abdb092 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.
2009-08-14 18:52:17 -07:00
Android (Google) Code Review
82726f045d Merge change 21298 into eclair
* changes:
  ConnectivityService: Do not send broadcasts until the system is ready.
2009-08-14 18:41:56 -07:00
Wei Huang
c650bf583d Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings. 2009-08-14 16:47:10 -07:00
Android (Google) Code Review
adb4a72d7b Merge change 21364 into eclair
* changes:
  Moving contacts-specific strings to donottranslate files.
2009-08-14 16:04:29 -07:00
Dmitri Plotnikov
bb92af91ce Moving contacts-specific strings to donottranslate files. 2009-08-14 16:01:00 -07:00
Sahil Sachdeva
c9706f0262 DO NOT MERGE, ALready merged to master.
1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.
2009-08-14 14:52:23 -07:00
Android (Google) Code Review
8722429481 Merge change 21311 into eclair
* changes:
  fix documentation
2009-08-14 12:38:51 -07:00
Mike Reed
e14e70a1b0 fix documentation 2009-08-14 15:34:36 -04:00
Android (Google) Code Review
410676bbac Merge change 21307 into eclair
* changes:
  Turn off static live wallpaper for now.
2009-08-14 12:24:02 -07:00
Dianne Hackborn
b1ac1a86dc Turn off static live wallpaper for now. 2009-08-14 12:12:31 -07:00
Mike Lockwood
0f79b54c3a ConnectivityService: Do not send broadcasts until the system is ready.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-14 15:09:11 -04:00
Leon Scroggins
f58ffac202 Hide the title bar when zoomed in. 2009-08-14 14:47:27 -04:00
Steve Block
a8dfe24da0 Adds the ability to configure the mock Geolocation service from DumpRenderTree. 2009-08-14 16:43:28 +01:00
Patrick Scott
68e5300477 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.
2009-08-14 08:15:30 -04:00
Android (Google) Code Review
a31deaf4a9 Merge change 21225 into eclair
* changes:
  fix a bug that could cause a window to be hidden in some cases.
2009-08-13 22:36:05 -07:00
Android (Google) Code Review
185a5133cf Merge change 21235 into eclair
* changes:
  Change the number of volume steps from 6 to 7 per Verizon Requirements
2009-08-13 21:33:57 -07:00
Jared Suttles
5982013cfc 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>
2009-08-13 21:27:55 -07:00
Dianne Hackborn
0cd48879dc 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.
2009-08-13 19:24:07 -07:00
Mathias Agopian
c4915de8bb 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.
2009-08-13 19:08:00 -07:00
Xavier Ducrohet
1d47a51426 am 94ff3f1f: Merge change 21063 into donut
Merge commit '94ff3f1f08805b68c5524b39024968aebcdc83ee' into eclair

* commit '94ff3f1f08805b68c5524b39024968aebcdc83ee':
  Fix handling of reference XML file in layout files
2009-08-13 18:43:54 -07:00
Xavier Ducrohet
314e0226a2 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
2009-08-13 18:43:46 -07:00
Mathias Agopian
f233915016 be more friendly with C 2009-08-13 18:27:10 -07:00
Mathias Agopian
317a6280cc 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.
2009-08-13 18:19:32 -07:00
Android (Google) Code Review
81655243a6 Merge change 21207 into eclair
* changes:
  Always have a wallpaper service running.
2009-08-13 17:59:39 -07:00
Dianne Hackborn
f21adf6fc1 Always have a wallpaper service running. 2009-08-13 17:14:39 -07:00
Dima Zavin
8db9338914 ui: make native_window_set_usage be a static inline
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-13 16:52:24 -07:00
Grace Kloba
455e3af1f8 Fix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
treat it as double click in the middle of the page.
2009-08-13 15:27:52 -07:00
Christopher Tate
0749dcd193 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.
2009-08-13 15:15:55 -07:00
Android (Google) Code Review
763101efcd Merge change 21171
* changes:
  Allow max_retires to be set to infinite.
2009-08-13 15:14:12 -07:00
Android (Google) Code Review
9e0426087b Merge change 21166
* changes:
  Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.
2009-08-13 15:13:58 -07:00
Android (Google) Code Review
a646c56b21 Merge change 21186
* changes:
  Trigger data connection update if network type changes.
2009-08-13 15:13:47 -07:00
jsh
50e05ead5e Trigger data connection update if network type changes.
Data connection icon could be stale otherwise.
2009-08-13 15:02:18 -07:00
Android (Google) Code Review
98f40163b9 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
2009-08-13 15:00:34 -07:00
Android (Google) Code Review
24cecfbbbc Merge change 21185
* changes:
  Set V8 flag --expose_gc in TestShellActivity.
2009-08-13 14:58:43 -07:00
Feng Qian
2890920eba 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.
2009-08-13 14:54:56 -07:00
Android (Google) Code Review
4e6535085f Merge change 21159
* changes:
  Allow overlays to add resources.
2009-08-13 14:34:27 -07:00
Mark Wagner
97f3209b45 more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon
2009-08-13 14:30:21 -07:00
Android (Google) Code Review
1e16e4018c Merge change 21152
* changes:
  Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 14:18:52 -07:00
Wink Saville
a03ab1a6a0 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.
2009-08-13 14:18:00 -07:00