Commit Graph

3075 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
6c63ee4fc4 Reconcile true history with open-source donut snapshots 2009-10-28 07:42:36 -07:00
Jean-Baptiste Queru
63abad7ed3 reconcile tools-docs into main branch 2009-10-09 10:27:15 -07:00
Jean-Baptiste Queru
5f4906cafc donut snapshot 2009-10-09 10:27:14 -07:00
Jean-Baptiste Queru
dde8b50b87 donut snapshot 2009-10-09 07:33:40 -07:00
Jean-Baptiste Queru
8f4b5a5618 donut snapshot 2009-09-02 13:39:46 -07:00
Dianne Hackborn
e1b4437dba Revert "Fix content provider"
Argh!

This reverts commit da706900f4.
2009-09-01 19:21:08 -07:00
Android (Google) Code Review
c804efe278 Merge change 23569 into donut
* changes:
  Update 4.xml to the most recent APIs.
2009-09-01 19:15:59 -07:00
Dianne Hackborn
2c8859aeda Update 4.xml to the most recent APIs. 2009-09-01 19:14:55 -07:00
Android (Google) Code Review
6a98f8d93e Merge change 23499 into donut
* changes:
  Fix content provider
2009-09-01 19:09:24 -07:00
Android (Google) Code Review
dc5164134c Merge change 23503 into donut
* changes:
  docs only. expand the uses-feature docs
2009-09-01 19:04:15 -07:00
Scott Main
c6747d02c6 docs only.
expand the uses-feature docs

Change-Id: I47e7d7570fdab6f0f698ecc978c8cecca8c1d28b
2009-09-01 17:12:53 -07:00
Scott Main
4e60d012c9 docs only.
add syntax samples for all attributes and revise
targetSdkVersion information.

Change-Id: I164da5870743be259e64827c36c4c5eed55fa2b0
2009-09-01 16:17:36 -07:00
Dianne Hackborn
da706900f4 Fix content provider 2009-09-01 13:57:11 -07:00
Android (Google) Code Review
56205fea87 Merge change 23345 into donut
* changes:
  Fix an emoji-measuring bug that caused an exception when editing a contact.
2009-09-01 11:16:25 -07:00
Eric Fischer
a82e99a89b Fix an emoji-measuring bug that caused an exception when editing a contact.
It was measuring the text to try to determine the size that it needed to
scale the emoji character to.  Unfortunately it was accidentally trying
to measure the character under the cursor instead of the emoji character
itself, which is wrong, but more seriously doesn't work at all when the
cursor is at the end of the line.

This was already fixed before in change 144474, but that change never got
merged over to donut.  So this merges it now.

Bug 2087915

Change-Id: Ib4804d330a029a966207b3b07271f84e6b2652c0
2009-09-01 10:28:11 -07:00
Scott Main
5126d3a379 docs only.
revise samples link for offline docs to point to the current version
2009-08-31 18:04:52 -07:00
Android (Google) Code Review
728157b4af Merge change 23242 into donut
* changes:
  docs only. add uses-feature "name" attribute
2009-08-31 15:00:36 -07:00
Scott Main
05902f06f6 docs only.
add uses-feature "name" attribute
2009-08-31 14:56:23 -07:00
Jean-Baptiste Queru
57f03f0b5d Merge snapshot version of donut back into the main tree 2009-08-31 09:32:35 -07:00
Jean-Baptiste Queru
72b1f379d5 donut snapshot 2009-08-31 09:17:57 -07:00
Android (Google) Code Review
a84a26d2af Merge change 23241 into donut
* changes:
  add searchable dictionary to html docs and dev guide nav and add screenshots.
2009-08-29 13:38:17 -07:00
Scott Main
689d16be5e add searchable dictionary to html docs and dev guide nav
and add screenshots.
2009-08-29 13:25:19 -07:00
Android (Google) Code Review
af0b780ac6 Merge change 23198 into donut
* changes:
  Update SearchManager documentation to reflect latest behavior.
2009-08-28 16:14:21 -07:00
Mike LeBeau
05b775e0b7 Update SearchManager documentation to reflect latest behavior. 2009-08-28 15:52:56 -07:00
Android (Google) Code Review
e1df82248a Merge change 23173 into donut
* changes:
  Remove flaky test LifecycleTest.testDialog from large continuous suite.
2009-08-28 13:48:09 -07:00
Brett Chabot
3bb99b3adf Remove flaky test LifecycleTest.testDialog from large continuous suite.
BUG 1866891

Change-Id: Ifef98426cf3879fc9f17aa5a0891578fefa54ce3
2009-08-28 13:42:10 -07:00
Android (Google) Code Review
1e3483780c Merge change 23043 into donut
* changes:
  Revert "Remove third party support for Quick Search Box (aka global search)."
2009-08-27 18:32:27 -07:00
Karl Rosaen
590f63433c Revert "Remove third party support for Quick Search Box (aka global search)."
This reverts commit a647b7f29d65a7792cede74284e714b591337992.
2009-08-27 17:42:48 -07:00
Android (Google) Code Review
f734e027bf Merge change 22939 into donut
* changes:
  Final Donut API list.
2009-08-27 12:57:09 -07:00
Dianne Hackborn
6eccc39073 Final Donut API list. 2009-08-27 12:11:10 -07:00
Android (Google) Code Review
301b97ac19 Merge change 22883 into donut
* changes:
  Various tweaks to try to improve low memory behavior.
