9517 Commits

Author SHA1 Message Date
Android (Google) Code Review
3f790d8783 Merge change 27011 into eclair
* changes:
  Added the checking for the wma in the memory test.
2009-09-25 03:31:28 -04:00
Yu Shan Emily Lau
a56e653130 Added the checking for the wma in the memory test. 2009-09-25 00:07:47 -07:00
Eric Laurent
af141d529f Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.
When the AudioTrack callback notification size is relatively high (Which is the case on Sholes and over A2DP), it is likely that the end of tone is reached during the first callback. In this case, the AudioTrack is stopped before exiting the callback which causes 2 problems:
- 1: If the AudioFlinger thread is scheduled before we exit the ToneGenerator callback, the track can be stopped and reset before the data is actually marked as present in the buffer by the AudioTrack callback => no audio will be processed by AudioFlinger.
- 2: In this case, the data write index in the AudioTrack buffer is incremented after the track was reset by the AudioFlinger which leaves unplayed data in the buffer. This data will be played the next time the AudioTrack is started if not flushed in between.

The fix consists in adding an intermediate state to ToneGenerator state machine so that we exit the callback function when the stop condition is reached and stop the AudioTrack the next time we execute the callback.
2009-09-24 23:49:40 -07:00
Mike Cleron
f45076dd37 am fdf53a46: Merge change 26935 into eclair
Merge commit 'fdf53a4628f915203752660aa07049aa22c01b5a' into eclair-plus-aosp

* commit 'fdf53a4628f915203752660aa07049aa22c01b5a':
  Fix bug 2129190
2009-09-24 21:54:03 -07:00
Android (Google) Code Review
fdf53a4628 Merge change 26935 into eclair
* changes:
  Fix bug 2129190 The context used by the status bar (i.e., the system context) was not properly initialized to have the right ApplicationInfo inside its PackageInfo. This eventually caused it to believe that it was running at 160dpi.
2009-09-25 00:45:23 -04:00
Mike Cleron
432b713c94 Fix bug 2129190
The context used by the status bar (i.e., the system context) was
not properly initialized to have the right ApplicationInfo inside
its PackageInfo. This eventually caused it to believe that it
was running at 160dpi.

Kudos to Dianne for figuring this out.
2009-09-24 21:41:19 -07:00
Ray Chen
d503453ca0 am 80d8ace4: Merge change 26997 into eclair
Merge commit '80d8ace484525f0272b8a56142ef838f5f4d38e4' into eclair-plus-aosp

* commit '80d8ace484525f0272b8a56142ef838f5f4d38e4':
  Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
2009-09-24 21:26:27 -07:00
Android (Google) Code Review
80d8ace484 Merge change 26997 into eclair
* changes:
  Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail.
2009-09-25 00:21:15 -04:00
Scott Main
4d4ef4e02e am 9762ff45: am c7d1ee8b: docs only. add new Updating Your SDK doc; update the \'android\' tool documentation.
Merge commit '9762ff450dc9d83286d48558e327cf6b48c856ea' into eclair-plus-aosp

* commit '9762ff450dc9d83286d48558e327cf6b48c856ea':
  docs only.
2009-09-24 20:38:40 -07:00
Katarina Stenstedt
ca190523d1 am dc884053: am 20972da0: New localization document and tutorial
Merge commit 'dc884053ed0087c2d71038f4e3d35c12d7ec8348' into eclair-plus-aosp

* commit 'dc884053ed0087c2d71038f4e3d35c12d7ec8348':
  New localization document and tutorial
2009-09-24 20:38:35 -07:00
Bjorn Bringert
3558e36064 am 3309940c: am 2f2daf8e: (-s ours) Fix search intent component bug DO NOT MERGE
Merge commit '3309940c04f2c4038f60c7eb0bc875df88197043' into eclair-plus-aosp

* commit '3309940c04f2c4038f60c7eb0bc875df88197043':
  Fix search intent component bug DO NOT MERGE
2009-09-24 20:38:31 -07:00
Scott Main
c0cd11f4da implement browser history for tabbed search results...
this adds a parameter to the URL hash on all search queries.
the main motive is to allow searches from the blog to automatically open the blog tab.

Change-Id: Ib81896948e63e8173d521713496bb98065683ce7
2009-09-24 20:35:14 -07:00
Scott Main
9762ff450d am c7d1ee8b: docs only. add new Updating Your SDK doc; update the \'android\' tool documentation.
Merge commit 'c7d1ee8b235fa947c6223d1a28363c269c5ae771' into eclair

* commit 'c7d1ee8b235fa947c6223d1a28363c269c5ae771':
  docs only.
2009-09-24 20:33:47 -07:00
Katarina Stenstedt
dc884053ed am 20972da0: New localization document and tutorial
Merge commit '20972da079adb6e53fe5f8758aa473d9d46a1b54' into eclair

* commit '20972da079adb6e53fe5f8758aa473d9d46a1b54':
  New localization document and tutorial
