OSDN Git Service

android-x86/frameworks-base.git
8 years agoDisabling timer
Winson [Tue, 1 Mar 2016 20:05:59 +0000 (12:05 -0800)]
Disabling timer

- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default).  When
  disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
  curve.  This allows us to allocate specific space for the front most
  tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
  transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
  or undocking a task.

Bug: 27409035

Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9

8 years agoMerge "New CarrierMessagingService API for sms filtering" into nyc-dev
Ji Yang [Thu, 3 Mar 2016 21:10:44 +0000 (21:10 +0000)]
Merge "New CarrierMessagingService API for sms filtering" into nyc-dev

8 years agoMerge "Added more log points for add/remove in window manager." into nyc-dev
Wale Ogunwale [Thu, 3 Mar 2016 21:10:16 +0000 (21:10 +0000)]
Merge "Added more log points for add/remove in window manager." into nyc-dev

8 years agoMerge "Use modified android_dlwarning" into nyc-dev
Dimitry Ivanov [Thu, 3 Mar 2016 21:07:52 +0000 (21:07 +0000)]
Merge "Use modified android_dlwarning" into nyc-dev

8 years agoNew CarrierMessagingService API for sms filtering
Ji Yang [Tue, 23 Feb 2016 00:59:37 +0000 (16:59 -0800)]
New CarrierMessagingService API for sms filtering

Add a new sms filtering method to let the carrier app tell
the platform to keep the message while keep it invisible to
the end user.

BUG: 27292180
Change-Id: I306a7dbde6dcb9929e358b3d1bbda9807ef35943

8 years agoMerge "Trim " (deleted)" from map names" into nyc-dev
Mathieu Chartier [Thu, 3 Mar 2016 21:04:33 +0000 (21:04 +0000)]
Merge "Trim " (deleted)" from map names" into nyc-dev

8 years agoMerge "MediaPlayer: use local variable to check member is null." into nyc-dev
Wei Jia [Thu, 3 Mar 2016 21:03:22 +0000 (21:03 +0000)]
Merge "MediaPlayer: use local variable to check member is null." into nyc-dev

8 years agoTrim " (deleted)" from map names
Mathieu Chartier [Thu, 3 Mar 2016 18:59:33 +0000 (10:59 -0800)]
Trim " (deleted)" from map names

Fixes application images to show as .art instead of GC accounting.
This was caused by storing the image in an anonymous map.

Bug: 27471334
Change-Id: I1a9584ab56cd7674df3832304886c743dafee731

8 years agoMerge "Reintroduce priority to notification sorting order." into nyc-dev
Julia Reynolds [Thu, 3 Mar 2016 20:32:07 +0000 (20:32 +0000)]
Merge "Reintroduce priority to notification sorting order." into nyc-dev

8 years agoMerge "Camera: Fix error handling for reading in vendor tags" into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 20:21:00 +0000 (20:21 +0000)]
Merge "Camera: Fix error handling for reading in vendor tags" into nyc-dev

8 years agoMerge "Fix unexpected ellipsize for long suggestion text." into nyc-dev
Seigo Nonaka [Thu, 3 Mar 2016 20:20:43 +0000 (20:20 +0000)]
Merge "Fix unexpected ellipsize for long suggestion text." into nyc-dev

8 years agoMerge "[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_...
Pirama Arumuga Nainar [Thu, 3 Mar 2016 20:13:07 +0000 (20:13 +0000)]
Merge "[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_16" into nyc-dev

8 years agoMerge "[RenderScript] Allow copyTo(short[]) etc for Float16 Allocations" into nyc-dev
Pirama Arumuga Nainar [Thu, 3 Mar 2016 20:12:49 +0000 (20:12 +0000)]
Merge "[RenderScript] Allow copyTo(short[]) etc for Float16 Allocations" into nyc-dev

8 years agoReintroduce priority to notification sorting order.
Julia Reynolds [Thu, 3 Mar 2016 16:22:12 +0000 (11:22 -0500)]
Reintroduce priority to notification sorting order.

Bug: 27387966
Change-Id: I7de7c4688c9774c2dbd9ea7f2c69566cb66b7285

8 years agoMerge "Switch to socket communication with uncrypt." into nyc-dev
Tao Bao [Thu, 3 Mar 2016 19:52:43 +0000 (19:52 +0000)]
Merge "Switch to socket communication with uncrypt." into nyc-dev

