1939 Commits

Author SHA1 Message Date
Bjorn Bringert
e85fbcb3cd am b0ae27f4: Store correct state in SearchDialog.onSaveInstanceState()
Merge commit 'b0ae27f4e10a9e5fe56b9ca549718051fe342bba'

* commit 'b0ae27f4e10a9e5fe56b9ca549718051fe342bba':
  Store correct state in SearchDialog.onSaveInstanceState()
2009-06-23 13:08:01 -07:00
Dianne Hackborn
2e41842898 Possibly fix an issue where we thought an app was always using GPS.
There may be some race conditions in the gps provider where it can cause a uid
to be double booked for gps usage and never released.  Address this by tweaking
some locking (so mLocation and the uid array are protected by a lock both when
reading and writing).  Also add some code to log a warning if someone tries to
note a particular uid multiple times, since the code will break in that case.

Finally, fix a problem in the battery stats where we weren't allowing a new Uid
structure to be created in many cases for calls coming in.
2009-06-23 12:51:06 -07:00
Karl Rosaen
61ab270c17 Add missing 'break's in switch statement, fixing bug 1876430 2009-06-23 11:10:25 -07:00
Android (Google) Code Review
fc542816ba Merge change 4939
* changes:
  mods so that we can search mms messages
2009-06-23 10:04:38 -07:00
Android (Google) Code Review
89c352cf44 Merge change 5045
* changes:
  remove deprecated use of porterduff
2009-06-23 06:48:32 -07:00
Bjorn Bringert
b0ae27f4e1 Store correct state in SearchDialog.onSaveInstanceState()
Adds this to the instance state bundle:
- mStoredComponentName
- mStoredAppSearchData
- mPreviousComponents

