108123 Commits

Author SHA1 Message Date
Baligh Uddin
c8d5f0372e Merge "Import translations. DO NOT MERGE" 2013-06-17 18:31:33 +00:00
Romain Guy
65aaec3d39 Merge "Lazily allocate seldom-used data structures" 2013-06-17 18:23:42 +00:00
Romain Guy
16c0318474 Lazily allocate seldom-used data structures
Change-Id: I8d6b9d2d821168329206c01ed6539a1466af272f
2013-06-17 11:21:58 -07:00
Chris Craik
2a0451e54a Merge "Fix clip merging behavior" 2013-06-17 18:11:34 +00:00
Primiano Tucci
4aaf8b3d4b Merge "Deprecate webview.use_chromium and introduce webview.force_provider." 2013-06-17 17:36:38 +00:00
Primiano Tucci
eb665d66ba Deprecate webview.use_chromium and introduce webview.force_provider.
The new webview.force_provider property, when set, enforces the use
of Chromium or classic WebView, regardless the value of the
persist.sys.webview.exp (accessible through the settings UI).
This will help telemetry tests to run correctly regardless of UI
settings.

Change-Id: Ica5a0faa7f7539c22332cac5a8946f11fb7df6b2
2013-06-17 16:03:55 +01:00
Baligh Uddin
f46795a707 Import translations. DO NOT MERGE
Change-Id: I3ba51d668bb8a1d650bf442f2012cc25fab115dc
Auto-generated-cl: translation import
2013-06-17 07:08:24 -07:00
Craig Mautner
636f119e2f Merge "Complete doDie() before executing addView()." 2013-06-17 13:59:50 +00:00
John Spurlock
72b29c3abb Merge "More hideytoast stabilization." 2013-06-16 15:36:37 +00:00
The Android Open Source Project
afea5dfb6d am b832dfe7: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit 'b832dfe72f1bbdec778b50f258eae29f17fd8e0b':
  Temporarily restore some support for icon==0 notifications.
2013-06-16 07:49:22 -07:00
The Android Open Source Project
b832dfe72f Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I425b496bc37821b3d9c10f92b5799dd6010b89db
2013-06-16 07:44:02 -07:00
The Android Automerger
070a260153 merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-06-16 05:55:34 -07:00
Baligh Uddin
5e06d17c75 am 5bc35c7a: (-s ours) am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '5bc35c7a50e7b5c55c88c8aa301a9277e17a4d34':
  Import translations. DO NOT MERGE
2013-06-15 19:26:03 -07:00
Baligh Uddin
5bc35c7a50 am 9e7926f2: am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '9e7926f28a353f55042247529372848267516f36':
  Import translations. DO NOT MERGE
2013-06-15 19:23:44 -07:00
Baligh Uddin
3c1000c620 am bdb795ba: (-s ours) am 2f9807b8: Import translations. DO NOT MERGE
* commit 'bdb795bab1c16e27ec86f303a96490805e4eb8dc':
  Import translations. DO NOT MERGE
2013-06-15 19:22:30 -07:00
Baligh Uddin
bdb795bab1 am 2f9807b8: Import translations. DO NOT MERGE
* commit '2f9807b8d71fdc1a2336c22e89148325281b684e':
  Import translations. DO NOT MERGE
2013-06-15 19:20:22 -07:00
Baligh Uddin
9e7926f28a am 4a9e4226: (-s ours) Import translations. DO NOT MERGE
* commit '4a9e422680727cd1a8fd683bae98c62baa0710fd':
  Import translations. DO NOT MERGE
2013-06-15 19:19:07 -07:00
Baligh Uddin
3db7115886 Merge "Import translations. DO NOT MERGE" 2013-06-16 02:17:36 +00:00
Daniel Sandler
0e57464d90 Temporarily restore some support for icon==0 notifications.
This is WRONG WRONG WRONG but certain apps rely on it to
poke the LED and so forth. In a future release this will
stop working.

Bug: 8623399
Change-Id: I49bb8ccc6891b1398ceec94c64d6c3a510ad1c38
2013-06-15 12:20:55 -07:00
Craig Mautner
8f303ad970 Complete doDie() before executing addView().
If WindowManager.addView() is called soon after
WindowManager.removeView() then the MSG_DIE in the ViewRootImpl
mHandler queue may not have had time to execute. This will cause
WindowManagerGlobal to throw an exception since the DecorView
is being added before it has been removed.

This fix detects that situation by saving all Views that are queued
up for ViewRootImpl.doDie(). If addView() is called for one of these
Views then doDie() is called immediately and not called when MSG_DIE
eventually makes its way through the queue.

This change also makes doDie() non-reentrant by only allowing it to
carry out its functions the first time it is called. This keeps
dispatchDetachedWindows() from causing destruction by recursively
calling back into doDie(). This is usually caused by calling
dismissDialog() from within dispatchDetachedWindow().

Fixes bug 9404689.
Fixes bug 9406261.

Change-Id: Id4fc8054e273215d82366428fef51b9ba98385fe
2013-06-15 10:52:45 -07:00
John Spurlock
743356ad1a More hideytoast stabilization.
Back to Gravity.TOP workaround to keep the hideybar confirmation
toast stable during navbar enter/exit animation.

Reverts part of Ifa380e387389ed9917336ad19dfde49f67a5fb10

