OSDN Git Service

android-x86/frameworks-base.git
9 years agoCancel or drop key events if activity is stopped.
Wale Ogunwale [Wed, 5 Nov 2014 23:17:35 +0000 (15:17 -0800)]
Cancel or drop key events if activity is stopped.

After an activity instance state is saved due to onStop()/onPause(),
there is a small window where it can still get key events like the
back button since we still allow the ActivityThread to handle
pending messages (like memory trim request) before informing the
activity manager that we are done. If the activity is stopped,
we will now drop non-terminal input events and set the cancel
flag on terminal events.

Bug: 18151331
Change-Id: I370d7c871530eea4b16fa42428d0248f1a87abb6

9 years agoMerge "Solved notification overlay issue once and for all" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:27:26 +0000 (16:27 +0000)]
Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev

9 years agoMerge "Improved the dismiss all animation" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:26:21 +0000 (16:26 +0000)]
Merge "Improved the dismiss all animation" into lmp-mr1-dev

9 years agoMerge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:13:05 +0000 (16:13 +0000)]
Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev

9 years agoMerge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:12:11 +0000 (16:12 +0000)]
Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev

9 years agoSolved notification overlay issue once and for all
Selim Cinek [Wed, 12 Nov 2014 15:58:16 +0000 (16:58 +0100)]
Solved notification overlay issue once and for all

But...
Once and for all!

Bug: 18314177
Change-Id: I484bea7d9f183d749fcdfba899d40292245f353d

9 years agoMerge "Improve lockscreen launch animations" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:48:16 +0000 (15:48 +0000)]
Merge "Improve lockscreen launch animations" into lmp-mr1-dev

9 years agoMerge "Correctly handle launch animations for affordances" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:51 +0000 (15:47 +0000)]
Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev

9 years agoMerge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:35 +0000 (15:47 +0000)]
Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev

9 years agoMerge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev
George Mount [Wed, 12 Nov 2014 15:42:19 +0000 (15:42 +0000)]
Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 14:44:26 +0000 (06:44 -0800)]
Import translations. DO NOT MERGE

Change-Id: I1d3ed380c4223bdb6bc2b3d4def0f270a8035b80
Auto-generated-cl: translation import

9 years agoImprove lockscreen launch animations
Jorim Jaggi [Tue, 11 Nov 2014 15:59:12 +0000 (16:59 +0100)]
Improve lockscreen launch animations

- Add a timeout so if WindowManager "forgets" to tell that the
activity has drawn, we still unlock after 3 seconds, so the user
is not completely stuck.

- Use the screen height instead of the window height for the
translation animation.

- Don't run the animation if the attached window is not null. The
animation from the attached window will influence the transformation
as well, so there is no need to run an additional animation in this
case (apps with SurfaceView's had broken unlock transitions because
of this).

- If the starting window needs to go away while the unlock transition
is running, modify the existing animation such that it fades out in
the same transition.

Bug: 15991916
Change-Id: Ia5dfa31e1bc0d5745fe228e1daf08e268733b6f1

9 years agoCorrectly handle launch animations for affordances
Jorim Jaggi [Mon, 10 Nov 2014 18:27:54 +0000 (19:27 +0100)]
Correctly handle launch animations for affordances

Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204

9 years agoFix lockscreen launch animations once and for all
Jorim Jaggi [Fri, 7 Nov 2014 19:33:51 +0000 (20:33 +0100)]
Fix lockscreen launch animations once and for all

In SysUI, make sure not to dismiss Keyguard multiple times when just
waiting for a deferred dismissal, so WindowManager doesn't get
multiple calls to keyguardGoingAway.

Change heuristics how notifying Keyguard about activity drawn works.
Always notify Keyguard after executing an app transition, and notify
it also when not doing a transition after a startActivity call.

For that to work, update AppWindowToken.startingDisplayed also when
the window is displayed, but force hidden because of Keyguard.

Further, handle the case correctly when a window gets added during
the Keyguard exit animation by overriding the start time for the
animation of that new window. Also don't apply a transition animation
for a window when executing keyguard exit animation, so by removing
a starting window we don't break this animation.