2009-08-27 01:14:00 -07:00
Dianne Hackborn
fd12af4e76 Various tweaks to try to improve low memory behavior.
- Reduce the amount that we ask processes to GC after a significant
  operation occurs, but introducing a minimum time between GCs and
  using this in various ways to schedule them.

- Don't spam all of the processes with onLowMemory().  Now deliver
  these using the same gc facility, so we do the processes one at a
  time, and don't allow the same process to get this call more than
  once a minute.

- Increase the time a service must run before we will reset its
  restart delay to 30 minutes (from 10).

- Increase the restart delay multiplication factor from 2 to 4.

- Ensure that we don't restart more than one service every 10 seconds
  (unless some external event causes a service's process to be started
  for some other reason of course).

- Increase the amount of time that a service must run before we
  decide to lower it to a background process.

And some other things:

- Catch IllegalArgumentException in ViewRoot like we do for no
  resources to avoid the system process crashing.

- Fix a number of places where we were missing breaks between the
  activity manager's message dispatch func(!!).

- Fix reason printed for processes in the background.

- Print the list of processing waiting to GC.
2009-08-27 01:03:24 -07:00
Mike Lockwood
7566c1debe LocationManager: Fix problem replacing GPS and network providers with a mock provider.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 23:34:18 -07:00
Android (Google) Code Review
b0f5b755e7 Merge change 22090 into donut
* changes:
      docs only.     add new documentation for installing the new winusb driver.     also add a link to the HTC support site for ADP flashing     and remove references to the G1 and generalize to "consumer devices"
2009-08-26 12:55:54 -07:00
Scott Main
7991745ea0 docs only.
add new documentation for installing the new winusb driver.
    also add a link to the HTC support site for ADP flashing
    and remove references to the G1 and generalize to "consumer devices"
2009-08-26 11:56:57 -07:00
Bjorn Bringert
ba22376089 Close suggestion cursors that arrive after adapter is closed
Before, after using the Browser, memory-hungry apps could
become very sluggish. This was because the search dialog in the
system process had the BrowserProvider open, which in turn had
EnhancedGoogleSearch open. Since EhancedGoogleSearch runs in acore,
the system would keep both the Browser process and acore to stay
around forever.

The cause (or at least one common cause) for this was that
if the user types quickly, and clicks on a suggestion before
the displayed suggestions have caught up, some suggestion cursors
are not be closed.

This change solves this problem by adding a close() method to
SuggestionsAdapter. SuggestionsAdapter now closes any cursors
that are passed to it after close() is called.

Fixes http://b/issue?id=2078226
"global search holding reference to browser: system -> browser -> acore = :("
2009-08-26 13:18:40 +01:00
Yu Shan Emily Lau
b56de7474d Revert " modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java"
This reverts commit 051d8d6692.
2009-08-25 10:21:31 -07:00
Scott Main
b385508d89 Add more code samples to the online docs.
Add build rules to include the development samples in the droiddoc build process.
Add all the sample screenshots to a new samples/images/ directory
Revise the samples homepage to include links to new samples
2009-08-24 14:45:00 -07:00
Android (Google) Code Review
8c937a1766 Merge change 22379 into donut
* changes:
  	modified:   MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java         Fixed the passing incorrect media names and add the localH263AMRprepareAsync test.
2009-08-24 10:11:00 -07:00
Yu Shan Emily Lau
051d8d6692 modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
Fixed the passing incorrect media names and add the localH263AMRprepareAsync test.

	modified:   MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
2009-08-21 19:20:42 -07:00
Android (Google) Code Review
36d5aaec2e Merge change 22322 into donut
* changes:
  Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
2009-08-21 14:47:41 -07:00
Eric Fischer
cc5dfa9ed0 Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
Without this, the runtime would restart when you tried to add a word
from the search widget.

Bug 2069689
2009-08-21 13:31:54 -07:00
Anonymous Coward
081a136d25 Remove third party support for Quick Search Box (aka global search).
- @hides relevant APIs
- removes relevant javadoc
- enforces that only system apps can participate

note: general support is still there, will be easy to reenable when we are ready.
2009-08-21 12:47:14 -07:00
Bob Lee
e97c2006bf Updated Browser and MCS to use shared default trust manager instead of initializing their own copies. 2009-08-20 18:48:31 -07:00
Eric Fischer
b7aec9124a Import revised translations. DO NOT MERGE 2009-08-20 14:07:18 -07:00
Android (Google) Code Review
185d74ba56 Merge change 21977 into donut
* changes:
  docs only. add reference information for new <path-permission> element
2009-08-20 11:19:08 -07:00
Scott Main
29b57764e7 docs only.
add reference information for new <path-permission> element
2009-08-19 15:19:53 -07:00
Suchi Amalapurapu
d50066f8d2 invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService 2009-08-18 17:03:10 -07:00
Android (Google) Code Review
ad4bc607bd Merge change 21772 into donut
* changes:
  Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
2009-08-18 13:39:50 -07:00
Xavier Ducrohet
72e4bcd3d0 Fix Resources#opeRawResource(int, TypedValue) in layoutlib. 2009-08-18 13:35:55 -07:00