7527 Commits

Author SHA1 Message Date
Eric Fischer
c87d25215c Make it an error to use a bare apostrophe in aapt, and adjust warnings/errors.
In practice, no one ever writes an apostrophe in an aapt string with the
intent of using it to quote whitespace -- they always mean to include a
literal apostrophe in the string and then are surprised when they find
the apostrophe missing.  Make this an error so that it is discovered
right away instead of waiting until late in QA or after the strings have
already been sent for translation.  (And fix a recently-introduced string
that has exactly this problem.)

Silence the warning about an empty span in a string, since this seems to
annoy people instead of finding any real problems.

Make the error about having a translated string with no base string into
a warning, since this is a big pain when making changes to an application
that has already had some translations done, and the dead translations
should be removed by a later translation import anyway.
2009-09-01 15:20:30 -07:00
Grace Kloba
775745c40c am 9217c458: When we destroy a WebView, RESUME_TIMERS/PAUSE_TIMERS may be still in the queue. We need to pass them to WebViewCore as they are per process base. If we drop them, the counter in the JWebCoreJavaBridge can be out of order.
Merge commit '9217c45829da4d0c9c9dbdc6bc950c7f3e03e4f5' into eclair-plus-aosp

* commit '9217c45829da4d0c9c9dbdc6bc950c7f3e03e4f5':
  When we destroy a WebView, RESUME_TIMERS/PAUSE_TIMERS may be still in the queue.
2009-09-01 15:02:34 -07:00
Grace Kloba
9217c45829 When we destroy a WebView, RESUME_TIMERS/PAUSE_TIMERS may be still in the queue.
We need to pass them to WebViewCore as they are per process base. If we drop
them, the counter in the JWebCoreJavaBridge can be out of order.

Part 2 of fixing http://b/issue?id=2087410
2009-09-01 14:58:10 -07:00
San Mehat
30b9f57c8b dumpstate: Add support for apanic crash data
Signed-off-by: San Mehat <san@google.com>
2009-09-01 14:41:13 -07:00
Lixin Yue
8a61df6410 am 485e6dca: Merge change 23462 into eclair
Merge commit '485e6dca960c2001349de0817c644f24ae85c6e3' into eclair-plus-aosp

* commit '485e6dca960c2001349de0817c644f24ae85c6e3':
  Add Bluetooth Device trust
2009-09-01 14:11:53 -07:00
Android (Google) Code Review
485e6dca96 Merge change 23462 into eclair
* changes:
  Add Bluetooth Device trust
2009-09-01 14:10:06 -07:00
Lixin Yue
efa1dd716d Add Bluetooth Device trust 2009-09-01 13:58:31 -07:00
Dianne Hackborn
da706900f4 Fix content provider 2009-09-01 13:57:11 -07:00
Jean-Michel Trivi
3218471bcd Modify the gain after filtering to prevent TTS clipping in en-US. 2009-09-01 13:46:43 -07:00
jsh
3b8916c25b am a01726a7: Some fixes to SMS processing in the framework.
Merge commit 'a01726a7fdd872cd8e1e8a9dfa52fb9cdbf01019' into eclair-plus-aosp

* commit 'a01726a7fdd872cd8e1e8a9dfa52fb9cdbf01019':
  Some fixes to SMS processing in the framework.
2009-09-01 13:40:15 -07:00
jsh
a01726a7fd Some fixes to SMS processing in the framework.
Always process class 0 and other unstored SMS (eg, MWI).  We were
rejecting all SMS messages in storage full situations, but certain
messages do not require storage.

Also, notify apps when the framework rejects MT SMS, with new
SMS_REJECTED_ACTION intent.

b/2066775
b/2015906
2009-09-01 13:35:20 -07:00
Evan Millar
ac7d821d1a am 394c92ef: Merge change 23461 into eclair
Merge commit '394c92ef154e04fe37ac4688fc6b9cc13917db1f' into eclair-plus-aosp

* commit '394c92ef154e04fe37ac4688fc6b9cc13917db1f':
  Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider
2009-09-01 13:10:35 -07:00
Android (Google) Code Review
394c92ef15 Merge change 23461 into eclair
* changes:
  Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider
2009-09-01 13:09:25 -07:00
Dmitri Plotnikov
ec6b940659 am 6ff270fd: Merge change 23474 into eclair
Merge commit '6ff270fd854d7c62f857998446fccb803004f1c3' into eclair-plus-aosp

* commit '6ff270fd854d7c62f857998446fccb803004f1c3':
  Breaking sleep after yield into small quanta.
2009-09-01 13:06:04 -07:00
Android (Google) Code Review
6ff270fd85 Merge change 23474 into eclair
* changes:
  Breaking sleep after yield into small quanta.