Last but not least, tell Keyguard to start exiting immediately if
animations for exiting are disabled, like when going to phone/camera
on lockscreen. Before, we always had a delay of 1 second because we
waited for the timeout.

Bug: 1599196
Bug: 18272544
Change-Id: I596b2489f814b934abd256e16079d3d3f326e209

9 years agoAdded dissapear animation to pattern and pin input
Selim Cinek [Tue, 11 Nov 2014 12:41:02 +0000 (13:41 +0100)]
Added dissapear animation to pattern and pin input

Bug: 18232017
Change-Id: I062d55b0870ccaad6093b672f5076c3f80c10f94

9 years agoMerge "Remove unused local field." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 13:30:15 +0000 (13:30 +0000)]
Merge "Remove unused local field." into lmp-mr1-dev

9 years agoMerge "Tell installd when boot completes." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 12:48:20 +0000 (12:48 +0000)]
Merge "Tell installd when boot completes." into lmp-mr1-dev

9 years agoObliterate LockPatternUtilsCache
Adrian Roos [Tue, 11 Nov 2014 12:51:07 +0000 (13:51 +0100)]
Obliterate LockPatternUtilsCache

It is disabled dead code already and not useful anymore
with the new caching in LockSettingsService.

Bug: 18163444
Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2

9 years agoProperly destroy TrustAgentWrapper when not bound
Adrian Roos [Tue, 11 Nov 2014 11:55:44 +0000 (12:55 +0100)]
Properly destroy TrustAgentWrapper when not bound

Also fixes a potential issue where refreshing agents
for a user that no longer exists would result in a crash.

Bug: 18318629
Change-Id: I3589ea7e0f2e63fca02daeecf3ca964a8a8e4b3b

9 years agoMerge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev
Alan Viverette [Wed, 12 Nov 2014 02:04:20 +0000 (02:04 +0000)]
Merge "Reduce number of saveLayer calls in RippleDrawable" into lmp-mr1-dev

9 years agoMerge "dont blacklist wifi config that have had validated internet status in the...
vandwalle [Wed, 12 Nov 2014 01:18:08 +0000 (01:18 +0000)]
Merge "dont blacklist wifi config that have had validated internet status in the past" into lmp-mr1-dev

9 years agoMerge "Update SubscriptionManager API as per API council." into lmp-mr1-dev
Wink Saville [Wed, 12 Nov 2014 01:13:01 +0000 (01:13 +0000)]
Merge "Update SubscriptionManager API as per API council." into lmp-mr1-dev

9 years agoMerge "Wake up device in the case a touch is encountered in theater mode when the...
Bryce Lee [Wed, 12 Nov 2014 01:02:49 +0000 (01:02 +0000)]
Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev
automerge: 68f9773

* commit '68f97736e65f1be4664fd3c3765fc621f3b76c3a':
  Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running.

9 years agoMerge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev
Winson Chung [Wed, 12 Nov 2014 00:35:35 +0000 (00:35 +0000)]
Merge "Adding null checks for unset stack. (Bug 18329447)" into lmp-mr1-dev

9 years agoShow error dialogs over apps that dismiss keyguard
Craig Mautner [Tue, 11 Nov 2014 17:03:59 +0000 (09:03 -0800)]
Show error dialogs over apps that dismiss keyguard

Error dialogs absorb all input to ensure that they are not missed.
This can cause the screen to lock up if they are not displayed but
are still absorbing touches. This was what was happening when there
was an error dialog up at the same time as a phone call came in as
in b/17648830.

This fix recognizes when an app is dismissing the keyguard and
forces any error dialogs to be shown over such an app.

This also removes the private flags from the input system as they
are no longer needed.

Fixes bug 17648830.

Change-Id: I5c98b8265a1448b445fdb2f745fc78892f8656a4

9 years agoAdding null checks for unset stack. (Bug 18329447)
Winson Chung [Wed, 12 Nov 2014 00:11:52 +0000 (16:11 -0800)]
Adding null checks for unset stack. (Bug 18329447)

