OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addComple...
Edward Cunningham [Fri, 25 Mar 2016 22:01:05 +0000 (22:01 +0000)]
Merge "DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.""" into nyc-dev

8 years agoMerge "Add shadow during resizing in docked mode" into nyc-dev
Jorim Jaggi [Fri, 25 Mar 2016 21:12:10 +0000 (21:12 +0000)]
Merge "Add shadow during resizing in docked mode" into nyc-dev

8 years agoMerge "PIP: Dismiss Recents when PIP moves to fullscreen" into nyc-dev
Youngsang Cho [Fri, 25 Mar 2016 21:05:58 +0000 (21:05 +0000)]
Merge "PIP: Dismiss Recents when PIP moves to fullscreen" into nyc-dev

8 years agoAdd shadow during resizing in docked mode
Jorim Jaggi [Thu, 24 Mar 2016 17:47:07 +0000 (10:47 -0700)]
Add shadow during resizing in docked mode

Bug: 27738239
Change-Id: I48c45bd97c2aa7f3d7bbb5b1ba650fbe408bd0bf

8 years agoDO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDown...
Edward Cunningham [Fri, 25 Mar 2016 20:56:31 +0000 (20:56 +0000)]
DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.""

This reverts commit c6f5738d3c8621d2e682026e35e57f540750d117.

Change-Id: Ibb330f44c3910b3fc124ee8c718a508cdf3b32b4

8 years agoMerge "LayoutLib intellij codestyle: line wrap" into nyc-dev
Deepanshu Gupta [Fri, 25 Mar 2016 20:53:14 +0000 (20:53 +0000)]
Merge "LayoutLib intellij codestyle: line wrap" into nyc-dev

8 years agoMerge "Add tests for getResource*Name()" into nyc-dev
Deepanshu Gupta [Fri, 25 Mar 2016 20:52:51 +0000 (20:52 +0000)]
Merge "Add tests for getResource*Name()" into nyc-dev

8 years agoMerge "Refactored NetworkManagerService to support Data Saver." into nyc-dev
Felipe Leme [Fri, 25 Mar 2016 20:39:57 +0000 (20:39 +0000)]
Merge "Refactored NetworkManagerService to support Data Saver." into nyc-dev

8 years agoMerge "Add bucketsScanned to ScanData" into nyc-dev
Mitchell Wills [Fri, 25 Mar 2016 20:26:49 +0000 (20:26 +0000)]
Merge "Add bucketsScanned to ScanData" into nyc-dev

8 years agoMerge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager...
Sharvil Nanavati [Fri, 25 Mar 2016 20:20:41 +0000 (20:20 +0000)]
Merge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into cw-e-dev am: a677ea7  -s ours
am: 1c7f5bb  -s ours

* commit '1c7f5bb49c1918be446b967fd78b02313429322f':
  DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY.

8 years agoMerge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager...
Sharvil Nanavati [Fri, 25 Mar 2016 20:18:05 +0000 (20:18 +0000)]
Merge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into cw-e-dev
am: a677ea7  -s ours

* commit 'a677ea72b159317ebb7456f60703babacef61650':
  DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY.

8 years agoMerge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager...
Sharvil Nanavati [Fri, 25 Mar 2016 20:14:28 +0000 (20:14 +0000)]
Merge "DO NOT MERGE ANYWHERE Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into cw-e-dev

8 years agoMerge "Move DensityUtils into SettingsLib" into nyc-dev
Alan Viverette [Fri, 25 Mar 2016 19:59:37 +0000 (19:59 +0000)]
Merge "Move DensityUtils into SettingsLib" into nyc-dev

8 years agoRefactored NetworkManagerService to support Data Saver.
Felipe Leme [Tue, 22 Mar 2016 21:53:13 +0000 (14:53 -0700)]
Refactored NetworkManagerService to support Data Saver.

Netd provides 2 bandwidth control rules to restrict which uids can use
metered networks:

- bw_penalty_box is a blacklist-based firewall chain used to determine
  which uids do not have access to metered interfaces.

- bw_happy_box is whitelist-based firewall chain used to determine which
  uids have access to metered interfaces.