2009-09-01 13:03:58 -07:00
Dianne Hackborn
93ca790c02 am d31825c6: Merge change 23403 into eclair
Merge commit 'd31825c6ff83a3e336efc97ced1b205fe65b11a9' into eclair-plus-aosp

* commit 'd31825c6ff83a3e336efc97ced1b205fe65b11a9':
  Various infrastructure to support a running services UI.
2009-09-01 12:33:07 -07:00
Android (Google) Code Review
d31825c6ff Merge change 23403 into eclair
* changes:
  Various infrastructure to support a running services UI.
2009-09-01 12:31:31 -07:00
Evan Millar
b3c4998284 Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider
This is necessary partly for general hygiene, but mostly because we need
to be able to determine based on the intent type what style URI to
return in the case of startActivityForResult().

Change-Id: Ib313d830b8646a70d5ac3ded11597af614429262
2009-09-01 12:14:12 -07:00
Dmitri Plotnikov
600bdd82f5 Breaking sleep after yield into small quanta.
Rationale: there is no reason to sleep for 4 seconds between
transactions if there is no one using the database.  This long
sleep only makes sense if two threads are actively using 
the database yielding to each other every several seconds.
2009-09-01 12:12:20 -07:00
Guang Zhu
84aa88a93b am 87b455f5: Merge change 23469 into eclair
Merge commit '87b455f5581b3cc3edb9003592a11a1a43104109' into eclair-plus-aosp

* commit '87b455f5581b3cc3edb9003592a11a1a43104109':
  Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback.
2009-09-01 12:05:47 -07:00
Android (Google) Code Review
87b455f558 Merge change 23469 into eclair
* changes:
  Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback.
2009-09-01 12:03:39 -07:00
Guang Zhu
f3d924ca0d Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback. 2009-09-01 11:57:16 -07:00
Daniel Sandler
8a6129d549 am 0c91f5a3: Merge change 23464 into eclair
Merge commit '0c91f5a3b20fea1c937212c2aeec073128f6fdc3' into eclair-plus-aosp

* commit '0c91f5a3b20fea1c937212c2aeec073128f6fdc3':
  Create new hdpi versions of 1x data statusbar icons.
2009-09-01 11:51:53 -07:00
Android (Google) Code Review
0c91f5a3b2 Merge change 23464 into eclair
* changes:
  Create new hdpi versions of 1x data statusbar icons.
2009-09-01 11:49:45 -07:00
Daniel Sandler
f6aa42f968 Create new hdpi versions of 1x data statusbar icons.
Fixes http://b/2086838 with new, original artwork (i.e. not from TAT) to meet
Thursday build deadline.
2009-09-01 14:47:30 -04:00
Jean-Baptiste Queru
85a2c7f1ca merge from open-source master 2009-09-01 11:46:14 -07:00
Eric Fischer
f84b803478 am b7559e02: am 56205fea: Merge change 23345 into donut
Merge commit 'b7559e02803266e5fa9f4496174bc343ecd245ab' into eclair-plus-aosp

* commit 'b7559e02803266e5fa9f4496174bc343ecd245ab':
  Fix an emoji-measuring bug that caused an exception when editing a contact.
2009-09-01 11:20:35 -07:00
Eric Fischer
b7559e0280 am 56205fea: Merge change 23345 into donut
Merge commit '56205fea879543a50bb797016832416a8b48cabb' into eclair

* commit '56205fea879543a50bb797016832416a8b48cabb':
  Fix an emoji-measuring bug that caused an exception when editing a contact.
2009-09-01 11:18:43 -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
Dianne Hackborn
3025ef332c Various infrastructure to support a running services UI.
Some of this is temporary (in particular the two approaches for getting
process memory, one working but horrible, the other not working but
preferred) until I figure out the best way to do it.

Change-Id: I8c8f25062d481fcea22a47d459b083d2fd8a5040
2009-09-01 11:16:25 -07:00
Eric Laurent
0d71db4979 am 46c15823: Merge change 23105 into eclair
Merge commit '46c158234dee0d1d47f06b7661150c18512dc589' into eclair-plus-aosp

* commit '46c158234dee0d1d47f06b7661150c18512dc589':
  Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
2009-09-01 11:15:42 -07:00
Android (Google) Code Review
46c158234d Merge change 23105 into eclair
* changes:
  Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
2009-09-01 11:14:00 -07:00
Eric Laurent
4e059280b7 Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
Make sure that the progress bar is refreshed when the max value is changed.
2009-09-01 10:35:15 -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
Guang Zhu
b21ca4bd11 am d9942b5c: Merge change 23450 into eclair
Merge commit 'd9942b5cb1662638bb6fb57c12a06976e3c34651' into eclair-plus-aosp

