826 Commits

Author SHA1 Message Date
Christopher Tate
a8bf815c61 Add android.backup.BackupManager
Also tweak the dataChanged() api to have the client supply a package name.  We
don't necessarily TRUST this, but we use it to narrow the set of packages requesting
a backup pass, no longer blithely scheduling a pass for all packages associated
with the caller's uid.
2009-04-30 11:36:21 -07:00
Android (Google) Code Review
a039d465a8 Merge change 792 into donut
* changes:
  Allow access to global search by pressing the hard search button again within in-app search. If within in-app search and toggled out to global search, pressing the hard search button will take the user *back* into in-app search too.
2009-04-30 10:07:39 -07:00
Mike LeBeau
b3aab69581 Allow access to global search by pressing the hard search button again
within in-app search. If within in-app search and toggled out to global
search, pressing the hard search button will take the user *back* into
in-app search too.
2009-04-30 09:45:53 -07:00
Dan Bornstein
5fcfcd0f34 am b4c218e: AI 147994: First cut of CharsetUtils, a utility class that a
Merge commit 'b4c218eafd382da778bcc0006de9b8fce267a9cd' into donut

* commit 'b4c218eafd382da778bcc0006de9b8fce267a9cd':
  AI 147994: First cut of CharsetUtils, a utility class that aims to
2009-04-29 23:31:38 -07:00
Mitsuru Oshima
d4ed049672 Merge branch 'readonly-p4-donut' into donut 2009-04-29 17:15:14 -07:00
Mitsuru Oshima
dffbb4dbce AI 148024: fix NPE when there is no history
Automated import of CL 148024
2009-04-29 17:13:46 -07:00
Dave Bort
4b0ebef18d TypedProperties: add getStringInfo() to help deal with null strings
Signed-off-by: Dave Bort <dbort@android.com>
2009-04-29 17:09:56 -07:00
Dave Bort
5b6f8d865d TypedProperties: change the file format to be a subset of Java
Types and constants are now case-sensitive.
Types come first.
Newlines are ignored, but semicolons are required.
Comments are now Java-style, not sh-style.
unset() now looks like a method instead of a pseudotype.

Signed-off-by: Dave Bort <dbort@android.com>
2009-04-29 17:08:08 -07:00
Android (Google) Code Review
7fe3b064d3 Merge change 740 into donut
* changes:
  MIDI render thread was nice 0, should be nice -16. Seems like a recent change sets the thread priority to 0. Previously it inherited priority from the parent thread. This change sets the MIDI render thread priority to the default for audio threads. Reference bug 1800905
2009-04-29 15:27:15 -07:00
Christopher Tate
487529a70c First baby steps towards settings backup
This change adds a sketched outline of the backup system architecture, with
all of the major pieces represented other than client-side helpers for
specific types of data.  IBackupManager and BackupService are public so that
we can write test apps against SDK-domain symbols from the outset.

What code exists in this change hasn't been tested and may crash.  It's the
beginnings of the real implementation but of course is barely begun.
2009-04-29 14:49:30 -07:00
Android (Google) Code Review
dc67739af9 Merge change 741 into donut
* changes:
  Fix typo in searchSuggestThreshold attr doc.
2009-04-29 14:30:27 -07:00
Android (Google) Code Review
73b71842dc Merge change 748 into donut
* changes:
  Fix the build.
2009-04-29 13:51:33 -07:00
Romain Guy
2a4bf5cee3 Fix the build. 2009-04-29 13:50:54 -07:00
Android (Google) Code Review
9ae8873ed8 Merge change 617 into donut
* changes:
  Allow caller-supplied column aliases in queries even when a projection map is used.
2009-04-29 13:31:13 -07:00
Android (Google) Code Review
9f98f79f8e Merge change 739 into donut
* changes:
  Vorbis render thread was nice 0, should be nice -16. Seems like a recent change sets the thread priority to 0. Previously it inherited priority from the parent thread. This change sets the Vorbis render thread priority to the default for audio threads. Reference bug 1800905
2009-04-29 13:31:09 -07:00
Android (Google) Code Review
649b1c6ec3 Merge change 736 into donut
* changes:
  CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract.
2009-04-29 13:06:31 -07:00
Bjorn Bringert
044d202c3d Fix typo in searchSuggestThreshold attr doc. 2009-04-29 21:04:30 +01:00
Android (Google) Code Review
efae672d73 Merge change 725 into donut
* changes:
  Add 'includeInGlobalSearch' attribute to searchable meta-data.
2009-04-29 13:03:47 -07:00
Android (Google) Code Review
05e47550bb Merge change 724 into donut
* changes:
  Split testSearchablesMocked into two tests.
2009-04-29 13:03:38 -07:00
Dave Sparks
c082769b67 MIDI render thread was nice 0, should be nice -16.
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the MIDI
render thread priority to the default for audio threads.
Reference bug 1800905
2009-04-29 12:59:33 -07:00
Bjorn Bringert
c1f4096064 Remove menu from SearchDialog.
Before, pressing MENU with the SearchDialog open would show
a menu item that launched the search settings activity. Now that
the search settings are accessible from the Settings app, this is
no longer needed.

