35681 Commits

Author SHA1 Message Date
Amith Yamasani
31cee479fc Merge "Fix a runtime restart when cycling between 4 users" into jb-mr1-dev 2012-10-10 22:38:31 -07:00
Amith Yamasani
9535c915b6 Fix a runtime restart when cycling between 4 users
Some refactoring in Sync Manager caused mUserManager to be initialized too late.
Make sure this is initialized in the constructor now.

Bug: 7328386
Change-Id: Ic67915e172c3b8ef368852147667287e38c0213b
2012-10-10 21:48:33 -07:00
Jeff Brown
9cf36b7a77 Don't process UEvents in Dalvik unless they match a pattern.
On some devices, vsync is delivered from the kernel to userspace
over a netlink socket via UEvent.  The result is that a thread wakes
up, reads a message, creates a new String then searches it for matches
against a pattern on every single frame.

Reduce the overhead by performing the initial pattern matching in
native code.

Bug: 7326329
Change-Id: Icb22db1c38330694207bec1153840e0c06f502d6
2012-10-10 21:46:55 -07:00
Svetoslav Ganov
b708f7703b Send accessibility event for content change upon setting content description.
1. Since the content description is generated dynamically we need to notify
   clients when it changes so they can drop cached state to get the most
   recent content. This really is used by the caching we do to optimize
   the window query APIs. Otherwise, the user does not see the current
   content.

bug:7327556

Change-Id: I9be46508e86864566e027c64565eb1d787ec9363
2012-10-10 21:25:59 -07:00
Baligh Uddin
eb214524be Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-10 21:16:53 -07:00
Baligh Uddin
c77a2594c7 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-10 21:07:49 -07:00
Jim Miller
71b3cd56a6 Final keyguard tablet layout integration
This change integrates the finalized tablet layouts for keyguard.  It supports
both 7" and 10" tablets and makes some minor tweaks on phones.

Bug 7094419

Change-Id: I7b683382974de509e8045210544ea959db82e72d
2012-10-10 19:02:40 -07:00
Dianne Hackborn
8d866e52b2 More on issue #7318666: hide developer options from user build
The action to launch the developer settings panel is now required
by the platform.

Add a new hidden API to LauncherActivity so I can better integrate
these into the existing Dev Tools app.

Change-Id: I9c082622fd4c8f4a5be51cabb664741a3782ece1
2012-10-10 18:39:45 -07:00
Fabrice Di Meglio
6bf6eb7d5f Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
2012-10-10 18:38:23 -07:00
Fabrice Di Meglio
ce6e952cd2 am 91622961: am f6215e55: Fix the build
* commit '91622961171c5710a36a4123e2c8f406b026f51a':
  Fix the build
2012-10-10 18:29:44 -07:00
Fabrice Di Meglio
9162296117 am f6215e55: Fix the build
* commit 'f6215e55df1ab4f6cda33dd081c0a91062a1be63':
  Fix the build
2012-10-10 18:28:02 -07:00
Fabrice Di Meglio
f6215e55df Fix the build
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
2012-10-10 18:23:00 -07:00
Fabrice Di Meglio
f4a1dad63d am 5b04d032: am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
* commit '5b04d0320b877693fe10f70773657585c1c4aa58':
  Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:32:47 -07:00
Fabrice Di Meglio
5b04d0320b am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
* commit 'b8021a88e5c00ebd985a348b56af29c95a178a90':
  Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:29:52 -07:00
Svetoslav Ganov
c41609408b am e34b3243: am 02f0daa5: Merge "Fix WebView accessibility scripts." into jb-mr1-dev
* commit 'e34b32430ab8885951dbedc0a2c339da654c989c':
  Fix WebView accessibility scripts.
2012-10-10 17:29:25 -07:00
Fabrice Di Meglio
b8021a88e5 Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev 2012-10-10 17:26:41 -07:00
Svetoslav Ganov
e34b32430a am 02f0daa5: Merge "Fix WebView accessibility scripts." into jb-mr1-dev
* commit '02f0daa580a3d97f64e126198e42c3247ee37517':
  Fix WebView accessibility scripts.
