9541 Commits

Author SHA1 Message Date
Mike Lockwood
3d0ea72dd7 Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:08:13 -04:00
Mike Lockwood
f003c0c15d PowerManagerService: Ignore user activity while the screen is animating off.
Fixes bug b/2202165 (Often I when pressing power to turn off I get the lock screen)

Change-Id: I53f8350203d57fbb5f143edc44985879caadd78f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-21 23:06:56 -04:00
Android (Google) Code Review
0737b16430 Merge change I959a6f46 into eclair
* changes:
  Fix bug	2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.     - Ensure system IMEs are put on the enabled list at startup/install.     - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 22:58:39 -04:00
Dirk Dougherty
439bf97ca5 doc change: edits to the screens support doc.
Bug: 2160782
2009-10-21 18:33:12 -07:00
Dirk Dougherty
f4b5540b35 doc change only: add screens support doc 2009-10-21 18:32:24 -07:00
Scott Main
f90178d08d docs only.
fix some typos.
2009-10-21 18:31:54 -07:00
Brandon Ballinger
6da35a0c12 Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
- Ensure system IMEs are put on the enabled list at startup/install.
    - If the default IME is not installed, choose another one whenever building input method list.
2009-10-21 18:24:29 -07:00
jsh
3ff560d7ba Send "encoding problem" to the network for general errors during SMS dispatch.
Previously we were returning "other terminal problem" to the network, but this
had the potential of blocking MT SMS messages for days at a time (eg, if the
problematic message is resent).  Sending the "encoding problem" cause code is
reasonable since in most cases the we have encountered an error while trying
to parse the message.

Addresses b/2200412.
2009-10-21 17:55:31 -07:00
Android (Google) Code Review
98a7c45416 Merge change I66ff8af6 into eclair-mr2
* changes:
  Move calc of EriIconIndex/Mode to whenever basis changes
2009-10-21 20:45:37 -04:00
Doug Zongker
885cfc23a4 make the password-clearing algorithm smarter
Remove the ro.config.sim_password_clear property; go back to enabling
this for all devices.  For GSM devices, we clear the password on SIM
change as before.  For CDMA devices, we only clear when the device is
provisioned with a different number; we don't clear the password while
the device is unprovisioned.
2009-10-21 16:52:44 -07:00
Android (Google) Code Review
a86f1ccca0 Merge change Ie2d155a5 into eclair-mr2
* changes:
  Add a new API for initing Wifi multicast filtering
2009-10-21 19:44:30 -04:00
Android (Google) Code Review
f702f1f33f Merge change I1538dba4 into eclair
* changes:
  Make FWK start a wifi scan if supplicant forgets. (do not merge)
2009-10-21 18:56:10 -04:00
Daisuke Miyakawa
54616f3435 Make MockCursor class a part of public SDK.
With this class, external developers will be able to reduce their
redundant work related to testing around ContentProvider/ContentResolver.

Internal Issue number: 2181010
2009-10-22 07:25:02 +09:00
Android (Google) Code Review
076cb23a02 Merge change I13dd02fc into eclair
* changes:
  telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
2009-10-21 18:18:30 -04:00
Android (Google) Code Review
bfd5b38673 Merge change If68c168d into eclair-mr2
* changes:
  Some cleanup of OMXCodec code, make sure to ignore 0-length output buffers in the metadata retriever.
2009-10-21 18:17:01 -04:00
Android (Google) Code Review
b0e6a9a0e6 Merge change I7a03b074 into eclair
* changes:
  Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.
2009-10-21 18:15:20 -04:00
Andreas Huber
7a03b074a5 Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers. 2009-10-21 15:06:21 -07:00
Robert Greenwalt
e2d155a51e Add a new API for initing Wifi multicast filtering
Gets rid of the old method which generated Log noise.

bug: 1973855
2009-10-21 15:03:44 -07:00
Robert Greenwalt
cc5c1ad53c Move calc of EriIconIndex/Mode to whenever basis changes
We need this info in the ServiceState, but rather than calcing it every time
a ServiceState is requested, we can update the values whenever the constituents
change.

bug: 2182568
2009-10-21 15:02:39 -07:00
Robert Greenwalt
1538dba4b0 Make FWK start a wifi scan if supplicant forgets. (do not merge)
Waits 15sec after getting a DISCONNECTED or INACTIVE state.  Also tracks
the number of supplicant state transitions.  After the period is up
if we haven't received any more supplicant state transitions, it requests a scan.

bug: 2168081
2009-10-21 14:05:09 -07:00
Naveen Kalla
d393184ac5 telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c
2009-10-21 14:04:18 -07:00
Andreas Huber
f68c168d36 Some cleanup of OMXCodec code, make sure to ignore 0-length output buffers in the metadata retriever. 2009-10-21 14:01:30 -07:00
Mark Wagner
e31311fde5 fix the "right icon" in the titlebar
Looks like when you request a right icon in the title bar it was
still putting it on the left.  Perhaps nobody ever tried this.
2009-10-21 13:34:49 -07:00
Android (Google) Code Review
f8e3ac8519 Merge change Ifa8ab30e into eclair
* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.
2009-10-21 16:11:23 -04:00
Leon Scroggins
9d1abc43f5 In onKeyUp for DPAD_CENTER, show the IME for text input.
Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488
2009-10-21 15:35:33 -04:00
Eric Laurent
415f3e2875 Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService.
Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().
2009-10-21 12:29:37 -07:00
Android (Google) Code Review
2cb6b7fb86 Merge change Ic4bf942c into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-10-21 15:09:58 -04:00
Grace Kloba
3f9faf4737 When WebView has wrap_content, we are sending WebKit
0 height to get the exact height. But if the View system
doesn't think the WebView dimension changed, even we
call requestLayout, we won't get onSizeChanged. So
we never notify the WebKit about the final view size.

