108496 Commits

Author SHA1 Message Date
Stephen Hines
5675b97f65 Switch to shared libpng/libz dependency.
Bug: 9593270
Change-Id: I1eec2590cca046d6e030c73d31a6b400019e1ebd
2013-06-26 17:27:35 -07:00
Alan Viverette
57b867f3f5 Merge "Minor ListView clean up. Exposes View.pointInView() as hidden API." 2013-06-26 22:12:28 +00:00
Georgi Nikolov
e738c13d11 Merge "Bugfix 9373708 JBMR2 runtime restart (system process crash in the sync manager) during setup" 2013-06-26 22:11:32 +00:00
Christopher Tate
46eadae12f Make sure to propagate privileged status when upgrading an app
Bug 9470309

Change-Id: Ibc0c8b2fa01da1bd5f5b6ed5530a6bd9a1384846
2013-06-26 14:22:21 -07:00
Dianne Hackborn
49a31e0d67 Merge "Update procstats to start collecting/reporting pss." 2013-06-26 21:11:49 +00:00
Igor Murashkin
70725500dc Initial camera device implementation
* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
2013-06-26 13:19:45 -07:00
Igor Murashkin
e363fbb264 Partial CameraManager implementation
Bug: 9213377
Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
2013-06-26 13:19:44 -07:00
Georgi Nikolov
dbe846b02e Bugfix 9373708
JBMR2 runtime restart (system process crash in the sync manager) during setup

The fix is to ensure that all access to SyncStatusInfo and related objects happens
while holding the mAuthority lock or is on a per-thread copy of the objects

Also, includes an unrelated fix for a bug I just noticed in the way
dumpSyncState() prints the periodic sync info

Change-Id: Id9e4dff41029412e133bdabc843d555434d9a12f
(cherry picked from commit 182ff3acbad9850b40d37ad1c23106be6eda8476)
2013-06-26 20:16:05 +00:00
The Android Open Source Project
73d5fe9f2e am 1559d131: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
* commit '1559d13184e225bdb4e45190cbb033c4777f5681':
2013-06-26 12:37:53 -07:00
The Android Open Source Project
1559d13184 Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: I8a1c9c4b0a3730977c0a34fcd55d41f84999b485
2013-06-26 12:33:35 -07:00
The Android Automerger
3d5c1091cf merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-06-26 12:17:18 -07:00
Robert Greenwalt
505e35bca9 am c869696e: am 65f7a95f: am 2f50097a: Merge "Fix power issues around wifi scans." into jb-mr2-dev
* commit 'c869696ef3c1dca3efbc6ce8ab804e8a1b117900':
  Fix power issues around wifi scans.
2013-06-26 11:54:55 -07:00
Dianne Hackborn
13ac041b9f Update procstats to start collecting/reporting pss.
Completely reworked how it manages its data, since trying
to keep track of all of the possible pss data with the old
data structures would have made it huge.  Now we have a sparse
data structure for pss and process times.  (Will switch service
times over to it soon.)

Currently the only thing that collects pss data is running
"dumpsys meminfo".  More will be added later.

Modified checkin output to also scale better as more distinct
data categories are added, and added output of pss data.  Now
instead of dumping every possible entry as a comma-separated
list, it dumps a comma-separated list of only the entries with
data, tagged with the state they go with.

Also fixed some problems in the checkin reporting of batterystats
(it needs to escape commas), added checkin reporting of the history
list, fixed parsing of kernel wake locks to strip quotes, fixed
wake lock name that the sync manager generates to be more sane.

Change-Id: Ibf4010838a9f685ebe1d93aff86c064ccc52b861
2013-06-26 11:45:36 -07:00
Robert Greenwalt
c869696ef3 am 65f7a95f: am 2f50097a: Merge "Fix power issues around wifi scans." into jb-mr2-dev
* commit '65f7a95fc4c06127e7372bcb0d14e561cc23dd80':
  Fix power issues around wifi scans.
2013-06-26 10:55:00 -07:00
Robert Greenwalt
65f7a95fc4 am 2f50097a: Merge "Fix power issues around wifi scans." into jb-mr2-dev
* commit '2f50097a5d5a1fb60574c89c7202cc43ecb51c54':
  Fix power issues around wifi scans.
2013-06-26 10:51:35 -07:00
Robert Greenwalt
2f50097a5d Merge "Fix power issues around wifi scans." into jb-mr2-dev 2013-06-26 17:43:39 +00:00
Robert Greenwalt
8971084258 Fix power issues around wifi scans.
- Sending a broadcast indicating when scan requests could be serviced so that
apps don't request scans we won't do anything with.
- Fix our batt stats accounting so we only count it if we send the request to
the driver.

bug: 8868201
bug: 9496690
Change-Id: I64a4f1c294c848ac64c50d8854ed4a6a1a47f603
2013-06-26 10:00:16 -07:00
Lajos Molnar
4e1d4b8bcd Merge "Change the comments to incorporate change for VP9 decoder." 2013-06-26 01:13:21 +00:00
Alan Viverette
0fb018403b Merge "Fix FastScroller for single-section lists and untitled sections." 2013-06-26 00:56:39 +00:00
hkuang
63a6473a56 Change the comments to incorporate change for VP9 decoder.
Change-Id: I9a4f3af9278c90962856516df5930e8924c28f9d
2013-06-26 00:35:41 +00:00
Alan Viverette
3d15a2b8f4 Minor ListView clean up. Exposes View.pointInView() as hidden API.
Change-Id: Ia628f8438fac5af2471efd8558c8876fae3dafb0
2013-06-25 17:27:37 -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
Alan Viverette
6b40cc7f8a Fix FastScroller for single-section lists and untitled sections.
Change-Id: I121d9427e87e1a9e09562642f6aa621fc1cc849a
2013-06-25 16:41:52 -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