8 years agoCamera: Fix error handling for reading in vendor tags
Eino-Ville Talvala [Thu, 3 Mar 2016 19:50:39 +0000 (11:50 -0800)]
Camera: Fix error handling for reading in vendor tags

- Fix bad format string for the unexpected error case
- Add expected error case for devices with no camera HAL module

Bug: 27465574
Change-Id: I0e77a689df402de96553b81274be85da7397e08e

8 years agoMerge "Make sure perceptible services are in the default sched group." into nyc-dev
Tim Murray [Thu, 3 Mar 2016 19:48:26 +0000 (19:48 +0000)]
Merge "Make sure perceptible services are in the default sched group." into nyc-dev

8 years agoMerge "Work on issue #24403813: ANR traces are too heavyweight." into nyc-dev
Dianne Hackborn [Thu, 3 Mar 2016 19:48:11 +0000 (19:48 +0000)]
Merge "Work on issue #24403813: ANR traces are too heavyweight." into nyc-dev

8 years agoMerge "Add APIs to find out the time when a process was created." into nyc-dev
Dianne Hackborn [Thu, 3 Mar 2016 19:47:54 +0000 (19:47 +0000)]
Merge "Add APIs to find out the time when a process was created." into nyc-dev

8 years agoMerge "AudioService: update device info when ENCODED_SURROUND_OUTPUT changed" into...
Phil Burk [Thu, 3 Mar 2016 19:42:55 +0000 (19:42 +0000)]
Merge "AudioService: update device info when ENCODED_SURROUND_OUTPUT changed" into nyc-dev

8 years agoMake sure perceptible services are in the default sched group.
Tim Murray [Thu, 3 Mar 2016 17:52:07 +0000 (09:52 -0800)]
Make sure perceptible services are in the default sched group.

bug 27381069

Change-Id: Ic3b9901a914020105bfa36a2c133a448f030da4f

8 years agoMerge "Show proper icons for SD and USB attached storage." into nyc-dev
Steve McKay [Thu, 3 Mar 2016 19:39:16 +0000 (19:39 +0000)]
Merge "Show proper icons for SD and USB attached storage." into nyc-dev

8 years agoMerge "Guard against null component when binding KeyChain" into nyc-dev
Robin Lee [Thu, 3 Mar 2016 19:11:35 +0000 (19:11 +0000)]
Merge "Guard against null component when binding KeyChain" into nyc-dev

8 years agoAdded more log points for add/remove in window manager.
Wale Ogunwale [Thu, 3 Mar 2016 19:03:26 +0000 (11:03 -0800)]
Added more log points for add/remove in window manager.

Bug: 27286867
Change-Id: Iecb522a1ff7e093a8feef27fdd68c50b9a80d553

8 years agoShow proper icons for SD and USB attached storage.
Steve McKay [Wed, 2 Mar 2016 23:15:00 +0000 (15:15 -0800)]
Show proper icons for SD and USB attached storage.

Use USB icon for MTP devices.

Bug: 26883880
Change-Id: I8ce85ffc915a012dca79a5de1cc7c74361776792

8 years agoGuard against null component when binding KeyChain
Robin Lee [Mon, 29 Feb 2016 18:55:35 +0000 (18:55 +0000)]
Guard against null component when binding KeyChain

If keychain is removed from a device, there will be no sensible
resolution and client apps will bind to whatever is available.

Doesn't affect system apps which are forcibly prevented from wildcard
binding.

Bug: 27475655
Change-Id: Ide1aab3778e12f0b9a96662deb297a76d2f4997f

8 years agoMerge "TextView should fade edges according to text." into nyc-dev
Siyamed Sinir [Thu, 3 Mar 2016 18:43:21 +0000 (18:43 +0000)]
Merge "TextView should fade edges according to text." into nyc-dev

8 years agoMerge "Email address autolink regex updates." into nyc-dev
Siyamed Sinir [Thu, 3 Mar 2016 18:42:57 +0000 (18:42 +0000)]
Merge "Email address autolink regex updates." into nyc-dev

8 years agoMerge "Update EditText.setEllipsize JavaDoc" into nyc-dev
Siyamed Sinir [Thu, 3 Mar 2016 18:42:42 +0000 (18:42 +0000)]
Merge "Update EditText.setEllipsize JavaDoc" into nyc-dev

8 years agoMerge "Fix incremental build" into nyc-dev
Eino-Ville Talvala [Thu, 3 Mar 2016 18:36:36 +0000 (18:36 +0000)]
Merge "Fix incremental build" into nyc-dev

