86346 Commits

Author SHA1 Message Date
alanv
03e636f33d Don't alter accessibility JS APIs unless a page is about to load.
Previously we were adding and removing the APIs on window attach and
detach, but a page's life cycle is not related to attach/detach. This
patch also ensures that ChromeVox is not null before calling. Includes
formatting fixes and extra comments in the waitForResultTimedLocked
method to improve readability. Fixes parsing of integer resultId, which
was being parsed using Long.

Bug: 7328348
Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
2012-10-12 11:42:37 -07:00
Fabrice Di Meglio
6ffbe60069 Merge "Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware" into jb-mr1-dev 2012-10-12 11:39:23 -07:00
Keun young Park
038953da05 fix wrong read size in ToColor_S4444_Opaque
- S4444 takes 16bits, not 32bits
- This caused sporadic failure in CTS BitmapFactoryTest#testDecodeStream4

Bug: 7179389
Change-Id: Ib36a3a569b3149d74f36ae67a069a7b65a72e895
2012-10-12 11:36:13 -07:00
Marco Nelissen
39ca39b026 Rewind buffer before copying into it.
b/7334897

Change-Id: I83f795cb662d0845314bfb80b9a27ae45b2a0517
2012-10-12 11:13:10 -07:00
Mike Cleron
732d88e14e Merge "Change keyguard to use single-stage unlock." into jb-mr1-dev 2012-10-12 11:07:52 -07:00
Jeff Sharkey
4c76ea6b88 Pm command to get maximum users.
Used to drive CTS tests.  Also print success message when removing
a user.

Bug: 7334718
Change-Id: Ia3886ddf860cd000ce567b0fed2ef0a4e2a2295c
2012-10-12 10:46:01 -07:00
Baligh Uddin
5650d86aa3 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-12 09:29:55 -07:00
Jim Miller
0ff7f010f8 Change keyguard to use single-stage unlock.
Change-Id: Ica175a90ef4400941c7c4f05a494003b85d5e88c
2012-10-12 03:53:57 -07:00
Patrick Brady
957b27f62b Merge "Revert "Always show emergency button on selector view screen in keyguard." I'm reverting for now while we sort out the actual requirements. Sorry for the thrash, Jaggies. I'll handle re-adding it if needed." into jb-mr1-dev 2012-10-11 23:04:34 -07:00
Baligh Uddin
a1ecd5a30c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-11 21:25:02 -07:00
Patrick Brady
b6a1ea78b8 Revert "Always show emergency button on selector view screen in keyguard." I'm reverting for now while we sort out the actual requirements. Sorry for the thrash, Jaggies. I'll handle re-adding it if needed.
This reverts commit 43c5b5568539dd1726fff75f7bee7eb481f87844

Change-Id: I2289658d3afaea9d1655b1811f49435de6c130e1
2012-10-11 21:09:14 -07:00
Isaac Katzenelson
317beb1c3e Merge "New alarm ringtones" into jb-mr1-dev 2012-10-11 20:40:47 -07:00
Isaac Katzenelson
8f2e74b075 New alarm ringtones
Bug: 7299078

Adding 2 new sound files, replacing 3 more.
Added a new makefile with the 2 new files.

Change-Id: I417dd6cfe8ae575fcb2cefbe4fd7f59b762c708b
2012-10-11 19:55:53 -07:00
Christopher Tate
a3f33309d7 Merge "DOCUMENTATION ONLY: try to clarify gravity vs layout_gravity" into jb-mr1-dev 2012-10-11 19:23:07 -07:00
Fabrice Di Meglio
3cc10f420f Fix bug #7325609 FragmentBreadCrumbs should be RTL-aware
- add horizontal gravity support
- use gravity for doing layout depending on layout direction

Change-Id: I562e824d15da9b00e1392f125b293aee21f8ee16
2012-10-11 19:17:39 -07:00
Baligh Uddin
d3dc37d34e Import translations. DO NOT MERGE
Change-Id: I7f9b815759c2f9f2e2d41811df14dfc8f9370da8
Auto-generated-cl: translation import
2012-10-11 18:45:04 -07:00
Jim Miller
e955121d6e Partial fix for blank widget page
The code really shouldn't select the page until after the view has been
removed and had a chance to measure itself.  The fix is to post a message
to select the correct widget page.

