8692 Commits

Author SHA1 Message Date
Bjorn Bringert
c16f6f3331 am 6cb1330d: Merge change 24683 into eclair
Merge commit '6cb1330d26d2fe8a01c33ab3fbaee2bfebb6f47e' into eclair-plus-aosp

* commit '6cb1330d26d2fe8a01c33ab3fbaee2bfebb6f47e':
  Tell GlobalSearch about searches without a suggestion
2009-09-14 08:39:31 -07:00
Android (Google) Code Review
6cb1330d26 Merge change 24683 into eclair
* changes:
  Tell GlobalSearch about searches without a suggestion
2009-09-14 11:30:43 -04:00
Eric Laurent
64c0e1a51c Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
This is due to a regression introduced by change 24114: when no audio tracks are ready for mixing, 0s are written to audio hardware. However this should only happen if tracks have already been mixed since the audio flinger thread woke up.
Also do not write 0s to audio hardware in direct output threads when audio format is not linear PCM.
2009-09-14 02:37:15 -07:00
Eric Laurent
6fc35e3e7e am 91e2d865: Merge change 24337 into eclair
Merge commit '91e2d8651fe38a921b37a8bf8b3148c572cf9430' into eclair-plus-aosp

* commit '91e2d8651fe38a921b37a8bf8b3148c572cf9430':
  Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block.
2009-09-13 23:50:52 -07:00
Android (Google) Code Review
91e2d8651f Merge change 24337 into eclair
* changes:
  Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block.
2009-09-14 02:43:52 -04:00
Bjorn Bringert
c00083425b am ab50b86b: Deprecate showSearchIconAsBadge and icon search attrs
Merge commit 'ab50b86b79936623b5e326f2ed84b3c947c8ec93' into eclair-plus-aosp

* commit 'ab50b86b79936623b5e326f2ed84b3c947c8ec93':
  Deprecate showSearchIconAsBadge and icon search attrs
2009-09-13 23:31:54 -07:00
Hung-ying Tyan
c5567ffb01 am 3ccfaaa7: Merge change 24673 into eclair
Merge commit '3ccfaaa70f25c8343ab45974a7a43cf9b9b15903' into eclair-plus-aosp

* commit '3ccfaaa70f25c8343ab45974a7a43cf9b9b15903':
  Add tests and misc fixes on keystore.
2009-09-13 23:31:49 -07:00
Bjorn Bringert
ab50b86b79 Deprecate showSearchIconAsBadge and icon search attrs
mlebeau says:
"Basically, because we now show the app icon for in-app
search, showSearchIconAsBadge is a bit unnecessary, but it does in
fact still work. Basically if either showSearchIconAsBadge or
showSearchLabelAsBadge are specified, we grow the height of the search
bar and place the provided icon or the provided label, respectively,
above the text field and app icon. But we do not remove the app icon
if the developer specifies showSearchIconAsBadge - it's still just the
'badge area' above the icon."

Fixes:
http://b/issue?id=2105329
"Deprecate searchable attributes 'showSearchIconAsBadge' and 'icon'"

Change-Id: Ie2976aafe42b4ab870be9e64b34eb0ed441ebbb0
2009-09-14 06:59:50 +01:00
Android (Google) Code Review
3ccfaaa70f Merge change 24673 into eclair
* changes:
  Add tests and misc fixes on keystore.
2009-09-13 23:44:52 -04:00
James Dong
2fa86ffcba am 6085b4e7: Pass return code from Camera HAL for setParameters(). bug 2116866
Merge commit '6085b4e7b5c592c398904748b56f95a77ced4ed5' into eclair-plus-aosp

* commit '6085b4e7b5c592c398904748b56f95a77ced4ed5':
  Pass return code from Camera HAL for setParameters().
2009-09-13 20:43:27 -07:00
James Dong
6085b4e7b5 Pass return code from Camera HAL for setParameters().
bug 2116866
2009-09-13 17:12:35 -07:00
Bob Lee
e0100f4736 am 93f00def: Merge change 24509 into eclair
Merge commit '93f00def4b63511be91057b2bc69f1dda6f038e9' into eclair-plus-aosp

* commit '93f00def4b63511be91057b2bc69f1dda6f038e9':
  Addressed reviewer comments.
2009-09-13 15:48:31 -07:00
Android (Google) Code Review
93f00def4b Merge change 24509 into eclair
* changes:
  Addressed reviewer comments.
2009-09-13 18:43:38 -04:00
Jim Miller
27844c386e Enable log message for tracking issue #2092299. 2009-09-13 00:02:14 -07:00
San Mehat
242d65bf9f process: Switch to common cutils sched_policy api
Signed-off-by: San Mehat <san@google.com>
2009-09-12 10:48:03 -07:00
Ye Wen
a472608879 am 9a0bf14c: Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority from "im" to "com.google.android.providers.talk"; also change the mime types.
Merge commit '9a0bf14c4f715a8ffa645c77c4c183dcfa3e31c8' into eclair-plus-aosp

* commit '9a0bf14c4f715a8ffa645c77c4c183dcfa3e31c8':
  Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