Change-Id: I1e2e54851f2030603d43df611a616101f19bdab3
2013-06-15 11:58:08 -04:00
John Spurlock
de44c828b5 Merge "Remove more unused statusbar.policy items." 2013-06-15 13:03:46 +00:00
John Spurlock
0f6006405d Merge "Remove unused TrackingPatternView." 2013-06-15 13:02:40 +00:00
John Spurlock
5da2651914 Merge "Remove unused CloseDragHandle." 2013-06-15 13:01:44 +00:00
John Spurlock
f5793328b3 Merge "Remove unused CarrierLabel." 2013-06-15 13:00:45 +00:00
John Spurlock
d4f2ba9d62 Merge "Remove unused VolumeController." 2013-06-15 13:00:07 +00:00
John Spurlock
3105a9c3f9 Merge "Remove unused FixedSizeDrawable." 2013-06-15 12:59:04 +00:00
John Spurlock
0f646eb120 Merge "Remove unused EventHole." 2013-06-15 12:58:00 +00:00
John Spurlock
b2e90390e6 Merge "Remove unused do-not-disturb items." 2013-06-15 12:57:17 +00:00
John Spurlock
75d71b7e94 Merge "Stabilize hideybar confirmation toast." 2013-06-15 12:56:27 +00:00
Baligh Uddin
ca1fb945b9 Import translations. DO NOT MERGE
Change-Id: If9b1d6c029d0484d7197322a3c33df6b523dd341
Auto-generated-cl: translation import
2013-06-14 19:30:11 -07:00
Baligh Uddin
2f9807b8d7 Import translations. DO NOT MERGE
Change-Id: Ia0e22026f6b361ea67d393e154d719a46759ecea
Auto-generated-cl: translation import
2013-06-14 19:28:47 -07:00
Baligh Uddin
4a9e422680 Import translations. DO NOT MERGE
Change-Id: I45fbf411dc3f8cdb9a5ebd889ccf3a2868abb5a9
Auto-generated-cl: translation import
2013-06-14 19:27:44 -07:00
Dianne Hackborn
fbf7a9aea2 Merge "More work on process tracking." 2013-06-15 00:39:31 +00:00
Chong Zhang
e0dae4b493 Merge "MediaRouter: grey out wifi displays that's in use" 2013-06-15 00:36:15 +00:00
Dianne Hackborn
91268cf21e More work on process tracking.
Re-arranged code to be more flexible, now track
state of services, dump ordered list of running
processes while memory was critical and low.

Also rename battery stats service from "batteryinfo" to "batterystats".

Change-Id: I0f4f0c8d443c49d255cb84d0fc917e8ec18b152e
2013-06-14 17:30:17 -07:00
Scott Main
343233c4ed am 3717cf6b: am 07d6d9e7: Merge "additional documentation for media codec info" into jb-mr2-dev
* commit '3717cf6bc2e92d58d8de9f039165d1e6c73de8a0':
  additional documentation for media codec info
2013-06-14 17:11:53 -07:00
Scott Main
3717cf6bc2 am 07d6d9e7: Merge "additional documentation for media codec info" into jb-mr2-dev
* commit '07d6d9e74c1f79de791b37b1cb738fa398915879':
  additional documentation for media codec info
2013-06-14 17:08:33 -07:00
Scott Main
07d6d9e74c Merge "additional documentation for media codec info" into jb-mr2-dev 2013-06-15 00:04:50 +00:00
Romain Guy
8a95f42ee5 Merge "Merge more 9patches" 2013-06-14 23:54:06 +00:00
Romain Guy
5216c3b05f Merge more 9patches
Change-Id: If8b16af84f0ee42afc406922d15897e51d833e68
2013-06-14 16:31:37 -07:00
Elliott Hughes
0e3e249ddb am 96fefaa2: am b87e6138: am 618ed234: Merge "Track nio API change."
* commit '96fefaa23bf95ae6736df90f018cb8c86cb943c3':
  Track nio API change.
2013-06-14 16:27:37 -07:00
Jeff Sharkey
214816da8e Merge "Cache AndroidBlockGuardPolicy to avoid allocation." 2013-06-14 23:26:59 +00:00
Elliott Hughes
96fefaa23b am b87e6138: am 618ed234: Merge "Track nio API change."
* commit 'b87e6138d169e5fd23b964056431e2c357323fd2':
  Track nio API change.
2013-06-14 16:25:00 -07:00
Elliott Hughes
b87e6138d1 am 618ed234: Merge "Track nio API change."
* commit '618ed2340283263164f578f818cc09148aacb9ed':
  Track nio API change.
2013-06-14 16:22:12 -07:00
Elliott Hughes
618ed23402 Merge "Track nio API change." 2013-06-14 23:18:35 +00:00
Jeff Sharkey
a2934d5ff0 Cache AndroidBlockGuardPolicy to avoid allocation.
Every incoming Binder call ends up triggering a BlockGuardPolicy
update, which would thrash between new AndroidBlockGuardPolicy
instances and BlockGuard.LAX_POLICY, causing GC churn.

This change avoids the extra allocations by recycling a single
AndroidBlockGuardPolicy in a ThreadLocal.  Worst-case thrashing case
is now 10% faster; from 7.46us to 6.65us.

Bug: 9424568
Change-Id: I9c3b1c097a2aecc9b1f109a824cf3ea319fb3393
2013-06-14 16:15:31 -07:00
Elliott Hughes
28b7245cc1 Track nio API change.
Change-Id: I6a6d6c9e5f658b66dca0db226d2d91ee5f8ab2c7
2013-06-14 15:41:26 -07:00
John Spurlock
bb39a21caa Remove more unused statusbar.policy items.
AirplaneModeController, CompatModeButton, and
CurrentUserTracker (one of them...)

Change-Id: I304cef19dae405282d621179fe0c74e644129f62
2013-06-14 17:08:13 -04:00
John Spurlock
cf61202c06 Remove unused TrackingPatternView.
Change-Id: Ic9a935fff827cad04ea42040837449368c36d32b
2013-06-14 16:54:23 -04:00