All the UI selection fields that were previously saved were removed.
It's not necessarily useful to restore the
selection, and it's hard to get right. The old code was buggy
(see http://b/issue?id=1911660) and did not restore the
list selection because that's quite hard.

Fixes http://b/issue?id=1926174
2009-06-23 13:47:31 +01:00
Mike Reed
47c0d4eaa9 remove deprecated use of porterduff 2009-06-22 22:53:52 -04:00
Android (Google) Code Review
3edc89fc57 am 54f156c7: Merge change 5006 into donut
Merge commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e'

* commit '54f156c7c47bd5b5f2c9675f56bddaaa43ad162e':
  Pass the originating app's versionCode along with a restore set
2009-06-22 19:47:24 -07:00
Android (Google) Code Review
cbf2f599ec am 58ee0371: Merge change 4990 into donut
Merge commit '58ee037191b5d9c2b149870868f9646bd428af2a'

* commit '58ee037191b5d9c2b149870868f9646bd428af2a':
  Fix a few more blatantly wrong date formats.
2009-06-22 19:47:21 -07:00
Android (Google) Code Review
54f156c7c4 Merge change 5006 into donut
* changes:
  Pass the originating app's versionCode along with a restore set
2009-06-22 16:47:06 -07:00
Android (Google) Code Review
58ee037191 Merge change 4990 into donut
* changes:
  Fix a few more blatantly wrong date formats.
2009-06-22 16:45:20 -07:00
Christopher Tate
5cbbf5652a Pass the originating app's versionCode along with a restore set
This change amends the doRestore() / onRestore() interface to backup agents to
provide the integer android:versionCode of the app that stored the backup set.
This should help agents figure out how to handle whatever historical data set
they're handed at restore time.
2009-06-22 16:44:51 -07:00
Android (Google) Code Review
526abb93fb am e8a1f6af: Merge change 4961 into donut
Merge commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9'

* commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9':
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:24:31 -07:00
Android (Google) Code Review
e8a1f6af96 Merge change 4961 into donut
* changes:
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:22:33 -07:00
Eric Fischer
f089c32994 Fix a few more blatantly wrong date formats.
Make punctuation in German and Italian numeric formats self-consistent.
Add missing long standalone Italian month names.
Fix doubled month words in Japanese, Chinese, and Korean.
2009-06-22 15:54:09 -07:00
Android (Google) Code Review
61f24e58d6 am 2830b922: Merge change 4977 into donut
Merge commit '2830b9226bc737da970f8d20601ccde19008415c'

* commit '2830b9226bc737da970f8d20601ccde19008415c':
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:47:26 -07:00
Android (Google) Code Review
2830b9226b Merge change 4977 into donut
* changes:
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:45:31 -07:00
Satish Sampath
f50020b34c am 662df0b9: Launch user-entered URLs directly without a web search.
Merge commit '662df0b9630fd685a7cf86bbfec15ac6b6c286c6'

* commit '662df0b9630fd685a7cf86bbfec15ac6b6c286c6':
  Launch user-entered URLs directly without a web search.
2009-06-22 15:44:06 -07:00
Satish Sampath
662df0b963 Launch user-entered URLs directly without a web search.
This is to fix bug http://b/issue?id=1931983

Instead of changing the keyboard button from search to carriage return,
I have changed it from search to 'Go' which I find more useful since
it indicates that the user can now go to that URL.
2009-06-22 23:40:10 +01:00
Christopher Tate
5196d12a12 am 3a31a93b: Add some global metadata to the restore set
Merge commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50'

* commit '3a31a93b8a195ae2d0180e6dfbf292da2e581f50':
  Add some global metadata to the restore set
2009-06-22 15:19:51 -07:00
Tom Taylor
2c0a01a6e7 Update the gservices gtalk setting for the terms and services url. 2009-06-22 15:17:59 -07:00
Christopher Tate
3a31a93b8a Add some global metadata to the restore set
In addition to the signatures of each participating application, we now also
store the versionCode of each backed-up package, plus the OS version running on
the device that contributed the backup set.  We also refuse to process a backup
from a later OS revision to an earlier one, or from a later app version to an
earlier.

LocalTransport has been modified as well to be more resilient to changes in the
system's use of metadata pseudopackages.
2009-06-22 15:14:04 -07:00
Mark Wagner
f4f8a7fe46 mods so that we can search mms messages 2009-06-22 14:55:17 -07:00
Android (Google) Code Review
cb85ef6a8b am e146d824: Merge change 4965 into donut
Merge commit 'e146d824785078fed578f88b11ff47a7390d27c5'

* commit 'e146d824785078fed578f88b11ff47a7390d27c5':
  Fix bugs 1827027, 1808979, 1820700.
2009-06-22 14:32:54 -07:00
Android (Google) Code Review
e146d82478 Merge change 4965 into donut
* changes:
  Fix bugs 1827027, 1808979, 1820700.
2009-06-22 14:31:21 -07:00
Dianne Hackborn
a465a170ce Fix bugs 1827027, 1808979, 1820700.
These are all variations of needing to validate ranges on editing operations
coming from the IME, to account for the underlying text changing (usually being
deleted) asynchronously with the IME.
2009-06-22 14:20:17 -07:00
Grace Kloba
9427c285df Set organizations to be null for generateKeyPair to use the default. 2009-06-22 14:01:25 -07:00
Android (Google) Code Review
4f5753dbee am bbf78137: Merge change 4947 into donut
Merge commit 'bbf781379b134812458591722c986cb29c396a5b'

* commit 'bbf781379b134812458591722c986cb29c396a5b':
  Yet another round of trying to get the date formats right.
2009-06-22 13:50:27 -07:00
Android (Google) Code Review
bbf781379b Merge change 4947 into donut
* changes:
  Yet another round of trying to get the date formats right.
2009-06-22 13:48:02 -07:00
Android (Google) Code Review
4527acb0c3 am 856dd8a6: Merge change 4952 into donut
Merge commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60'

* commit '856dd8a60a70a5b7dca2bf2114872ce063e2ad60':
  Helper API cleanup.  Allows multiple helpers to function,
2009-06-22 13:20:31 -07:00
Android (Google) Code Review
856dd8a60a Merge change 4952 into donut
* changes:
  Helper API cleanup.  Allows multiple helpers to function, because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
2009-06-22 13:18:09 -07:00
Android (Google) Code Review
ffe4ddfe95 am eb717b9c: Merge change 4477 into donut
Merge commit 'eb717b9c4337e5b88664802b0804f4cb48758120'

* commit 'eb717b9c4337e5b88664802b0804f4cb48758120':
  BulkCursorToCursorAdaptor.respond no longer assumes RemoteException is impossible, fails more gracefully.
2009-06-22 13:04:50 -07:00
Android (Google) Code Review
eb717b9c43 Merge change 4477 into donut
* changes:
  BulkCursorToCursorAdaptor.respond no longer assumes RemoteException is impossible, fails more gracefully.
2009-06-22 13:02:36 -07:00
Joe Onorato
06290a4bb9 Helper API cleanup. Allows multiple helpers to function,
because they'll always go in the same order, and this lets
us not have to write headers to keep them paired.
2009-06-22 13:02:24 -07:00
Karl Rosaen
6dc0ef005d BulkCursorToCursorAdaptor.respond no longer assumes RemoteException is impossible, fails more gracefully.
This fixes bug 1923131 which was crashing the system process in some cases when the search dialog
was calling respond on its cursor to GlobalSearch.
2009-06-22 12:51:35 -07:00
Eric Fischer
651e2dc0d2 Yet another round of trying to get the date formats right.
The change this time is to prefer a format derived from an interval format
to one that is inherited from the root locale.  Only a few locales don't
define any interval formats at all and are still have to get anything
from the root locale.
2009-06-22 11:55:37 -07:00
Android (Google) Code Review
9f79975fa0 am ecfb9f91: Merge change 4940 into donut
Merge commit 'ecfb9f91afa49df7b9b62526dcaca431b5ff1e01'

* commit 'ecfb9f91afa49df7b9b62526dcaca431b5ff1e01':
  Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.
2009-06-22 11:19:08 -07:00
Android (Google) Code Review
ecfb9f91af Merge change 4940 into donut
* changes:
  Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.
2009-06-22 11:17:13 -07:00
Romain Guy
7299807d18 Fixes #1933585. Don't dismiss ACTV's drop down when it's set to alwaysVisible.
This change also resizes the drop down automatically whenever the soft input
method is shown/hidden.
2009-06-22 11:09:20 -07:00
Android (Google) Code Review
a7aa3b07f1 Merge change 4932
* changes:
  In WebView, fix calcVisibleRect bugs
2009-06-22 11:01:50 -07:00
Android (Google) Code Review
90c8f83538 am d6dd686b: Merge change 4805 into donut
Merge commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f'

* commit 'd6dd686bc7adba448af1bc36a022cddba9f9561f':
  add GServices settings for Google Talk privacy and legal urls.
2009-06-22 10:45:28 -07:00
Cary Clark
3524be90f6 In WebView, fix calcVisibleRect bugs
Always use mFindIsUp to adjust computed rect bottom.

Compute the visible rect, but don't send it, when
creating the webTextView.
2009-06-22 13:17:05 -04:00
Wei Huang
ceca25fdb0 add GServices settings for Google Talk privacy and legal urls. 2009-06-22 10:08:22 -07:00
Leon Scroggins
d6377fbe7e resolved conflicts for merge of 9336f5d9 to master 2009-06-22 12:44:31 -04:00
Android (Google) Code Review
9336f5d9de Merge change 4775 into donut
* changes:
  Make browser bookmarks permissions part of the public API.
2009-06-22 08:01:58 -07:00
Android (Google) Code Review
2b31fec39c am 2c10b5f4: Merge change 4914 into donut
Merge commit '2c10b5f483f832523305c11d44035fc7f5d9a54b'

* commit '2c10b5f483f832523305c11d44035fc7f5d9a54b':
  Make all static methods in SearchManager non-static.
2009-06-22 07:26:36 -07:00
Android (Google) Code Review
2c10b5f483 Merge change 4914 into donut
* changes:
  Make all static methods in SearchManager non-static.
2009-06-22 07:19:49 -07:00
Leon Scroggins
9ce4c6c5cf Make browser bookmarks permissions part of the public API. 2009-06-22 09:14:02 -04:00
Android (Google) Code Review
fe74d46376 am 7306d248: Merge change 4913 into donut
Merge commit '7306d248feb2e52593e51944bcaf98c11974e988'

* commit '7306d248feb2e52593e51944bcaf98c11974e988':
  Add non-static version of SearchManager.getSuggestions().
2009-06-22 05:55:59 -07:00
Android (Google) Code Review
7306d248fe Merge change 4913 into donut
* changes:
  Add non-static version of SearchManager.getSuggestions().
2009-06-22 05:53:04 -07:00