9 years agoMerge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345...
Winson Chung [Wed, 12 Nov 2014 00:10:53 +0000 (00:10 +0000)]
Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev

9 years agoPreload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)
Winson Chung [Fri, 7 Nov 2014 23:02:38 +0000 (15:02 -0800)]
Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)

This change ensures that only the number of visible thumbnails and task icons are
loaded to minimize the delay required when initializing the stack without the
cache.  In addition, this change reduces the number of times that the task stack
is recomposed when launching recents (in addition to the number of calls to
getRecentTasks()).

There is also a fix to a regression where the exit trigger is not run when the
task stack view is empty.

Change-Id: I75834ff3c57c0e5dad6252b982f71c6e740071f2

9 years agoMerge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev
Amith Yamasani [Wed, 12 Nov 2014 00:07:57 +0000 (00:07 +0000)]
Merge "Allow profile owners to set the unknown source setting" into lmp-mr1-dev

9 years agoMerge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev
Junda Liu [Wed, 12 Nov 2014 00:05:18 +0000 (00:05 +0000)]
Merge "Add HIDE_CARRIER_NETWORK_SETTINGS global setting." into lmp-mr1-dev

9 years agoMerge "Wake up device in the case a touch is encountered in theater mode when the...
Bryce Lee [Tue, 11 Nov 2014 23:59:32 +0000 (23:59 +0000)]
Merge "Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running." into lmp-sprout-dev

9 years agoAllow profile owners to set the unknown source setting
Amith Yamasani [Tue, 21 Oct 2014 18:14:04 +0000 (11:14 -0700)]
Allow profile owners to set the unknown source setting

This allows work profile MDM to enable unknown sources
even if the user doesn't have UI for it. Installing an
app from an unknown source will still prompt the user
with the package installer dialog, so it's not like the
MDM can now quietly install apps from non-market sources.

Bug: 18316350

Change-Id: Ia8f4fe36f12a258aa888e085acc0b358925f4817

9 years agoMerge "Update PhoneAccount icon API (1/6)" into lmp-mr1-dev
Ihab Awad [Tue, 11 Nov 2014 22:56:07 +0000 (22:56 +0000)]
Merge "Update PhoneAccount icon API (1/6)" into lmp-mr1-dev

9 years agoMerge "Move device admin max screen off timeout to internal interface." into lmp...
Jeff Brown [Tue, 11 Nov 2014 22:27:43 +0000 (22:27 +0000)]
Merge "Move device admin max screen off timeout to internal interface." into lmp-mr1-dev

9 years agoUpdate PhoneAccount icon API (1/6)
Ihab Awad [Mon, 3 Nov 2014 17:47:51 +0000 (09:47 -0800)]
Update PhoneAccount icon API (1/6)

Responding to comments by jeffbrown@ in http://ag/574833

Bug: 18291787

Change-Id: I011aa59642f1ca6998bce76a59850909d2daa987

9 years agoMerge "AAPT: Ignore densities specified in -c flag" into lmp-mr1-dev
Adam Lesinski [Tue, 11 Nov 2014 20:23:57 +0000 (20:23 +0000)]
Merge "AAPT: Ignore densities specified in -c flag" into lmp-mr1-dev

9 years agoMerge "Add event logs when we launch fullscreen notications." into lmp-mr1-dev
Chris Wren [Tue, 11 Nov 2014 20:21:57 +0000 (20:21 +0000)]
Merge "Add event logs when we launch fullscreen notications." into lmp-mr1-dev

9 years agoMerge "If task isn't found in recents, look in the stacks." into lmp-mr1-dev
Prabhakar Thirumoorthy [Tue, 11 Nov 2014 20:01:08 +0000 (20:01 +0000)]
Merge "If task isn't found in recents, look in the stacks." into lmp-mr1-dev

9 years agoUpdate SubscriptionManager API as per API council.
Wink Saville [Tue, 11 Nov 2014 19:48:04 +0000 (11:48 -0800)]
Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d