Currently, both NetworkManagerService (NMS) and
NetworkPolicyManagerService (NPMS) uses just the bw_penalty_box rule,
which makes turning Data Saver mode on / off too slow (since NPMS needs
to build the bw_penalty_box on demand); this CL adds support for both
rules on NMS, although NPMS doesn't take advantage of it yet (it will be
refactored in a separate CL).

BUG: 27127112
BUG: 26685616
Change-Id: Ib954574f7c86269fc9b4cf8ce4ba72ba5878c23d

8 years agoMove DensityUtils into SettingsLib
Alan Viverette [Fri, 25 Mar 2016 18:56:38 +0000 (14:56 -0400)]
Move DensityUtils into SettingsLib

Bug: 27644685
Change-Id: I24b9e53d9add294eba43b612b30e3c4d6f74c8b5

8 years agoMerge "Fix potential crash loop" into nyc-dev
Makoto Onuki [Fri, 25 Mar 2016 18:55:32 +0000 (18:55 +0000)]
Merge "Fix potential crash loop" into nyc-dev

8 years agoMerge "Update documentation for the READ_PHONE_STATE permission" into nyc-dev
Hall Liu [Fri, 25 Mar 2016 18:44:56 +0000 (18:44 +0000)]
Merge "Update documentation for the READ_PHONE_STATE permission" into nyc-dev

8 years agoMerge "Fix copying folders using keyboard shortcuts" into nyc-dev
Aga Wronska [Fri, 25 Mar 2016 18:22:41 +0000 (18:22 +0000)]
Merge "Fix copying folders using keyboard shortcuts" into nyc-dev

8 years agoMerge "Make pressing 'Back' button open the drawer when in Recents root" into nyc-dev
Aga Wronska [Fri, 25 Mar 2016 18:21:49 +0000 (18:21 +0000)]
Merge "Make pressing 'Back' button open the drawer when in Recents root" into nyc-dev

8 years agoMerge "Update pixelRef genID when reusing pixels in RecyclingClippingPixelAllocator...
Derek Sollenberger [Fri, 25 Mar 2016 18:18:20 +0000 (18:18 +0000)]
Merge "Update pixelRef genID when reusing pixels in RecyclingClippingPixelAllocator." into nyc-dev

8 years agoMerge "Fix a status bar NPE in InputMethodManagerService" into nyc-dev
Griff Hazen [Fri, 25 Mar 2016 18:16:46 +0000 (18:16 +0000)]
Merge "Fix a status bar NPE in InputMethodManagerService" into nyc-dev

8 years agoMerge "Detect ranchu as emulator" into nyc-dev
Griff Hazen [Fri, 25 Mar 2016 18:05:46 +0000 (18:05 +0000)]
Merge "Detect ranchu as emulator" into nyc-dev

8 years agoMerge "Refactor enableAccessibility to AccessibilityManagerService" into nyc-dev
Muyuan Li [Fri, 25 Mar 2016 18:03:35 +0000 (18:03 +0000)]
Merge "Refactor enableAccessibility to AccessibilityManagerService" into nyc-dev

8 years agoFix potential crash loop
Makoto Onuki [Fri, 25 Mar 2016 17:54:07 +0000 (10:54 -0700)]
Fix potential crash loop

Bug 27548047

Change-Id: I10648ccb2fd17464e18308846b910efa129ce126

8 years agoMerge "*Always* kill the right uid's group" into nyc-dev
Chris Tate [Fri, 25 Mar 2016 17:19:52 +0000 (17:19 +0000)]
Merge "*Always* kill the right uid's group" into nyc-dev

8 years agoUpdate pixelRef genID when reusing pixels in RecyclingClippingPixelAllocator.
Derek Sollenberger [Fri, 25 Mar 2016 16:19:22 +0000 (12:19 -0400)]
Update pixelRef genID when reusing pixels in RecyclingClippingPixelAllocator.

When this code was refactored to support the new RegionDecoder it appears that
we dropped a call to bump the genID.  Adding it back is functionally correct
and should fix the recycling issue.

bug: 26617759
Change-Id: I966d398ca983edb40040e01345799b3cc9957fe0

8 years agoMerge "Update HWUI tests to use minikin to layout fonts." into nyc-dev
Derek Sollenberger [Fri, 25 Mar 2016 17:03:02 +0000 (17:03 +0000)]
Merge "Update HWUI tests to use minikin to layout fonts." into nyc-dev

