summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Add net type to mobile for mobile-required trafficRobert Greenwalt2009-08-124-187/+214
| | | | | This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc. Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
* Merge change 20982Android (Google) Code Review2009-08-121-28/+12
|\ | | | | | | | | * changes: SystemProperties: eliminate unnecessary string allocation.
| * SystemProperties: eliminate unnecessary string allocation.Mike Lockwood2009-08-121-28/+12
| | | | | | | | | | | | getInt(), getLong() and getBoolean() no longer allocate a temporary String object. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Add AsyncQueryHandler helper for queryEntities().Jeff Sharkey2009-08-121-7/+72
| | | | | | | | | | | | | | | | Recently we added queryEntities() to the ContentProvider interface to read out Entity objects atomically. This change adds a helper to AsyncQueryHandler to perform these queries on a background thread, returning the result when finished.
* | am 4c85f133: Merge change 20869 into donutKarl Rosaen2009-08-121-2/+4
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6' * commit '4c85f133e10ceaeb2553adb397d4828a7091e7e6': If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
| * \ Merge change 20869 into donutAndroid (Google) Code Review2009-08-121-2/+4
| |\ \ | | | | | | | | | | | | | | | | * changes: If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
| | * | If no interpolator is specified for a progress bar in the theme, default to ↵Karl Rosaen2009-08-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | a LinearInterpolator. Fixes bug 2031844.
* | | | am b8546001: Merge change 20878 into donutDianne Hackborn2009-08-122-0/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b8546001701405a76dad7e6235046e592296fac2' * commit 'b8546001701405a76dad7e6235046e592296fac2': Fix issue #2048263: More debugging information
| * | | Merge change 20878 into donutAndroid (Google) Code Review2009-08-112-0/+13
| |\ \ \ | | |/ / | |/| | | | | | | | | | * changes: Fix issue #2048263: More debugging information
| | * | Fix issue #2048263: More debugging informationDianne Hackborn2009-08-112-0/+13
| | | | | | | | | | | | | | | | | | | | We now hopefully do better about generating the anr reports, and include information about the malloc loaded assets in meminfo.
* | | | am eccd6fdd: Merge change 20673 into donutJean-Michel Trivi2009-08-121-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc' * commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc': Fix bug 2043140.
| * | | Merge change 20673 into donutAndroid (Google) Code Review2009-08-111-1/+1
| |\ \ \ | | |/ / | |/| | | | | | | | | | * 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.
| | * | Fix bug 2043140.Jean-Michel Trivi2009-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | am b3fa1084: Merge change 20768 into donutKarl Rosaen2009-08-121-8/+145
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2' * commit 'b3fa1084ba31698fa5c58150a713d7abbadb1cd2': Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
| * | | Merge change 20768 into donutAndroid (Google) Code Review2009-08-111-8/+145
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
| | * | | Docs only change: finish documentation of Android Quick Search Box related ↵Karl Rosaen2009-08-111-8/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | resolved conflicts for merge of 802527c6 to master skipping ↵android-build SharedAccount2009-08-121-0/+9
|\ \ \ \ \ | |/ / / / | | | | | | | | | | preloaded-classes as pre Bob
| * | | | Merge change 20713 into donutAndroid (Google) Code Review2009-08-111-0/+9
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * changes: Updated preloaded-classes file.
| | * | | Updated preloaded-classes file.Bob Lee2009-08-111-0/+9
| | | | |
* | | | | Add presence to ContactsHeaderWidgetEvan Millar2009-08-121-4/+14
| | | | |
* | | | | Merge change 20945Android (Google) Code Review2009-08-121-3/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | * changes: contrary to popular belief ContentResolver.query can return null. so check.
| * | | | contrary to popular belief ContentResolver.query can return null.Mark Wagner2009-08-121-3/+3
| | | | | | | | | | | | | | | | | | | | so check.
* | | | | Deprecate extra gd:structuredPostalAddress fields.Jeff Sharkey2009-08-121-2/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge change 20706Android (Google) Code Review2009-08-122-11/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | Improve Browser performance by 1-2%. To address domain sanity bug,Grace Kloba2009-08-112-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Rename gmail-ls log tag to GmailCynthia Wong2009-08-121-1/+1
| | | | |
* | | | | Merge change 20787Android (Google) Code Review2009-08-121-65/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Removing primary/default phone number and email on contact from the API.
| * | | | | Removing primary/default phone number and email on contact from the API.Dmitri Plotnikov2009-08-111-65/+3
| | | | | |
* | | | | | Merge change 20744Android (Google) Code Review2009-08-121-0/+189
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Adds Java side of browser GeolocationService.
| * | | | | | Adds Java side of browser GeolocationService.Steve Block2009-08-121-0/+189
| | | | | | |
* | | | | | | Merge change 20700Android (Google) Code Review2009-08-111-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: add gservices setting for switching sync subscriptions to use a new routing info.
| * | | | | | | add gservices setting for switching sync subscriptions to use a new routing ↵Debajit Ghosh2009-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | info.
* | | | | | | | Draw the wallpaper chosen by the userRomain Guy2009-08-111-74/+49
| | | | | | | |
* | | | | | | | am abf44279: Fix NPE in SearchDialog (and thereby fix bug 2045398).Karl Rosaen2009-08-111-1/+7
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'abf44279add64c6f22a40592895225779b8481ea' * commit 'abf44279add64c6f22a40592895225779b8481ea': Fix NPE in SearchDialog (and thereby fix bug 2045398).
| * | | | | | | Fix NPE in SearchDialog (and thereby fix bug 2045398).Karl Rosaen2009-08-101-1/+7
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | am 021fa3fa: Merge change 20665 into donutMike LeBeau2009-08-111-87/+56
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953' * commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953': First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
| * | | | | | Merge change 20665 into donutAndroid (Google) Code Review2009-08-101-87/+56
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: First update of SearchManager docs to reflect the new Donut Quick Search Box feature. This simply cleans up any inconsistencies or weirdnesses, we still need to add the new info for QSB.
| | * | | | | | First update of SearchManager docs to reflect the new Donut Quick Search Box ↵Mike LeBeau2009-08-101-87/+56
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature. This simply cleans up any inconsistencies or weirdnesses, we still need to add the new info for QSB.
* | | | | | | am 1e1b6b72: Merge change 20514 into donutJean-Michel Trivi2009-08-111-0/+16
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | | | | | | | | | | | | | Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306' * commit '1e1b6b7245a0a9212aa3b0366e7919f114895306': Fix bug 2022435.
| * | | | | Fix bug 2022435.Jean-Michel Trivi2009-08-071-0/+16
| |/ / / / | | | | | | | | | | | | | | | | | | | | Add new intent and matching extra to signal the completion of the language pack installer. This is used by CL 20513.
* | | | | Merge change 20858Android (Google) Code Review2009-08-111-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Don't let bmgr leave a restore session hanging on error
| * | | | | Don't let bmgr leave a restore session hanging on errorChristopher Tate2009-08-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Remove delay for key feedback bubble.Amith Yamasani2009-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most users seem to expect the feedback to show up right away. So remove the delay before the bubble shows up.
* | | | | | Merge change 20812Android (Google) Code Review2009-08-111-23/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix possible exception in default live wallpaper
| * | | | | | Fix possible exception in default live wallpaperRomain Guy2009-08-111-23/+27
| | |_|_|/ / | |/| | | |
* | | | | | Merge change 20788Android (Google) Code Review2009-08-113-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: make private inner classes static
| * | | | | | make private inner classes staticCary Clark2009-08-113-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug found by findbugs http://b/issue?id=1856695
* | | | | | | Merge change 20775Android (Google) Code Review2009-08-111-2/+53
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
| * | | | | | Fixes #2021442. Prevent app widgets from clobbering Home's view ids.Romain Guy2009-08-111-2/+53
| | | | | | |
* | | | | | | Merge change 20781Android (Google) Code Review2009-08-112-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: replace 'new String()' with ""