2012-10-10 17:26:17 -07:00
Svetoslav Ganov
02f0daa580 Merge "Fix WebView accessibility scripts." into jb-mr1-dev 2012-10-10 17:23:48 -07:00
alanv
df313699ba Fix WebView accessibility scripts.
Ensures A11y APIs are added to WebView before page loads. Prevents calls
to TTS before init and after shutdown. Ensures calls to TTS are thread-
safe. Activates and deactivates feedback from AndroidVox when view is
attached and detached. Adds a flag for logging debug output, as well as
a lot of debug output.

Bug: 7326781
Change-Id: I5d4ab7f9fb1669f98ef05ae207e897565d3086c9
2012-10-10 17:09:11 -07:00
Fabrice Di Meglio
2918ab6c32 Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too

Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
2012-10-10 16:47:51 -07:00
Jean-Michel Trivi
afb195453a am 7e466e89: am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit '7e466e894ad4738a76c94c871cfc2f900518aea8':
  Don't play notifications during speech recognition
2012-10-10 16:36:07 -07:00
Jean-Michel Trivi
7e466e894a am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit 'bcfc1ca8ab8bf057e20d9369af3d007d80ca83e4':
  Don't play notifications during speech recognition
2012-10-10 16:33:15 -07:00
Jeff Sharkey
50035e8396 am 89be4267: am 03bd101b: Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-dev
* commit '89be4267d0a23ca258af607291bc4f905f963185':
  Move lockscreen to using haptic feedback setting.
2012-10-10 16:32:36 -07:00
Jean-Michel Trivi
bcfc1ca8ab Merge "Don't play notifications during speech recognition" into jb-mr1-dev 2012-10-10 16:30:56 -07:00
Jeff Sharkey
89be4267d0 am 03bd101b: Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-dev
* commit '03bd101b887d9741230ac6a7d296d90436020b8c':
  Move lockscreen to using haptic feedback setting.
2012-10-10 16:29:39 -07:00
Jeff Sharkey
03bd101b88 Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-dev 2012-10-10 16:26:49 -07:00
Jeff Sharkey
5ed9d68040 Move lockscreen to using haptic feedback setting.
This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
2012-10-10 16:08:47 -07:00
Svetoslav Ganov
8444b247e5 am 3c409d5b: am 33ee2900: Merge "Update to accessibility toggle message." into jb-mr1-dev
* commit '3c409d5bfadd6b2eb4a2e3083aef0a65ce7cf815':
  Update to accessibility toggle message.
2012-10-10 15:07:31 -07:00
Svetoslav Ganov
3c409d5bfa am 33ee2900: Merge "Update to accessibility toggle message." into jb-mr1-dev
* commit '33ee29000f4411265d975b5910ed94a5e0f10edf':
  Update to accessibility toggle message.
2012-10-10 15:05:29 -07:00
Svetoslav Ganov
33ee29000f Merge "Update to accessibility toggle message." into jb-mr1-dev 2012-10-10 15:02:44 -07:00
Fabrice Di Meglio
e7af2a370c am ee65e1d3: am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit 'ee65e1d356e4d7a160e5ba26cdf804b804b2bcac':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:02:19 -07:00
Fabrice Di Meglio
ee65e1d356 am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit '7573b1ee8997709eae23f5b3bdee849de7380e34':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:00:05 -07:00
Fabrice Di Meglio
7573b1ee89 Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev 2012-10-10 14:57:08 -07:00
Jeff Sharkey
cd25032d01 am 21973701: am 0dd0b144: Merge "Include all accounts in dumpsys." into jb-mr1-dev
* commit '21973701aff5c4d4ef5219a4cac5a5ff5257968b':
  Include all accounts in dumpsys.
2012-10-10 14:34:06 -07:00
Jeff Sharkey
21973701af am 0dd0b144: Merge "Include all accounts in dumpsys." into jb-mr1-dev
* commit '0dd0b1447c28f095265c6c108ccb7cdb4f87832c':
  Include all accounts in dumpsys.