If updateLayout is true, which is probable because that
we set the height to be 0 to WebKit, just call requestLayout()
even the meansured height / width is matching the 
content height / width.

Fix http://b/issue?id=2162991
2009-10-21 11:34:35 -07:00
Android (Google) Code Review
2f3dc5b9ce Merge change If1e1fb39 into eclair-mr2
* changes:
  Draw dividers between <optgroup> and <option> elements.
2009-10-21 14:15:54 -04:00
Android (Google) Code Review
7a7197853d Merge change Ifcafa460 into eclair-mr2
* changes:
  fix multiple text areas, and text areas without focus rings
2009-10-21 14:14:46 -04:00
Android (Google) Code Review
785768a921 Merge change Id443ba45 into eclair
* changes:
  Prevent transparent region from getting out of sync with Surface Flinger
2009-10-21 14:04:26 -04:00
Jack Palevich
c620a52b69 Add size checks for glBufferData and glBufferSubData
Without the size checks it's possible for calls to glBufferData
and glBufferSubData to read off the end of the Buffer object's
data, which can cause page faults.

Fix end-of-line characters for the "spec" files. (That's why
every line of these files is changed.)

Enhance our code emitter to properly handle bounds checks for
possibly-null pointers.
2009-10-21 11:02:44 -07:00
Cary Clark
fcafa46069 fix multiple text areas, and text areas without focus rings
If the typed key doesn't go with the current text area, clear
the focus so the key won't return to that text area. However,
don't clear the focus if it is already off the old text area.

fixes http://b/issue?id=2201049
2009-10-21 13:55:48 -04:00
Eric Fischer
c4bf942cef Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:41:17 -07:00
Leon Scroggins
f1e1fb3976 Draw dividers between <optgroup> and <option> elements.
Fix http://b/issue?id=2198355
2009-10-21 13:39:33 -04:00
Jack Palevich
d443ba4534 Prevent transparent region from getting out of sync with Surface Flinger
The ViewRoot is responsible for calculating the current view's surface's
transparent region and reporting this to the window server, which in
turn notifies Surface Flinger.

To minimize cross-process traffic, ViewRoot keeps track of the
most recent transparent region that it has reported to the window
server, and only sends updates when the region shape changes.

ViewRoot is effectively shadowing the internal state of the window
server, and usually this works fine, because ViewRoot is usually the
only thing that changes this value.

But when the surface is recreated, the window server resets the
transparent region to empty. So in order to properly update the window
server we need to reset our copy of its state to empty too.

Fixes issue #2133090: GL Gears runs at half speed in some cases
2009-10-21 09:33:34 -07:00
Leon Scroggins
a8da17356f Do not show radio/checkboxes for <optgroup> labels.
Fix for http://b/issue?id=2186188.  Keep track of <optgroup> labels
separately from disabled <option> labels.  Requires a change to
external/webkit.

In CheckedTextView, if the CheckMarkDrawable is set to null,
remove it.
2009-10-21 10:01:49 -04:00
Android (Google) Code Review
8785c064fa Merge change Ie5df08ef into eclair-mr2
* changes:
  Let PLUS occur once anywhere in dial-str network portion.
2009-10-21 03:27:14 -04:00
Android (Google) Code Review
6270d52c0d Merge change Ica1d7b90 into eclair
* changes:
  Disable known failure math tanhd tests  (DO NOT MERGE)
2009-10-21 00:48:41 -04:00
Tammo Spalink
9e53415326 Let PLUS occur once anywhere in dial-str network portion.
Create a new extractNetworkPortion() function, since the old one is
public, that does effectively the same thing but is more flexible as
just mentioned.

Addresses issue:
http://buganizer/issue?id=2013998

Change-Id: Ie5df08ef9c871881e8728a44abf0385908000823
2009-10-21 10:30:58 +08:00
Jeff Sharkey
9aa7e4e729 am d7bc6546: Fix spacing to escape "false" correctly.
Merge commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a' into eclair

* commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a':
  Fix spacing to escape "false" correctly.
2009-10-20 16:20:36 -07:00
Android (Google) Code Review
8d9ddbe2aa Merge change I1f30f3f1 into eclair
* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package
2009-10-20 19:14:20 -04:00
Jeff Sharkey
d7bc654626 Fix spacing to escape "false" correctly. 2009-10-20 16:02:01 -07:00
Android (Google) Code Review
5b48223d0e Merge change I14e833fa into eclair
* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.
2009-10-20 18:51:06 -04:00
Dianne Hackborn
9bbcb916c5 Fix #2201615: getCallingPackage returns calling process instead of calling package
Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7
2009-10-20 15:42:38 -07:00
Brett Chabot
efc6bef141 Disable known failure math tanhd tests (DO NOT MERGE)
BUG 2139334
2009-10-20 14:12:59 -07:00
Android (Google) Code Review
617262d8f5 Merge change I37c4157d into eclair
* changes:
  add "junk path" -k option to aapt (DO NOT MERGE)
2009-10-20 16:28:05 -04:00
Suchi Amalapurapu
14e833faa0 If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.
2009-10-20 13:26:37 -07:00
Android (Google) Code Review
2a2805b7fb Merge change Ib3b06fc3 into eclair-mr2
* changes:
  It turns out to be useful to allow enumeration on a per-tag basis, and it's easy to support based on the data structures we have, so add a tag parameter to getNextEvent().
2009-10-20 16:23:01 -04:00
Dan Egnor
b3b06fc39b It turns out to be useful to allow enumeration on a per-tag basis,
and it's easy to support based on the data structures we have, so
add a tag parameter to getNextEvent().
2009-10-20 13:05:17 -07:00