154388 Commits

Author SHA1 Message Date
Craig Mautner
b3fdbac020 Merge "Lock down window manager while changing opacity" into lmp-dev 2014-09-07 22:15:42 +00:00
George Mount
9f1ac3976e Improve Visibility parent value check.
Bug 17412818
Bug 16398271

The Visibility Transition must not run against children that
are already disappearing or there will be, for example, a double
fade-out effect. Before this change, if a parent matched another
view, it would prevent its child from disappearing.

This change also removes using the overlay for children that have
been removed from the view hierarchy indirectly. This prevents
ListView and RecyclerView children from being added to the overlay.

Change-Id: Iac0610f0939da8643b98812ee1ec1c8d1d70a215
2014-09-07 15:04:03 -07:00
Jae Seo
e4bf0f1114 am 067d3da5: am 8f2f5184: Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev
* commit '067d3da59436c4b9f44700e9fe49d20f0d6395d1':
  TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable
2014-09-07 21:00:54 +00:00
Jae Seo
c431e40045 am 8f2f5184: Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev
* commit '8f2f5184427d672816c7ceaab8957f5b07e84434':
  TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable
2014-09-07 20:50:40 +00:00
Jae Seo
0f776ce29c Merge "TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable" into lmp-dev 2014-09-07 20:43:57 +00:00
Jae Seo
d254611778 TIF: Update Java doc for notifyVideoAvailable/notifyVideoUnavailable
TV input services are now required to call these methods to
unblock/block the screen.

Bug: 17364845
Change-Id: Ifb435900d7f61785198dba2e255a2d24dbf44dc6
2014-09-07 13:39:17 -07:00
George Mount
0f0c473488 Use Alpha instead of TransitionAlpha for Activity Transitions.
Bug 17406204

Chrome needs to be notified when the shared element
should be hidden. The alpha setter can be overridden,
but setTransitionAlpha cannot. By setting alpha as
well as transitionAlpha, we get the immediate effect
from transitionAlpha along with enabling a trigger
for Chrome's shared element to hide.

Change-Id: I6ecb44872fd237afe89dbb36e43aa50c98693b52
2014-09-07 13:26:57 -07:00
Winson Chung
8e98ff2b38 am a8733153: am 27e95059: Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
* commit 'a8733153b889b8e627b834bb05f36dc9ce391bbe':
  Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
2014-09-07 20:26:04 +00:00
Winson Chung
2e29a6dc03 am 3004eee6: am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit '3004eee618c3fad547768210f9252bad5abb0f69':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:25:59 +00:00
Winson Chung
663b98e90e am 622f0913: am b6f90339: Revert "Delay in app transition until home animation completes. (Bug 17012456)"
* commit '622f09137394df0aa4683d7680a657679e70350c':
  Revert "Delay in app transition until home animation completes. (Bug 17012456)"
2014-09-07 20:25:54 +00:00
Winson Chung
a43588d7cc am 27e95059: Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
* commit '27e9505991500e9d5afee7fa485686905bbcf991':
  Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
2014-09-07 20:15:20 +00:00
Winson Chung
89c58c5e72 am 04682c2f: Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
* commit '04682c2fa9f825cb2d09b6303c2b9b3b24e6bd19':
  Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
2014-09-07 20:15:15 +00:00
Winson Chung
d955fcd343 am b6f90339: Revert "Delay in app transition until home animation completes. (Bug 17012456)"
* commit 'b6f90339750e6b33ee6b41f5e8e6502abc6543f4':
  Revert "Delay in app transition until home animation completes. (Bug 17012456)"
2014-09-07 20:15:10 +00:00
Craig Mautner
6f61204bca Lock down window manager while changing opacity
Surfaces were being modified after destroy(). The check for mSurface
being null was not done while holding window the window manager lock.
This change adds locking to the surface modification methods.

Fixes bug 17383628.

Change-Id: I12ebbddc0f2cd7b43659370fac2c4fb053999bb5
2014-09-07 13:13:23 -07:00
Winson Chung
4e8dd649b4 Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979
2014-09-07 20:08:55 +00:00
Winson Chung
2e7f3bdcc9 Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
2014-09-07 20:08:40 +00:00
Winson Chung
d78d4f3acd Revert "Delay in app transition until home animation completes. (Bug 17012456)"
This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284
2014-09-07 20:08:22 +00:00
Eric Laurent
b8a8f33602 am 987ce7dc: am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '987ce7dcb5485e3c593f6384eda91bfbb3f12969':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:29:51 +00:00
Eric Laurent
e88914117b am 2ff0e25f: Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev
* commit '2ff0e25f376ea6aee0961f99bd15fd9fd3e01033':
  SoundTrigger: fix capture format in recognition event
