OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Allow notification listeners full DND access." into nyc-dev
Julia Reynolds [Thu, 14 Apr 2016 00:57:36 +0000 (00:57 +0000)]
Merge "Allow notification listeners full DND access." into nyc-dev

8 years agoMerge "Delete ITelephonyDebug and ITelephonyDebugSubscriber" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 00:52:35 +0000 (00:52 +0000)]
Merge "Delete ITelephonyDebug and ITelephonyDebugSubscriber" into nyc-dev

8 years agoMerge "Also consider loss of IPv6 default route to be fatal" into nyc-dev
Erik Kline [Thu, 14 Apr 2016 00:51:07 +0000 (00:51 +0000)]
Merge "Also consider loss of IPv6 default route to be fatal" into nyc-dev

8 years agoMerge "Populate RangeInfo correctly when acquiring from pool" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 00:28:27 +0000 (00:28 +0000)]
Merge "Populate RangeInfo correctly when acquiring from pool" into nyc-dev

8 years agoMerge "Fixed incomplete OSEN config code." into nyc-dev
Jan Nordqvist [Thu, 14 Apr 2016 00:21:40 +0000 (00:21 +0000)]
Merge "Fixed incomplete OSEN config code." into nyc-dev

8 years agoMerge "TIF: More annotations" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 00:05:03 +0000 (00:05 +0000)]
Merge "TIF: More annotations" into nyc-dev

8 years agoMerge "StrongAuthTracker: Don't rely on USER_PRESENT" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 00:04:53 +0000 (00:04 +0000)]
Merge "StrongAuthTracker: Don't rely on USER_PRESENT" into nyc-dev

8 years agoMerge "Remove deprecated API for sim authentication." into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 00:01:35 +0000 (00:01 +0000)]
Merge "Remove deprecated API for sim authentication." into nyc-dev

8 years agoMerge "Added Data Saver Mode description." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 23:36:28 +0000 (23:36 +0000)]
Merge "Added Data Saver Mode description." into nyc-dev

8 years agoMerge "Fixed bugs when deliver GnssMeasurement from N-HAL" into nyc-dev
Lifu Tang [Wed, 13 Apr 2016 23:35:59 +0000 (23:35 +0000)]
Merge "Fixed bugs when deliver GnssMeasurement from N-HAL" into nyc-dev

8 years agoMerge "More work on issue #26390151: Add new JobScheduler API..." into nyc-dev
Dianne Hackborn [Wed, 13 Apr 2016 23:30:12 +0000 (23:30 +0000)]
Merge "More work on issue #26390151: Add new JobScheduler API..." into nyc-dev

8 years agoMerge "Add api check to guard AnimatorSet behavior change" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 23:15:31 +0000 (23:15 +0000)]
Merge "Add api check to guard AnimatorSet behavior change" into nyc-dev

8 years agoMerge "Add toString to CarrierIdentifier." into nyc-dev
Junda Liu [Wed, 13 Apr 2016 23:14:40 +0000 (23:14 +0000)]
Merge "Add toString to CarrierIdentifier." into nyc-dev

8 years agoMerge "Improved trust error messaging (2/2)" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 23:07:33 +0000 (23:07 +0000)]
Merge "Improved trust error messaging (2/2)" into nyc-dev

8 years agoMerge "Update docs for Drawable.setLayoutDirection() return value" into nyc-dev
Alan Viverette [Wed, 13 Apr 2016 23:07:04 +0000 (23:07 +0000)]
Merge "Update docs for Drawable.setLayoutDirection() return value" into nyc-dev

8 years agoMerge "Skip to end for 0-duration animation" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 23:03:28 +0000 (23:03 +0000)]
Merge "Skip to end for 0-duration animation" into nyc-dev

8 years agoStrongAuthTracker: Don't rely on USER_PRESENT
Adrian Roos [Wed, 13 Apr 2016 22:38:13 +0000 (15:38 -0700)]
StrongAuthTracker: Don't rely on USER_PRESENT

USER_PRESENT is sent via the background queue. A delay
there can cause us not to recognize that the user has
unlocked and prompt for the credential again, when trust
or fingerprint would be sufficient.

Also removes an obsolete reference to USER_PRESENT from
TrustManagerService.

Change-Id: Ie8d1a180170df5f0c8f9e71660504fd71eeacd99
Fixes: 27830458

