108475 Commits

Author SHA1 Message Date
Craig Mautner
e7c58b6d7d Add debug for specific bug.
To be removed once the bug is fixed.

Change-Id: Ie273d4503bb0b534af0e9efe8f45c573766e9a74
2013-06-27 11:52:04 -07:00
The Android Open Source Project
9e424cfbf4 am bfc53ab2: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit 'bfc53ab2def0d58872b70e7f4afb2ca184143ff6':
  Improper initialization of the accessibility manager service.
2013-06-25 17:02:21 -07:00
John Reck
ced29a54b6 am 52dbdbf2: am 9d2b0dbf: am 12c4c0e4: Merge "Fix deadlock of WebViewCoreThread"
* commit '52dbdbf2d10f4e53f76c40a0bed0ffe31301f1f0':
  Fix deadlock of WebViewCoreThread
2013-06-25 17:02:08 -07:00
Svetoslav
b10804a903 am 0cb0a37f: am a0b9e1ee: am 99e4a0f5: Merge "Improper initialization of the accessibility manager service." into jb-mr2-dev
* commit '0cb0a37f1c8463fa3ba535dc4969316f7c1cbf88':
  Improper initialization of the accessibility manager service.
2013-06-25 17:02:01 -07:00
The Android Open Source Project
bfc53ab2de Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I9db90765647d0218de569565d7a23ab3c12ca044
2013-06-25 16:12:06 -07:00
Christopher Tate
a5df9aa497 am 3c0cd0b5: am 34718238: am 3e7d0344: Merge "Avoid adding FORWARD_LOCK flag to an updated system app"
* commit '3c0cd0b54064f81a6a74d895707453fb0132719c':
  Avoid adding FORWARD_LOCK flag to an updated system app
2013-06-25 16:02:13 -07:00
John Reck
52dbdbf2d1 am 9d2b0dbf: am 12c4c0e4: Merge "Fix deadlock of WebViewCoreThread"
* commit '9d2b0dbf67844ead1a0aeb22e1e3097d2ec60171':
  Fix deadlock of WebViewCoreThread
2013-06-25 15:34:16 -07:00
John Reck
9d2b0dbf67 am 12c4c0e4: Merge "Fix deadlock of WebViewCoreThread"
* commit '12c4c0e45b12be18005f0ad2af2433e34dcb1a9f':
  Fix deadlock of WebViewCoreThread
2013-06-25 15:31:39 -07:00
John Reck
12c4c0e45b Merge "Fix deadlock of WebViewCoreThread" 2013-06-25 22:28:02 +00:00
Svetoslav
8d41901e66 Improper initialization of the accessibility manager service.
Initially the current user in the accessibility manager service is the
owner. This is correct since the system should be able to respond to
queries immediately and their result depends on the current user. However,
the system is calling the user switch callback with the current user
which is the same as the one we initialized with. Switching the user
causes clearing state for the old user winch is in case the current
one. Hence, we are losing state for the current user. This behavior was
masked from the fact that accidentally no events in the system were
fired before the first use user switch call.

repo Losing current user state puts the manager service in an inconsistent
state and it binds to accessibility services more than once. As a result
the accessibility layer starts to misbehave rendering the device useless
to a blind user.

Now we are ignoring user switch callbacks if the new user is the same
as the current one. Since we can no longer initialize at the first user
switch, this change adds explicit system ready method called from
the system server at the right moment.

bug:9496697

Change-Id: Icb39e929ea44e6c0360aba7ddc12f941ca2c9f98
2013-06-25 15:12:34 -07:00
Svetoslav
0cb0a37f1c am a0b9e1ee: am 99e4a0f5: Merge "Improper initialization of the accessibility manager service." into jb-mr2-dev
* commit 'a0b9e1eead9cbde980ca5ee8406100d9f3bb8d4d':
  Improper initialization of the accessibility manager service.
2013-06-25 15:01:16 -07:00
Svetoslav
a0b9e1eead am 99e4a0f5: Merge "Improper initialization of the accessibility manager service." into jb-mr2-dev
* commit '99e4a0f576bad57782b31f1b3329a3d2408f42ae':
  Improper initialization of the accessibility manager service.