8 years agoMerge "Delete app profiles only during updates and uninstalls" into nyc-dev
Calin Juravle [Fri, 25 Mar 2016 16:56:20 +0000 (16:56 +0000)]
Merge "Delete app profiles only during updates and uninstalls" into nyc-dev

8 years agoMerge "Change hasCustomPrintIcon and setStatus as requested by API council." into...
Philip P. Moltmann [Fri, 25 Mar 2016 16:50:34 +0000 (16:50 +0000)]
Merge "Change hasCustomPrintIcon and setStatus as requested by API council." into nyc-dev

8 years agoMerge "Fixed a bug with the number of notifications visible on lockscreen" into nyc-dev
Selim Cinek [Fri, 25 Mar 2016 16:36:17 +0000 (16:36 +0000)]
Merge "Fixed a bug with the number of notifications visible on lockscreen" into nyc-dev

8 years agoDetect ranchu as emulator
Griff Hazen [Fri, 25 Mar 2016 14:30:34 +0000 (07:30 -0700)]
Detect ranchu as emulator

Bug: 27780791

Change-Id: I23e5511acfba22260714874baf5e9380480b22bf

8 years agoMerge "Fix javadoc for Icon.loadDrawableAsync(Context, OnDrawableLoadedListener,...
Philip P. Moltmann [Fri, 25 Mar 2016 16:17:02 +0000 (16:17 +0000)]
Merge "Fix javadoc for Icon.loadDrawableAsync(Context, OnDrawableLoadedListener, Handler)." into nyc-dev

8 years agoMerge "Revert "Revert "Make status bar translucent. Make drawer appera below status...
Aga Wronska [Fri, 25 Mar 2016 16:14:14 +0000 (16:14 +0000)]
Merge "Revert "Revert "Make status bar translucent. Make drawer appera below status bar."" with a fix for cts tests." into nyc-dev

8 years agoUpdate HWUI tests to use minikin to layout fonts.
Derek Sollenberger [Thu, 24 Mar 2016 15:07:19 +0000 (11:07 -0400)]
Update HWUI tests to use minikin to layout fonts.

This update is a precondition for landing additional tests
that depend on the minkin layout implementation.

bug: 27675371
Change-Id: I9bb98bae6b39462246e42cf8acb968b7df05292d

8 years agoFixed a bug with the number of notifications visible on lockscreen
Selim Cinek [Fri, 25 Mar 2016 09:28:01 +0000 (02:28 -0700)]
Fixed a bug with the number of notifications visible on lockscreen

It also accounted for invisible groups.

Bug: 24866646
Change-Id: I97de1468bdaaafbdbe69de5d1599555d5cf8f3f7

8 years agoFixed a bug where longpress was not possible in landscape
Selim Cinek [Thu, 24 Mar 2016 20:06:00 +0000 (13:06 -0700)]
Fixed a bug where longpress was not possible in landscape

The clause used there was using a reused value of a motion event
and therefore not trigger, even if it should have.
Also added a clause which this was actually used for to remove
the long press callback when using the inline settings slider.

Bug: 27352426
Change-Id: I9c432eeb354d7d5e72b375cfc5ead9e04a4e6c81

8 years agoFix a status bar NPE in InputMethodManagerService
Griff Hazen [Fri, 25 Mar 2016 15:11:24 +0000 (08:11 -0700)]
Fix a status bar NPE in InputMethodManagerService

Change-Id: I27f43acd7fd46b7c4f12c6c860b98ebf55335e51

8 years agoMerge "PackageManager: Move compilation reasons to PMS" into nyc-dev
Andreas Gampe [Fri, 25 Mar 2016 15:12:55 +0000 (15:12 +0000)]
Merge "PackageManager: Move compilation reasons to PMS" into nyc-dev

8 years agoMerge "Track slowest frames" into nyc-dev
John Reck [Fri, 25 Mar 2016 14:33:57 +0000 (14:33 +0000)]
Merge "Track slowest frames" into nyc-dev

8 years agoMerge "Quiet intent resolver" into nyc-dev
Todd Kennedy [Fri, 25 Mar 2016 14:30:26 +0000 (14:30 +0000)]
Merge "Quiet intent resolver" into nyc-dev