8 years agoTIF: More annotations
Jae Seo [Wed, 13 Apr 2016 20:44:29 +0000 (13:44 -0700)]
TIF: More annotations

Bug: 20980990
Change-Id: I5bbdc19703aa15bffe2f2f900be63cbfe9f639ae

8 years agoPopulate RangeInfo correctly when acquiring from pool
Steven Dao [Wed, 13 Apr 2016 22:25:09 +0000 (15:25 -0700)]
Populate RangeInfo correctly when acquiring from pool

Bug: 27136599
Change-Id: I836b2ae3bf9b2ed5fc4afeb744e2cf3a500cc4a4

8 years agoRemove deprecated API for sim authentication.
Junda Liu [Wed, 13 Apr 2016 22:24:39 +0000 (15:24 -0700)]
Remove deprecated API for sim authentication.

The new getIccAuthentication should be used. All callers have been updated
to the new API. Remove the old API in this change.

Bug: b/27360179
Change-Id: I160974d53bb6477666b3e1d457accac45cc06bfc

8 years agoMerge "Bind wallpaper at later boot phase." into nyc-dev
Jeff Sharkey [Wed, 13 Apr 2016 22:11:16 +0000 (22:11 +0000)]
Merge "Bind wallpaper at later boot phase." into nyc-dev

8 years agoMerge "Ensure injected gestures respect magnification" into nyc-dev
Svetoslav Ganov [Wed, 13 Apr 2016 22:09:17 +0000 (22:09 +0000)]
Merge "Ensure injected gestures respect magnification" into nyc-dev

8 years agoBind wallpaper at later boot phase.
Jeff Sharkey [Wed, 13 Apr 2016 22:08:15 +0000 (16:08 -0600)]
Bind wallpaper at later boot phase.

We need to wait until third-party apps can start before we try
binding to the wallpaper.

Bug: 28166684
Change-Id: I6ef559a667104e830e97da68b437ff592816f6f3

8 years agoAdded Data Saver Mode description.
Felipe Leme [Wed, 13 Apr 2016 20:05:49 +0000 (13:05 -0700)]
Added Data Saver Mode description.

BUG: 28133736
Change-Id: I4d44e8f422fc141ebabcdb4595f5ade241a275f1

8 years agoEnsure injected gestures respect magnification
Svetoslav Ganov [Wed, 13 Apr 2016 22:03:51 +0000 (15:03 -0700)]
Ensure injected gestures respect magnification

Change-Id: Ie828f4be4eb1ec620549c1346ec7cc335908612f

8 years agoMerge "Optimize ResTable::getLocales() to improve bindApplication performance" into...
Adam Lesinski [Wed, 13 Apr 2016 21:53:46 +0000 (21:53 +0000)]
Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev

8 years agoMerge "Open drawer only on first update." into nyc-dev
Ben Lin [Wed, 13 Apr 2016 21:48:54 +0000 (21:48 +0000)]
Merge "Open drawer only on first update." into nyc-dev

8 years agoMerge "Minor changes needed to support EXT_protected_content." into nyc-dev
Craig Donner [Wed, 13 Apr 2016 21:46:06 +0000 (21:46 +0000)]
Merge "Minor changes needed to support EXT_protected_content." into nyc-dev

8 years agoAdd toString to CarrierIdentifier.
Jonathan Basseri [Sat, 23 Jan 2016 03:49:05 +0000 (19:49 -0800)]
Add toString to CarrierIdentifier.

This is so that objects can be logged and included in dumpsys.

Bug: 26778049
Change-Id: Iace574e40e7a7a7a06289592de9a51455b6acb18

8 years agoMerge "Make ResolverActivity respect selector intent when making filters" into nyc-dev
Adam Powell [Wed, 13 Apr 2016 21:35:31 +0000 (21:35 +0000)]
Merge "Make ResolverActivity respect selector intent when making filters" into nyc-dev

8 years agoMerge "Dismiss keyguard when user button is tapped" into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 21:32:20 +0000 (21:32 +0000)]
Merge "Dismiss keyguard when user button is tapped" into nyc-dev

8 years agoRefine long-press enter and exit animations
Jorim Jaggi [Wed, 13 Apr 2016 01:59:45 +0000 (18:59 -0700)]
Refine long-press enter and exit animations