8 years agoMerge "Update restricted icon." into nyc-dev
Sudheer Shanka [Thu, 3 Mar 2016 18:31:50 +0000 (18:31 +0000)]
Merge "Update restricted icon." into nyc-dev

8 years agoMerge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev
Sudheer Shanka [Thu, 3 Mar 2016 18:26:44 +0000 (18:26 +0000)]
Merge "Part1: Show the restricted lock icon in place of the pref widget." into nyc-dev

8 years agoFix incremental build
Eino-Ville Talvala [Thu, 3 Mar 2016 18:19:27 +0000 (10:19 -0800)]
Fix incremental build

Remove old generated camera AIDL code

Change-Id: I8293c08abb94ca0abca1fb2e892586202ccc3443

8 years agoMediaPlayer: use local variable to check member is null.
Wei Jia [Thu, 3 Mar 2016 18:02:19 +0000 (10:02 -0800)]
MediaPlayer: use local variable to check member is null.

Bug: 26961341
Change-Id: I343b18f4bfaba9b119a6721e1b39415474149d75

8 years agoMerge "Fix inline controls from being swipeable" into nyc-dev
Mady Mellor [Thu, 3 Mar 2016 17:58:20 +0000 (17:58 +0000)]
Merge "Fix inline controls from being swipeable" into nyc-dev

8 years agoMerge "Add logging for actions around gear behind notifications" into nyc-dev
Mady Mellor [Thu, 3 Mar 2016 17:57:40 +0000 (17:57 +0000)]
Merge "Add logging for actions around gear behind notifications" into nyc-dev

8 years agoMerge "Control AccessibilityServices with one setting." into nyc-dev
Phil Weaver [Thu, 3 Mar 2016 17:47:31 +0000 (17:47 +0000)]
Merge "Control AccessibilityServices with one setting." into nyc-dev

8 years agoMerge "Set flags in RS JNI calls for rsObj creation" into nyc-dev
Yang Ni [Thu, 3 Mar 2016 17:04:59 +0000 (17:04 +0000)]
Merge "Set flags in RS JNI calls for rsObj creation" into nyc-dev

8 years agoMerge "Fix crash for showing linker errors for apps with no label" into nyc-dev
Adam Powell [Thu, 3 Mar 2016 17:04:22 +0000 (17:04 +0000)]
Merge "Fix crash for showing linker errors for apps with no label" into nyc-dev

8 years agoMerge "PIP: Fix move to full screen" into nyc-dev
Jaewan Kim [Thu, 3 Mar 2016 16:57:31 +0000 (16:57 +0000)]
Merge "PIP: Fix move to full screen" into nyc-dev

8 years agoMerge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
Jeremy Joslin [Thu, 3 Mar 2016 16:54:28 +0000 (16:54 +0000)]
Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
am: 3f7314e331

* commit '3f7314e3310fbaddc984ae3218f7bb22f13cda11':
  Revert "New systemapi to mark a wifi network as metered."

8 years agoMerge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev
Jeremy Joslin [Thu, 3 Mar 2016 16:49:27 +0000 (16:49 +0000)]
Merge "Revert "New systemapi to mark a wifi network as metered."" into mm-wireless-dev

8 years agoSet flags in RS JNI calls for rsObj creation
Yang Ni [Thu, 7 Jan 2016 22:57:16 +0000 (14:57 -0800)]
Set flags in RS JNI calls for rsObj creation

Bug: 25570907

Added a flag to all RS runtime API for rsObj creation to indicate a
call is from Java. This flag will help us avoid incrementing the user
ref count for rsObj's created from Single-Source RS, and therefore
avoid memory leaks for such objects.

Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf
(cherry picked from commit ad88055821a7aba3318f066c4e5f87bd0315462c)

8 years agoFix crash for showing linker errors for apps with no label
Adam Powell [Thu, 3 Mar 2016 16:43:37 +0000 (08:43 -0800)]
Fix crash for showing linker errors for apps with no label

Use ApplicationInfo#loadLabel to provide the standard fallback chain
of strings to identify an app instead of getString on the raw label
resource id, which will throw a NotFoundException if 0.

Bug 27469189

Change-Id: I344273c600f029361f3accfe5d91b0d332635b3d

8 years agoControl AccessibilityServices with one setting.
Phil Weaver [Mon, 29 Feb 2016 21:57:31 +0000 (13:57 -0800)]
Control AccessibilityServices with one setting.