8 years agoMerge "Start seeked animators without waiting for start delay." into nyc-dev
George Mount [Fri, 25 Mar 2016 14:10:00 +0000 (14:10 +0000)]
Merge "Start seeked animators without waiting for start delay." into nyc-dev

8 years agoQuiet intent resolver
Todd Kennedy [Fri, 25 Mar 2016 13:58:12 +0000 (06:58 -0700)]
Quiet intent resolver

Quite a bit of log spew when resolving main activities if there are
some intents without CATEGORY_DEFAULT. This is interesting but
normal, so, don't need to log it every time.

Change-Id: I6420735c2adbbc7c1d58f51bb372a6614f5d1d60

8 years agoMerge "Clean up popup window positioning" into nyc-dev
Alan Viverette [Fri, 25 Mar 2016 13:22:47 +0000 (13:22 +0000)]
Merge "Clean up popup window positioning" into nyc-dev

8 years agoMerge "Add getObjectSizeLong hidden API to MtpDevice class." into nyc-dev
Daichi Hirono [Fri, 25 Mar 2016 12:54:57 +0000 (12:54 +0000)]
Merge "Add getObjectSizeLong hidden API to MtpDevice class." into nyc-dev

8 years agoMerge "Move ApfFilter from ConnectivityService to IpManager" into nyc-dev
Paul Jensen [Fri, 25 Mar 2016 12:48:51 +0000 (12:48 +0000)]
Merge "Move ApfFilter from ConnectivityService to IpManager" into nyc-dev

8 years agoMerge "Add basic packet filtering via APF program." into nyc-dev
Paul Jensen [Fri, 25 Mar 2016 12:48:32 +0000 (12:48 +0000)]
Merge "Add basic packet filtering via APF program." into nyc-dev

8 years agoMerge "Add new metric to DocumentsUI to record launch time." into nyc-dev
Daichi Hirono [Fri, 25 Mar 2016 12:20:34 +0000 (12:20 +0000)]
Merge "Add new metric to DocumentsUI to record launch time." into nyc-dev

8 years agoMove ApfFilter from ConnectivityService to IpManager
Paul Jensen [Fri, 18 Mar 2016 16:22:09 +0000 (12:22 -0400)]
Move ApfFilter from ConnectivityService to IpManager

There's a few advantages to having ApfFilter in IpManager:
1. If things go wrong, crashing a particular transport is less bad then
   crashing ConnectivityService.  We also don't want to use
   ConnectivityService as a dumping ground for transport-specific logic.
2. This makes implementing WifiManager.MulticastLock a lot simpler and
   safer because enabling/disabling it doesn't have to go through the
   NetworkAgent, which could risk various races (e.g. installing a filter
   into the wrong WiFi network).
3. IpManager is the ultimate source for LinkProperties for a particular
   transport and since ApfFilter uses the LinkProperties it's better to
   have it closely paired with the IpManager. Likewise, ApfFilter needs
   to know the APF capabilities of the transport, so having it in
   the transport avoids having to parcel this information through the
   NetworkAgent.

Bug: 26238573
Change-Id: I99b85f2b64972f0e7572170ec5d1926081aa3429

8 years agoAdd basic packet filtering via APF program.
Paul Jensen [Thu, 17 Mar 2016 17:22:29 +0000 (13:22 -0400)]
Add basic packet filtering via APF program.

This includes dropping IPv4 broadcast packets besides DHCP packets
destined to this device, and IPv6 ICMP6 NAs to ff02::1.
Also add optional IPv4 multicast filtering to support
WifiManager.MulticastLock.

Bug: 26238573
Change-Id: I61fd4c3f40db40c4b3ec5ac5999c2d7f0539a589

8 years agoAdd getObjectSizeLong hidden API to MtpDevice class.
Daichi Hirono [Thu, 24 Mar 2016 12:05:51 +0000 (21:05 +0900)]
Add getObjectSizeLong hidden API to MtpDevice class.

In the MTP spec, the object size is stored in MtpObjectInfo as unsigned
32-bit integer and fetched by the getObjectInfo operation. For the
objects that are more than 4GB, the object size is provided as one of
extra properties, which are fetched by different operation.

The CL adds to getObjectSizeLong hidden method to Java MtpDevice class
so that client code can obtain 4GB+ object size.