Bug: 27154882
Change-Id: I13a1a6ea7eabdefc7e5c32ae0471d9fa14cc3f86

8 years agoSkip to end for 0-duration animation
Doris Liu [Wed, 13 Apr 2016 21:13:49 +0000 (14:13 -0700)]
Skip to end for 0-duration animation

Repeating a 0-duration animation makes no sense. In the case of
battery saver mode, all animators are set to 0 duration, and
repeating the 0 duration animations not only waste battery power
but also potentially produce flickers on screen. In this CL,
0-duration animations are skipped to the end, regardless their
repeat count.

Bug: 25451472
Change-Id: I20f9dc2f0ff9c027782a8363ff4cf4a4d390736c

8 years agoMerge "Trace screenshotApplications" into nyc-dev
Jorim Jaggi [Wed, 13 Apr 2016 20:57:35 +0000 (20:57 +0000)]
Merge "Trace screenshotApplications" into nyc-dev

8 years agoAdd api check to guard AnimatorSet behavior change
Doris Liu [Wed, 13 Apr 2016 20:28:38 +0000 (13:28 -0700)]
Add api check to guard AnimatorSet behavior change

For pre-N, we have inconsistent behavior between ValueAnimator and
AnimatorSet in the case of calling end() when already ended:
ValueAnimator would start() and immediately end, whereas AnimatorSet
would be no-op. We made a decision to be consistent within Animation
Framework from N forward, which means that AnimatorSet will have the
new behavior of starting and immediately ending just like
ValueAnimator. This new behavior will be guarded by an API check.

Bug: 25601129
Change-Id: I2d952a93d8521c547ec8cde173c80d1d8ead0639

8 years agoMerge "Camera: update expectation of post RAW sensitivity control" into nyc-dev
Yin-Chia Yeh [Wed, 13 Apr 2016 20:33:46 +0000 (20:33 +0000)]
Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev

8 years agoTrace screenshotApplications
Jorim Jaggi [Wed, 13 Apr 2016 20:31:17 +0000 (13:31 -0700)]
Trace screenshotApplications

Bug: 27864285
Change-Id: I5b2b84e5369d136af5057bbfadc3fe4e9b38ab30

8 years agoOptimize ResTable::getLocales() to improve bindApplication performance
Adam Lesinski [Tue, 12 Apr 2016 03:03:01 +0000 (20:03 -0700)]
Optimize ResTable::getLocales() to improve bindApplication performance

Change from linear searching for uniqueness to binary search.

Bug:27198799
Change-Id: Ifa4672929df286c4693ab1f77716f08945941b0c

8 years agoAllow notification listeners full DND access.
Julia Reynolds [Wed, 13 Apr 2016 14:01:17 +0000 (10:01 -0400)]
Allow notification listeners full DND access.

Bug: 27976092
Change-Id: I15da87f4b6a17e43ced80ea473288b43d20195d8

8 years agoOpen drawer only on first update.
Ben Lin [Wed, 13 Apr 2016 18:48:04 +0000 (11:48 -0700)]
Open drawer only on first update.

Bug: 27406768
Change-Id: Ib95ecf68be3ba68bf08ccf7311c641e2e934e9c6

8 years agoImproved trust error messaging (2/2)
Adrian Roos [Wed, 13 Apr 2016 20:06:21 +0000 (13:06 -0700)]
Improved trust error messaging (2/2)

More detailed reason strings when trust or
fingerprint are not allowed.

Bug: 22704995
Change-Id: Ia9e22378d3fc0f5fb42e32adc789e313c3a2beb3

8 years agoMerge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into...
Sudheer Shanka [Wed, 13 Apr 2016 20:12:02 +0000 (20:12 +0000)]
Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev

8 years agoMerge "QS: Add content description to page indicator" into nyc-dev
Jason Monk [Wed, 13 Apr 2016 19:11:20 +0000 (19:11 +0000)]
Merge "QS: Add content description to page indicator" into nyc-dev

8 years agoDo not transfer starting window to translucent activity
Jorim Jaggi [Sat, 9 Apr 2016 07:29:07 +0000 (00:29 -0700)]
Do not transfer starting window to translucent activity

When starting the "App may not work in split-screen" activity which
is translucent we used to transfer the starting window, and then the
frame was drawn quickly so the starting window from the behind was
removed, leading to a black hole.

