157378 Commits

Author SHA1 Message Date
Wink Saville
a374c3d03b Update SubscriptionManager API as per API council.
bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
2014-11-11 11:48:04 -08:00
Craig Mautner
e042bf2b22 If task isn't found in recents, look in the stacks.
It may take an attach to move a task into the recents list. If the
timing is right a task may not be in recents by the time we are
removing it from the stacks due to a finish. In that case we should
look in the stacks for the task as well as looking in recents.

Fixes bug 18017409.

Change-Id: Idcfe2e263c9d0fe9a063fdf22515ac4e7fe89ecb
2014-11-11 11:28:43 -08:00
Chong Zhang
00795e9edd Merge "return error MEDIA_ERROR_UNSUPPORTED when Range request fail" into lmp-mr1-dev 2014-11-11 18:33:21 +00:00
Selim Cinek
a37774f098 Fixed a bug where the clearable flag was set inconsistently
This could lead to undismissable notifications.

Bug: 17758698
Change-Id: I60ccbe24686c5b8bc46bfb52e590cef71ed7a190
2014-11-11 19:16:18 +01:00
Chris Wren
223c66b681 Add event logs when we launch fullscreen notications.
When the heads up does not trigger on enqueue, and also when a heads up
is escalated to a fullscreen on a screen event.

Bug: 16644299
Change-Id: Iec7f7ddb966b46171d0e7d1ee52daf5847a7c9da
2014-11-11 18:11:25 +00:00
Pavel Zhamaitsiak
7635aab10b Merge "IMS: Peer capabilities support" into lmp-mr1-dev 2014-11-11 18:07:06 +00:00
Wale Ogunwale
285970cfea Merge "Fixed index out of bounds issue when removing windows." into lmp-mr1-dev 2014-11-11 18:00:06 +00:00
Alan Viverette
a9b503aec2 Merge "Fix Material styling in remaining dialogs and layouts" into lmp-mr1-dev 2014-11-11 17:34:36 +00:00
Deepanshu Gupta
7ed525bf92 am 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
* commit '5ad9b395db341b3360d481039f152f8ce1d8360c':
  Don't skip loading object animator.
2014-11-11 17:22:00 +00:00
Deepanshu Gupta
5ad9b395db am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
* commit 'a44fdb9e216810ba62f20c1b4571ebc240931efa':
  Don't skip loading object animator.
2014-11-11 17:17:02 +00:00
Deepanshu Gupta
a44fdb9e21 Merge "Don't skip loading object animator." into lmp-dev 2014-11-11 17:11:24 +00:00
George Mount
691487d2c3 Remove unnecessary reflection lookup in Animators.
Bug 17978210

When Properties are used with PropertyValuesHolders or
ObjectAnimators, the reflection lookup for getters and
setters is unnecessary.

Fixed problem in which static maps were being protected
by instance locks.

Fixed problem where we were repeatedly doing a
reflection lookup on methods that don't exist.

Change-Id: Ic0a1b62357f3aaaa4c900fef6087583ad0e964b6
2014-11-11 08:51:53 -08:00
John Spurlock
73546e5359 Merge "Zen: Exit downtime on next alarm (if mode=none)." into lmp-mr1-dev 2014-11-11 16:50:15 +00:00
Shriram Ganesh
482e6da972 IMS: Peer capabilities support
Add support for querying peer capabilities

IMS: Add support for HD icon display related information

Added support to pass the restrict cause associated with the peer
in order to enable display of the HD icon when necessary.Added
support to pass local audio codec information and defined values
for new codecs not defined.

Change-Id: If05d46bdb3907a0ec7efdde48337a7932a7a5c21
2014-11-11 16:36:15 +00:00
Selim Cinek
7d5f374dda Improved the dismiss all animation
Added an AVD to the icon and changed the order
to be from bottom to the top.

Bug: 17903685
Bug: 17007783
Change-Id: Ia1509e2d4e02c87782285e05b7b7fb6a11854f95
2014-11-11 17:10:38 +01:00
George Mount
12403b242f Merge "Make setOutlineProvider change transitionGroup." into lmp-mr1-dev 2014-11-11 15:41:33 +00:00
Deepanshu Gupta
2c5cddbd07 Don't skip loading object animator.
This is used by Buttons as part of StateListAnimator.

Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274
2014-11-11 15:21:19 +00:00
John Spurlock
3c984d67eb Zen: Exit downtime on next alarm (if mode=none).
Bug: 16373455
Change-Id: Ie5d878ea4f930556ed84225c21d7c6df61024fbc
2014-11-11 10:03:24 -05:00
Narayan Kamath
76a748e62f Tell installd when boot completes.
installd can then clear the ".booting" marker from the dalvik-cache
(owned by root). This marker is used to detect boot loops.