Accessibility services were controlled by two settings:
ENABLED_ACCESSIBILITY_SERVICES and ACCESSIBILITY_ENABLED. These
settings needed to be changed together, and race conditions could
creating inconsistent states as ACCESSIBILITY_ENABLED was also
changed by the framework itself.

Restructuring to keep ACCESSIBILITY_ENABLED up-to-date, but not to
use it to decide whether or not to enable accessibility. Enabling
is controlled solely by ENABLED_ACCESSIBILITY_SERVICES.

Bug: 27455234
Change-Id: I9ab1e5936080c1b0dd8410dd6e8666e7f6eaccf3

8 years agoMerge "media: Add track ID format key" into nyc-dev
Lajos Molnar [Thu, 3 Mar 2016 16:14:24 +0000 (16:14 +0000)]
Merge "media: Add track ID format key" into nyc-dev

8 years agomedia: Add track ID format key
Lajos Molnar [Fri, 26 Feb 2016 16:49:30 +0000 (08:49 -0800)]
media: Add track ID format key

Bug: 25684127
Change-Id: I574515c3c144f5cabe4f40d934d062de1dd20851

8 years agoMerge "media: correctly return cached size for MediaDataSource" into nyc-dev
Lajos Molnar [Thu, 3 Mar 2016 16:05:52 +0000 (16:05 +0000)]
Merge "media: correctly return cached size for MediaDataSource" into nyc-dev

8 years agoMerge "Inline settings update." into nyc-dev
Julia Reynolds [Thu, 3 Mar 2016 15:51:59 +0000 (15:51 +0000)]
Merge "Inline settings update." into nyc-dev

8 years agoMerge "Fix QS edit state being out of sync" into nyc-dev
Jason Monk [Thu, 3 Mar 2016 15:50:56 +0000 (15:50 +0000)]
Merge "Fix QS edit state being out of sync" into nyc-dev

8 years agoInline settings update.
Julia Reynolds [Thu, 3 Mar 2016 14:28:19 +0000 (09:28 -0500)]
Inline settings update.

-Show silently is IMPORTANCE_LOW, not DEFAULT.
-Select the correct default option.

Change-Id: Ic09174cf55fcc36a06abf1f8f39bc96beb931f69

8 years agoMerge "Add missing translate if the drawable top is not 0,0" into nyc-dev
Diego Perez [Thu, 3 Mar 2016 15:12:31 +0000 (15:12 +0000)]
Merge "Add missing translate if the drawable top is not 0,0" into nyc-dev

8 years agoAdd missing translate if the drawable top is not 0,0
Diego Perez [Thu, 3 Mar 2016 11:52:25 +0000 (11:52 +0000)]
Add missing translate if the drawable top is not 0,0

If the vector drawable coordinates are not 0,0 we need to translate the
canvas to that position.

Change-Id: I3a829c427ec98061da3295e3cba8655f693d390c

8 years agoHave ConnectivityService install packet filters when possible
Paul Jensen [Thu, 3 Mar 2016 14:48:45 +0000 (14:48 +0000)]
Have ConnectivityService install packet filters when possible
am: 578a76e7de

* commit '578a76e7de77492ac33e407fff4fb9a2f5550d8a':
  Have ConnectivityService install packet filters when possible

8 years agoAdd logging for actions around gear behind notifications
Mady Mellor [Fri, 12 Feb 2016 02:43:06 +0000 (18:43 -0800)]
Add logging for actions around gear behind notifications

Bug: 22451710
Change-Id: Ife93a9fb983e53585445d5827dd4c15f5b35d637

8 years agoMerge "Improve forward delete key handling." into nyc-dev
Seigo Nonaka [Thu, 3 Mar 2016 12:58:01 +0000 (12:58 +0000)]
Merge "Improve forward delete key handling." into nyc-dev

8 years agoTrack libcore change 2c423c81bfa731df2577a.
Narayan Kamath [Wed, 2 Mar 2016 14:30:08 +0000 (14:30 +0000)]
Track libcore change 2c423c81bfa731df2577a.

Also includes a regenerated test-current.txt.

bug: 27423298

(cherry picked from commit a1becdc6982d770737d6b56f974c4f5beb244076)

Change-Id: Iaa385947af79cee7b0fa1cde10d106411e2f67d2

8 years agoMerge "Better handling of various types of compilation in DexOptimizer" into nyc-dev
Calin Juravle [Thu, 3 Mar 2016 10:54:00 +0000 (10:54 +0000)]
Merge "Better handling of various types of compilation in DexOptimizer" into nyc-dev