Fixes http://b/issue?id=1819469 and http://b/issue?id=1817823
2009-04-29 20:49:56 +01:00
Dave Sparks
0e051b189f Vorbis render thread was nice 0, should be nice -16.
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the Vorbis
render thread priority to the default for audio threads.
Reference bug 1800905
2009-04-29 12:42:28 -07:00
Bjorn Bringert
6d72e029cb Add 'includeInGlobalSearch' attribute to searchable meta-data.
The attribute is not yet public.
Also adds a SearchManager method for listing all
searchables that can be included in global search.
This is the framework part of http://b/issue?id=1819651
2009-04-29 20:23:04 +01:00
Romain Guy
8b5e7c046d CheckedTextView is abstract but can be inflated from XML. Let's be consistent and allow it to be used from Java code as well by making it non-abstract. 2009-04-29 11:48:22 -07:00
Android (Google) Code Review
80f3b97121 Merge change 730 into donut
* changes:
  New font that fixes the accent shape/orientation on 1EDD
2009-04-29 10:09:52 -07:00
Dan Bornstein
b4c218eafd AI 147994: First cut of CharsetUtils, a utility class that aims to
help with vendor-specific encoding name interpretation.
  BUG=1820922

Automated import of CL 147994
2009-04-29 10:01:27 -07:00
Android (Google) Code Review
c5f1b92d0a Merge change 691 into donut
* changes:
  Fixes 1819406. Take a ListView, add headers/footers, set the adapter after at least one layout pass, and the headers/footers don't know they have a parent anymore. Which causes a lot of trouble, like drawing not happening.
2009-04-29 09:59:53 -07:00
Mike Reed
c4ae5dc9ac New font that fixes the accent shape/orientation on 1EDD 2009-04-29 12:50:23 -04:00
Bjorn Bringert
aece7c6723 Split testSearchablesMocked into two tests. 2009-04-29 14:50:46 +01:00
Bjorn Bringert
203464af96 Add searchSuggestThreshold to searchable meta-data.
This lets the searchable activity specify the number of
characters needed to trigger suggestions. Before, this was
hard-coded at 0. This caused unnecessary querying of the
suggestion provider in cases where the provider does not
return suggestions for empty or short queries.

The attribute is not yet public, pending API council approval.
2009-04-29 13:02:54 +01:00
Android (Google) Code Review
493b00afbf Merge change 640 into donut
* changes:
  Add GLOBAL_SEARCH intent for finding global search provider.
2009-04-29 03:38:01 -07:00
Eric Fischer
7ffeac8db9 am a21e376: AI 147962: Import updated zh_TW translations.
Merge commit 'a21e376bf0108469d90b1f107e50233e64a5e21f' into donut

* commit 'a21e376bf0108469d90b1f107e50233e64a5e21f':
  AI 147962: Import updated zh_TW translations.
2009-04-28 21:54:19 -07:00
Scott Main
c13fe2c00b am c804836: AI 147951: delete unused files
Merge commit 'c8048365f0022949e36638d991a92b2060a3677a' into donut

* commit 'c8048365f0022949e36638d991a92b2060a3677a':
  AI 147951: delete unused files
2009-04-28 21:54:19 -07:00
Scott Main
b2b841db08 am 998234e: AI 147947: update the sitemap. add disallow in robots file f
Merge commit '998234ed4ab957b9ddb15f4ad5341885a6a649c2' into donut

* commit '998234ed4ab957b9ddb15f4ad5341885a6a649c2':
  AI 147947: update the sitemap. add disallow in robots file for the sdk/preview/
2009-04-28 21:54:18 -07:00
Dirk Dougherty
0b8c4faee3 am 752aaf9: AI 147874: Fix format and link errors in docs.
Merge commit '752aaf92a8eb3d982cb870ac74f86315f9c5a918' into donut

* commit '752aaf92a8eb3d982cb870ac74f86315f9c5a918':
  AI 147874: Fix format and link errors in docs.
2009-04-28 21:54:18 -07:00
Scott Main
9eb6ac878e am 5fe696f: AI 147814: tweaks to the hello world tutorial.
Merge commit '5fe696f7b0ffe3b40d75026b16983246ec4cda4c' into donut

* commit '5fe696f7b0ffe3b40d75026b16983246ec4cda4c':
  AI 147814: tweaks to the hello world tutorial.
2009-04-28 21:54:18 -07:00
Scott Main
563dc08ec0 am 2222c9e: AI 147812: close <em> tag
Merge commit '2222c9e4ad7242acb1f12bdcd77ac670f802a43f' into donut

* commit '2222c9e4ad7242acb1f12bdcd77ac670f802a43f':
  AI 147812: close <em> tag