9 years agoIf task isn't found in recents, look in the stacks.
Craig Mautner [Tue, 11 Nov 2014 19:28:43 +0000 (11:28 -0800)]
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

9 years agoMerge "return error MEDIA_ERROR_UNSUPPORTED when Range request fail" into lmp-mr1-dev
Chong Zhang [Tue, 11 Nov 2014 18:33:20 +0000 (18:33 +0000)]
Merge "return error MEDIA_ERROR_UNSUPPORTED when Range request fail" into lmp-mr1-dev

9 years agoFixed a bug where the clearable flag was set inconsistently
Selim Cinek [Tue, 11 Nov 2014 18:16:18 +0000 (19:16 +0100)]
Fixed a bug where the clearable flag was set inconsistently

This could lead to undismissable notifications.

Bug: 17758698
Change-Id: I60ccbe24686c5b8bc46bfb52e590cef71ed7a190

9 years agoAdd event logs when we launch fullscreen notications.
Chris Wren [Mon, 10 Nov 2014 21:00:09 +0000 (16:00 -0500)]
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

9 years agoMerge "IMS: Peer capabilities support" into lmp-mr1-dev
Pavel Zhamaitsiak [Tue, 11 Nov 2014 18:07:05 +0000 (18:07 +0000)]
Merge "IMS: Peer capabilities support" into lmp-mr1-dev

9 years agoMerge "Fixed index out of bounds issue when removing windows." into lmp-mr1-dev
Wale Ogunwale [Tue, 11 Nov 2014 18:00:04 +0000 (18:00 +0000)]
Merge "Fixed index out of bounds issue when removing windows." into lmp-mr1-dev

9 years agoMerge "Fix Material styling in remaining dialogs and layouts" into lmp-mr1-dev
Alan Viverette [Tue, 11 Nov 2014 17:34:34 +0000 (17:34 +0000)]
Merge "Fix Material styling in remaining dialogs and layouts" into lmp-mr1-dev

9 years agoam 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:22:00 +0000 (17:22 +0000)]
am 5ad9b395: am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev

* commit '5ad9b395db341b3360d481039f152f8ce1d8360c':
  Don't skip loading object animator.

9 years agoam a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:17:02 +0000 (17:17 +0000)]
am a44fdb9e: Merge "Don\'t skip loading object animator." into lmp-dev

* commit 'a44fdb9e216810ba62f20c1b4571ebc240931efa':
  Don't skip loading object animator.

9 years agoMerge "Don't skip loading object animator." into lmp-dev
Deepanshu Gupta [Tue, 11 Nov 2014 17:11:22 +0000 (17:11 +0000)]
Merge "Don't skip loading object animator." into lmp-dev

9 years agoRemove unnecessary reflection lookup in Animators.
George Mount [Tue, 11 Nov 2014 00:46:31 +0000 (16:46 -0800)]
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

9 years agoMerge "Zen: Exit downtime on next alarm (if mode=none)." into lmp-mr1-dev
John Spurlock [Tue, 11 Nov 2014 16:50:12 +0000 (16:50 +0000)]
Merge "Zen: Exit downtime on next alarm (if mode=none)." into lmp-mr1-dev

9 years agoIMS: Peer capabilities support
Shriram Ganesh [Mon, 13 Oct 2014 18:31:50 +0000 (11:31 -0700)]
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

9 years agoImproved the dismiss all animation
Selim Cinek [Fri, 7 Nov 2014 17:07:49 +0000 (18:07 +0100)]
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

9 years agoMerge "Make setOutlineProvider change transitionGroup." into lmp-mr1-dev
George Mount [Tue, 11 Nov 2014 15:41:32 +0000 (15:41 +0000)]
Merge "Make setOutlineProvider change transitionGroup." into lmp-mr1-dev

9 years agoDon't skip loading object animator.
Deepanshu Gupta [Tue, 11 Nov 2014 15:21:19 +0000 (15:21 +0000)]
Don't skip loading object animator.

This is used by Buttons as part of StateListAnimator.

Change-Id: Id370869e71898d46e11bbd17ad31169c9f9f5274