8 years agoPIP: Fix move to full screen
Jaewan Kim [Thu, 3 Mar 2016 10:03:18 +0000 (19:03 +0900)]
PIP: Fix move to full screen

Change-Id: I6aeb230f77aef2c16c7a93a767b9a810407dfac3

8 years agoMerge "Implement native methods in VectorDrawable" into nyc-dev
Diego Perez [Thu, 3 Mar 2016 09:55:04 +0000 (09:55 +0000)]
Merge "Implement native methods in VectorDrawable" into nyc-dev

8 years agoMerge "Fix a regression in InputMethodUtils." into nyc-dev
Yohei Yukawa [Thu, 3 Mar 2016 09:30:35 +0000 (09:30 +0000)]
Merge "Fix a regression in InputMethodUtils." into nyc-dev

8 years agoMerge "Change libraries needed by layoutlib to "host" libs" into nyc-dev
Neil Fuller [Thu, 3 Mar 2016 09:11:07 +0000 (09:11 +0000)]
Merge "Change libraries needed by layoutlib to "host" libs" into nyc-dev

8 years agoFix a regression in InputMethodUtils.
Yohei Yukawa [Thu, 3 Mar 2016 08:34:27 +0000 (00:34 -0800)]
Fix a regression in InputMethodUtils.

It turns out that my previous CL [1] unexpectedly changed the behavior
of InputMethodUtils#getImplicitlyApplicableSubtypesLocked() in terms of
when "EnabledWhenDefaultIsNotAsciiCapable" extra value is taken into
account.

Suppose if an IME X has the following three subtypes:
 A. locale: en_US
    mode: handwriting
    extraValue:
 B. locale: hi
    mode: keyboard
    extraValue:
 C. locale: en_US
    mode: keyboard
    extraValue: AsciiCapable
 D. locale: zz
    mode: keyboard
    extraValue: AsciiCapable, EnabledWhenDefaultIsNotAsciiCapable

Given the above subtypes, here are results of what subtypes are enabled
by InputMethodUtils#getImplicitlyApplicableSubtypesLocked() I) before
the CL [1] and II) after the CL [1].

  - system language: hi:
      I:  B, D
     II:  B, D
  - system language: hi-IN:
      I:  B, D
     II:  B, D
  - system language: en-US
      I:  A, C
     II:  A, C
  - system language: en-GB
      I:  A, C
     II:  A, C
  - system language: ja-JP
      I:  B
     II:  D

What my previous CL actually broke is the the last one, and it's broken
because we accidentally started using
"EnabledWhenDefaultIsNotAsciiCapable" even when there is no subtype that
matches to the requested language.  Previously that attribute was used
if and only if 1) there is a subtype that matches the requested language
and 2) that subtype is not marked to be AsciiCapable.

If there there is no subtype that matches to the requested language,
what we had relied on is actually the result of
InputMethodUtils#findLastResortApplicableSubtypeLocked() called with
  canIgnoreLocaleAsLastResort = true,
which means that we had just picked up the first keyboard subtype as the
last fallback candidate regardless of it's locale.  This is why the
subtype B should be picked up in the last case where system language is
ja-JP.

This CL fixes the above unexpected behavior change regarding
"EnabledWhenDefaultIsNotAsciiCapable" so that the previous behavior can
be preserved.

  [1] Iaf179d60c12b9a98b4f097e2449471c4184e049b
      e985c240e3feb62ea38d5b4e386be083ca0f215b

Bug: 27129703
Bug: 27425459
Change-Id: Icd86cad955bf827a1eb41255f57fdf4ec315b93b

8 years agoSupport 464xlat on Ethernet.
Lorenzo Colitti [Thu, 3 Mar 2016 08:39:16 +0000 (08:39 +0000)]
Support 464xlat on Ethernet.
am: 853d741ce7

* commit '853d741ce739e0562e8b5386b8165e3d560fe7d4':
  Support 464xlat on Ethernet.

8 years agoHave ConnectivityService install packet filters when possible
Paul Jensen [Thu, 14 Jan 2016 19:54:39 +0000 (14:54 -0500)]
Have ConnectivityService install packet filters when possible

Listen for ICMP6 router advertisements on networks that support
packet filters.  Construct packet filters and install them to
ignore redundant future ICMP6 router advertisements.