BUG=27805369

Change-Id: I8a5b85c8db39734f00e49709c61b271eb48ff33d

8 years agoMerge "Track libcore change df3cf7e4cf590086d1cdd09b6e0d3104de167e61." into nyc-dev
Narayan Kamath [Fri, 25 Mar 2016 10:20:50 +0000 (10:20 +0000)]
Merge "Track libcore change df3cf7e4cf590086d1cdd09b6e0d3104de167e61." into nyc-dev

8 years agoAdd new metric to DocumentsUI to record launch time.
Daichi Hirono [Fri, 25 Mar 2016 10:04:39 +0000 (19:04 +0900)]
Add new metric to DocumentsUI to record launch time.

BUG=27255964

Change-Id: I0bebdb95a0008ce087550849b4ca5fc5ead5c664

8 years agoMerge "Remove duplicated code to push firewall UID rules." into nyc-dev
Lorenzo Colitti [Fri, 25 Mar 2016 08:39:52 +0000 (08:39 +0000)]
Merge "Remove duplicated code to push firewall UID rules." into nyc-dev

8 years agoMerge "Request vendor info option (43) to get metered hint" into nyc-dev
Erik Kline [Fri, 25 Mar 2016 07:07:59 +0000 (07:07 +0000)]
Merge "Request vendor info option (43) to get metered hint" into nyc-dev

8 years agoMerge "Add initial connectivity metrics handling." into nyc-dev
Pierre Imai [Fri, 25 Mar 2016 06:17:34 +0000 (06:17 +0000)]
Merge "Add initial connectivity metrics handling." into nyc-dev

8 years agoMerge "PIP: Apply the new UX spec for PIP in Recents" into nyc-dev
Jaewan Kim [Fri, 25 Mar 2016 05:01:11 +0000 (05:01 +0000)]
Merge "PIP: Apply the new UX spec for PIP in Recents" into nyc-dev

8 years agoPIP: Apply the new UX spec for PIP in Recents
Jaewan Kim [Tue, 22 Mar 2016 13:16:59 +0000 (22:16 +0900)]
PIP: Apply the new UX spec for PIP in Recents

Detailed animations will be applied in another CL.

Bug: 27540465
Change-Id: I3664dc10efadeb8f183a4871a684c706e1472999

8 years agoMerge "MediaBrowser: Applying API Review" into nyc-dev
Sungsoo Lim [Fri, 25 Mar 2016 04:29:55 +0000 (04:29 +0000)]
Merge "MediaBrowser: Applying API Review" into nyc-dev

8 years agoAdd initial connectivity metrics handling.
Pierre Imai [Fri, 19 Feb 2016 06:25:54 +0000 (15:25 +0900)]
Add initial connectivity metrics handling.

Adds initial support for IP connectivity metrics collection (DHCP
client, IP reachability monitor, network monitor, connectivity
service).

Change-Id: If9a0455f2a34aa9abea90f9c1b38e4d895dc1a72

8 years agoMerge "Don’t scale task thumbnails." into nyc-dev
Winson Chung [Fri, 25 Mar 2016 03:51:08 +0000 (03:51 +0000)]
Merge "Don’t scale task thumbnails." into nyc-dev

8 years agoMerge "Add connection properties to Connections." into nyc-dev
Tyler Gunn [Fri, 25 Mar 2016 03:44:43 +0000 (03:44 +0000)]
Merge "Add connection properties to Connections." into nyc-dev

8 years agoMerge "WifiConfiguration: Remove dead commented code" into nyc-dev
Paul Stewart [Fri, 25 Mar 2016 03:42:09 +0000 (03:42 +0000)]
Merge "WifiConfiguration: Remove dead commented code" into nyc-dev

8 years agoMerge "Implement FUSE_WRITE command in app fuse." into nyc-dev
Daichi Hirono [Fri, 25 Mar 2016 03:29:51 +0000 (03:29 +0000)]
Merge "Implement FUSE_WRITE command in app fuse." into nyc-dev

8 years agoAdd connection properties to Connections.
Tyler Gunn [Tue, 22 Mar 2016 16:02:47 +0000 (09:02 -0700)]
Add connection properties to Connections.

- Per suggestion of API council, moving properties of a Connection from
CAPABILITIES_* to PROPERTIES_*.