Bug: 28094732
Change-Id: I828f0ea8b0465a5a113fd76a82d33177c8faa566

8 years agoMerge "Mark DocumentsUI as a "privileged" app." into nyc-dev
Steve McKay [Wed, 13 Apr 2016 18:59:32 +0000 (18:59 +0000)]
Merge "Mark DocumentsUI as a "privileged" app." into nyc-dev

8 years agoMerge "Fix NPE when the vr manager isn't around at first." into nyc-dev
Daniel Sandler [Wed, 13 Apr 2016 18:58:20 +0000 (18:58 +0000)]
Merge "Fix NPE when the vr manager isn't around at first." into nyc-dev

8 years agoMerge "Fix selecting all in DocumentsUI." into nyc-dev
Steve McKay [Wed, 13 Apr 2016 18:57:54 +0000 (18:57 +0000)]
Merge "Fix selecting all in DocumentsUI." into nyc-dev

8 years agoMerge "Correct PopupWindow spaceAbove calculation." into nyc-dev
Rob Carr [Wed, 13 Apr 2016 18:54:59 +0000 (18:54 +0000)]
Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev

8 years agoFixed bugs when deliver GnssMeasurement from N-HAL
Mike Cailean [Fri, 25 Mar 2016 02:34:16 +0000 (19:34 -0700)]
Fixed bugs when deliver GnssMeasurement from N-HAL

There're two major problems that prevents GnssMeasurement from N-HAL from
delivering to Java-side correct:

1. The size check of HAL-provided GnssData is wrong. So native code rejects all
valid GnssData.

2. The svid's data type is different between HAL-side and Java-side. Therefore
an explicit type casting is required.

This CL fixes those problems, together with a few typo fixes.

Bug: 28169973
Change-Id: Id0c2cc120387970564b840cfcbdcb6f329c7e543

8 years agoMerge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev
Mitchell Wills [Wed, 13 Apr 2016 18:41:54 +0000 (18:41 +0000)]
Merge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev

8 years agoDismiss keyguard when user button is tapped
Kaori Katou [Tue, 26 May 2015 07:25:04 +0000 (16:25 +0900)]
Dismiss keyguard when user button is tapped

When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
(cherry picked from commit 0a334053298c988a816a754c4235ed3b01cc9cfc)

8 years agoMerge "Make task fullscreen when locked" into nyc-dev
Andrii Kulian [Wed, 13 Apr 2016 18:00:34 +0000 (18:00 +0000)]
Merge "Make task fullscreen when locked" into nyc-dev

8 years agoMerge "Revert warning logic so it has a "don't show again" message." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 17:56:33 +0000 (17:56 +0000)]
Merge "Revert warning logic so it has a "don't show again" message." into nyc-dev

8 years agoMerge "Add ContentObserver for animation scale changes" into nyc-dev
Chong Zhang [Wed, 13 Apr 2016 17:54:43 +0000 (17:54 +0000)]
Merge "Add ContentObserver for animation scale changes" into nyc-dev

8 years agoMore work on issue #26390151: Add new JobScheduler API...
Dianne Hackborn [Tue, 12 Apr 2016 20:48:25 +0000 (13:48 -0700)]
More work on issue #26390151: Add new JobScheduler API...

...for monitoring content providers

We now have some delays before reporting URI changes, to allow
them to batch together.

Also clean up debug output, and fix some issues with how we
were managing the content observer state.

And while I am here, fix the device idle and app idle controllers
to no longer maintain their own list of jobs, but just directly
iterate over the JobStore.

Change-Id: If3fdff23c00c2f1b99901a9be096d851562d3439

8 years agoMerge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev
Sudheer Shanka [Wed, 13 Apr 2016 17:47:04 +0000 (17:47 +0000)]
Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev

8 years agoMerge "(Test only) A little more debug output for voice interaction test" into nyc-dev
Dianne Hackborn [Wed, 13 Apr 2016 17:45:34 +0000 (17:45 +0000)]
Merge "(Test only) A little more debug output for voice interaction test" into nyc-dev

8 years agoMerge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev
Dianne Hackborn [Wed, 13 Apr 2016 17:44:50 +0000 (17:44 +0000)]
Merge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev

8 years agoFix issue #28035090: Disallow abuse of JobScheduler
Dianne Hackborn [Fri, 8 Apr 2016 00:54:41 +0000 (17:54 -0700)]
Fix issue #28035090: Disallow abuse of JobScheduler