2014-09-07 19:20:32 +00:00
Dianne Hackborn
b30ea42a8d am 459f3911: am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit '459f391177dd796d25d68184a0844a0420a1f33a':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:20:06 +00:00
Dianne Hackborn
7bc4c08323 am 8c7be259: am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '8c7be25983e44e8e1bfcb721f50ae23ca7aabf32':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:20:00 +00:00
Dianne Hackborn
f4eaedd3b8 am 9a77bddd: Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev
* commit '9a77bddd11c76c06b5fb45cada0a871f75ae66bd':
  Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20
2014-09-07 19:10:48 +00:00
Dianne Hackborn
b08ec9c08b am 6a83e4d1: Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev
* commit '6a83e4d1c445658f1e489b744119755c976e9eb0':
  Work on issue #17357238: Recents is often slow if not used in a while
2014-09-07 19:10:40 +00:00
Eric Laurent
8232d822aa Merge "SoundTrigger: fix capture format in recognition event" into lmp-dev 2014-09-07 19:10:07 +00:00
Dianne Hackborn
b30c9920df Merge "Fix issue #17391969: Only exception on Message.recycle() when target-sdk > 20" into lmp-dev 2014-09-07 19:04:05 +00:00
Dianne Hackborn
66d557875d Merge "Work on issue #17357238: Recents is often slow if not used in a while" into lmp-dev 2014-09-07 19:03:20 +00:00
Unsuk Jung
4bd791a017 am 4944eb87: am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '4944eb87ea07d8ef54eab4810213e2c3b8d737e6':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:25:15 +00:00
Unsuk Jung
29defae43c am 2ba17d31: Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev
* commit '2ba17d31623e05fbeb934d8def89aec9041ff15e':
  Add a hardware feature definition corresponding to audio output support.
2014-09-07 09:10:58 +00:00
Unsuk Jung
68c936f77d Merge "Add a hardware feature definition corresponding to audio output support." into lmp-dev 2014-09-07 01:54:13 +00:00
Christopher Ferris
67a194b118 am 7c931e2e: (-s ours) am f4eaaadb: Merge "Fix use of %llx for sscanf 64 bit values."
* commit '7c931e2e4b3e9bea0f4d9b942e28864adfe00887':
  Fix use of %llx for sscanf 64 bit values.
2014-09-06 17:25:38 +00:00
Christopher Ferris
7c931e2e4b am f4eaaadb: Merge "Fix use of %llx for sscanf 64 bit values."
* commit 'f4eaaadb8cb0e2ff8d1704827883b5a62173311d':
  Fix use of %llx for sscanf 64 bit values.
2014-09-06 17:02:41 +00:00
Christopher Ferris
f4eaaadb8c Merge "Fix use of %llx for sscanf 64 bit values." 2014-09-06 16:55:50 +00:00
Nancy Chen
ea38cca149 Make changes to Telecomm API per review guidelines.
Make changes to Telecomm API per review guidelines in bug:
* Rename componentName to packageName and getComponentName to
  getPackageName in StatusHints
* Hide "ROUTE_ALL" and fix misspelling in AudioState
* Change getHandle to getAddress and remove getHandlePresentation in
  ConnectionRequest

Bug: 17329632

Change-Id: I8b3666cc22d24f470c940825c77a7b4d0701dc16
2014-09-05 20:33:05 -07:00
Etan Cohen
380e8515ca am 93b7aa52: am aa329284: Modified VoLTE configuration: separate device and carrier configs.
* commit '93b7aa520dd8f5c094ba5f93434adb44424ebfbb':
  Modified VoLTE configuration: separate device and carrier configs.
2014-09-06 02:57:21 +00:00
Chris Craik
c166b6c4fc Fix save count offsetting within DisplayList chunks
bug:17388541
Change-Id: I7cb1139b8cd30f72ae7c6de2074c3c5865b8f309
2014-09-05 19:55:30 -07:00
Etan Cohen
ed331ac5d3 am aa329284: Modified VoLTE configuration: separate device and carrier configs.
* commit 'aa3292842775190686a2dcf1de7158b4aec25d3f':
  Modified VoLTE configuration: separate device and carrier configs.
