Commit Graph

38903 Commits

Author SHA1 Message Date
Mark Wagner
93187560b5 contrary to popular belief ContentResolver.query can return null.
so check.
2009-08-12 09:34:51 -07:00
Android (Google) Code Review
f2c9b2c0b4 Merge change 20706
* changes:
  Improve Browser performance by 1-2%. To address domain sanity bug, http://b/issue?id=1022797, we decoded/encoded the url for each request. As the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2 secs thread time during loading.
2009-08-12 09:27:01 -07:00
Android (Google) Code Review
4c85f133e1 Merge change 20869 into donut
* changes:
  If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
2009-08-12 09:24:05 -07:00
Cynthia Wong
c512760397 Rename gmail-ls log tag to Gmail 2009-08-12 09:13:32 -07:00
Android (Google) Code Review
e94aaecc5f Merge change 20937
* changes:
  libdrm: "==" should be an assignment.
2009-08-12 08:33:25 -07:00
Mike Lockwood
e840928a33 libdrm: "==" should be an assignment.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-12 11:32:36 -04:00
Android (Google) Code Review
3971665f8a Merge change 20927
* changes:
  Workaround for issue 2046783.
2009-08-12 08:26:17 -07:00
Karl Rosaen
4ebc4fb528 If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
Fixes bug 2031844.
2009-08-12 08:07:16 -07:00
Android (Google) Code Review
4cd1b5a15a Merge change 20787
* changes:
  Removing primary/default phone number and email on contact from the API.
2009-08-12 07:46:53 -07:00
Android (Google) Code Review
97732c41c3 Merge change 20744
* changes:
  Adds Java side of browser GeolocationService.
2009-08-12 07:26:48 -07:00
Steve Block
67e1eb6864 Adds Java side of browser GeolocationService. 2009-08-12 15:23:11 +01:00
Mike Lockwood
07a500f0de BatteryService: Fix problems shutting down when the battery is dead:
Wait until system is booted before attempting to display the shutdown dialog.
Use ShutdownActivity rather than attempting to run ShutdownThread in the battery service.
Fix logic error (check !isPowered() instead of isPowered())

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-12 09:59:32 -04:00
Eric Laurent
fe4fc91260 Workaround for issue 2046783.
Apparently the problem is caused by the fact that A2dpAudioStreamOut::standby() calls a2dp_stop() after the headset has been powered down.
The workaround consists in indicating to A2DP audio hardware that a close request is pending and that stanby() must be bypassed.
2009-08-12 05:49:58 -07:00
Wei Huang
1e4807aaf4 new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol. 2009-08-12 01:38:01 -07:00
Omari Stephens
259447bc64 Wrap up the stress test into a single script
make test_restore.sh return a value signifying success or failure
2009-08-12 00:30:59 -07:00
Mathias Agopian
2ec8458c5f second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:44:13 -07:00
Mathias Agopian
5cec4742b3 second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:32:29 -07:00
Android (Google) Code Review
064dbd076d Merge change 20905
* changes:
  git rid of the "x" prefixes for test
2009-08-11 22:19:14 -07:00
Android (Google) Code Review
5c042b09d4 Merge change 20898
* changes:
  The triumphant return of the shell scripts, with bugreports, less code dup, and enhanced readability.
2009-08-11 22:16:20 -07:00
Omari Stephens
bf5ac2aac3 git rid of the "x" prefixes for test 2009-08-11 22:10:52 -07:00
Omari Stephens
0cfeb25707 The triumphant return of the shell scripts, with bugreports, less code dup, and
enhanced readability.
2009-08-11 21:51:03 -07:00
Android (Google) Code Review
a1e03d4d7f Merge change 20893
* changes:
  show that we need to glClear to be fast(er)
2009-08-11 20:51:07 -07:00
Android (Google) Code Review
efefd5efb9 Merge change 20892
* changes:
  Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
2009-08-11 20:50:32 -07:00
Mathias Agopian
a1d9388ea7 show that we need to glClear to be fast(er) 2009-08-11 20:50:20 -07:00
Fred Quintana
64e89a8aff Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
This reverts commit 8b76a0ac6f.
2009-08-11 20:49:35 -07:00
Android (Google) Code Review
d7fe92b858 Merge change 20887
* changes:
  option to use drawtexture at compile time
2009-08-11 20:12:43 -07:00
Mathias Agopian
0d63f8163d option to use drawtexture at compile time 2009-08-11 20:12:18 -07:00
Android (Google) Code Review
50558faf8e Merge change 20700
* changes:
  add gservices setting for switching sync subscriptions to use a new routing info.
2009-08-11 20:06:53 -07:00
Android (Google) Code Review
b854600170 Merge change 20878 into donut
* changes:
  Fix issue #2048263: More debugging information
2009-08-11 19:58:36 -07:00
Android (Google) Code Review
d9aaed53ff Merge change 20885
* changes:
  fix and extend the filter test a bit