Bug: 26238573
Change-Id: If78300b9fda257c21f3ee6533e1da7de9f897cb4

8 years agoSupport 464xlat on Ethernet.
Lorenzo Colitti [Thu, 3 Mar 2016 08:17:29 +0000 (17:17 +0900)]
Support 464xlat on Ethernet.

Bug: 26991160
Change-Id: I848c9e86e1ed337e95cfddda46723a9a1dcaed30

8 years agoMerge "Fix clearDeviceOwner() not working in split-user mode" into nyc-dev
Ricky Wai [Thu, 3 Mar 2016 06:02:30 +0000 (06:02 +0000)]
Merge "Fix clearDeviceOwner() not working in split-user mode" into nyc-dev

8 years agoMerge "Fix soundtrigger test, adds null pointer check" into nyc-dev
Ryan Bavetta [Thu, 3 Mar 2016 03:46:09 +0000 (03:46 +0000)]
Merge "Fix soundtrigger test, adds null pointer check" into nyc-dev

8 years agoMerge "Correctly determine when to show details cell." into nyc-dev
Steve McKay [Thu, 3 Mar 2016 03:21:25 +0000 (03:21 +0000)]
Merge "Correctly determine when to show details cell." into nyc-dev

8 years agoMerge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev
mukesh agrawal [Thu, 3 Mar 2016 03:12:46 +0000 (03:12 +0000)]
Merge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev
am: 2cdf03fe35

* commit '2cdf03fe3547e4d30f46463bca1bfe4e0a54ee04':
  add configuration knob for WifiLogger ringbuffers

8 years agoFix soundtrigger test, adds null pointer check
Ryan Bavetta [Thu, 3 Mar 2016 02:34:50 +0000 (18:34 -0800)]
Fix soundtrigger test, adds null pointer check

BUG:27461735
Change-Id: I95ea641e41bcaefce15004f508ddb4bed0b5f2a8

8 years agoMerge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev
Mukesh Agrawal [Thu, 3 Mar 2016 03:09:23 +0000 (03:09 +0000)]
Merge "add configuration knob for WifiLogger ringbuffers" into mm-wireless-dev

8 years agoUpdate restricted icon.
Sudheer Shanka [Tue, 23 Feb 2016 11:42:11 +0000 (11:42 +0000)]
Update restricted icon.

Bug: 25603665
Bug: 27263775
Change-Id: Ib66866cf536f15130f936d03d9328ee5b0b508c7

