108117 Commits

Author SHA1 Message Date
Craig Mautner
fd1ce8d5a7 Add new API getStackBoxInfo
Change-Id: Ie2861e5e31bb3876cfe2d5c3d04ff58bb3955634
2013-06-17 18:34:28 -07:00
Craig Mautner
d213beae75 Don't bring stack forward when moving tasks.
Change-Id: I222eda9e3ea62119c8948a99a63de55b13ca69f4
2013-06-17 12:30:32 -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
John Spurlock
dba991257d Remove unused CloseDragHandle.
Change-Id: Ic7fc0eacc4534db99a39ea8112339ee4a4af57c4
2013-06-14 16:47:05 -04:00
John Spurlock
8a21278686 Remove unused CarrierLabel.
Change-Id: I145a7ee38655a957aec14fe7318092c42b3cb6cc
2013-06-14 16:41:24 -04:00
Daniel Sandler
756a53f4e4 am 5be52fb5: am a0c9b9d2: Merge "Temporarily restore some support for icon==0 notifications." into jb-mr2-dev
* commit '5be52fb5ae462b83b0619b95e7991e52bc2031b2':
  Temporarily restore some support for icon==0 notifications.
2013-06-14 13:36:56 -07:00
Daniel Sandler
5be52fb5ae am a0c9b9d2: Merge "Temporarily restore some support for icon==0 notifications." into jb-mr2-dev
* commit 'a0c9b9d2a7a0566615b6b044ac8a6b434c80d5be':
  Temporarily restore some support for icon==0 notifications.
2013-06-14 13:34:55 -07:00
John Spurlock
027e6f5800 Remove unused VolumeController.
Change-Id: I23279c9c2f152bd9182487ce30da14078d108ff7
2013-06-14 16:31:48 -04:00