Bug: 27458894
Change-Id: Icce921b03cda514a991646ed39a26559c7e91230

8 years agoPackageManager: Move compilation reasons to PMS
Andreas Gampe [Fri, 25 Mar 2016 03:13:34 +0000 (20:13 -0700)]
PackageManager: Move compilation reasons to PMS

Move the reasons to PackageManagerService (making them public) so
they can be used by clients.

Bug: 27189430
Change-Id: I30e1f823f9297e95c5b1e389004a4fd3052d5702

8 years agoDon’t scale task thumbnails.
Winson [Fri, 25 Mar 2016 00:26:23 +0000 (17:26 -0700)]
Don’t scale task thumbnails.

- Changing task view thumbnail layout.  In portrait, scale the thumbnail
  to width for portrait screenshots, and apply the same scale to
  landscape screenshots.  In landscape, scale screenshots up to 1:1, and
  tweak the app transition to clip the sides instead of scaling.
  In both orientations, fill with the background color in the remaining
  space.
- Moving some resources related to the title bar to be calculated
  programmatically so that we can have different header bar sizes which
  completely overlap the action bar in the screenshot in each
  orientation.
- Constraining the task stack width in landscape to portrait

Bug: 27504677
Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf

8 years agoRequest vendor info option (43) to get metered hint
Erik Kline [Thu, 24 Mar 2016 08:30:13 +0000 (17:30 +0900)]
Request vendor info option (43) to get metered hint

Bug: 26241591
Change-Id: I688029826a79f9cbf0116fb197f82026980788af

8 years agoMerge "TIF: Unhide TvRecordingClient.tune(String, Uri, Bundle)" into nyc-dev
Jiabin Huang [Fri, 25 Mar 2016 02:26:03 +0000 (02:26 +0000)]
Merge "TIF: Unhide TvRecordingClient.tune(String, Uri, Bundle)" into nyc-dev

8 years agoImplement FUSE_WRITE command in app fuse.
Daichi Hirono [Wed, 20 Jan 2016 10:09:25 +0000 (19:09 +0900)]
Implement FUSE_WRITE command in app fuse.

The CL adds a handler for FUSE_WRITE command which invokes a Java
handler.

BUG=23093747

Change-Id: I1903fca6b5663e6241ad540a89fe812310ba6810
(cherry picked from commit 35693da25af11583053d4af6a70d4acbf446978d)

8 years agoRemove duplicated code to push firewall UID rules.
Lorenzo Colitti [Wed, 23 Mar 2016 14:22:49 +0000 (23:22 +0900)]
Remove duplicated code to push firewall UID rules.

The code to set up firewall, standby, dozable, and powersave UID
chains is identical. Deduplicate it.

Bug: 26685616
Change-Id: If623fff14b9dad801510a6f8d5e2edd6031bc3f7

8 years agoMerge "Fix issue #25817435: Batterystats missing UIDs for secondary users" into nyc-dev
Dianne Hackborn [Fri, 25 Mar 2016 01:50:31 +0000 (01:50 +0000)]
Merge "Fix issue #25817435: Batterystats missing UIDs for secondary users" into nyc-dev

8 years agoMerge "Clean up setLayerType and setLayerPaint" into nyc-dev
Sergei Vasilinetc [Fri, 25 Mar 2016 01:42:48 +0000 (01:42 +0000)]
Merge "Clean up setLayerType and setLayerPaint" into nyc-dev

8 years agoMerge "Guard against a NPE when using ParceledSliceList" into nyc-dev
Svetoslav Ganov [Fri, 25 Mar 2016 01:33:37 +0000 (01:33 +0000)]
Merge "Guard against a NPE when using ParceledSliceList" into nyc-dev

8 years agoMerge "Allow current VrListenerService to read thermal info." into nyc-dev
Ruben Brunk [Fri, 25 Mar 2016 01:08:17 +0000 (01:08 +0000)]
Merge "Allow current VrListenerService to read thermal info." into nyc-dev

8 years agoMerge "resolve merge conflicts of 0c7535b to nyc-dev" into nyc-dev
Andriy Naborskyy [Fri, 25 Mar 2016 01:06:47 +0000 (01:06 +0000)]
Merge "resolve merge conflicts of 0c7535b to nyc-dev" into nyc-dev