We now keep track of how long each app has been running a job
for, in 30 minute batches.  If it is running jobs frequently,
we will bump down the priority its jobs run at to allow other
jobs to run before it.

Currently we count both pending and active as the job running,
which means that an app that has jobs waiting in the pending
queue will count against its abuse prevention.  This could
allow starvation -- if we bump down the priority of an app's
jobs and the system is so busy continually that they sit
in the pending queue a lot -- it could never recover.  But I
think that is okay...  if we are really in a state where we
are continually running as many jobs as possible, we probably
have other larger issues.

Change-Id: I838aa4b5840e91df49a1e17b53188d6e4a66a6d1

8 years agoAdd ContentObserver for animation scale changes
Chong Zhang [Wed, 13 Apr 2016 00:12:42 +0000 (17:12 -0700)]
Add ContentObserver for animation scale changes

bug: 27291666

Change-Id: Ic80af9d1cb0c58fb2decbe66591e29c584384a23

8 years agoMerge "Fix widget not being masked when freshly added." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 17:38:22 +0000 (17:38 +0000)]
Merge "Fix widget not being masked when freshly added." into nyc-dev

8 years agoFix NPE when the vr manager isn't around at first.
Dan Sandler [Wed, 13 Apr 2016 17:22:44 +0000 (13:22 -0400)]
Fix NPE when the vr manager isn't around at first.

There's a race condition when grabbing the VR service during
ImmersiveModeConfirmation's constructor since the window
manager allocates the ImmersiveModeConfirmation in its own
init(); vr may still be starting up at that time.

Change-Id: Ic0aa0fbf8fd087f01f4690c14e1c68f0670b0bc0
Fixes: 28159168

8 years agoMerge "Fix StaticLayout left/right indent" into nyc-dev
Siyamed Sinir [Wed, 13 Apr 2016 17:29:20 +0000 (17:29 +0000)]
Merge "Fix StaticLayout left/right indent" into nyc-dev

8 years agoMerge "Allow leading spaces in path string (to keep behavior consistent)" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:26:52 +0000 (17:26 +0000)]
Merge "Allow leading spaces in path string (to keep behavior consistent)" into nyc-dev

8 years agoMark DocumentsUI as a "privileged" app.
Steve McKay [Wed, 13 Apr 2016 17:20:46 +0000 (10:20 -0700)]
Mark DocumentsUI as a "privileged" app.

This fixes the issues with CTS resulting from the change to intent filtering.
Bug: 28081616

Change-Id: I81f87ff56b5fbb0d526863da44a2fcef29a3aa2c

8 years agoMerge "Increase the SoundPoolThread queue size to 128 entries." into nyc-dev
Philip Cuadra [Wed, 13 Apr 2016 17:23:35 +0000 (17:23 +0000)]
Merge "Increase the SoundPoolThread queue size to 128 entries." into nyc-dev

8 years agoMerge "rm log spam" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:22:56 +0000 (17:22 +0000)]
Merge "rm log spam" into nyc-dev

8 years agoMerge "Fix translationY not being set correctly for VD during animation" into nyc-dev
Doris Liu [Wed, 13 Apr 2016 17:22:18 +0000 (17:22 +0000)]
Merge "Fix translationY not being set correctly for VD during animation" into nyc-dev

8 years agoMerge "Fall back to setting the level of the entire progress drawable" into nyc-dev
Alan Viverette [Wed, 13 Apr 2016 17:19:03 +0000 (17:19 +0000)]
Merge "Fall back to setting the level of the entire progress drawable" into nyc-dev

8 years agoQS: Add content description to page indicator
Jason Monk [Wed, 13 Apr 2016 17:01:14 +0000 (13:01 -0400)]
QS: Add content description to page indicator

Change-Id: I4e9bdfe803d681484eb4c8915c44e37be40d8aa2
Fixes: 27325720

8 years agoMerge changes Ieefeb843,Ic2a94b09 into nyc-dev
Wale Ogunwale [Wed, 13 Apr 2016 16:59:35 +0000 (16:59 +0000)]
Merge changes Ieefeb843,Ic2a94b09 into nyc-dev

* changes:
  Update surface insets on window elevation changes.
  Fixed bug with cropping out drop shadow for pinned stack.