Bug 7334209

Change-Id: I5c2d59b00b3c502893da6000154ce6cdc79ecc1c
2012-10-11 18:30:33 -07:00
Jean-Michel Trivi
c203ecfd9f Use device availability to start WFD audio routing
Don't use the force_use mechanism to start WFD audio routing,
 but rather only the availability of the remote submix audio
 device. This is matched by a change in the audio policy
 manager.

Bug 7318180

Change-Id: I756f032d8ca0375c3dbeddb7c321261c497539bc
2012-10-11 18:30:11 -07:00
Baligh Uddin
40ad86e026 Import translations. DO NOT MERGE
Change-Id: I4ef6935d25a8428069225adb3648701e93fd9c17
Auto-generated-cl: translation import
2012-10-11 18:30:04 -07:00
John Reck
b746febca2 Merge "Center text selection point to avoid rounding glitches" into jb-mr1-dev 2012-10-11 18:25:55 -07:00
Jim Miller
fdb6be8b1f Merge "Always show emergency button on selector view screen in keyguard." into jb-mr1-dev 2012-10-11 18:21:13 -07:00
Christopher Tate
39944808b5 DOCUMENTATION ONLY: try to clarify gravity vs layout_gravity
Based on 3rd party developer observation, this is a source of much
confusion and layout mistakes.

Change-Id: I2cb6ae1540fe2444582403d9100478ebe02df985
2012-10-11 18:14:23 -07:00
John Reck
9fcef3d023 Center text selection point to avoid rounding glitches
Bug: 7313424

Change-Id: I5356bec61e3d1244b506486300f059aa0bba6d9e
2012-10-11 18:08:03 -07:00
Jim Miller
43c5b55685 Always show emergency button on selector view screen in keyguard.
Bug 7276760

Change-Id: I685aadc3535defa5e83fb514a3c333b48526312e
2012-10-11 17:53:10 -07:00
Joe Malin
87afd6eb4b am 54a1e4d4: am 5832d1ce: am 01154bda: DOC CHANGE: Notifications Guide
* commit '54a1e4d4c4216af987c7b769723cd2e59ca2c233':
  DOC CHANGE: Notifications Guide
2012-10-11 17:42:46 -07:00
Joe Malin
54a1e4d4c4 am 5832d1ce: am 01154bda: DOC CHANGE: Notifications Guide
* commit '5832d1ce7240c056a1e85a49549635b60711a5c6':
  DOC CHANGE: Notifications Guide
2012-10-11 17:40:46 -07:00
Joe Malin
5832d1ce72 am 01154bda: DOC CHANGE: Notifications Guide
* commit '01154bdae9d6f3d1fbed3169ffa194d51045c9cf':
  DOC CHANGE: Notifications Guide
2012-10-11 17:38:46 -07:00
Stephen Hines
f881448913 Merge "Update compatibility library tests" into jb-mr1-dev 2012-10-11 17:26:22 -07:00
Jeff Sharkey
9dfca20105 Merge "Print newly generated userId." into jb-mr1-dev 2012-10-11 17:23:27 -07:00
Jeff Sharkey
810df8951e Merge "Return ApplicationInfo with requested userId." into jb-mr1-dev 2012-10-11 17:21:23 -07:00
Jeff Brown
3da6c219a8 Merge "Do not launch Somnambulator as a dock app." into jb-mr1-dev 2012-10-11 17:17:06 -07:00
Svetoslav Ganov
3003bada60 Merge "Check whether ChromeVox is ready before attempting to call it." into jb-mr1-dev 2012-10-11 17:14:34 -07:00
Svetoslav Ganov
87c6f9a528 Merge "This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch." into jb-mr1-dev 2012-10-11 17:12:07 -07:00
Joe Malin
01154bdae9 DOC CHANGE: Notifications Guide
Change-Id: I7968e933b0fdc5b1de1aa24acbad4f65f183ca42
2012-10-11 16:55:12 -07:00
alanv
d8faf74662 Check whether ChromeVox is ready before attempting to call it.
Calls to performAction will immediately return false if ChromeVox is not
loaded. Also adds additional debugging output.