2009-09-24 20:33:34 -07:00
Bjorn Bringert
3309940c04 am 2f2daf8e: (-s ours) Fix search intent component bug DO NOT MERGE
Merge commit '2f2daf8ed4d45ff68a0aeffcd0b284c45e5a5d82' into eclair

* commit '2f2daf8ed4d45ff68a0aeffcd0b284c45e5a5d82':
  Fix search intent component bug DO NOT MERGE
2009-09-24 20:33:25 -07:00
Scott Main
2273a31d9b am ea1241f0: Merge change 26244 into eclair
Merge commit 'ea1241f037b0071c8948eb0b438d768cc9fa326b' into eclair-plus-aosp

* commit 'ea1241f037b0071c8948eb0b438d768cc9fa326b':
  docs only.
2009-09-24 20:28:51 -07:00
Christopher Tate
dbb031baee am 3656a344: Merge change 26974 into eclair
Merge commit '3656a344072394f1ac9804be1c0d63f341233667' into eclair-plus-aosp

* commit '3656a344072394f1ac9804be1c0d63f341233667':
  Disallow concurrent backups; consult transport requestBackupTime()
2009-09-24 20:28:47 -07:00
Ray Chen
343449f018 Fix issue 2128896 The thumbnail generated after picture capture with max zoom is overlapped with previous thumbnail. 2009-09-24 20:22:37 -07:00
Android (Google) Code Review
ea1241f037 Merge change 26244 into eclair
* changes:
  docs only. change sdk sidenav for offline docs to exclude SDK-specific links like installing/upgrading. revise the offline home page.
2009-09-24 23:22:31 -04:00
Android (Google) Code Review
3656a34407 Merge change 26974 into eclair
* changes:
  Disallow concurrent backups; consult transport requestBackupTime()
2009-09-24 23:22:29 -04:00
Scott Main
c7d1ee8b23 docs only.
add new Updating Your SDK doc;
update the 'android' tool documentation.

Change-Id: I14fc78da2e198069defd7d83097f5cb685e0f677
2009-09-24 20:11:25 -07:00
Peng Zhu
3aff4fdf5c am 56024f26: Merge change 26991 into eclair
Merge commit '56024f260f993c70a65aca0081c78b21801a7c5a' into eclair-plus-aosp

* commit '56024f260f993c70a65aca0081c78b21801a7c5a':
  Add null check at isEmergencyNumber().
2009-09-24 19:55:42 -07:00
Christopher Tate
21ab6a5bdb Disallow concurrent backups; consult transport requestBackupTime()
* We now check for in-progress backups when asked to perform one, and don't
  bother firing off another one concurrently (nor do we adjust the scheduling;
  after all, someone asked to do a backup "now" and we're doing one, so we are
  in line with expectations).  We also defer backup passes while a restore is
  in flight, and abort attempts to perform a restore during a backup pass.

* When a backup attempt fails, we now ask the transport how far in the future we
  should put our retry.  Previously we were simply not bothering to consult with
  the transport, so we would wind up retrying backup while network connectivity
  was known to be down, etc.

Change-Id: Ic7758010b74e06e90c50d46b7b0dd01b17af7c90
2009-09-24 19:54:46 -07:00
Android (Google) Code Review
56024f260f Merge change 26991 into eclair
* changes:
  Add null check at isEmergencyNumber().
2009-09-24 22:50:28 -04:00
Nick Pelly
b2209a35af am 1a42cfac: Use LM_SECURE when auth && encrypt.
Merge commit '1a42cfac152faa98c2e3d9e9fd6889209de195fe' into eclair-plus-aosp

* commit '1a42cfac152faa98c2e3d9e9fd6889209de195fe':
  Use LM_SECURE when auth && encrypt.
2009-09-24 19:47:08 -07:00
Nick Pelly
a7e508eb55 am 18b1e79a: Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Merge commit '18b1e79a123b979d25bfa5d0b0ee5d0382dbd64b' into eclair-plus-aosp

* commit '18b1e79a123b979d25bfa5d0b0ee5d0382dbd64b':
  Bluetooth API: Do not allow apps to programmatically make BT discoverable.
2009-09-24 19:47:03 -07:00
Scott Main
2417b9f8a2 docs only.
change sdk sidenav for offline docs to exclude SDK-specific
links like installing/upgrading. revise the offline home page.
2009-09-24 19:45:06 -07:00
Nick Pelly
1a42cfac15 Use LM_SECURE when auth && encrypt.
LM_SECURE enforces man in the middle (MITM) protection.

Change-Id: Ia800bb657b429f8872d72072f7c9450a74028af0
2009-09-24 19:36:27 -07:00
Nick Pelly
18b1e79a12 Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to
adjust discoverable mode.

Also remove createBond(), removeBond() and cancelBondProcess(). The Settings
App already handles these automatically when connections require bonding.

Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
2009-09-24 19:34:54 -07:00
Peng Zhu
694bd8bf73 Add null check at isEmergencyNumber().
Change-Id: I7eca1ba1ce42e02c7506a7d969e4865778bb49cc
2009-09-24 18:02:37 -07:00
Jason Sams
c3d7294007 am cc89ef3d: Merge change 26971 into eclair
Merge commit 'cc89ef3d6e9b1f9be657c9158ad04b8de104434c' into eclair-plus-aosp