bug: 18280671

Change-Id: I878f1463c7f523892605c17b980a51ac3b6645e2
2014-11-11 10:50:46 +00:00
Tim Kilbourn
54a5ca1aad Merge "Add tv product variants to strings." into lmp-mr1-dev 2014-11-11 06:32:33 +00:00
Lorenzo Colitti
7f6c0d7d2d Populate 464xlat LinkProperties only when the interface comes up.
Currently Nat464Xlat reads the clat IPv4 address and updates the
clat LinkProperties when the interface is created. This causes a
race condition: because clatd only sets the IPv4 address after
creating the interface, it's possible that Nat464Xlat will read
the address before clatd has set it, causing the framework to
think that the clat IPv4 address is 0.0.0.0/32.

This seems to be happening more frequently now, perhaps because
clatd takes a bit longer to configure the IPv4 address now that
it needs to check that the address is free before using it.

Fix this by making Nat464Xlat listen for the interface coming up
instead of listening for the interface being added.

Bug: 12111730
Change-Id: Ic1c59b5b6dbb851b7431d1b06885f67803373bb9
2014-11-10 19:33:13 -08:00
Chong Zhang
8976a0954c return error MEDIA_ERROR_UNSUPPORTED when Range request fail
Bug: 18235751
Change-Id: I4631daf50bb76b70dd740c45b628294ad1aa45e1
2014-11-10 19:32:28 -08:00
Adam Lesinski
be593a7778 Merge "split-select: fix OSX build" into lmp-mr1-dev 2014-11-11 02:29:58 +00:00
Eric Laurent
4b7b557055 am 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d automerge: 9e0ed1c
automerge: ad64557

* commit 'ad6455721e1257054f2ca4334d2578129429e3b6':
2014-11-11 02:10:37 +00:00
Adam Lesinski
a2bb565db5 AAPT: Ignore densities specified in -c flag
The --preferred-density flag knows how to handle missing resources of
specific densities. Using -c with a density leads to missing resources.

Change-Id: I2251d842f48c08ed083663bb7ed608e14c4983c8
2014-11-10 17:56:11 -08:00
Sungmin Choi
49fb297a63 telephony: Add tethering profiles to support mvno
Add tethering profiles to use string-array in config.xml.

Bug: 10096119
Change-Id: Idb6479baaa6b531c6bbae6e778386617ff8e8e3d
2014-11-10 17:45:23 -08:00
Eric Laurent
ad6455721e am 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d automerge: 9e0ed1c
* commit '75c306ddc716b36bdc54aaf75dd7eacbd008ab98':
2014-11-11 01:43:21 +00:00
Adam Lesinski
c3344e8a6d split-select: fix OSX build
Clang is a bit stricter about what template definition it chooses
for mixed types that are normally possible to cast between.
Operations like std::find(int iterator, int iterator, enum) will fail,
as Clang won't implicitly cast an enum to an int here.

Change-Id: Ib2276c382ebf2b877e1045d32b1a9d0a1fa4d4a4
2014-11-10 17:39:47 -08:00
Eric Laurent
75c306ddc7 am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d
automerge: 9e0ed1c

* commit '9e0ed1c2d67bc2ec74e24782f3738889fa0d79d2':
2014-11-11 01:34:45 +00:00
Dianne Hackborn
85d558cd48 Add Activity API to get referrer information.
This expands the use of EXTRA_REFERRER to be relevant anywhere,
allowing apps to supply referrer information if they want.  However,
if they don't explicitly supply it, then the platform now keeps
track of package names that go with Intents when delivering them
to apps, which it can be returned as the default value.

The new method Activity.getReferrer() is used to retrieve this
referrer information.  It knows about EXTRA_REFERRER, it can return
the default package name tracked internally, and it also can return
a new EXTRA_REFERRER_NAME if that exists.  The latter is needed
because we can't use EXTRA_REFERRER in some cases since it is a Uri,
and things like #Intent; URI extras can only generate primitive type
extras.  We really need to support this syntax for referrers, so we
need to have this additional extra field as an option.

When a referrer is to a native app, we are adopting the android-app
scheme.  Since we are doing this, Intent's URI creation and parsing
now supports this scheme, and we improve its syntax to be able to build
intents with custom actions and stuff, instead of being all hung up
on custom schemes.