8 years agoGuard against a NPE when using ParceledSliceList
Svetoslav Ganov [Fri, 25 Mar 2016 01:01:17 +0000 (18:01 -0700)]
Guard against a NPE when using ParceledSliceList

bug:27558595

Change-Id: Idaa3b37d1d3bbb10b93e08ef1976758fde0b0ce3

8 years agoUpdate documentation for the READ_PHONE_STATE permission
Hall Liu [Fri, 25 Mar 2016 00:34:19 +0000 (17:34 -0700)]
Update documentation for the READ_PHONE_STATE permission

Bug: 26413825
Change-Id: I58d21ddd6e2ad1cc724648db5839d711d96663fb

8 years agoFix issue #25817435: Batterystats missing UIDs for secondary users
Dianne Hackborn [Fri, 25 Mar 2016 00:31:28 +0000 (17:31 -0700)]
Fix issue #25817435: Batterystats missing UIDs for secondary users

Change-Id: I9ad907571f04b5825d234758347659544a4de6ab

8 years agoMerge "Add Lang-to-Script entries for languages with new hyph patterns" into nyc-dev
Jungshik Shin [Fri, 25 Mar 2016 00:30:43 +0000 (00:30 +0000)]
Merge "Add Lang-to-Script entries for languages with new hyph patterns" into nyc-dev

8 years agoTrack slowest frames
John Reck [Thu, 24 Mar 2016 22:57:01 +0000 (15:57 -0700)]
Track slowest frames

Fixes: 27795291

Track the 10 slowest frames over the last 24 hours
to try and give approximate insight into total system health.

Change-Id: I8aa646cef0bea185d46b3c78478266bc01d17fd7

8 years agoresolve merge conflicts of 0c7535b to nyc-dev
Andriy Naborskyy [Thu, 24 Mar 2016 23:43:34 +0000 (16:43 -0700)]
resolve merge conflicts of 0c7535b to nyc-dev

Change-Id: I49fa42e0d78aeaa8127cefc5cc5122cf37fce878

8 years agoChange hasCustomPrintIcon and setStatus as requested by API council.
Philip P. Moltmann [Thu, 17 Mar 2016 23:37:47 +0000 (16:37 -0700)]
Change hasCustomPrintIcon and setStatus as requested by API council.

Bonus: null advanced keys produced a exception deep in the print
       spooler. Hence prevent null keys on the surface from now on.

Bug: 27716355
Change-Id: I3c064956f4e670cd7091437ade06605aa8d797b0

8 years agoStart seeked animators without waiting for start delay.
George Mount [Thu, 24 Mar 2016 23:29:03 +0000 (16:29 -0700)]
Start seeked animators without waiting for start delay.

Bug 24872727

Change-Id: I954efd7113565f9b8f9a569f57960b8d91620758

8 years agoMerge "Turn off verbose logs and remove log that is covered by verbose logs." into...
Joe Onorato [Thu, 24 Mar 2016 23:21:46 +0000 (23:21 +0000)]
Merge "Turn off verbose logs and remove log that is covered by verbose logs." into nyc-dev

8 years agoMerge "Fix crash in writing battery stats to health stats" into nyc-dev
Joe Onorato [Thu, 24 Mar 2016 23:07:19 +0000 (23:07 +0000)]
Merge "Fix crash in writing battery stats to health stats" into nyc-dev

8 years agoClean up setLayerType and setLayerPaint
sergeyv [Thu, 24 Mar 2016 23:06:46 +0000 (16:06 -0700)]
Clean up setLayerType and setLayerPaint

bug:21755299
Change-Id: I8f0953ccfc3d743abdecc8ec228ed3e1b6718c3c

8 years agoImplement clip modes during animation
Jorim Jaggi [Fri, 11 Mar 2016 14:04:59 +0000 (15:04 +0100)]
Implement clip modes during animation

Introduce modes how surfaces are clipped to the stack bounds
during transitions.

Use setFinalCrop to implement STACK_CLIP_AFTER_ANIM.

Add logic to determine which stack clip mode to use.

Bug: 26559810
Change-Id: I8edc47de3aaf1ef12055cefd8ceb8df536c5109a