9 years agoZen: Exit downtime on next alarm (if mode=none).
John Spurlock [Tue, 11 Nov 2014 03:04:12 +0000 (22:04 -0500)]
Zen: Exit downtime on next alarm (if mode=none).

Bug: 16373455
Change-Id: Ie5d878ea4f930556ed84225c21d7c6df61024fbc

9 years agoTell installd when boot completes.
Narayan Kamath [Mon, 10 Nov 2014 14:23:41 +0000 (14:23 +0000)]
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

9 years agoMerge "Add tv product variants to strings." into lmp-mr1-dev
Tim Kilbourn [Tue, 11 Nov 2014 06:32:32 +0000 (06:32 +0000)]
Merge "Add tv product variants to strings." into lmp-mr1-dev

9 years agoreturn error MEDIA_ERROR_UNSUPPORTED when Range request fail
Chong Zhang [Tue, 11 Nov 2014 03:31:01 +0000 (19:31 -0800)]
return error MEDIA_ERROR_UNSUPPORTED when Range request fail

Bug: 18235751
Change-Id: I4631daf50bb76b70dd740c45b628294ad1aa45e1

9 years agoMerge "split-select: fix OSX build" into lmp-mr1-dev
Adam Lesinski [Tue, 11 Nov 2014 02:29:57 +0000 (02:29 +0000)]
Merge "split-select: fix OSX build" into lmp-mr1-dev

9 years agoam 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Tue, 11 Nov 2014 02:10:37 +0000 (02:10 +0000)]
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':

9 years agoAAPT: Ignore densities specified in -c flag
Adam Lesinski [Tue, 11 Nov 2014 01:56:11 +0000 (17:56 -0800)]
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

9 years agoam 75c306dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Tue, 11 Nov 2014 01:43:21 +0000 (01:43 +0000)]
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':

9 years agosplit-select: fix OSX build
Adam Lesinski [Tue, 11 Nov 2014 01:32:27 +0000 (17:32 -0800)]
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

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Tue, 11 Nov 2014 01:34:45 +0000 (01:34 +0000)]
am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant automerge: 8db769d
automerge: 9e0ed1c

* commit '9e0ed1c2d67bc2ec74e24782f3738889fa0d79d2':

9 years agoAdd Activity API to get referrer information.
Dianne Hackborn [Tue, 4 Nov 2014 18:31:54 +0000 (10:31 -0800)]
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

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Tue, 11 Nov 2014 00:22:33 +0000 (00:22 +0000)]
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

9 years agoFix Material styling in remaining dialogs and layouts
Alan Viverette [Tue, 11 Nov 2014 00:14:27 +0000 (16:14 -0800)]
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

9 years agoMerge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp...
Alan Viverette [Mon, 10 Nov 2014 23:54:45 +0000 (23:54 +0000)]
Merge "Call OnTimeChangedListener when new TimePicker values are selected" into lmp-mr1-dev

9 years agoam ca7c01cb: am 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am...
Eric Laurent [Mon, 10 Nov 2014 23:52:27 +0000 (23:52 +0000)]
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

9 years agoMerge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev
George Mount [Mon, 10 Nov 2014 23:48:32 +0000 (23:48 +0000)]
Merge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev

9 years agoam 3011e1be: am 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am...
Eric Laurent [Mon, 10 Nov 2014 23:44:16 +0000 (23:44 +0000)]
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

9 years agoam 8db769dd: am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEf...
Eric Laurent [Mon, 10 Nov 2014 23:38:23 +0000 (23:38 +0000)]
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

9 years agoam df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI...
Eric Laurent [Mon, 10 Nov 2014 23:33:52 +0000 (23:33 +0000)]
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

9 years agoFixed index out of bounds issue when removing windows.
Wale Ogunwale [Mon, 10 Nov 2014 20:12:27 +0000 (12:12 -0800)]
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