Bug: 7328657
Change-Id: I5bd7c69ccc9500cebaa4a8c1bf023794f4eebe2e
2012-10-11 16:48:32 -07:00
Svetoslav Ganov
d1821cc06f This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch.
Revert "Reducing WebView navigation timeout for accessibility."

This reverts commit 2203cf3f725220e6dc930ee77dbcde4ff7d885b6

Change-Id: I5b2d999851af98acb953529ebfcda608ce27799d
2012-10-11 16:46:33 -07:00
Jeff Sharkey
e6d3ccc992 Print newly generated userId.
Bug: 7334718
Change-Id: Id4dc456b079bebbe9f2d7ea2a8343d2215f296dc
2012-10-11 16:44:18 -07:00
Jeff Brown
11159e9a78 Do not launch Somnambulator as a dock app.
Fixes a black flash that occurred when the device was docked
because the UiModeManagerService was launching the Somnambulator
to start the dream when docked.  This caused an unnecessary
activity transition and could in fact make dreaming less
reliable than if the UiModeManagerService started the dream itself.

Moved common code from UiModeManagerService and Somnambulator
to Sandman to ensure it is kept in sync.

Bug: 7328545
Change-Id: I46102784e2ab1acc0241d43a48abf0581278af24
2012-10-11 16:29:41 -07:00
clchen
4574df0c15 Merge "Reducing WebView navigation timeout for accessibility." into jb-mr1-dev 2012-10-11 16:16:56 -07:00
Jeff Brown
e8f4fa1cb3 Merge "Fix off-by-one." into jb-mr1-dev 2012-10-11 16:14:54 -07:00
clchen
2203cf3f72 Reducing WebView navigation timeout for accessibility.
Reducing the amount of time that WebView will wait before treating
a navigation attempt as failed. This is needed to recover from
cases where the user is attempting to linearly navigate a WebView
that is immediately switched out right as it starts to read.
A good example of this problem is AdMob's WebViews which are
continuously being swapped.

Change-Id: Ib9b4a9b99a35d42920e34e0acbe8ab45e1d47871
2012-10-11 16:13:00 -07:00
Jeff Sharkey
38f8688bae Return ApplicationInfo with requested userId.
Return ApplicationInfo with requested userId instead of trying to
infer it from calling UID.

Bug: 7334712
Change-Id: I9ce0061e2d020b0d74c7c9cd22d89c5ff2466a6c
2012-10-11 16:10:23 -07:00
Jeff Brown
c51cb89dd6 Fix off-by-one.
Bug: 7330567
Change-Id: I8653435c77daefa24991595f68b9f23dd930f14a
2012-10-11 15:58:49 -07:00
Romain Guy
86ad866283 Merge "Don't scale bitmaps to an empty size when targetDpi=0 Bug #7334217" into jb-mr1-dev 2012-10-11 15:50:17 -07:00
Jonathan Dixon
402099f786 Merge "Unhide setPictureListener" into jb-mr1-dev 2012-10-11 15:41:39 -07:00
Romain Guy
0b68477f82 Don't scale bitmaps to an empty size when targetDpi=0
Bug #7334217

Change-Id: I8d232a835580ffbf85334e0a3580e8d8240c8570
2012-10-11 15:11:22 -07:00
Winson Chung
4cce397c0d Merge "Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)" into jb-mr1-dev 2012-10-11 14:56:56 -07:00
Jeff Brown
2e21bdbe30 Merge "Ensure MediaRouter correctly handles renamed Wifi displays." into jb-mr1-dev 2012-10-11 14:56:56 -07:00
Jeff Brown
17026864e8 Merge "Ensure Binder in-calls to UiModeManagerService are guarded." into jb-mr1-dev 2012-10-11 14:53:54 -07:00
Craig Mautner
46fb9e9f22 Merge "Check for apps closing and restore mExiting test." into jb-mr1-dev 2012-10-11 14:48:57 -07:00