OSDN Git Service

android-x86/frameworks-base.git
8 years agoVerify WebView package info before loading WebView
Gustav Sennton [Thu, 14 Apr 2016 08:58:36 +0000 (09:58 +0100)]
Verify WebView package info before loading WebView

To ensure that the package we are using to load WebView is a valid
provider we need to verify this before loading WebView - not only when
choosing what package to use.

Bug: 27900925
Change-Id: If57ca32a7a3fa08735a3b8ea9ed268c1bb1b8ede

8 years agoMerge "Fix issue when QUEUE_DESTROY arrive at the same time." into nyc-dev
Niels Egberts [Thu, 14 Apr 2016 12:33:03 +0000 (12:33 +0000)]
Merge "Fix issue when QUEUE_DESTROY arrive at the same time." into nyc-dev

8 years agoMerge "Update persistent WebView packages setting only when user changes it." into...
Gustav Sennton [Thu, 14 Apr 2016 10:58:40 +0000 (10:58 +0000)]
Merge "Update persistent WebView packages setting only when user changes it." into nyc-dev

8 years agoMerge "Ensure at least one default-available webview package is a non-fallback" into...
Gustav Sennton [Thu, 14 Apr 2016 10:25:13 +0000 (10:25 +0000)]
Merge "Ensure at least one default-available webview package is a non-fallback" into nyc-dev

8 years agoMerge "Also log IPv4 and IPv6 connectivity of any previous default network" into...
TreeHugger Robot [Thu, 14 Apr 2016 10:14:19 +0000 (10:14 +0000)]
Merge "Also log IPv4 and IPv6 connectivity of any previous default network" into nyc-dev

8 years agoMerge "Provide startIntentSenderForResult for fragments" into nyc-dev
Clara Bayarri [Thu, 14 Apr 2016 10:05:34 +0000 (10:05 +0000)]
Merge "Provide startIntentSenderForResult for fragments" into nyc-dev

8 years agoMerge "Includes both direct boot aware and unaware apps in Apps default view" into...
Bernard Chau [Thu, 14 Apr 2016 09:39:59 +0000 (09:39 +0000)]
Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev

8 years agoMerge "Filter out ACTION_UP events in onKey() listener." into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 09:32:19 +0000 (09:32 +0000)]
Merge "Filter out ACTION_UP events in onKey() listener." into nyc-dev

8 years agoAlso log IPv4 and IPv6 connectivity of any previous default network
Erik Kline [Thu, 14 Apr 2016 08:30:59 +0000 (17:30 +0900)]
Also log IPv4 and IPv6 connectivity of any previous default network

Change-Id: I07595c0a131fea21914f524949cd64af87403b88

8 years agoMerge "Add DHCP error event class and record DHCP errors." into nyc-dev
Hugo Benichi [Thu, 14 Apr 2016 08:01:29 +0000 (08:01 +0000)]
Merge "Add DHCP error event class and record DHCP errors." into nyc-dev

8 years agoFilter out ACTION_UP events in onKey() listener.
Daichi Hirono [Thu, 14 Apr 2016 05:40:47 +0000 (14:40 +0900)]
Filter out ACTION_UP events in onKey() listener.

Previously we invokes performeSave both for ACTION_DOWN and ACTION_UP,
thus it creates two documents.

Change-Id: I7fc2a62c34fc239c2bf3ca6c71122e360d589727
Fixes: 28179791

8 years agoMerge changes Ia71865a9,I40b6de54 into nyc-dev
Pierre Imai [Thu, 14 Apr 2016 07:25:33 +0000 (07:25 +0000)]
Merge changes Ia71865a9,I40b6de54 into nyc-dev

* changes:
  Log an event whenever we lose the default network.
  Record the transport types for connectivity events.

8 years agoAdd DHCP error event class and record DHCP errors.
Hugo Benichi [Wed, 13 Apr 2016 01:13:32 +0000 (10:13 +0900)]
Add DHCP error event class and record DHCP errors.

This patch adds an event class derived from IpConnectivityEvent that
records parsing errors of DHCP response packets.

Change-Id: I19516cf05e3419c4262e3236899e52987e5f2264

8 years agoLog an event whenever we lose the default network.
Pierre Imai [Tue, 12 Apr 2016 09:02:58 +0000 (18:02 +0900)]
Log an event whenever we lose the default network.

Change-Id: Ia71865a90b2db5dc0d3ad627563a6b1f99686f04

8 years agoRecord the transport types for connectivity events.
Pierre Imai [Thu, 7 Apr 2016 03:21:05 +0000 (12:21 +0900)]
Record the transport types for connectivity events.

BUG: 25691077
Change-Id: I40b6de5446325e717c0356603fd66cd395db9acb

8 years agoMerge "PIP: Fix runtime crash in System UI" into nyc-dev
Jaewan Kim [Thu, 14 Apr 2016 06:28:56 +0000 (06:28 +0000)]
Merge "PIP: Fix runtime crash in System UI" into nyc-dev

8 years agoPIP: Fix runtime crash in System UI
Jaewan Kim [Thu, 14 Apr 2016 06:17:36 +0000 (15:17 +0900)]
PIP: Fix runtime crash in System UI

Bug: 27677096
Change-Id: I182e29962b5da8355f729287a4abde1e73e66e42