8 years agoMerge "bootanimation: implement split packaging of animation" into cw-e-dev
Andriy Naborskyy [Thu, 24 Mar 2016 22:43:04 +0000 (22:43 +0000)]
Merge "bootanimation: implement split packaging of animation" into cw-e-dev
am: 9f68357

* commit '9f68357d5f71c263f2ff67736a0d2272cc840c32':
  bootanimation: implement split packaging of animation

8 years agoMerge "Fix crash in ManagedApplicationService." into nyc-dev
Ruben Brunk [Thu, 24 Mar 2016 22:29:02 +0000 (22:29 +0000)]
Merge "Fix crash in ManagedApplicationService." into nyc-dev

8 years agoMerge "Reduce idle, idle_after_inactive timeouts to 15m" into nyc-dev
Joe LaPenna [Thu, 24 Mar 2016 22:21:38 +0000 (22:21 +0000)]
Merge "Reduce idle, idle_after_inactive timeouts to 15m" into nyc-dev

8 years agoMerge "Proper handle of duplicated BUGREPORT_STARTED." into nyc-dev
Felipe Leme [Thu, 24 Mar 2016 22:14:41 +0000 (22:14 +0000)]
Merge "Proper handle of duplicated BUGREPORT_STARTED." into nyc-dev

8 years agoMerge "Removed obsolete @NonNull." into nyc-dev
Felipe Leme [Thu, 24 Mar 2016 22:14:37 +0000 (22:14 +0000)]
Merge "Removed obsolete @NonNull." into nyc-dev

8 years agoMerge "bootanimation: implement split packaging of animation" into cw-e-dev
Andriy Naborskyy [Thu, 24 Mar 2016 22:03:19 +0000 (22:03 +0000)]
Merge "bootanimation: implement split packaging of animation" into cw-e-dev

8 years agoWifiConfiguration: Remove dead commented code
Paul Stewart [Thu, 24 Mar 2016 21:56:28 +0000 (14:56 -0700)]
WifiConfiguration: Remove dead commented code

Nobody uses this code.  Let's clean up.

Bug: 27054653
Change-Id: I7b3dccd09de270de6fd5a17da3217495dbce421a

8 years ago*Always* kill the right uid's group
Christopher Tate [Thu, 24 Mar 2016 19:52:56 +0000 (12:52 -0700)]
*Always* kill the right uid's group

Bug 19285814

Change-Id: Ifd49926f49911af3439f2a2a507908ecd3a2db25

8 years agoLayoutLib intellij codestyle: line wrap
Deepanshu Gupta [Thu, 24 Mar 2016 21:13:51 +0000 (14:13 -0700)]
LayoutLib intellij codestyle: line wrap

Force line wrap (do not exceed right margin) and allow shorter lines to
merge.

Change-Id: I06f3689bff710c8dec023edb842595eacd745c17

8 years agoAdd tests for getResource*Name()
Deepanshu Gupta [Thu, 24 Mar 2016 20:41:46 +0000 (13:41 -0700)]
Add tests for getResource*Name()

Change-Id: I02170b2b68c76f817aa0771a5333abf2aee456c0

8 years agoClean up popup window positioning
Alan Viverette [Thu, 24 Mar 2016 21:11:37 +0000 (17:11 -0400)]
Clean up popup window positioning

- Only move the popup above the anchor when necessary
- Adjust the y position when displaying the popup above the anchor
  rather than changing the popup gravity
- Reduce popup height if it's still too large after repositioning

Bug: 27819843
Change-Id: I1ecc235816a61b9431568a34d3116e286e092c11

8 years agoPIP: Dismiss Recents when PIP moves to fullscreen
Youngsang Cho [Thu, 24 Mar 2016 20:40:51 +0000 (13:40 -0700)]
PIP: Dismiss Recents when PIP moves to fullscreen

Bug: 27792906
Change-Id: I3d5c813362868c332e805a7beb325e9874e31606

8 years agoReduce idle, idle_after_inactive timeouts to 15m
Joe LaPenna [Thu, 24 Mar 2016 20:29:56 +0000 (13:29 -0700)]
Reduce idle, idle_after_inactive timeouts to 15m

BUG: 25678232
BUG: 25678232

Change-Id: Ie39f1e2ac245b50826a01b3286ded0c67736b6fa