2009-04-28 21:54:17 -07:00
Scott Main
dfe88ae496 am 0ee4f86: AI 147811: typo fixes and edits for upgrading and installing
Merge commit '0ee4f86c92b9372489bace84276b81e8b37827df' into donut

* commit '0ee4f86c92b9372489bace84276b81e8b37827df':
  AI 147811: typo fixes and edits for upgrading and installing docs
2009-04-28 21:54:17 -07:00
Scott Main
7e35614162 am 263ed76: AI 147810: fix links on the homepage
Merge commit '263ed76bf6fe4cfa368dec0a04ecb4ddea33095e' into donut

* commit '263ed76bf6fe4cfa368dec0a04ecb4ddea33095e':
  AI 147810: fix links on the homepage
2009-04-28 21:54:16 -07:00
Dirk Dougherty
db248204f0 am 7eeb5d5: AI 147807: Miscellaneous doc fixes needed for 1.5 SDK push
Merge commit '7eeb5d5c8e460042f4409c989e5a0cfe290a1b05' into donut

* commit '7eeb5d5c8e460042f4409c989e5a0cfe290a1b05':
  AI 147807: Miscellaneous doc fixes needed for 1.5 SDK push
2009-04-28 21:54:16 -07:00
Scott Main
323d82130c am ce878be: AI 147804: add new doc about Dialogs
Merge commit 'ce878bef710c6d1e6881949c82b1293fb8435715' into donut

* commit 'ce878bef710c6d1e6881949c82b1293fb8435715':
  AI 147804: add new doc about Dialogs
2009-04-28 21:54:15 -07:00
Scott Main
8419fcdfaf am b8b3645: AI 147803: add docs and images for docs on Toast and Notifi
Merge commit 'b8b3645a9799c38ad68549316ebbf7a4849f2e0c' into donut

* commit 'b8b3645a9799c38ad68549316ebbf7a4849f2e0c':
  AI 147803: add docs and images for docs on Toast and  Notification docs
2009-04-28 21:54:15 -07:00
Dirk Dougherty
bce7bc9286 am 596451c: AI 147796: Add widget design guidelines to new UI Guidelines
Merge commit '596451ce46f6c7c49e399d3b4025d0f42c5cb979' into donut

* commit '596451ce46f6c7c49e399d3b4025d0f42c5cb979':
  AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
2009-04-28 21:54:14 -07:00
Scott Main
856d0150da am 6fc27f7: AI 147793: cleanup broken links and delete all innacurate in
Merge commit '6fc27f79b4efb0a8fdaf393eb35fe5925541a893' into donut

* commit '6fc27f79b4efb0a8fdaf393eb35fe5925541a893':
  AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
2009-04-28 21:54:14 -07:00
Dirk Dougherty
cbf17dd673 am 47f3a7a: AI 147782: Add a link to the JET docs from media index page.
Merge commit '47f3a7ae793d271b6731436eb854fc8ae7cb9871' into donut

* commit '47f3a7ae793d271b6731436eb854fc8ae7cb9871':
  AI 147782: Add a link to the JET docs from media index page.
2009-04-28 21:54:13 -07:00
Scott Main
0db2557491 am 4afe275: AI 147780: add summary of "future-proofing your apps" and li
Merge commit '4afe275c984fc943d11b26857aa81c501f5b294f' into donut

* commit '4afe275c984fc943d11b26857aa81c501f5b294f':
  AI 147780: add summary of "future-proofing your apps" and links
2009-04-28 21:54:13 -07:00
Scott Main
6585cc1bbd am 094d9af: AI 147777: add release notes links for each download page
Merge commit '094d9af4d365b6cad2a346e4cb30f7edd7593ba3' into donut

* commit '094d9af4d365b6cad2a346e4cb30f7edd7593ba3':
  AI 147777: add release notes links for each download page
2009-04-28 21:54:12 -07:00
Scott Main
5e8ead2647 am 6bbf389: AI 147767: set 1.1 download page to include "not current" di
Merge commit '6bbf38916957aba00e85af83923c232ccae5a59d' into donut

* commit '6bbf38916957aba00e85af83923c232ccae5a59d':
  AI 147767: set 1.1 download page to include "not current" disclaimer
2009-04-28 21:54:12 -07:00
Dirk Dougherty
d41f950aca am 7b54237: AI 147755: Add sizes and checksums for 1.5 SDK downloadables
Merge commit '7b54237c8b662b7c1069e00d8dd6aa7e4d619e87' into donut

* commit '7b54237c8b662b7c1069e00d8dd6aa7e4d619e87':
  AI 147755: Add sizes and checksums for 1.5 SDK downloadables.
2009-04-28 21:54:12 -07:00
Scott Main
4681c017a1 am 6f1826c: AI 147752: dang, there was another unclosed tag... tested it
Merge commit '6f1826cb0cf23e0027817f5a26cf1181f85e1085' into donut

* commit '6f1826cb0cf23e0027817f5a26cf1181f85e1085':
  AI 147752: dang, there was another unclosed tag... tested it this time.
2009-04-28 21:54:11 -07:00