2009-08-11 19:55:51 -07:00
Mathias Agopian
88caa97f9e fix and extend the filter test a bit 2009-08-11 19:55:31 -07:00
Romain Guy
ef654bdd5b Draw the wallpaper chosen by the user 2009-08-11 19:12:17 -07:00
Dianne Hackborn
82e1ee93ee Fix issue #2048263: More debugging information
We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.
2009-08-11 18:56:41 -07:00
Chia-chi Yeh
188f5a7106 DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.
It seems that libdrm1 was the only user of libaes.
Now libaes is no longer required and removing it saves 36 kilobytes.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-11 21:14:09 -04:00
Grace Kloba
50cb54ff5c am c8ddd37a: (-s ours) Merge change 20779 into donut
Merge commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143'

* commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143':
  DO NOT MERGE. This is merged from master.
2009-08-11 18:12:34 -07:00
Hung-ying Tyan
77208f852c am 7b98b666: Merge change 20738 into donut
Merge commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7'

* commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7':
  Fix a bug in getSocketError() in VpnService.
2009-08-11 18:12:11 -07:00
Hung-ying Tyan
cff53466bb am c22e0c80: Merge change 20719 into donut
Merge commit 'c22e0c8012828474e8aa2e29b441ef02728b0842'

* commit 'c22e0c8012828474e8aa2e29b441ef02728b0842':
  Fix order of setting/saving state in VpnService.
2009-08-11 18:12:07 -07:00
Wu-cheng Li
2ac8c27988 am cb2b2378: Merge change 20729 into donut
Merge commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90'

* commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90':
  Fix the bug that EXIF attributes are always cached.
2009-08-11 18:12:00 -07:00
Karl Rosaen
d47fddc5d7 am abf44279: Fix NPE in SearchDialog (and thereby fix bug 2045398).
Merge commit 'abf44279add64c6f22a40592895225779b8481ea'

* commit 'abf44279add64c6f22a40592895225779b8481ea':
  Fix NPE in SearchDialog (and thereby fix bug 2045398).
2009-08-11 18:11:40 -07:00
Mike LeBeau
6f82aa3f4d am 021fa3fa: Merge change 20665 into donut
Merge commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953'

* commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953':
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
2009-08-11 18:11:28 -07:00
Jean-Michel Trivi
8e235b7bac am 1e1b6b72: Merge change 20514 into donut
Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306'

* commit '1e1b6b7245a0a9212aa3b0366e7919f114895306':
  Fix bug 2022435.
2009-08-11 18:11:19 -07:00
Debajit Ghosh
c030a48c1e add gservices setting for switching sync subscriptions to use a new routing info. 2009-08-11 17:53:20 -07:00
Android (Google) Code Review
6a332cf7a0 Merge change 20865
* changes:
  Fix the build
2009-08-11 17:49:30 -07:00
Romain Guy
b3c61e7dec Fix the build 2009-08-11 17:49:01 -07:00
Android (Google) Code Review
df1d0ff4ba Merge change 20858
* changes:
  Don't let bmgr leave a restore session hanging on error
2009-08-11 17:28:49 -07:00
jsh
7f304d2cce Fix for sending 16-bit SMS message with header.
Header length was missing from the PDU.  This addresses http://b/issue?id=2040561
2009-08-11 17:25:37 -07:00
Christopher Tate
0e0b4ae5bc Don't let bmgr leave a restore session hanging on error
Specifically, don't wait for the RestoreObserver to be informed that the restore
has completed unless performRestore() ran.  We were winding up in a case where
bmgr was hanging forever waiting on a nonexistent restore process instead of
calling endRestoreSession().

Also improve the documentation, explicitly calling out the need to call
endRestoreSession() even if previous operations on the session were
unsuccessful.
2009-08-11 17:25:12 -07:00
Amith Yamasani
29d85df051 Remove delay for key feedback bubble.
Most users seem to expect the feedback to show up right away. So
remove the delay before the bubble shows up.
2009-08-11 16:45:07 -07:00
Mathias Agopian
8b76a0ac6f SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
2009-08-11 16:12:56 -07:00
Android (Google) Code Review
eccd6fdd0d Merge change 20673 into donut
* changes:
  Fix bug 2043140. A race condition is encountered when an application invokes shutdown() on its TextToSpeech object while is has speak() requests still running. Since the TTS service destructor releases the synthesizer resources and sets the corresponding synth reference to null, an NPE was observed. The fix consists in catching NPEs whenever the sNativeSynth object is accessed, and return the matching error for the call. This change is a "low risk" version of the fix for bug 2025765i (same issue) which was reverted because it was higher risk than this CL: it affected the logic of each call to sNativeSynth. This CL only sets an error code when an NPE is fired because sNativeSynth is null.
2009-08-11 15:18:29 -07:00