2014-09-06 02:44:28 +00:00
Etan Cohen
fdd41b3cbf Modified VoLTE configuration: separate device and carrier configs.
Default device and carrier disabled.
Device to be overlayed in device/<xxx> dirs.
Carrier overlayed in this project.

Bug: 17365969
Change-Id: I95d58e934fc85506287069ddd71af4a5b7594bfb
2014-09-06 02:30:12 +00:00
Christopher Ferris
a620b06bd5 am ad29afab: am 2b653eab: Merge "Add new header to support 32 bit/64 bit dumps."
* commit 'ad29afab5e0c08f2459c5f97a79dbad3c395bc9b':
  Add new header to support 32 bit/64 bit dumps.
2014-09-06 02:28:16 +00:00
Eric Laurent
39fcca0a50 SoundTrigger: fix capture format in recognition event
Also include capture format in recognition event
if capture is available for streaming. It was only
included if trigger was contained in event.

Bug: 17409062
Bug: 16731718
Change-Id: I5bf566e6bda57f23c870b4a1293e9b6d15d51e5a
2014-09-05 18:56:33 -07:00
Eric Rowe
45d04c7099 am 8bba2cb7: am 94614a7e: Merge "Increase long timeout to 2 minutes" into lmp-dev
* commit '8bba2cb717bd6e13f35b1c63cc006e29da5fa356':
  Increase long timeout to 2 minutes
2014-09-06 01:48:03 +00:00
Dianne Hackborn
a4e102ee58 Work on issue #17357238: Recents is often slow if not used in a while
Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
2014-09-05 18:43:43 -07:00
Eric Rowe
974390debf am 94614a7e: Merge "Increase long timeout to 2 minutes" into lmp-dev
* commit '94614a7ea84eaf56ea249f60b004b1a8ce7c97ca':
  Increase long timeout to 2 minutes
2014-09-06 01:37:15 +00:00
Eric Rowe
f7efe33da2 Merge "Increase long timeout to 2 minutes" into lmp-dev 2014-09-06 01:28:23 +00:00
Christopher Ferris
ad29afab5e am 2b653eab: Merge "Add new header to support 32 bit/64 bit dumps."
* commit '2b653eabb999e2360c0f818242b32b4a141dc795':
  Add new header to support 32 bit/64 bit dumps.
2014-09-06 01:27:29 +00:00
Christopher Tate
c1777510f5 am 96d3c4ae: am 57f1f19d: Merge "Fix binder identity use when clearing wallpapers" into lmp-dev
* commit '96d3c4ae29213085709cd9c82cc2e2148f998d92':
  Fix binder identity use when clearing wallpapers
2014-09-06 01:27:26 +00:00
Junda Liu
4a628e5a51 am d2c4ce47: am 8e250c57: Merge "Hide APIs for simplified network settings." into lmp-dev
* commit 'd2c4ce47ed723d120c2d0d0f729cf5b158de80ec':
  Hide APIs for simplified network settings.
2014-09-06 01:27:18 +00:00
Christopher Ferris
2b653eabb9 Merge "Add new header to support 32 bit/64 bit dumps." 2014-09-06 01:19:03 +00:00
Christopher Tate
7eeea906c3 am 57f1f19d: Merge "Fix binder identity use when clearing wallpapers" into lmp-dev
* commit '57f1f19d02f5063458a05085c3d8875585c04ad3':
  Fix binder identity use when clearing wallpapers
2014-09-06 01:17:41 +00:00
Junda Liu
7af9e274ee am 8e250c57: Merge "Hide APIs for simplified network settings." into lmp-dev
* commit '8e250c572a6d56ba6b3645faa5b32edf1e795442':
  Hide APIs for simplified network settings.
2014-09-06 01:17:35 +00:00
Dianne Hackborn
95ccfd9950 am 80cb4a01: am 8c7605b1: Merge "Fix issue #17397177: BatteryStats reporting error on job start/stop" into lmp-dev
* commit '80cb4a012b57110246a17e4110ccadb5bd232c55':
  Fix issue #17397177: BatteryStats reporting error on job start/stop
2014-09-06 01:09:57 +00:00