58340 Commits

Author SHA1 Message Date
Matthew Xie
f16e2aea54 Merge "Keep Binder reference in the mServiceRecordToPid hashmap" 2011-09-14 10:48:43 -07:00
Daniel Sandler
28739171f2 Merge "When the status bar hides, close the notification panel." 2011-09-14 10:23:21 -07:00
Gilles Debunne
bd4016e9c8 Bug 5295607: IOOB problems in Suggestions
The start and end of the suggestion span were cached, where as
they should be retrieved when the user clicks since text may have
changed in the meantime.

Change-Id: Iab47f9969d538d8213a8c5b76b4b7ace8dc9428e
2011-09-14 10:10:49 -07:00
Kenny Root
a0f264e1af Be more forgiving in parsing verifier IDs
RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Change-Id: Ide760aff84f97c3e06af8bf8d006f36c74033a41
2011-09-14 10:08:19 -07:00
Scott Main
b5dfcb8a3d Merge "docs: update usb driver directory" 2011-09-14 09:57:46 -07:00
Eric Laurent
16066ec591 Merge "Issue 5044873: Pb with BT SCO AudioManager API" 2011-09-14 09:18:23 -07:00
Narayan Kamath
8dd41fb992 Merge "Don't wait indefinitely for audio tracks to finish playing." 2011-09-14 09:11:17 -07:00
Jean-Michel Trivi
e83f771f0a Merge "Bug 5300223 RemoteControlClient uses PendingIntent" 2011-09-14 09:05:36 -07:00
Matthew Xie
f1754050ce Keep Binder reference in the mServiceRecordToPid hashmap
so that the Binder object does not get destroyed when the thread
that registers the service record ends.
bug 5276332

Change-Id: Id17a4c279e03aa6928dca5bf048c7c90862bd9cf
2011-09-14 09:05:27 -07:00
Narayan Kamath
69bc1b2696 Don't wait indefinitely for audio tracks to finish playing.
If the track doesn't make progress for a fixed amount of time,
bail.

bug:5309562
Change-Id: I76966b8b3b2f05ba577892899791a09f50a70107
2011-09-14 16:51:05 +01:00
Eric Laurent
d7454be47f Issue 5044873: Pb with BT SCO AudioManager API
Do not identify the SCO connection client by the binder interface
passed when starting the connection as this binder changes if the
AudioManager proxy changes. Use the client PID instead.

This solves an issue with gTalk starting a SCO connection from one
AudioManager proxy and then changing audio mode from another thus
terminating the previously started SCO connection.

Change-Id: Ia3067fecc551fc15df3bf75ce0c43d181859e4f0
2011-09-14 08:45:58 -07:00
sinikang
723facc20b Add OTADM feature for Verizon requirement.
- GsmDataConnectionTracker.java
  <in function createApnList>
  : modify parameter type for new ApnSetting.
    (carrierEnabled has changed to boolean from integer,
     BEARER has changed to integer from string).
  <in function createAllApnList>
  : modify telephony db query statement using carrierEnabled. (carrier_enabled: 1 enable apn, 0: disabled apn)
  <in function buildWaitingApns>
  : modify apn management code when current RAT (radio access technology) is LTE or EHRPD.
    add internal function named needToCheckApnBearer to check current RAT is LTE or EHRPD.
- ApnSetting.java
  : add two member variable (carrierEnabled: apn enable/disable , bearer : Radio Access Technology)
- Telephony.java
  : add two static string CARRIER_ENABLED & BEARER.
- ApnSettingTest.java
  : add two assertEquals in function assertApnSettingEqual.
    add CARRIER_ENABLED & BEARER parameters.

bug: 4991683
Change-Id: I9450c220009c3093b1e09e8ac9cd0faa0a975067
2011-09-14 08:27:43 -07:00
Justin Ho
d8c82516dd Merge "Moving tablet unlock screen assets to tablet-specific folders Refreshing visual style to match phone unlock assets Bug: 5231253" 2011-09-14 07:39:56 -07:00
The Android Open Source Project
3483632f28 Reconcile with gingerbread-release gingerbread-mr4-release honeycomb-LTE-release
Change-Id: I2ef7b37dce08a4012ed7ba1704841fb2af846b76
2011-09-14 07:22:47 -07:00
Mike Lockwood
6b5a752130 Merge "Move Power Manager minimum screen brightness to a framework resource" 2011-09-14 07:12:46 -07:00
satok
f17db9f525 Call onFinishInputView in onDestroy
onFinishInputView is called in InputMethodService#hideWindow but not in onDestroy.
For closing IMS safely, onFinishInputView should be called in onDestroy.