9 years agoam ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max...
Eric Laurent [Mon, 10 Nov 2014 23:29:07 +0000 (23:29 +0000)]
am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'ced2f74ac170439231f189e31538b9f403909966':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing...
Eric Laurent [Mon, 10 Nov 2014 23:24:02 +0000 (23:24 +0000)]
am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit 'e8c1a97fa33797df528265b6f0b0c2c39ac2c589':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
Eric Laurent [Mon, 10 Nov 2014 23:20:06 +0000 (23:20 +0000)]
am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '3b92fc04700a68dab3c3c4a873535837c4e51e8b':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
Eric Laurent [Mon, 10 Nov 2014 23:11:00 +0000 (23:11 +0000)]
am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant

* commit '1c2b0d52144dc94a7d1dcefb7e4fbd7fb29f5202':
  AudioEffect JNI: use new max preprocessing constant

9 years agoam 2b0b7a6c: am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into...
Joe Fernandez [Mon, 10 Nov 2014 23:06:46 +0000 (23:06 +0000)]
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

9 years agoam 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
Joe Fernandez [Mon, 10 Nov 2014 23:02:56 +0000 (23:02 +0000)]
am 3bd60359: am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs

* commit '3bd60359e2db6cbd4437179225fe4f9dd4f682e4':
  docs:builds tools 21.1.1 update

9 years agoam c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs
Joe Fernandez [Mon, 10 Nov 2014 22:55:20 +0000 (22:55 +0000)]
am c2f2a725: Merge "docs:builds tools 21.1.1 update" into lmp-docs

* commit 'c2f2a72571a485671f36e9d5b5c1fd9e788c11cd':
  docs:builds tools 21.1.1 update

9 years agoMerge "docs:builds tools 21.1.1 update" into lmp-docs
Joe Fernandez [Mon, 10 Nov 2014 22:50:16 +0000 (22:50 +0000)]
Merge "docs:builds tools 21.1.1 update" into lmp-docs

9 years agoMerge "Cancel lockscreen/shade gestures when orientation changes" into lmp-mr1-dev
Jorim Jaggi [Mon, 10 Nov 2014 22:49:36 +0000 (22:49 +0000)]
Merge "Cancel lockscreen/shade gestures when orientation changes" into lmp-mr1-dev

9 years agoMerge "Add LockSettingsStorage tests" into lmp-mr1-dev
Adrian Roos [Mon, 10 Nov 2014 22:37:33 +0000 (22:37 +0000)]
Merge "Add LockSettingsStorage tests" into lmp-mr1-dev

9 years agodont blacklist wifi config that have had validated internet status in the past
vandwalle [Sat, 8 Nov 2014 01:29:24 +0000 (17:29 -0800)]
dont blacklist wifi config that have had validated internet status in the past

Change-Id: Iadb4e0e1beeb9e582b944e003470815a5a865652

9 years agoam 56d190c4: am f253fe3e: am 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device...
Dirk Dougherty [Mon, 10 Nov 2014 22:25:29 +0000 (22:25 +0000)]
am 56d190c4: am f253fe3e: am 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device framer." into lmp-docs

* commit '56d190c4a58cc8e04d8c8a7380a0801117abcb64':
  Add Nexus 6 and Nexus 9 to the device framer.

9 years agoMerge "Use fonts for smaller languages of South and Southeast Asia." into lmp-mr1-dev
Justin Harrison [Mon, 10 Nov 2014 22:24:37 +0000 (22:24 +0000)]
Merge "Use fonts for smaller languages of South and Southeast Asia." into lmp-mr1-dev

9 years agoam f253fe3e: am 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device framer." into...
Dirk Dougherty [Mon, 10 Nov 2014 22:18:10 +0000 (22:18 +0000)]
am f253fe3e: am 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device framer." into lmp-docs

* commit 'f253fe3e67345325b84fe0b13e38b8f2ec636b98':
  Add Nexus 6 and Nexus 9 to the device framer.

9 years agoam 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device framer." into lmp-docs
Dirk Dougherty [Mon, 10 Nov 2014 22:11:54 +0000 (22:11 +0000)]
am 602c63f8: Merge "Add Nexus 6 and Nexus 9 to the device framer." into lmp-docs