8 years ago[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_16
Pirama Arumuga Nainar [Wed, 2 Mar 2016 04:37:19 +0000 (20:37 -0800)]
[RenderScript] Enable untyped variants of Allocation-copy functions for FLOAT_16

http://b/27251511

Handle FLOAT_16 case to PER_ARRAY_TYPE macro to enable untyped variants
of Allocation-copy functions.

Untyped variants of Allocation-copy functions call
validateObjectIsPrimitiveArray(), with checkType parameter set to true,
to validate and obtain the Element type of the Allocation.  When
checkType is true, validateObjectIsPrimitiveArray() returns the actual
Element type of the Allocation (instead of the canonical SIGNED type).
Because of this, FLOAT_16 element type can reach the JNI layer,
necessitating this change to PER_ARRAY_TYPE macro.

Change-Id: I3651e5ae0ab0cd6bb4ad3157841e2910ac8699dc

8 years agoAdd APIs to find out the time when a process was created.
Dianne Hackborn [Wed, 2 Mar 2016 01:13:03 +0000 (17:13 -0800)]
Add APIs to find out the time when a process was created.

Change-Id: Id0d12c377f278fec6e31a98eab0c865a23c006ec

8 years agoMerge "Add API to clear a specific wallpaper" into nyc-dev
Chris Tate [Thu, 3 Mar 2016 01:30:33 +0000 (01:30 +0000)]
Merge "Add API to clear a specific wallpaper" into nyc-dev

8 years agoImprove forward delete key handling.
Seigo Nonaka [Sat, 27 Feb 2016 02:13:19 +0000 (18:13 -0800)]
Improve forward delete key handling.

Forward delete key now deletes characters until the next grapheme
cluster boundary.

Bug: 25737208
Bug: 27035430
Change-Id: Ie2fb510fefa115657cc48063be5319b1eecb30b9

8 years agoFix inline controls from being swipeable
Mady Mellor [Tue, 23 Feb 2016 17:52:17 +0000 (09:52 -0800)]
Fix inline controls from being swipeable

Currently you can swipe / translate inline controls, this
should not be possible. This CL fixes that.

Bug: 22451710
Change-Id: I3e048dce7df6d44ce80ee79bd449973bde0bc222

8 years agoMerge "Force show keyboard when presenting FragmentDialogs with EditText." into nyc-dev
Aga Wronska [Thu, 3 Mar 2016 01:06:43 +0000 (01:06 +0000)]
Merge "Force show keyboard when presenting FragmentDialogs with EditText." into nyc-dev

8 years agoAdd API to clear a specific wallpaper
Christopher Tate [Wed, 2 Mar 2016 22:42:44 +0000 (14:42 -0800)]
Add API to clear a specific wallpaper

There was previously no public API for clearing the keyguard wallpaper
versus the system wallpaper, or both.  Now there is.

Bug 27400185

Change-Id: If1789dd430040acdf16d77413c0e4b46bf3789f3

8 years agomedia: correctly return cached size for MediaDataSource
Lajos Molnar [Thu, 3 Mar 2016 01:03:19 +0000 (17:03 -0800)]
media: correctly return cached size for MediaDataSource

Bug: 27431229
Change-Id: I884e43960789c139b48964deba8f56b3bc3ba590

8 years agoMerge "Addressed the review comments from API Council" into nyc-dev
Lifu Tang [Thu, 3 Mar 2016 00:48:36 +0000 (00:48 +0000)]
Merge "Addressed the review comments from API Council" into nyc-dev

8 years agoAddressed the review comments from API Council
Lifu Tang [Sat, 27 Feb 2016 03:53:01 +0000 (19:53 -0800)]
Addressed the review comments from API Council

Following are the review comments from API Council:

(Places below that reference "s/foo/bar/" below are suggesting that "foo" be
 replaced with "bar".)

GnssClock
-- Class docs should not refer to "GPS" at the top level
-- s/InNs/Nanos/
-- s/Sec/Second/

GnssMeasurement
-- s/In// for "InUnitname"
-- s/Sec/Second/
-- s/Ms/Millis/
-- s/Deg/Degrees/
-- STATUS_GPS_LOCATION_DISABLED -> STATUS_GNSS_LOCATION_DISABLED

GnssMeasurementsEvent.Callback
-- "returns" -> "reports" in the method docs as the methods return void

LocationManager
-- register/unregisterGnssMeasurementEventCallback ->
   register/unregisterGnssMeasurementsEventCallback (plural)

GnssNavigationMessage
-- MESSAGE_TYPE_ constants -> change to just TYPE_; the "MESSAGE" is redundant
   with the class name
-- is a signed byte/short ok based on the standard here? If not consider using
   int in the public api

GnssStatus
-- Make sure @IntDef exists for the constellation type
-- Please append unit types for values returned to match GnssMeasurement methods

GnssStatusCallback
-- Please document time base/units for the time parameter of onFirstFix

Bug: 27385557
Change-Id: Ifed6a2eca3fd7ba89b3ded6964a70376235af8f4

8 years agoForce show keyboard when presenting FragmentDialogs with EditText.
Aga Wronska [Thu, 3 Mar 2016 00:00:22 +0000 (16:00 -0800)]
Force show keyboard when presenting FragmentDialogs with EditText.

Bug: 26823589
Change-Id: I593ed0e7ef40c9c95c311ca529d3826d73496458

8 years agoMerge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev
Vadim Tryshev [Thu, 3 Mar 2016 00:28:16 +0000 (00:28 +0000)]
Merge "Adding getManagedUserBadgedDrawableForDensity() to PackageManager." into nyc-dev

8 years agoWork on issue #24403813: ANR traces are too heavyweight.
Dianne Hackborn [Wed, 2 Mar 2016 23:49:58 +0000 (15:49 -0800)]
Work on issue #24403813: ANR traces are too heavyweight.

Most of the changes here are optional debugging output.

The actual functional changes:

(1) One of the ANR paths was not being dispatched on the activity
manager's handler, so it could execute concurrently with other
ANR collection, conflicting with the ANR file.
(2) Bumped up the timeout for trace collection from 200ms to
1000ms.  This should fix problems where some process were not
being included, since once one of the collections times out we
can no longer keep synchronized with anything else after and
could end up with data getting corrupt or blown away.

Change-Id: If6828d2dea1a25cd6d2334a652b1b31654d9062f

8 years agoMerge "Adjusted the behavior when expanding the notification panel" into nyc-dev
Selim Cinek [Wed, 2 Mar 2016 23:55:29 +0000 (23:55 +0000)]
Merge "Adjusted the behavior when expanding the notification panel" into nyc-dev

8 years agoMerge "Fix merged bitmap mesh generation and reenable merging" into nyc-dev
Chris Craik [Wed, 2 Mar 2016 23:55:26 +0000 (23:55 +0000)]
Merge "Fix merged bitmap mesh generation and reenable merging" into nyc-dev

8 years agoAdjusted the behavior when expanding the notification panel
Selim Cinek [Wed, 2 Mar 2016 01:52:20 +0000 (17:52 -0800)]
Adjusted the behavior when expanding the notification panel

The topmost notification is now not collapsed anymore but slides in
expanded from the top. Therefore it's layout doesn't need to animate
anymore. This also cleans up a lot of code in the algorithm which was
depending on this resizing which isn't needed anymore.
In order to have that transition working perfectly, the padding when
collapsing a card is now the same as the slowdown length.
Also improved the logic when notification contents are allowed to
animate and when not.
Also fixed a bug where the top notification was cut off when QS was
expanded.

Bug: 27402534
Bug: 18434284
Change-Id: I31afa199d38d94e74fd45500c2236ffdb51d989d

8 years agoMerge "Voice Messaging Intent API." into nyc-dev
Renat Aksitov [Wed, 2 Mar 2016 23:47:23 +0000 (23:47 +0000)]
Merge "Voice Messaging Intent API." into nyc-dev

8 years agoMerge "Handle multiple animation actions within one frame" into nyc-dev
Doris Liu [Wed, 2 Mar 2016 23:39:02 +0000 (23:39 +0000)]
Merge "Handle multiple animation actions within one frame" into nyc-dev

8 years agoMerge "Add more JavaDoc to InputConnectionWrapper." into nyc-dev
Yohei Yukawa [Wed, 2 Mar 2016 23:35:34 +0000 (23:35 +0000)]
Merge "Add more JavaDoc to InputConnectionWrapper." into nyc-dev

8 years agoFix merged bitmap mesh generation and reenable merging
Chris Craik [Wed, 2 Mar 2016 20:29:56 +0000 (12:29 -0800)]
Fix merged bitmap mesh generation and reenable merging

bug:26793764
bug:26569206
Change-Id: I54628e99b61f58f5726a387ea3599c29695c0efc

8 years agoMerge "More protected broadcasts!" into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 23:24:21 +0000 (23:24 +0000)]
Merge "More protected broadcasts!" into nyc-dev