Bug: 5265534
Bug: 4697071

Change-Id: I2947b62326e3e0644f1c079eafc839a9981e902b
2011-09-14 21:37:04 +09:00
Ed Heyl
724ffc3658 keep history after reset to GRK39D 2011-09-14 04:28:58 -07:00
Jean-Baptiste Queru
200fc8babe am 1d6a69f8: Ignore e4f0da70 from gingerbread-plus-aosp
* commit '1d6a69f84f8d14dc8bf90f421ad49ea7f4df88b1':
  Added interface to SurfaceTexture needed by WebKit.
2011-09-13 22:40:47 -07:00
Adam Powell
87e47b19b3 Merge "Un-force fading edges in ListPopupWindows." 2011-09-13 21:48:33 -07:00
Adam Powell
5c3a77c0ff Un-force fading edges in ListPopupWindows.
Change-Id: Iefb1f64b1f8927fd3c29a8d448a1517afac1ffe1
2011-09-13 21:43:29 -07:00
Chia-chi Yeh
6d8b9b84ac Merge "RTP: Update parameters for larger packet intervals." 2011-09-13 21:21:18 -07:00
Adam Powell
87105a3d48 Merge "Fix bug 5314559 - Slow menu scrolling in browser on some devices" 2011-09-13 21:13:15 -07:00
Jeff Sharkey
d18addb4e3 Remove deprecated TrafficStats API.
Bug: 5314214
Change-Id: If7dc3ef012a0e998e83ab4fef27ff19398d3e14c
2011-09-13 20:43:10 -07:00
Adam Powell
f4f520ae9f Fix bug 5314559 - Slow menu scrolling in browser on some devices
nativeSetIsScrolling has other side effects. Just pause picture
updating when WebView loses focus.

Change-Id: I917851c806f35a91a12a25c7457712123669384f
2011-09-13 20:16:32 -07:00
Jean-Michel Trivi
6e920e6dac Bug 5300223 RemoteControlClient uses PendingIntent
API change so RemoteControlClient is given a PendingIntent in
 its constructor, which will be used for receiving media button
 events from remote controls.
Leave the old constructors (but hidden) to not break
 current functionality until the AudioManager and AudioService
 implementations have been updated.

Change-Id: Ifa12c8036c948931adc386a827dce2936788e1cd
2011-09-13 19:27:20 -07:00
Jeff Brown
aab55bf3e3 Merge "Fix bug in KeyButtonView key injection logic. Bug: 5299191 Bug: 5300282" 2011-09-13 19:23:01 -07:00
satok
41ccb08f5a Merge "Skip the exit animation when the IME is destroyed." 2011-09-13 19:11:05 -07:00
Marius Renn
ab8b070f09 Rename of DoodleEffect as part of cleanup (Bug 5287103).
The DoodleEffect semantics have been considerably simplified so that the
name no longer fits the effect outcome. Renamed to BitmapOverlayEffect
(EFFECT_BITMAPOVERLAY).

This is the necessary change to the current.txt.

Change-Id: I43fe0e1f99ec6aedbcb53b186ac322cc51ee83ab
2011-09-13 18:22:04 -07:00
Adam Powell
cb18db8e7e Merge "Fix bug 5312352 - ListView modal multi-select mode bugs" 2011-09-13 18:17:14 -07:00
Adam Powell
1e83b3e6ab Fix bug 5312352 - ListView modal multi-select mode bugs
When the provided callback returned false for creating the mode, the
item was still getting checked and the bar was flickering. Don't do
that.

Change-Id: I384962742edeac0c43aec6f7898bd50dab064738
2011-09-13 18:13:31 -07:00
Christopher Tate
c58cf7dd02 Give backup/restore confirmation a proper window title
Since the confirmation uses the same Activity but different layouts
for the backup vs restore cases, we have to do the title in code.

Along the way, fix the restore layout's padding [the backup layout
was already right].

Fixes bug 5164470

Change-Id: I4d636f666d97fc377e9cf36abf08d1625a05577f
2011-09-13 17:51:18 -07:00
Kenny Root
c924fbd693 Merge "Add verifier device identity" 2011-09-13 17:51:08 -07:00
Eric Laurent
3f0c821740 Merge "Issue 5298399: Lost speech after a crash in gTalk." 2011-09-13 17:50:31 -07:00
Eric Laurent
7e8626fd75 Issue 5298399: Lost speech after a crash in gTalk.
Fixed problem in AudioTrack::restoreTrack_l() causing a permanent
failure if the IAudioTrack interface to AudioFlinger could not be
restored at the first attempt.