* commit '602c63f8405466dab18b6bbd93eb682900cf459f':
  Add Nexus 6 and Nexus 9 to the device framer.

9 years agoam 4c0f0e6c: Merge "Fix setting styles in custom views." into lmp-dev automerge:...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:27 +0000 (22:05 +0000)]
am 4c0f0e6c: Merge "Fix setting styles in custom views." into lmp-dev automerge: 5c22a79

* commit '4c0f0e6c852dd933bcfaf95380cca49a46fa3912':
  Fix setting styles in custom views.

9 years agoam 3cf0640d: Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerg...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:23 +0000 (22:05 +0000)]
am 3cf0640d: Merge "Add primitive shadows support to LayoutLib" into lmp-dev automerge: 97c04ac

* commit '3cf0640d944a0718b9e29a2134a577e72a9432b4':
  Add primitive shadows support to LayoutLib

9 years agoam 0e3925df: Merge "Remove needlessly thrown IOException." into lmp-dev automerge...
Deepanshu Gupta [Mon, 10 Nov 2014 22:05:16 +0000 (22:05 +0000)]
am 0e3925df: Merge "Remove needlessly thrown IOException." into lmp-dev automerge: f305d2c

* commit '0e3925dfb3ea4e9185202dd963f03f5ca1df17d0':
  Remove needlessly thrown IOException.

9 years agoCancel lockscreen/shade gestures when orientation changes
Jorim Jaggi [Mon, 10 Nov 2014 21:41:54 +0000 (22:41 +0100)]
Cancel lockscreen/shade gestures when orientation changes

Bug: 18293929
Change-Id: Ifbf91c42fa9e68aa688ca4c390fcc24a358212a9

9 years agoWake up device in the case a touch is encountered in theater mode when the screen...
Bryce Lee [Mon, 10 Nov 2014 21:33:28 +0000 (13:33 -0800)]
Wake up device in the case a touch is encountered in theater mode when the screen is off and no dream is running.

Bug: 18297399
Change-Id: I5a520e8bf861e46d61e54d7d0849e55b2e5d9239

9 years agoAdd LockSettingsStorage tests
Adrian Roos [Fri, 7 Nov 2014 20:47:17 +0000 (21:47 +0100)]
Add LockSettingsStorage tests

Bug: 18163444
Change-Id: I563276e6d445d43d05bf0d3c633440a8e0109b69

9 years agoMerge "Fix setting styles in custom views." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 21:00:43 +0000 (21:00 +0000)]
Merge "Fix setting styles in custom views." into lmp-dev
automerge: 5c22a79

* commit '5c22a79baf81727b56a85a194d678c18449b5150':
  Fix setting styles in custom views.

9 years agoMerge "Add primitive shadows support to LayoutLib" into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 20:58:58 +0000 (20:58 +0000)]
Merge "Add primitive shadows support to LayoutLib" into lmp-dev
automerge: 97c04ac

* commit '97c04ac7ed4f34ca0cfb75646cc00687fb0954d4':
  Add primitive shadows support to LayoutLib

9 years agoMerge "Remove needlessly thrown IOException." into lmp-dev
Deepanshu Gupta [Mon, 10 Nov 2014 20:56:36 +0000 (20:56 +0000)]
Merge "Remove needlessly thrown IOException." into lmp-dev
automerge: f305d2c

* commit 'f305d2c4a80af9e2011824349adc6f133cd8822c':
  Remove needlessly thrown IOException.

9 years agoUse fonts for smaller languages of South and Southeast Asia.
Roozbeh Pournader [Thu, 2 Oct 2014 05:12:36 +0000 (22:12 -0700)]
Use fonts for smaller languages of South and Southeast Asia.

Fonts for Balinese, Batak, Buginese, Buhid, Hanunnoo, Javanese,
Lepcha, Limbu, Meetei Mayek, Ol Chiki, Rejang, Saurashtra, Sundanese,
Syloti Nagri, Tagbanwa, and Thaana scripts are added.

Bug: 17686019
Change-Id: I3fb783874920909e8725097481c9e7d8e35f42f8