* commit 'd9942b5cb1662638bb6fb57c12a06976e3c34651':
  At leaset log the layout test timeouts
2009-09-01 10:27:23 -07:00
Android (Google) Code Review
d9942b5cb1 Merge change 23450 into eclair
* changes:
  At leaset log the layout test timeouts
2009-09-01 10:24:38 -07:00
Guang Zhu
4a40a039c0 At leaset log the layout test timeouts 2009-09-01 10:23:24 -07:00
Cary Clark
1b0f6e82f6 am 169ae05f: Merge change 23439 into eclair
Merge commit '169ae05f9f5cce400dd936e2a31676b80d84b862' into eclair-plus-aosp

* commit '169ae05f9f5cce400dd936e2a31676b80d84b862':
  if exception getMessage() is null, don't add it to the error
2009-09-01 10:15:51 -07:00
Eric Laurent
9af39a5700 am b51b4098: Merge change 23438 into eclair
Merge commit 'b51b40982d06813bd3b325b4f0d1fa698ab3f897' into eclair-plus-aosp

* commit 'b51b40982d06813bd3b325b4f0d1fa698ab3f897':
  Fix issue 2091594: music chirp after disconnecting A2DP.
2009-09-01 10:14:14 -07:00
Android (Google) Code Review
169ae05f9f Merge change 23439 into eclair
* changes:
  if exception getMessage() is null, don't add it to the error
2009-09-01 10:14:10 -07:00
Cary Clark
4e441b711a if exception getMessage() is null, don't add it to the error
Consolidate the error message construction, allowing the
exception getMessage() to fail.
2009-09-01 13:01:33 -04:00
Android (Google) Code Review
b51b40982d Merge change 23438 into eclair
* changes:
  Fix issue 2091594: music chirp after disconnecting A2DP.
2009-09-01 09:57:53 -07:00
Grace Kloba
75e05a5dbb am 5e2a385c: Merge change 23395 into eclair
Merge commit '5e2a385c0d95f4a99dd8c562c6d2d79aa8546030' into eclair-plus-aosp

* commit '5e2a385c0d95f4a99dd8c562c6d2d79aa8546030':
  When we get 304 and switch to cacheLoader, need to set mFromCache to be true.
2009-09-01 09:17:47 -07:00
Android (Google) Code Review
5e2a385c0d Merge change 23395 into eclair
* changes:
  When we get 304 and switch to cacheLoader, need to set mFromCache to be true. So that the cache loading will not create a new mCacheResult which overwrites the old cache data.
2009-09-01 09:15:45 -07:00
Patrick Scott
153b0226e1 am 05a6f3cd: Merge change 23434 into eclair
Merge commit '05a6f3cde52e5fbbad5187615bfc87d58559161f' into eclair-plus-aosp

* commit '05a6f3cde52e5fbbad5187615bfc87d58559161f':
  Fix a docs comment to match the parameter name.
2009-09-01 07:21:59 -07:00
Android (Google) Code Review
05a6f3cde5 Merge change 23434 into eclair
* changes:
  Fix a docs comment to match the parameter name.
2009-09-01 07:20:18 -07:00
Patrick Scott
447811c64f Fix a docs comment to match the parameter name. 2009-09-01 09:57:20 -04:00
Cary Clark
9e74bf76f7 am 278ce05b: accelerate consecutive flings
Merge commit '278ce05b52a47a09d2177435b533f4ecb1b9c4da' into eclair-plus-aosp

* commit '278ce05b52a47a09d2177435b533f4ecb1b9c4da':
  accelerate consecutive flings
2009-09-01 06:37:47 -07:00
Cary Clark
278ce05b52 accelerate consecutive flings
Use the fact that the scroller keeps track of the current velocity
to accelerate subsequent flings. The current velocity is added to
the new velocity if the flings are in the same general direction
and if the fling animation hasn't been aborted.

This makes it easier to move to the top or bottom of very large
pages (either in overview mode or reading mode) by taking
consecutive flings as a cue from the user that they want to
page faster. The user can stop the fling with any action as
before.

fixes http://b/issue?id=2066090
2009-09-01 09:34:21 -04:00
Eric Laurent
d069f32039 Fix issue 2091594: music chirp after disconnecting A2DP.
In AudioFlinger::MixerThread::putTracks(), change the mFillingUpStatus flag to FS_FILLING for active tracks so that mute request is executed without ramping volume down when the track is moved from A2DP to hardware output.
Also modified AudioFlinger::setStreamOutput() so that the notification of the change is sent only once to AudioSystem.
2009-09-01 05:56:26 -07:00