OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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

8 years agoMerge "Use FLAG_ACTIVITY_TASK_ON_HOME to make sure back button brings user to home...
Tony Mak [Thu, 24 Mar 2016 20:40:01 +0000 (20:40 +0000)]
Merge "Use FLAG_ACTIVITY_TASK_ON_HOME to make sure back button brings user to home" into nyc-dev

8 years agoUse FLAG_ACTIVITY_TASK_ON_HOME to make sure back button brings user to home
Tony Mak [Thu, 24 Mar 2016 12:23:22 +0000 (12:23 +0000)]
Use FLAG_ACTIVITY_TASK_ON_HOME to make sure back button brings user to home

In work challenge, we want to show home when user taps back button.
Previously, we do this by launching launcher before showing work challenge.
We now use FLAG_ACTIVITY_TASK_ON_HOME instead.

Bug: 27826548
Change-Id: I74cca611bf00c6f53b4752f2967a0c729ddf2d61

8 years agoMerge "Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into nyc-dev
Sharvil Nanavati [Thu, 24 Mar 2016 20:17:43 +0000 (20:17 +0000)]
Merge "Add a NetworkTemplate matcher for ConnectivityManager#TYPE_PROXY." into nyc-dev

8 years agoMerge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev
Alex Klyubin [Thu, 24 Mar 2016 19:46:42 +0000 (19:46 +0000)]
Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev

8 years agoMerge "Add refBitmap tests" into nyc-dev
Chris Craik [Thu, 24 Mar 2016 19:44:14 +0000 (19:44 +0000)]
Merge "Add refBitmap tests" into nyc-dev

8 years agoMerge "Disabling affiliated tasks." into nyc-dev
Winson Chung [Thu, 24 Mar 2016 19:10:47 +0000 (19:10 +0000)]
Merge "Disabling affiliated tasks." into nyc-dev

8 years agoMerge "Do not adjust child windows placement for fit to display." into nyc-dev
Rob Carr [Thu, 24 Mar 2016 19:08:40 +0000 (19:08 +0000)]
Merge "Do not adjust child windows placement for fit to display." into nyc-dev

8 years agoDo not adjust child windows placement for fit to display.
Robert Carr [Thu, 24 Mar 2016 06:00:59 +0000 (23:00 -0700)]
Do not adjust child windows placement for fit to display.

Consider the case where we have made a child windows parent
and task smaller in the docked stack but the client has not
yet caught up and requested a new size for the child window.
In this case it is possible for the child windows requested
layout to extend beyond the bounds of the available display area
(in this case the containing frame). Our intended behavior is
to clip this extra area, while preserving the relative offset
of the child and parent window. If we apply gravity to fit within
the display frame, the behavior will instead be to modify
this offset in order to reduce the amount of cropped window.
While this is a sensible idea for laying out fullscreen tasks, it
is not helpful for windows layed out in the parent frame.

Bug: 27687126
Bug: 27676101
Bug: 27601572
Change-Id: I80607a29506dc5a127ac0eab12c2aeb9450e13f6

8 years agoMerge "Support getResource*Name() methods for Resources" into nyc-dev
Deepanshu Gupta [Thu, 24 Mar 2016 19:04:20 +0000 (19:04 +0000)]
Merge "Support getResource*Name() methods for Resources" into nyc-dev

8 years agoIgnore signature stripping protection for preinstalled APKs.
Alex Klyubin [Thu, 24 Mar 2016 19:02:20 +0000 (12:02 -0700)]
Ignore signature stripping protection for preinstalled APKs.

The current build process may currently strip APK Signature Scheme v2
signatures from prebuilt APKs to be installed on the system or vendor
partitions. However, it leaves intact the signature scheme rollback
protections introduced by APK Signature Scheme v2. Due to a bug, when
the system extracts signer certificates from preinstalled APKs, it
encounters the rollback protection and aborts the extraction process.
This manifests itself as some preinstalled packages not appearing as
installed.

This change makes the system ignore signature scheme rollback
protections when extracting certificates from preinstalled APKs. This
is fine because the process of extracting certificates from
preinstalled APKs does not care about validity/integrity of signatures
and the APKs. It only cares about extracting signer certificates.

Bug: 27829513
Change-Id: I3bed463e776b057e93a0fce915db4014946be1f9

8 years agoSupport getResource*Name() methods for Resources
Deepanshu Gupta [Sat, 19 Mar 2016 02:39:58 +0000 (19:39 -0700)]
Support getResource*Name() methods for Resources

The following methods are now supported:
getResourceEntryName
getResourcePackageName
getResourceTypeName
getResourceName

Bug: http://b.android.com/181872
Change-Id: If06b5e0687ab6f8cb20ab77f339870dd08a84ce1

8 years agoMerge "Ensure correct width and height are used during popup positioning" into nyc-dev
Alan Viverette [Thu, 24 Mar 2016 18:33:56 +0000 (18:33 +0000)]
Merge "Ensure correct width and height are used during popup positioning" into nyc-dev

8 years agoMerge "Declare provider.Settings intent for VPN fragment" into nyc-dev
Robin Lee [Thu, 24 Mar 2016 18:32:51 +0000 (18:32 +0000)]
Merge "Declare provider.Settings intent for VPN fragment" into nyc-dev

8 years agoTurn off verbose logs and remove log that is covered by verbose logs.
Joe Onorato [Fri, 18 Mar 2016 20:34:13 +0000 (13:34 -0700)]
Turn off verbose logs and remove log that is covered by verbose logs.

Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344

8 years agoFix crash in writing battery stats to health stats
Joe Onorato [Thu, 17 Mar 2016 23:21:23 +0000 (16:21 -0700)]
Fix crash in writing battery stats to health stats

Bug: 23147564
Change-Id: Icfa34b637deedc60b839ba73f875c0008c68695b

8 years agoMerge "Allow setting doze timeouts based on system feature" into nyc-dev
Joe LaPenna [Thu, 24 Mar 2016 18:18:24 +0000 (18:18 +0000)]
Merge "Allow setting doze timeouts based on system feature" into nyc-dev

8 years agoAdd refBitmap tests
Chris Craik [Thu, 24 Mar 2016 18:10:08 +0000 (11:10 -0700)]
Add refBitmap tests

Change-Id: I769457ff8934689bf425bab34a65d2a743959f9d

8 years agoEnsure correct width and height are used during popup positioning
Alan Viverette [Thu, 24 Mar 2016 18:08:24 +0000 (14:08 -0400)]
Ensure correct width and height are used during popup positioning

Passes the width and height into findDropDownPosition() rather than
relying on global state. Ensures that an update is forced if any
aspects of the LayoutParams are changed during drop down position
computetion. Cleans up method and argument naming.

Bug: 27819843
Change-Id: Id85e2a0e81e0ea6a754dadf7c1d1c2493a5979b0

8 years agoMerge changes I16312592,Iadfc226e into nyc-dev
Yohei Yukawa [Thu, 24 Mar 2016 17:54:20 +0000 (17:54 +0000)]
Merge changes I16312592,Iadfc226e into nyc-dev

* changes:
  Revert "Remove redundant IMM#mServedInputConnection."
  Revert "Make sure to call back reportFinish() on the desired Handler."

8 years agoMerge "ScanResult: add clarifying comments to |flags| and |capabilities| fields"...
Samuel Tan [Thu, 24 Mar 2016 17:46:20 +0000 (17:46 +0000)]
Merge "ScanResult: add clarifying comments to |flags| and |capabilities| fields" into nyc-dev