8 years agoMerge "Camera: clarify lens shading map" into nyc-dev
Zhijun He [Thu, 14 Apr 2016 05:20:44 +0000 (05:20 +0000)]
Merge "Camera: clarify lens shading map" into nyc-dev

8 years agoMerge "Add volatile qualifier to boolean variable" into nyc-dev
Hugo Benichi [Thu, 14 Apr 2016 04:19:49 +0000 (04:19 +0000)]
Merge "Add volatile qualifier to boolean variable" into nyc-dev

8 years agoDo not update accessibilityTitle in
Yuki Awano [Thu, 14 Apr 2016 02:53:10 +0000 (11:53 +0900)]
Do not update accessibilityTitle in
LayoutParams.setTitle

Bug: 28126629
Change-Id: Idfd8c0210d32e1a0e9c16272cfbb35ef6065e805

8 years agoMerge "Fix issue #28156248: Receiving connectivity receiver..." into nyc-dev
Dianne Hackborn [Thu, 14 Apr 2016 04:16:09 +0000 (04:16 +0000)]
Merge "Fix issue #28156248: Receiving connectivity receiver..." into nyc-dev

8 years agoMerge "Limit don't dispatch when non-interactive and the display is off to watches...
TreeHugger Robot [Thu, 14 Apr 2016 03:56:20 +0000 (03:56 +0000)]
Merge "Limit don't dispatch when non-interactive and the display is off to watches" into nyc-dev

8 years agoReducing work on configuration change (Part 1)
Winson [Wed, 13 Apr 2016 00:02:26 +0000 (17:02 -0700)]
Reducing work on configuration change (Part 1)

- Don’t reinflate the header bar and dummy stack view
- Only update the header bar layout params when values change

Change-Id: I47bb699e35b10caea2ab8640be8d3f9a3d445c58

8 years agoMerge "Add some more metrics: IpManager, IpReachabilityMonitor" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 03:20:38 +0000 (03:20 +0000)]
Merge "Add some more metrics: IpManager, IpReachabilityMonitor" into nyc-dev

8 years agoLimit don't dispatch when non-interactive and the display is off to watches
Wale Ogunwale [Mon, 4 Apr 2016 14:28:27 +0000 (07:28 -0700)]
Limit don't dispatch when non-interactive and the display is off to watches

We still want to dispatch input for non-watch devices when the non-interactive
and the display is off.

Bug: 26277593
Change-Id: I38023b3494e46c63578dd3162e2b9aa0a213862d

8 years agoAdd some more metrics: IpManager, IpReachabilityMonitor
Erik Kline [Tue, 12 Apr 2016 06:31:13 +0000 (15:31 +0900)]
Add some more metrics: IpManager, IpReachabilityMonitor

Change-Id: Ibb7150c849715a42fc2c879589eaaf86e8a007e7

8 years agoMerge "Add scroll indicators to resolver list" into nyc-dev
Alan Viverette [Thu, 14 Apr 2016 01:45:33 +0000 (01:45 +0000)]
Merge "Add scroll indicators to resolver list" into nyc-dev

8 years agoMerge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev
Jaewan Kim [Thu, 14 Apr 2016 01:41:55 +0000 (01:41 +0000)]
Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev

8 years agoFixing crash.
Winson [Thu, 14 Apr 2016 01:24:12 +0000 (18:24 -0700)]
Fixing crash.

b/28179361

Change-Id: I5c6049efcd0c43f3b0e595648fd331c2a82d4d73

8 years agoMerge "PIP: Add PIP boundary" into nyc-dev
Jaewan Kim [Thu, 14 Apr 2016 01:32:42 +0000 (01:32 +0000)]
Merge "PIP: Add PIP boundary" into nyc-dev

8 years agoMerge "Minor cleanups to delete support." into nyc-dev
Steve McKay [Thu, 14 Apr 2016 01:23:10 +0000 (01:23 +0000)]
Merge "Minor cleanups to delete support." into nyc-dev

8 years agoMerge "Keep HUNs that have an active remote input" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 01:23:04 +0000 (01:23 +0000)]
Merge "Keep HUNs that have an active remote input" into nyc-dev

8 years agoMerge "Improve CryptoHelper" into nyc-dev
Carlos Valdivia [Thu, 14 Apr 2016 01:17:07 +0000 (01:17 +0000)]
Merge "Improve CryptoHelper" into nyc-dev

8 years agoFix issue #28156248: Receiving connectivity receiver...
Dianne Hackborn [Wed, 13 Apr 2016 23:23:28 +0000 (16:23 -0700)]
Fix issue #28156248: Receiving connectivity receiver...

...broadcasts in Android N

Ooops.

Change-Id: I91ae6d3993e5e295965d8825e07993e67d10b357

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 agoImprove CryptoHelper
Carlos Valdivia [Thu, 7 Apr 2016 00:42:51 +0000 (17:42 -0700)]
Improve CryptoHelper

No longer reuses IV, also stops using SecretKeySpec's, and leaves it to
the Cipher to create the IV.

Bug: 27579433
Change-Id: I11a1cbf525146495fb4209ec6606223a6b15b7bc

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 agoMinor cleanups to delete support.
Steve McKay [Wed, 13 Apr 2016 23:17:46 +0000 (16:17 -0700)]
Minor cleanups to delete support.

When deleting by key, make a defensive copy of selection...probably fixing a latent bug.

Bug: 28173827
Change-Id: Ib1ad2214c1f95fa703be227da33b25a5d4021b28

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