7743 Commits

Author SHA1 Message Date
Android (Google) Code Review
55bfddad19 Merge change 24931 into eclair
* changes:
  Fix the bogus crashes in layout and reliability tests (the device actually went offline).
2009-09-14 18:21:51 -04:00
Guang Zhu
ad1e25da74 Fix the bogus crashes in layout and reliability tests (the device actually went offline). 2009-09-14 15:20:52 -07:00
Android (Google) Code Review
944808f392 Merge change 24927 into eclair
* changes:
  Fix a possible NPE in View.
2009-09-14 18:15:59 -04:00
Romain Guy
8c11e31143 Fix a possible NPE in View.
Change-Id: Ieebd176e1f42c78e298aca973e9e5eed2dc3c6d9
2009-09-14 15:15:30 -07:00
Jason Sams
988f6ebb44 Minor perf tweak for fountain. 2009-09-14 15:00:05 -07:00
Jaikumar Ganesh
482d54bb0c Add black listing of car kits by name. 2009-09-14 14:55:24 -07:00
Android (Google) Code Review
df5e76f9c6 Merge change 24814 into eclair
* changes:
  Enable log message for tracking issue #2092299.
2009-09-14 17:37:56 -04:00
Leon Scroggins
d247aadfc4 Bring up the soft keyboard when touching a focused textfield.
Fix for http://b/issue?id=2118333

Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
2009-09-14 17:01:28 -04:00
Grace Kloba
dd8174928c Remove trackball double click. Treat each click as a single click. 2009-09-14 13:34:39 -07:00
Android (Google) Code Review
31504f0bf4 Merge change 24847 into eclair
* changes:
  PowerManagerService: Fix keyboard backlight support:
2009-09-14 15:39:16 -04:00
Cary Clark
298d32e193 Set the minimum fling to the title height.
Dragging and flinging have different minimums for the max Y
value. Allow the fling to have the title height instead of zero
for the minimum max Y so the title can always be removed via
fling.

This fixes http://b/issue?id=2109006
2009-09-14 15:21:14 -04:00
Mike Lockwood
a625b38cb3 PowerManagerService: Fix keyboard backlight support:
Turn off keyboard backlight immediately when keyboard is closed.
Changing keyboard visibility state signals user activity except in the case
where the keyboard is closed and the screen is already off.

Fixes bugs b/1351141 and b/1319625

Change-Id: If4bf2c1dd8e0c2bc08196e443b6103a6041f27e1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-14 15:08:37 -04:00
Android (Google) Code Review
7cec54302d Merge change 24903 into eclair
* changes:
  Fix some LayoutBridge javadoc.
2009-09-14 15:05:49 -04:00
Android (Google) Code Review
13bc4ad18b Merge change 24902 into eclair
* changes:
  Add "rtsp" to the list of URL schemes that get linkified.
2009-09-14 14:54:42 -04:00
Eric Fischer
7a4be89f5a Add "rtsp" to the list of URL schemes that get linkified.
Bug 1845298
2009-09-14 11:48:50 -07:00
Android (Google) Code Review
1fa724470c Merge change 24898 into eclair
* changes:
  Fix the parsing for instrumentation result, some Java exceptions are not reported right now
2009-09-14 14:29:15 -04:00
Guang Zhu
60ef21a5da Fix the parsing for instrumentation result, some Java exceptions are not reported right now 2009-09-14 11:27:40 -07:00
Raphael
7a79628cd9 Fix some LayoutBridge javadoc.
Change-Id: I255d1d58d3537403ac9a8a5c7adece30ae989ce0
2009-09-14 11:17:49 -07:00
Android (Google) Code Review
b5308a7051 Merge change 24816 into donut
* changes:
  TextToSpeech javadoc update.
2009-09-14 13:54:00 -04:00
Grace Kloba
b6e164c779 Per suggestion in http://b/issue?id=2062340, update the UNIQUE in the
httpauth table.
2009-09-14 10:47:07 -07:00
Jean-Michel Trivi
a9b417e9bf TextToSpeech javadoc update. 2009-09-14 10:34:13 -07:00
Android (Google) Code Review
714ec1360c Merge change 24742 into eclair
* changes:
  Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else.
2009-09-14 13:08:02 -04:00
Daniel Sandler
eb9fdc21b1 Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
The underlying ProgressBar implementation doesn't know how
to correctly update the thumb graphic, so AbsSeekBar must
call invalidate() at key moments to ensure things look
correct.  This bug is one such instance: when you pick your
finger up off the seekbar, the "value" of the progressbar
appears not to change, so ProgressBar feels no compunction
to repaint. AbsSeekBar now invalidate()s on ACTION_UP and
ACTION_CANCEL to ensure that the thumb is correctly drawn.
2009-09-14 13:05:43 -04:00
Android (Google) Code Review
0fdae4cc74 Merge change 24747 into eclair
* changes:
  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.
2009-09-14 12:27:40 -04: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
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
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
6085b4e7b5 Pass return code from Camera HAL for setParameters().
bug 2116866
2009-09-13 17:12:35 -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
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
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
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
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
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
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
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
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
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