* commit 'cc89ef3d6e9b1f9be657c9158ad04b8de104434c':
  Implement pause/resume for the RS thread.
2009-09-24 17:58:13 -07:00
Android (Google) Code Review
cc89ef3d6e Merge change 26971 into eclair
* changes:
  Implement pause/resume for the RS thread.
2009-09-24 20:50:39 -04:00
Jason Sams
65e7aa56f5 Implement pause/resume for the RS thread. 2009-09-24 17:38:20 -07:00
Chih-Chung Chang
5e367bfe07 am 0665ae22: Merge change 26939 into eclair
Merge commit '0665ae22aa51183d6ff5fdd0abeee0344306e89d' into eclair-plus-aosp

* commit '0665ae22aa51183d6ff5fdd0abeee0344306e89d':
  Fix 2101425: Camera crashes spontaneously in preview.
2009-09-24 17:04:38 -07:00
Karl Rosaen
5786967535 am 0808c961: Merge change 26954 into eclair
Merge commit '0808c961264cd4a9961ac4cb167208d7b1d14dbb' into eclair-plus-aosp

* commit '0808c961264cd4a9961ac4cb167208d7b1d14dbb':
  Update layouts to show status (battery, alarm) info on pattern unlock screen.  make buttons dark.
2009-09-24 17:00:04 -07:00
Yu Shan Emily Lau
99c156cd9f am 7d0bdfaf: Merge change 26948 into eclair
Merge commit '7d0bdfaf9adbdaee0b8979d3d23b5b7ecb8a90a9' into eclair-plus-aosp

* commit '7d0bdfaf9adbdaee0b8979d3d23b5b7ecb8a90a9':
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-24 16:59:59 -07:00
Android (Google) Code Review
0665ae22aa Merge change 26939 into eclair
* changes:
  Fix 2101425: Camera crashes spontaneously in preview.
2009-09-24 19:59:08 -04:00
Fred Quintana
63344cae94 am 91a00d3a: fix typo
Merge commit '91a00d3a421868ad06441f131eaca8fcbbbb4fa1' into eclair-plus-aosp

* commit '91a00d3a421868ad06441f131eaca8fcbbbb4fa1':
  fix typo
2009-09-24 16:54:19 -07:00
Fred Quintana
5dfe9f157c am f5808415: rename misc to birthday
Merge commit 'f5808415263d687eb125535e04ba374e33b785da' into eclair-plus-aosp

* commit 'f5808415263d687eb125535e04ba374e33b785da':
  rename misc to birthday
2009-09-24 16:54:13 -07:00
Android (Google) Code Review
0808c96126 Merge change 26954 into eclair
* changes:
  Update layouts to show status (battery, alarm) info on pattern unlock screen.  make buttons dark.
2009-09-24 19:54:07 -04:00
Android (Google) Code Review
7d0bdfaf9a Merge change 26948 into eclair
* changes:
  Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build
2009-09-24 19:53:57 -04:00
Karl Rosaen
816ef1c116 Update layouts to show status (battery, alarm) info on pattern unlock screen. make buttons dark. 2009-09-24 16:51:50 -07:00
Fred Quintana
91a00d3a42 fix typo 2009-09-24 16:45:37 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Daisuke Miyakawa
2f24ab9fdc am 4579ed28: Merge change 26944 into eclair
Merge commit '4579ed287a0f6fc32fbfefdd5c7cf69491fdae99' into eclair-plus-aosp

* commit '4579ed287a0f6fc32fbfefdd5c7cf69491fdae99':
  Add "TYPE=" to type attribute when appropriate.
2009-09-24 16:38:52 -07:00
Android (Google) Code Review
4579ed287a Merge change 26944 into eclair
* changes:
  Add "TYPE=" to type attribute when appropriate.
2009-09-24 19:31:20 -04:00
Wei Huang
8feefb3e20 am d35db5ec: Merge change 26946 into eclair
Merge commit 'd35db5ec8bd5ef07840fa84318284df04a69411c' into eclair-plus-aosp

* commit 'd35db5ec8bd5ef07840fa84318284df04a69411c':
  Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
2009-09-24 16:19:52 -07:00
Jason Sams
cc8d56f8c3 am 0d3999f7: Merge change 26942 into eclair
Merge commit '0d3999f788eb01baa8ba671878387761cbbbf861' into eclair-plus-aosp

* commit '0d3999f788eb01baa8ba671878387761cbbbf861':
  Minor cleanup of profile and compile logging.
2009-09-24 16:19:47 -07:00
Yu Shan Emily Lau
5b0b63b674 Suppress the testPing as we moved the release test target to the userdebug. This test rely on a mock_media_player.so which build under the eng build 2009-09-24 16:17:14 -07:00
Android (Google) Code Review
d35db5ec8b Merge change 26946 into eclair
* changes:
  Fix bug#2144742: guard against 0 length encoded string when attaching a 'from' address for MMS.
2009-09-24 19:13:30 -04:00