2009-09-12 08:27:03 -07:00
Ye Wen
9a0bf14c4f Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
from "im" to "com.google.android.providers.talk"; also change the mime types.
2009-09-11 22:22:20 -07:00
Mathias Agopian
80c96c29ff am d2cc4273: Merge change 24825 into eclair
Merge commit 'd2cc42733eb13063754c654921a58d34bfdb1c65' into eclair-plus-aosp

* commit 'd2cc42733eb13063754c654921a58d34bfdb1c65':
  fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
2009-09-11 19:27:44 -07:00
Android (Google) Code Review
d2cc42733e Merge change 24825 into eclair
* changes:
  fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
2009-09-11 22:19:10 -04:00
Mathias Agopian
3e63f9173a fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer 2009-09-11 19:18:20 -07:00
Robert Greenwalt
905d7f57d4 am f376c837: Merge change 24805 into eclair
Merge commit 'f376c837ea9d5b89c668ff8306f2a404bed4ff05' into eclair-plus-aosp

* commit 'f376c837ea9d5b89c668ff8306f2a404bed4ff05':
  Don't init wifiChannels until after supplicant up
2009-09-11 18:14:10 -07:00
Jack Wang
65e301c09b am e441dcbb: Merge change 22561 into eclair
Merge commit 'e441dcbb4ed197cf248420308f5eaa935333651e' into eclair-plus-aosp

* commit 'e441dcbb4ed197cf248420308f5eaa935333651e':
  Performance measurement framework:
2009-09-11 18:09:34 -07:00
Android (Google) Code Review
f376c837ea Merge change 24805 into eclair
* changes:
  Don't init wifiChannels until after supplicant up
2009-09-11 21:08:38 -04:00
Yu Shan Emily Lau
f23eb2839a am 9a7efa45: Merge change 24789 into eclair
Merge commit '9a7efa452909b7a4f12840c44291c51a699acade' into eclair-plus-aosp

* commit '9a7efa452909b7a4f12840c44291c51a699acade':
  modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
2009-09-11 18:05:02 -07:00
Android (Google) Code Review
e441dcbb4e Merge change 22561 into eclair
* changes:
  Performance measurement framework:
2009-09-11 21:02:54 -04:00
Android (Google) Code Review
9a7efa4529 Merge change 24789 into eclair
* changes:
  	modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java 	modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java Fix the m4a1 duration and the also fix the random_seek time error in the stress test.
2009-09-11 20:59:42 -04:00
Robert Greenwalt
f35e4f2a44 am a28948d7: Merge change 24754 into eclair
Merge commit 'a28948d754fc5e1b631d9bd53f0072d0ae5878ea' into eclair-plus-aosp

* commit 'a28948d754fc5e1b631d9bd53f0072d0ae5878ea':
  Handle secondary APN connect failures.
2009-09-11 17:59:28 -07:00
Android (Google) Code Review
a28948d754 Merge change 24754 into eclair
* changes:
  Handle secondary APN connect failures.
2009-09-11 20:53:43 -04:00
Robert Greenwalt
89bd269975 Handle secondary APN connect failures.
Without this we'd only try a secondary APN once and the stop silently, leaving
no APN connected.

Adds a second retry manager with configuration strings to do a more approriate
retry.  Don't retry secondary apn forever.

On permanent failure or retry count hit, we send a Phone.REASON_APN_FAILED
disconnect status.

bug: 2112114
2009-09-11 17:35:50 -07:00
Robert Greenwalt
7c9bf7caa2 Don't init wifiChannels until after supplicant up
The supplicant can take up to 15 seconds to start - setting the number of wifi channels
immediately after requested wifi start often will fail.

Changed to set the number of channels when the supplicant is reported as alive.

bug:2083601
2009-09-11 17:23:35 -07:00
Jack Wang
ff1df69dd4 Performance measurement framework:
+ For bug 1810508
  - Added PerformanceCollector class to collect runtime and memory usage data
    * Moved performance snapshotting from Intrumentation to PerformanceCollector
  - Added PerformanceResultsWriter interface which defines functions for
    reporting performance data

+ Framework integration
  - Added TimedTest annotation to automatically time tests and write results
    to instrumentation output
  - Modified PerformanceTestBase to add collection hooks and wrapper methods
  - Modified WatcherResultPrinter in InstrumentationTestRunner to implement
    PerformanceResultsWriter for instrumentation output of performance data
  - Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
    instance to test
2009-09-11 17:15:15 -07:00
Christopher Tate
3c73187566 am 38eeac30: Merge change 24797 into eclair
Merge commit '38eeac305a188b7ea4f586071c1d467c3f952be6' into eclair-plus-aosp

* commit '38eeac305a188b7ea4f586071c1d467c3f952be6':
  Don't backup/restore telephony material from secure settings
2009-09-11 17:13:23 -07:00
Android (Google) Code Review
38eeac305a Merge change 24797 into eclair
* changes:
  Don't backup/restore telephony material from secure settings
