3119 Commits

Author SHA1 Message Date
Karl Rosaen
f57a1a5117 am b3fa1084: Merge change 20768 into donut
Merge commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2'

* commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2':
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-12 12:04:22 -07:00
android-build SharedAccount
45e503ae91 resolved conflicts for merge of 802527c6 to master skipping preloaded-classes as pre Bob 2009-08-12 12:01:35 -07:00
Evan Millar
773c634124 Add presence to ContactsHeaderWidget 2009-08-12 11:27:45 -07:00
Android (Google) Code Review
b5a72b0e14 Merge change 20945
* changes:
  contrary to popular belief ContentResolver.query can return null. so check.
2009-08-12 10:10:47 -07:00
Jeff Sharkey
62b83b7fc4 Deprecate extra gd:structuredPostalAddress fields.
For the purposes of contact data, there are some postal
address columns that are unsupported, since they don't
directly contribute to a "mailing address" for a person.

http://code.google.com/apis/contacts/docs/3.0/reference.html#structuredPostalAddressRestrictions
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress
2009-08-12 09:54:19 -07:00
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
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
Wei Huang
1e4807aaf4 new s2d ids table for rmq2; plus Gservices setting for using rmq2 protocol. 2009-08-12 01:38:01 -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
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
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
df1d0ff4ba Merge change 20858
* changes:
  Don't let bmgr leave a restore session hanging on error
2009-08-11 17:28:49 -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
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
Jean-Michel Trivi
69e67a3e2e 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:09:45 -07:00
Android (Google) Code Review
c5ea439209 Merge change 20812
* changes:
  Fix possible exception in default live wallpaper
2009-08-11 14:43:02 -07:00
Romain Guy
b4f59bffc0 Fix possible exception in default live wallpaper 2009-08-11 14:42:19 -07:00
Android (Google) Code Review
ce6182fa49 Merge change 20788
* changes:
  make private inner classes static
2009-08-11 14:04:32 -07:00
Android (Google) Code Review
1d1449835a Merge change 20775
* changes:
  Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
2009-08-11 14:01:18 -07:00
Android (Google) Code Review
b3fa1084ba Merge change 20768 into donut
* changes:
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-11 13:58:59 -07:00
Cary Clark
7ec19876c9 make private inner classes static
bug found by findbugs
http://b/issue?id=1856695
2009-08-11 16:57:43 -04:00
Dmitri Plotnikov
074fbfe627 Removing primary/default phone number and email on contact from the API. 2009-08-11 13:50:21 -07:00
Karl Rosaen
b504136852 Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
Includes:
- an overview section on including search suggestions in quick search box
- additional table of searchable metadata attributes related to quick search box
- additional column descriptions that we've added for quick search box.
- description of how to expose your content provider's search suggestions to
the search infrastructure if you have permissions guarding your content provider.
2009-08-11 13:43:14 -07:00
Android (Google) Code Review
2b7d44ed84 Merge change 20781
* changes:
  replace 'new String()' with ""
2009-08-11 13:14:16 -07:00
Cary Clark
686cf75d5c replace 'new String()' with ""
bug reported by findbugs
http://b/issue?id=1856909
2009-08-11 16:08:52 -04:00
Android (Google) Code Review
802527c6a8 Merge change 20713 into donut
* changes:
  Updated preloaded-classes file.
2009-08-11 12:48:36 -07:00
Android (Google) Code Review
c8ddd37aa0 Merge change 20779 into donut
* changes:
  DO NOT MERGE. This is merged from master. Fix couple of bugs in the meminfo report.  . added the new "/data/dalvik-cache/" to dalvik heap  . shortened the starting line's length from 40 to 30 to handle the case where there is no name  . fixed the pri/shared for others. It was swapped.
2009-08-11 12:47:36 -07:00
Cary Clark
0867e69176 make final constants static
found by findbugs
http://b/issue?id=1857033
2009-08-11 15:44:31 -04:00
Grace Kloba
628e086664 DO NOT MERGE. This is merged from master.
Fix couple of bugs in the meminfo report.
 . added the new "/data/dalvik-cache/" to dalvik heap
 . shortened the starting line's length from 40 to 30 to handle the case where there is no name
 . fixed the pri/shared for others. It was swapped.
2009-08-11 12:43:08 -07:00
Bob Lee
2e93f65cab Updated preloaded-classes file. 2009-08-11 12:42:02 -07:00
Romain Guy
09ddc08b0d Fixes #2021442. Prevent app widgets from clobbering Home's view ids. 2009-08-11 12:10:08 -07:00
Grace Kloba
758bf41084 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-11 11:47:24 -07:00
Android (Google) Code Review
81df0d9487 Merge change 8575
* changes:
  Support INSTALL_DRM permission
2009-08-11 11:31:34 -07:00
Android (Google) Code Review
f280a1b830 Merge change 20750
* changes:
  remove unused locals
2009-08-11 10:55:24 -07:00
Cary Clark
a589419c04 remove unused locals
found by findbugs
http://b/issue?id=1857022
2009-08-11 13:45:28 -04:00
Jeff Sharkey
ad2eaf208d Added long-press hooks to Contact header widget.
To match Contacts edit UI mocks, the user long-presses on
the photo or display name to select a new primary.  This
change provides the hooks needed over in Contacts.
2009-08-11 10:09:42 -07:00
Android (Google) Code Review
44224695de Merge change 20632
* changes:
  call super.finalize() from WebView
2009-08-11 08:17:43 -07:00
Dianne Hackborn
c8a0a75e1c Implement support for scrolling a wallpaper.
This currently only works for a wallpaper that is larger than the
screen.  Set the scroll position with the new wallpaper API.  Right
now only does jump scrolls.
2009-08-11 10:03:16 -04:00