2013-06-25 14:59:12 -07:00
Svetoslav
99e4a0f576 Merge "Improper initialization of the accessibility manager service." into jb-mr2-dev 2013-06-25 21:55:46 +00:00
Evan Charlton
4d7dc1a2b1 Fix a typo
s/will/while/ for the --no-window-animation explanation.

Change-Id: Ia068809d385cc4f54f9603a8713a581fd4f59440
2013-06-25 14:49:08 -07:00
John Spurlock
95e6aea367 Merge "Remove unused services module dependency from sysui." 2013-06-25 19:47:21 +00:00
John Spurlock
5845b80190 Merge "Decouple storage notification from status bar." 2013-06-25 19:46:46 +00:00
Baligh Uddin
6bbe11a24e Merge "Import translations. DO NOT MERGE" 2013-06-25 19:32:02 +00:00
Baligh Uddin
9738a2d834 Merge "Import translations. DO NOT MERGE" 2013-06-25 19:30:22 +00:00
Baligh Uddin
5c81f80f8c Merge "Import translations. DO NOT MERGE" 2013-06-25 19:29:48 +00:00
John Spurlock
f7abb08794 Remove unused services module dependency from sysui.
Change-Id: I9ac1040bece7755478d57c44f48b1e31bff6bf57
2013-06-25 15:09:36 -04:00
John Spurlock
3e309b2edc Decouple storage notification from status bar.
Hoist the usb storage notification listener to a top-level
system ui service, not dependent on a status bar implementation.

Change-Id: Ic9e7fba1e5bfd758d72226f6d796c2f04f6b17e6
2013-06-25 11:12:41 -04:00
John Spurlock
bf991a8f42 Move battery stats call from SystemUI to system server.
The UPDATE_DEVICE_STATS permission is no longer required in sysui.

Change-Id: Icc3120b7873563e3727e56bed9f3b4767da0606d
2013-06-25 10:21:11 -04:00
Jean-Baptiste Queru
73cbbc3d64 am 5a0f6652: am 5b3afe3a: am 4be48d43: (-s ours) Merge "Lockscreen : Reference correct layout"
* commit '5a0f66524410834f2c425a5b9cf87b5f6f738472':
  Lockscreen : Reference correct layout
2013-06-25 05:59:30 -07:00
Joe Malin
a6bfa1c3ba am 602bc432: am 6d324c82: am f285a709: Merge "Bug 9517413: Activity Detection tutorial has errors" into jb-mr2-dev
* commit '602bc43266d357765b80cabee7541724e184f44a':
  Bug 9517413: Activity Detection tutorial has errors
2013-06-25 05:59:13 -07:00
Igor Murashkin
4c018e4050 Merge "Revert "Partial CameraManager implementation"" 2013-06-25 05:15:55 +00:00
Igor Murashkin
a858308ed2 Revert "Partial CameraManager implementation"
This reverts commit e473f7d8f96b5682141522378b761913192d8114.

Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
2013-06-25 05:15:02 +00:00
Igor Murashkin
0c5e010efe Merge "Revert "Initial camera device implementation"" 2013-06-25 05:14:37 +00:00
Igor Murashkin
36483e9622 Revert "Initial camera device implementation"
This reverts commit 59bc67c732eab53b370b196066e8012d3f6bf09a.

Change-Id: I9e1ce3b9f4af4e2b9b98855c0ca533581c87ea7f
2013-06-25 05:13:55 +00:00
Romain Guy
e981c516e7 Merge "Make sure we have a valid EGL context before drawing Bug #9404946" 2013-06-25 02:23:08 +00:00
Romain Guy
cc6b7caff0 Make sure we have a valid EGL context before drawing
Bug #9404946

Run another EGL context check after invoking user code to ensure
we have a valid context/surface pair before drawing the display list.

Change-Id: Iefb0ced7900ce0c54eb81b62d24ec00700bdce47
2013-06-24 19:19:21 -07:00
Dianne Hackborn
d982851d29 Merge "Use FastPrintWriter... everywhere." 2013-06-25 01:18:57 +00:00
Dianne Hackborn
8c84109b9f Use FastPrintWriter... everywhere.
One problem this turned up is, because FastPrintWriter does
its own buffering, a lot of code that used to use PrintWriter
would fail -- if it pointed to a StringWriter, there was no
buffering, so it could just immediately get the result.  Now
you need to first flush the FastPrintWriter.

Also added some new constructors to specify the size of buffer
that FastPrintWriter should use.