While doing this, fixed a problem when parsing both intent: and new
android-app: schemes with a selector portion, where we were not
respecting any scheme that was specified.

Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
2014-11-11 00:42:18 +00:00
Sungmin Choi
767461e509 telephony: Change string to string-array config_tether_apndata to support mvno
Update tethering profiles to use string-array in config.xml.

Bug: 10096119
Change-Id: I551236040c810b9603fb84542af9765184ce0c29
2014-11-10 16:37:30 -08:00
Eric Laurent
9e0ed1c2d6 am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
automerge: 8db769d

* commit '8db769dd56822a59f1997a9cb53ed02d3d1cb8dd':
  AudioEffect JNI: use new max preprocessing constant
2014-11-11 00:22:33 +00:00
Alan Viverette
f89b58ca83 Fix Material styling in remaining dialogs and layouts
Also updates existing row and dialog layouts to use preferred list item
or dialog padding as appropriate, fixes incorrect activity themes, and
updates ChooseAccountActivity variants for Material.

BUG: 18314215
BUG: 18292562
Change-Id: I2fde4ba6db80d839104abdaa334a46ad1861600f
2014-11-10 16:14:27 -08:00
Alan Viverette
993e3d2d40 Merge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp-mr1-dev 2014-11-10 23:54:47 +00:00
Eric Laurent
85a5f23b7f am ca7c01cb: am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit 'ca7c01cb5c0d458ba8614e9294cc91167a102216':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:52:27 +00:00
George Mount
19c1cbda5a Merge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev 2014-11-10 23:48:34 +00:00
Eric Laurent
ca7c01cb5c am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit '3011e1be2c14f99b1fd72b7e17207ad067668f1b':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:44:16 +00:00
Eric Laurent
3011e1be2c am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit '8db769dd56822a59f1997a9cb53ed02d3d1cb8dd':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:38:23 +00:00
Eric Laurent
8db769dd56 am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit 'df878bd3fc63f26e91b055e39ba63c53c14b31a0':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:33:52 +00:00
Wale Ogunwale
98e70d0908 Fixed index out of bounds issue when removing windows.
Child windows are also removed when WMS.removeWindowInnerLocked()
is called to removed a window. This causes the number of windows
to decrement by more than 1 which causes an out of bounds exception
in AppWindowToken.removeAllWindows() which was expecting a decrement
of 1. Changed code to only continue looping if the size of the
Windows array is still greater than 0.

Bug: 18202119
Change-Id: I6124717272c552ec98e89cbacaadcd964fdba02e
2014-11-10 15:32:59 -08:00
Eric Laurent
df878bd3fc am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit 'ced2f74ac170439231f189e31538b9f403909966':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:29:07 +00:00
Eric Laurent
ced2f74ac1 am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit 'e8c1a97fa33797df528265b6f0b0c2c39ac2c589':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:24:02 +00:00
Eric Laurent
e8c1a97fa3 am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit '3b92fc04700a68dab3c3c4a873535837c4e51e8b':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:20:06 +00:00
Eric Laurent
3b92fc0470 am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
* commit '1c2b0d52144dc94a7d1dcefb7e4fbd7fb29f5202':
  AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:11:00 +00:00
Joe Fernandez
465e053249 am 2b0b7a6c: am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
* commit '2b0b7a6c2f4ec75ddb90b92e7af8362c26607495':
  docs:builds tools 21.1.1 update
2014-11-10 23:06:46 +00:00
ztenghui
1a40facbfd AVD: Requires all animator has stopped before start again.
We should treat all the animator as a group, we should not start again unless
all the previous animations have stopped.

b/18320770

Change-Id: I5b0c2c165cd314745ee6c7152aea3c666e9dff10
2014-11-10 15:03:59 -08:00
Joe Fernandez
2b0b7a6c2f am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
* commit '3bd60359e2db6cbd4437179225fe4f9dd4f682e4':
  docs:builds tools 21.1.1 update
2014-11-10 23:02:56 +00:00
Joe Fernandez
3bd60359e2 am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
* commit 'c2f2a72571a485671f36e9d5b5c1fd9e788c11cd':
  docs:builds tools 21.1.1 update
2014-11-10 22:55:20 +00:00
Joe Fernandez
c2f2a72571 Merge "docs:builds tools 21.1.1 update" into lmp-docs 2014-11-10 22:50:17 +00:00
Jorim Jaggi
12174a7d29 Merge "Cancel lockscreen/shade gestures when orientation changes" into lmp-mr1-dev 2014-11-10 22:49:39 +00:00