8 years agoMerge "Remove UsageStats post-OTA package update filter" into nyc-dev
David Brazdil [Wed, 13 Apr 2016 16:43:13 +0000 (16:43 +0000)]
Merge "Remove UsageStats post-OTA package update filter" into nyc-dev

8 years agoRevert warning logic so it has a "don't show again" message.
Felipe Leme [Tue, 12 Apr 2016 21:00:07 +0000 (14:00 -0700)]
Revert warning logic so it has a "don't show again" message.

BUG: 28140003

Change-Id: I93e7b1494a0f4c5ca080fbe9dd94dc2168092ffa

8 years agoFix widget not being masked when freshly added.
Rubin Xu [Wed, 13 Apr 2016 16:21:07 +0000 (17:21 +0100)]
Fix widget not being masked when freshly added.

Bug: 26721345
Change-Id: I6bc7142c6f488b8666651330039abac27782bda9

8 years agoMerge "Add a log if the printing activity died unexpectly." into nyc-dev
Philip P. Moltmann [Wed, 13 Apr 2016 16:20:33 +0000 (16:20 +0000)]
Merge "Add a log if the printing activity died unexpectly." into nyc-dev

8 years agoMerge "Add error logging for softap commands" into nyc-dev
Rebecca Silberstein [Wed, 13 Apr 2016 16:07:49 +0000 (16:07 +0000)]
Merge "Add error logging for softap commands" into nyc-dev

8 years agoAdd a log if the printing activity died unexpectly.
Philip P. Moltmann [Wed, 13 Apr 2016 15:54:27 +0000 (08:54 -0700)]
Add a log if the printing activity died unexpectly.

Bug: 27861927
Change-Id: I431ba996e113043c224039a62a76ae23e9c7494a

8 years agoMake ResolverActivity respect selector intent when making filters
Henrik Engström [Thu, 17 Jul 2014 10:18:29 +0000 (12:18 +0200)]
Make ResolverActivity respect selector intent when making filters

When the ResolverActivity makes a filter after an intent is chosen,
either for remembering last used or an "always use" choice for the
user it doesn't consider the selector in the intent if present.

This means that when a resolver activity is launched for an intent
with a selector, the selector is used for resolving preferred
activities, and for populating the list, but when the same intent
is sent again it doesn't match the filter created by the previous
ResolverActivity.

This in turn means that the user will get another ResolverActivity
even if "Always Use" was chosen the last time.

Bug: 28129216

Change-Id: I29be7010e7c890caf9789673b3c3f821ba362761

8 years agoMerge "Remove color and appearance" into nyc-dev
Jason Monk [Wed, 13 Apr 2016 15:43:13 +0000 (15:43 +0000)]
Merge "Remove color and appearance" into nyc-dev

8 years agoRemove UsageStats post-OTA package update filter
David Brazdil [Wed, 13 Apr 2016 15:39:23 +0000 (16:39 +0100)]
Remove UsageStats post-OTA package update filter

Filtering packages for boot-time post-OTA update with
UsageStatsManager idleness API is too aggressive and leaves out even
apps used heavily in the foreground. Remove for now.

Bug: 27902702
Bug: 28161327

Change-Id: I7912f9ad5d8c6206c19068a76383e370d24818db

8 years agoMerge "Clean up Drawable annotations" into nyc-dev
Alan Viverette [Wed, 13 Apr 2016 15:22:02 +0000 (15:22 +0000)]
Merge "Clean up Drawable annotations" into nyc-dev

8 years agoRemove color and appearance
Jason Monk [Wed, 13 Apr 2016 15:01:19 +0000 (11:01 -0400)]
Remove color and appearance

Also fix crash.

Change-Id: I16abec61d63e2d503b07047c08664c2e96689c50
Fixes: 28163234

8 years agoMerge "Don't run the WebView preparation if using the same non-replaced package"...
Gustav Sennton [Wed, 13 Apr 2016 14:54:53 +0000 (14:54 +0000)]
Merge "Don't run the WebView preparation if using the same non-replaced package" into nyc-dev

8 years agoMerge "change directory name" into nyc-dev
Nick Kralevich [Wed, 13 Apr 2016 14:51:13 +0000 (14:51 +0000)]
Merge "change directory name" into nyc-dev

8 years agochange directory name
Nick Kralevich [Wed, 13 Apr 2016 14:49:28 +0000 (07:49 -0700)]
change directory name