2012-10-10 14:32:00 -07:00
Jeff Sharkey
0dd0b1447c Merge "Include all accounts in dumpsys." into jb-mr1-dev 2012-10-10 14:29:32 -07:00
Fabrice Di Meglio
fbc21e126f Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
- fix LayoutParams resolution for LinearLayout only
- apply onResolveLayoutDirection() in both measureHorizontal() and
measureVertical()

Change-Id: I5fcded9a79cd9aaeb0e12da7fd14176b71ba2fb6
2012-10-10 14:19:12 -07:00
Jeff Sharkey
6eb9620ff2 Include all accounts in dumpsys.
Allow accounts to be loaded when a user is stopped, but always
validate accounts against a freshly queried PMS cache when the user
actually starts.

Bug: 7276595
Change-Id: I0382064c73123c243bc6f6e5da8fc3d0a8b73442
2012-10-10 14:06:23 -07:00
Baligh Uddin
521da7ec67 Import translations. DO NOT MERGE
Change-Id: I57efb052a4003b16c6901ea8af12efcd535d1e4c
Auto-generated-cl: translation import
2012-10-10 13:15:41 -07:00
Baligh Uddin
83eb230666 Import translations. DO NOT MERGE
Change-Id: I5cde3287681f3fa85ad68b0f7b26ed3f289255d7
Auto-generated-cl: translation import
2012-10-10 13:13:43 -07:00
Matthew Xie
87efb143a1 am e8d27539: am ccf9ef60: Merge "Reduce android.bluetooth package debug messages" into jb-mr1-dev
* commit 'e8d275392d5c47117880dcc1588d3646323348e7':
  Reduce android.bluetooth package debug messages
2012-10-10 12:17:50 -07:00
Matthew Xie
e8d275392d am ccf9ef60: Merge "Reduce android.bluetooth package debug messages" into jb-mr1-dev
* commit 'ccf9ef605e1195d3748459cc3d4dc3baa953252e':
  Reduce android.bluetooth package debug messages
2012-10-10 12:16:14 -07:00
Matthew Xie
ccf9ef605e Merge "Reduce android.bluetooth package debug messages" into jb-mr1-dev 2012-10-10 12:14:08 -07:00
Jean-Michel Trivi
d677054ca6 Don't play notifications during speech recognition
Add support for querying AudioManager to know whether speech
 recognition is currently underway.

Don't play a notification if speech recognition is underway.

Bug 7314859

Change-Id: I1bd013a3168cfe1a6b6dcfd28565e1c3c512eb6a
2012-10-10 12:03:41 -07:00
Daniel Sandler
c13107046a Remove Dream windows immediately.
Ensures that onDetachedFromWindow happens before onDestroy.

Bug: 7295929
Change-Id: Ic4ac2552bfce75a5dc43dc840e6ef0182369e24b
2012-10-10 11:34:44 -07:00
Casey Burkhardt
8af30c0ee5 Update to accessibility toggle message.
Change-Id: I9957b86f3424d800b1b9804dc77f5bc5b728922b
2012-10-10 10:51:56 -07:00
Ken Wakasa
72da683c6e am b8e6a972: am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev
* commit 'b8e6a9724e33e01abc6261f3387e4671b0244f45':
  Revert "Don't update the text services locale in the main thread"
2012-10-10 09:37:51 -07:00
Ken Wakasa
b8e6a9724e am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev
* commit '1a5f387bcf26a6845a4fa744b8f54449ae70082f':
  Revert "Don't update the text services locale in the main thread"
2012-10-10 09:35:12 -07:00
Ken Wakasa
1a5f387bcf Merge "Revert "Don't update the text services locale in the main thread"" into jb-mr1-dev 2012-10-10 09:32:36 -07:00
Ken Wakasa
72fa0b35c5 Revert "Don't update the text services locale in the main thread"
This reverts commit 8fa0838bf82f43acfabc0e7fe9471e488a97796b

Change-Id: Ie790ae6dcb33d05d1fbf86c8ef28aec6fe60793a
2012-10-10 09:17:18 -07:00