2009-09-11 20:04:01 -04:00
Yu Shan Emily Lau
147a0c270b modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
Fix the m4a1 duration and the also fix the random_seek time error in the stress test.

        modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
2009-09-11 16:37:42 -07:00
Christopher Tate
0738e88935 Don't backup/restore telephony material from secure settings
* Remove several nonportable telephony settings from the set to be included in
  the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
  operation, so that we don't inadvertently do things like configure a GSM
  phone to use CDMA logic.
2009-09-11 16:35:39 -07:00
Costin Manolache
d42da36810 am d3e061fc: Merge change 24609 into eclair
Merge commit 'd3e061fc8f4a2a1e6b98ee43fd706ac09c786b61' into eclair-plus-aosp

* commit 'd3e061fc8f4a2a1e6b98ee43fd706ac09c786b61':
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 16:29:47 -07:00
Android (Google) Code Review
d3e061fc8f Merge change 24609 into eclair
* changes:
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 19:24:44 -04:00
johnwang
e8855b4a92 am b942db35: Merge change 24773 into eclair
Merge commit 'b942db35c52acc6842438b0de8f60d4de1e34e21' into eclair-plus-aosp

* commit 'b942db35c52acc6842438b0de8f60d4de1e34e21':
  Fix NPE in TelephonyManager.
2009-09-11 15:36:10 -07:00
Android (Google) Code Review
b942db35c5 Merge change 24773 into eclair
* changes:
  Fix NPE in TelephonyManager.
2009-09-11 18:26:02 -04:00
Grace Kloba
e621d6ffb9 Use floor to calculate the range to avoid the rounding error triggered
scrollbar. The worst case is that you can never scroll down to the last
pixel. The old special case can cause problem when getViewWidth/Height
have changed which do not match mLastXXSent any more.

Remove FIND_HEIGHT from computeVerticalScrollRange per conversation with Leon.

Change computeMaxScrollY to use computeVerticalScrollRange which matches
how it computes X.

Change onMeasure to use contentToViewDimension() as it has the same logic.
2009-09-11 15:07:25 -07:00
Mike Lockwood
16eae482ce am 66c2a976: Merge change 24762 into eclair
Merge commit '66c2a976705b62fe1721157e934b52d4a49de8f7' into eclair-plus-aosp

* commit '66c2a976705b62fe1721157e934b52d4a49de8f7':
  dumpstate: Switch back to running as non-root
2009-09-11 14:50:27 -07:00
johnwang
5f1f26a7ff Fix NPE in TelephonyManager.
It is for bug 1971628 but affects almost every API function in TelephonyManager. When phone is not ready (for example, after crash and restart) the getSubscriberInfo and getITelephony returns null and causes NPE.
2009-09-11 14:49:47 -07:00
Android (Google) Code Review
66c2a97670 Merge change 24762 into eclair
* changes:
  dumpstate: Switch back to running as non-root
2009-09-11 17:45:10 -04:00
Romain Guy
b04c6689d0 am 02ee5387: Merge change 24764 into eclair
Merge commit '02ee5387d3b9904f18d639f4d49612f4b3563eed' into eclair-plus-aosp

* commit '02ee5387d3b9904f18d639f4d49612f4b3563eed':
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.
2009-09-11 14:36:20 -07:00
Android (Google) Code Review
02ee5387d3 Merge change 24764 into eclair
* changes:
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.
2009-09-11 17:30:46 -04:00
Romain Guy
51099c5aa6 Add @Widget annotation to GestureOverlayView to make it usable in ADT.
Change-Id: I86251f0d35e38460f09779f047aabfa99d2e97ae
2009-09-11 14:29:15 -07:00
Jaikumar Ganesh
e08e60a7cb am 32d8571f: Changes for BT 2.1
Merge commit '32d8571f509c392dca732c243e9b2138c15daecf' into eclair-plus-aosp

* commit '32d8571f509c392dca732c243e9b2138c15daecf':
  Changes for BT 2.1
2009-09-11 14:27:33 -07:00
Jaikumar Ganesh
32d8571f50 Changes for BT 2.1
1) Handle incoming 2.1 pairing requests
2) Modify displaying error messages on bond failures.
3) Add delay while accepting incoming pairing for certain 2.1 devices.
When MITM is on, the link key request might come more than once.
Auto accept with a delay.
4) Handle DisplayPasskey callback for pairing a 2.1 keyboard with
a 2.1 device
2009-09-11 14:12:48 -07:00
Mike Lockwood
5a131e52cc dumpstate: Switch back to running as non-root
Now that we have straightened out the permissions on /data/dontpanic,
root is no longer necessary.

Change-Id: Ic895d712c2e929e4935707da321e1a2b015285c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-11 17:12:27 -04:00
Dianne Hackborn
f6626fecdf am 162ec999: Merge change 24635 into eclair
Merge commit '162ec9993e9695946a6b954fd53eebb63e055540' into eclair-plus-aosp

* commit '162ec9993e9695946a6b954fd53eebb63e055540':
  Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set
2009-09-11 13:54:04 -07:00