external/sepolicy was renamed system/sepolicy

Change-Id: Id27cd8c22d966958e481c9ed0171f637b3ffe2c0

8 years agoClean up Drawable annotations
Alan Viverette [Wed, 13 Apr 2016 14:14:06 +0000 (10:14 -0400)]
Clean up Drawable annotations

No functional changes.

Bug: 23621364
Change-Id: Ia5ac34eb8464ee40afd7052f34b42bb6153260bf

8 years agoMerge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev
Michael Wright [Wed, 13 Apr 2016 13:58:15 +0000 (13:58 +0000)]
Merge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev

8 years agoMerge "Remove temporary workaround of restoring periodic syncs." into nyc-dev
Rubin Xu [Wed, 13 Apr 2016 13:41:20 +0000 (13:41 +0000)]
Merge "Remove temporary workaround of restoring periodic syncs." into nyc-dev

8 years agoMerge "API polish in DPM for organization color and name methods" into nyc-dev
Michal Karpinski [Wed, 13 Apr 2016 13:28:06 +0000 (13:28 +0000)]
Merge "API polish in DPM for organization color and name methods" into nyc-dev

8 years agoMerge "Change method name in VectorDrawable_Delegate" into nyc-dev
Jerome Gaillard [Wed, 13 Apr 2016 12:13:32 +0000 (12:13 +0000)]
Merge "Change method name in VectorDrawable_Delegate" into nyc-dev

8 years agoMerge "Suspend work status bar icon should be removed when work profile is deleted...
Nicolas Prévot [Wed, 13 Apr 2016 11:00:01 +0000 (11:00 +0000)]
Merge "Suspend work status bar icon should be removed when work profile is deleted." into nyc-dev

8 years agoChange method name in VectorDrawable_Delegate
Jerome Gaillard [Wed, 13 Apr 2016 10:48:28 +0000 (11:48 +0100)]
Change method name in VectorDrawable_Delegate

Following change in VectorDrawable from commit cdedc9a80d.

Change-Id: I5d17b2e77c9600fe3da981c77a3e39dcd4df1d1f

8 years agoAlso consider loss of IPv6 default route to be fatal
Erik Kline [Wed, 13 Apr 2016 10:41:43 +0000 (19:41 +0900)]
Also consider loss of IPv6 default route to be fatal

Bug: 27962810
Change-Id: I735d71ddc71da701eebbb9969f6e1cbffd7e1a1c

8 years agoMerge "Update display text in cert notification" into nyc-dev
Victor Chang [Wed, 13 Apr 2016 10:15:28 +0000 (10:15 +0000)]
Merge "Update display text in cert notification" into nyc-dev

8 years agoSuspend work status bar icon should be removed when work profile is deleted.
Nicolas Prevot [Wed, 13 Apr 2016 09:28:58 +0000 (10:28 +0100)]
Suspend work status bar icon should be removed when work profile is deleted.

BUG:26787011
Change-Id: Ifb3de2a670b1d5ac74200b8d344bb576f683ed61

8 years agoMerge "Don't kill apps when only clearing caches." into nyc-dev
TreeHugger Robot [Wed, 13 Apr 2016 08:23:19 +0000 (08:23 +0000)]
Merge "Don't kill apps when only clearing caches." into nyc-dev

8 years agoMerge "Synchronize access to the main looper" into nyc-dev
Diego Perez [Wed, 13 Apr 2016 08:14:55 +0000 (08:14 +0000)]
Merge "Synchronize access to the main looper" into nyc-dev

8 years agoFix selecting all in DocumentsUI.
Tomasz Mikolajewski [Wed, 13 Apr 2016 07:18:15 +0000 (16:18 +0900)]
Fix selecting all in DocumentsUI.

Bug: 28152042
Change-Id: Ie241874af77aaca4fd6c6cbc18a9a7e8ba31d87d

8 years agoMerge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev
Yohei Yukawa [Wed, 13 Apr 2016 06:51:32 +0000 (06:51 +0000)]
Merge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev

8 years agoMerge "Fix a memory leak in ConnectivityManager." into nyc-dev
Pierre Imai [Wed, 13 Apr 2016 06:37:31 +0000 (06:37 +0000)]
Merge "Fix a memory leak in ConnectivityManager." into nyc-dev