8 years agoMore protected broadcasts!
Jeff Sharkey [Wed, 2 Mar 2016 23:21:58 +0000 (16:21 -0700)]
More protected broadcasts!

Bug: 26144973
Change-Id: I56f047d7e4b9d7bcf1ac40c98ee381badd909057

8 years agoMerge "Use device model and name for internal storage." into nyc-dev
Steve McKay [Wed, 2 Mar 2016 23:03:39 +0000 (23:03 +0000)]
Merge "Use device model and name for internal storage." into nyc-dev

8 years agoMerge "Attempt to fix bug where OwnerInfo gets lost." into nyc-dev
Jim Miller [Wed, 2 Mar 2016 23:01:58 +0000 (23:01 +0000)]
Merge "Attempt to fix bug where OwnerInfo gets lost." into nyc-dev

8 years agoUse device model and name for internal storage.
Steve McKay [Wed, 2 Mar 2016 19:35:39 +0000 (11:35 -0800)]
Use device model and name for internal storage.

Bug: 27157923
Change-Id: I1d723e33fa871565fbd187509ffb05f691f030ac

8 years agoAdding getManagedUserBadgedDrawableForDensity() to PackageManager.
Vadim Tryshev [Thu, 18 Feb 2016 23:41:21 +0000 (15:41 -0800)]
Adding getManagedUserBadgedDrawableForDensity() to PackageManager.

It allows badging an image regardless of of the user (no
user id parameter). The styling for managed users is applied.

This is useful for new cases where the existing functions
wouldn't badge the icon, but we need it.

Bug: 25192539
Change-Id: I2fd2f226f626fb2e6cda1cfe072013350e12b41c

8 years agoMerge "Revert the default wall paper for framework / emulator b/27451024 Change-Id...
Hyunyoung Song [Wed, 2 Mar 2016 22:54:04 +0000 (22:54 +0000)]
Merge "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a" into nyc-dev