Change-Id: If48cd28d7be0b6b3278bbb69a8357e6ce88cf54a
2013-06-24 18:16:48 -07:00
Romain Guy
5d2bba0d47 Merge "(Small) 9patch drawing improvements" 2013-06-25 00:57:44 +00:00
Igor Murashkin
d5540fb1a9 Merge changes I183dd47d,I29864a5d
* changes:
  Initial camera device implementation
  Partial CameraManager implementation
2013-06-25 00:48:53 +00:00
Igor Murashkin
59bc67c732 Initial camera device implementation
* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: I183dd47ddd737ec2c3c374e5c3461542a97f09b0
2013-06-24 17:41:10 -07:00
Igor Murashkin
e473f7d8f9 Partial CameraManager implementation
Bug: 9213377
Change-Id: I29864a5d1f7971ed589d1ffaddeefbb703e34018
2013-06-24 17:41:09 -07:00
Christopher Tate
dee987c9d6 Merge "Fix FLAG_PRIVILEGED numbering" 2013-06-25 00:39:18 +00:00
Baligh Uddin
23265b193a Import translations. DO NOT MERGE
Change-Id: I7533d17db79b24818bb5870f2b6839ab233e110c
Auto-generated-cl: translation import
2013-06-24 17:20:56 -07:00
Baligh Uddin
603b88e102 Import translations. DO NOT MERGE
Change-Id: Ibc728bbf6327ff64cf7a1dd819c12468de83a5e2
Auto-generated-cl: translation import
2013-06-24 17:11:25 -07:00
Baligh Uddin
8060677ba8 Import translations. DO NOT MERGE
Change-Id: I5612800c2b9deb0a0e653b86478bedfe45b729dd
Auto-generated-cl: translation import
2013-06-24 16:54:37 -07:00
Romain Guy
f296dca95f (Small) 9patch drawing improvements
Save a bit of memory in meshs generated from native code
Avoid an extra if/else when drawing with hardware accelration on

Change-Id: I31a4550bde4d2c27961710ebcc92b66cd71153cc
2013-06-24 16:45:41 -07:00
Christopher Tate
4ce55a3987 Fix FLAG_PRIVILEGED numbering
Change-Id: Ia04326acb51a76c0f1931fce94f0501d4ce7faba
2013-06-24 16:44:39 -07:00
Craig Mautner
a3f62a8439 Merge "When an app dies launch home conditionally." 2013-06-24 23:31:00 +00:00
Craig Mautner
37f748db85 When an app dies launch home conditionally.
The determination for whether to launch home after an app dies
did not include whether the app would have returned home on exit.
This fixes that by checking what the app would naturally return to.

Fixes bug 9466261.

Change-Id: Ife6e895b9ef8c11b0a7f470d3eac4e88e763930b
2013-06-24 16:19:55 -07:00
Christopher Tate
3c0cd0b540 am 34718238: am 3e7d0344: Merge "Avoid adding FORWARD_LOCK flag to an updated system app"
* commit '347182386c54fd4aa4478f35b712c230eb290468':
  Avoid adding FORWARD_LOCK flag to an updated system app
2013-06-24 16:08:15 -07:00
Christopher Tate
347182386c am 3e7d0344: Merge "Avoid adding FORWARD_LOCK flag to an updated system app"
* commit '3e7d0344399ac2f607fddde32c1a5e54228a38f9':
  Avoid adding FORWARD_LOCK flag to an updated system app
2013-06-24 16:05:49 -07:00
Dianne Hackborn
3af16b226b Merge "Improve FastPrintWriter." 2013-06-24 23:02:02 +00:00
Christopher Tate
3e7d034439 Merge "Avoid adding FORWARD_LOCK flag to an updated system app" 2013-06-24 23:02:00 +00:00
Dianne Hackborn
e5a9c92377 Improve FastPrintWriter.
Change-Id: I23acb8d4c3db1f2f8e2f8003296f8c253e2ae7d2
2013-06-24 15:54:52 -07:00
Jean-Baptiste Queru
5a0f665244 am 5b3afe3a: am 4be48d43: (-s ours) Merge "Lockscreen : Reference correct layout"
* commit '5b3afe3a84cad94642360df01c39ebb2a3ee14ba':
  Lockscreen : Reference correct layout
2013-06-24 15:13:28 -07:00