Change-Id: I039d4fe2dca8d3baf71f1a6c51119f27a67b6611
2011-09-13 17:33:29 -07:00
John Reck
d4fdc0f562 Merge "Prevent pause/resuming a destroyed WebViewCore" 2011-09-13 17:23:11 -07:00
Adam Powell
911d63d159 Merge "Fix bug 5309557 - Monkeys and SIGSEGV do not mix!" 2011-09-13 17:15:46 -07:00
Siva Velusamy
98da88c366 Merge "Minor docs fixes: Make description match screenshot." 2011-09-13 17:10:28 -07:00
John Reck
9d19923bb5 Merge "Make sure the finalizer destroy runs on the UI thread" 2011-09-13 16:55:27 -07:00
Jeff Brown
98392efb24 Fix bug in KeyButtonView key injection logic.
Bug: 5299191
Bug: 5300282

Only send keys when mCode != 0.

Simplified the logic for repeating / non-repeating keys.
Key down / up are always correlated with touch down / up, the
only thing that's special is that we detect long press for
repeating keys and not for others.

Ensure that up or cancel is always sent for every key
that is generated.  Previously it was possible for keys to get
stuck down if touch moved out of the button's active area.

Removed the funky HOME long press timer.  We don't need it
since we can rely on the long-press flag instead.  Since the
system UI is in direct control of key repeating and long-press
behavior for the keys it inject, this eliminates the need for
special hacks to circumvent the timer.

Ensure that the same haptic feedback is provided for all keys,
including the recent apps key.  Previously this only worked
because the code was injecting a bogus key with code 0.

Don't generate repeated haptic feedback for virtual keys
even when those keys are injected.  This doesn't happen
for virtual keys synthesized by the InputReader because it
never injects repeats itself (the InputDispatcher synthesizes
them), but it is an issue for the KeyButtonView.

Change-Id: I8b3615dde738af28e76898d161d6ce9a883b59ec
2011-09-13 16:52:12 -07:00
Scott Main
80f12280bb docs: update usb driver directory
Change-Id: I9f422780d2fe84c3d0c1448994268d28df2551e6
2011-09-13 16:45:57 -07:00
Jonas Yang
1b1d73f3ae Add (support for) EGL_NV_system_time extension.
Change-Id: I62bf0fcb5ccdc77c042b425a42054fb3122575b6
Signed-off-by: Mathias Agopian <mathias@google.com>
2011-09-13 16:44:22 -07:00
Siva Velusamy
75b2afedbd Minor docs fixes: Make description match screenshot.
Also update location of DDMS preferences file.

Change-Id: I91b9f9b2376d427a2ef8b1832d49e07e232c3320
2011-09-13 16:39:29 -07:00
Jason Sams
c75994947a Merge "Add RS watchdog." 2011-09-13 16:37:03 -07:00
Dianne Hackborn
48c5fb1493 API review: Metadata class not used.
The Metadata class doesn't actually seem to be used with anything
in the SDK, and the API probably needs some work, so hide it.

Change-Id: Ifecf49130b90cbb4c588ad8104f1e7957978f789
2011-09-13 16:24:45 -07:00
Adam Powell
cc2264fe47 Fix bug 5309557 - Monkeys and SIGSEGV do not mix!
Make sure that the native component of WebView has been initialized
before any native-level optimization involving window focus occurs.

Change-Id: I24ca5fe21657aeb1a1faf5bc36fba5ea11064f86
2011-09-13 16:11:29 -07:00
Irfan Sheriff
651cdfcbac Unhide wifi p2p API
Bug: 5247957
Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
2011-09-13 16:04:00 -07:00
Kenny Root
0aaa0d9317 Add verifier device identity
This adds a special device identifier that is usable only for device
validation. The user will be presented with this number encoded in
easily-transcribable Base32 in the Developer options of Settings.

Change-Id: I4843f55ee90d689a51d0269b22454ca04c1be7ec
2011-09-13 16:02:43 -07:00
Adam Powell
e0946eb270 Merge "Fix bug 5307916 - legacy menu theming" 2011-09-13 16:02:38 -07:00
Dmitry Dolinsky
03c2a00507 Merge "List path-permission element under provider" 2011-09-13 16:01:40 -07:00
Fabrice Di Meglio
51f383d65f Fix some TextLayoutCache issues
- wrong ContextCount was passed
- better logs

Change-Id: Ie78ba70f98f3cf017c168ab8848cc080fc175f31
2011-09-13 15:57:58 -07:00