OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add cursor positioning tests for emoji." into nyc-dev
Seigo Nonaka [Thu, 24 Mar 2016 03:45:55 +0000 (03:45 +0000)]
Merge "Add cursor positioning tests for emoji." into nyc-dev

8 years agoMerge "Adding workaround for crash." into nyc-dev
Winson Chung [Thu, 24 Mar 2016 03:25:27 +0000 (03:25 +0000)]
Merge "Adding workaround for crash." into nyc-dev

8 years agoMerge "Scroll to remote input view" into nyc-dev
Adrian Roos [Thu, 24 Mar 2016 02:52:31 +0000 (02:52 +0000)]
Merge "Scroll to remote input view" into nyc-dev

8 years agoMerge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev
Daichi Hirono [Thu, 24 Mar 2016 02:50:17 +0000 (02:50 +0000)]
Merge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev

8 years agoMerge "IMS: Changes for MultiEndpoint" into nyc-dev
Tyler Gunn [Thu, 24 Mar 2016 02:39:07 +0000 (02:39 +0000)]
Merge "IMS: Changes for MultiEndpoint" into nyc-dev

8 years agoMerge changes I84516d07,I1da274bf,Ie478c562,I1eac1dce into nyc-dev
Winson Chung [Thu, 24 Mar 2016 02:29:30 +0000 (02:29 +0000)]
Merge changes I84516d07,I1da274bf,Ie478c562,I1eac1dce into nyc-dev

* changes:
  Tweaking scroll-to-launch task animation.
  Completely removing dead code related to history view.
  Completely removing dead code related to search widget.
  Iterating on stack layout

8 years agoAdding workaround for crash.
Winson [Thu, 24 Mar 2016 02:00:28 +0000 (19:00 -0700)]
Adding workaround for crash.

Bug: 27815919
Change-Id: I04d70d16dd8b8281ba1ffbba056d475d834d5b54

8 years agoIMS: Changes for MultiEndpoint
Anju Mathapati [Thu, 10 Mar 2016 20:57:21 +0000 (12:57 -0800)]
IMS: Changes for MultiEndpoint

- Change in api names

Change-Id: I9317c391d0017f5079ab488abe0bd1e949317bce

8 years agoMerge "Expand call/connection extras API." into nyc-dev
Tyler Gunn [Thu, 24 Mar 2016 02:13:45 +0000 (02:13 +0000)]
Merge "Expand call/connection extras API." into nyc-dev

8 years agoTweaking scroll-to-launch task animation.
Winson [Thu, 24 Mar 2016 01:44:26 +0000 (18:44 -0700)]
Tweaking scroll-to-launch task animation.

- Always scroll so that the launch task is focused

Change-Id: I84516d0799ad0b308cfa458f4ce79c82acc48f51

8 years agoMerge "Frameworks/base: Refactor package manager" into nyc-dev
Andreas Gampe [Thu, 24 Mar 2016 01:59:22 +0000 (01:59 +0000)]
Merge "Frameworks/base: Refactor package manager" into nyc-dev

8 years agoCompletely removing dead code related to history view.
Winson [Sat, 19 Mar 2016 00:51:48 +0000 (17:51 -0700)]
Completely removing dead code related to history view.

- This CL repurposes the history button above the stack to a more
  generic “stack action” button in preparation for a future change.

Bug: 27742174
Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432

8 years agoCompletely removing dead code related to search widget.
Winson [Sat, 19 Mar 2016 00:17:25 +0000 (17:17 -0700)]
Completely removing dead code related to search widget.

Bug: 27742174
Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5

8 years agoIterating on stack layout
Winson [Thu, 17 Mar 2016 21:13:18 +0000 (14:13 -0700)]
Iterating on stack layout

- Tweaking initial layout to show more of the next task
- Bounding the width of the stack to the smallest display edge length
- Fixing issue where the screen pinning button was not shown when
  entering recents from home, and the task view clip state was not
  restored correctly for tasks in front of the launch task.
- Fixing issue where there was no alpha during the transition to/from
  home
- Refactoring and removing unused dimens, and moved remaining layout
  calculation logic out of RecentsConfiguration.
- Fixing small regression in finding task anchor scroll points. This
  caused tasks to be animated strangely when swiping to dismiss and
  the task had an override task progress.
- Fixing several regressions in drag and drop due to override progresses

Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d

8 years agoMerge "ExifInterface: fix creating pointer tags which indicate 0 offset" into nyc-dev
Jaesung Chung [Thu, 24 Mar 2016 01:43:05 +0000 (01:43 +0000)]
Merge "ExifInterface: fix creating pointer tags which indicate 0 offset" into nyc-dev

8 years agoMerge "Refactor SystemServicesProxy to manage ITaskStackListener locally" into nyc-dev
Jaewan Kim [Thu, 24 Mar 2016 01:31:40 +0000 (01:31 +0000)]
Merge "Refactor SystemServicesProxy to manage ITaskStackListener locally" into nyc-dev

8 years agoRefactor SystemServicesProxy to manage ITaskStackListener locally
Jaewan Kim [Mon, 14 Mar 2016 08:35:43 +0000 (17:35 +0900)]
Refactor SystemServicesProxy to manage ITaskStackListener locally

This reduces the IPC calls between system service and SystemUI app.

Bug: 27635150
Change-Id: I6886edbc8e3736416af06c8de204f2a3b470ccd1

8 years agoMerge "Fix NinePatch insets scaling" into nyc-dev
Sergei Vasilinetc [Thu, 24 Mar 2016 01:22:06 +0000 (01:22 +0000)]
Merge "Fix NinePatch insets scaling" into nyc-dev

8 years agoScroll to remote input view
Adrian Roos [Tue, 22 Mar 2016 17:01:56 +0000 (10:01 -0700)]
Scroll to remote input view

Bug: 27668960
Fixes: 27668960
Change-Id: Ie8f7858257922362b289ea4e4e22e689e1405e58

8 years agoMerge "Add guard to access drawer toolbar when setting accessibility, because this...
Aga Wronska [Thu, 24 Mar 2016 00:43:19 +0000 (00:43 +0000)]
Merge "Add guard to access drawer toolbar when setting accessibility, because this toolbar does not exist in fixed_layout mode." into nyc-dev

8 years agoMerge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Thu, 24 Mar 2016 00:40:06 +0000 (00:40 +0000)]
Merge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev

8 years agoFrameworks/base: Refactor package manager
Andreas Gampe [Sun, 20 Mar 2016 18:32:11 +0000 (11:32 -0700)]
Frameworks/base: Refactor package manager

Introduce a mapping between dexopt reasons and compiler filters. Use
reasons in package manager and other classes, where possible.

Change PackageDexOptimizer to accept a compilation filter. Adapt for
the split-out profile merging. Pass compilation filter to installd.

Bug: 27689078
Change-Id: I8c0ea6f10fbfdbd096adecc52abfd2466d048fdc

8 years agoExpand call/connection extras API.
Tyler Gunn [Wed, 23 Mar 2016 23:06:34 +0000 (16:06 -0700)]
Expand call/connection extras API.

Currently, connection extras are propagated up to Telecom as an
entire bundle.  This is not ideal, as any time a change is made to
the extras, the bundle needs to be fetched, changed, and then re-set on
the connection, where it is parceled to Telecom as a whole.

Using how extras on an Intent as inspiration, this CL adds separate
putExtras, putExtra, and removeExtra methods to allow manipulation of
the extras bundle without operating on it in its entirety.

This Cl also adds support for Calls modifying the extras bundle, with
changes propagated back down to ConnectionServices.

Bug: 27458894
Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961

8 years agoMerge "Properly handle whitespace in domain entries" into nyc-dev
Chad Brubaker [Wed, 23 Mar 2016 22:44:09 +0000 (22:44 +0000)]
Merge "Properly handle whitespace in domain entries" into nyc-dev

8 years agoMerge " fix Memory Leak caused by PhoneStateListener" into nyc-dev
Chen Xu [Wed, 23 Mar 2016 22:37:20 +0000 (22:37 +0000)]
Merge " fix Memory Leak caused by PhoneStateListener" into nyc-dev

8 years agoMerge "Localize owner's name to current locale until changed" into nyc-dev
Amith Yamasani [Wed, 23 Mar 2016 22:33:15 +0000 (22:33 +0000)]
Merge "Localize owner's name to current locale until changed" into nyc-dev

8 years agoProperly handle whitespace in domain entries
Chad Brubaker [Wed, 23 Mar 2016 21:59:14 +0000 (14:59 -0700)]
Properly handle whitespace in domain entries

Domain entries can contain whitespace (or newlines) which should be
ignored to avoid unexpectedly failing to match a domain.

Bug: 27816377
Change-Id: I3691aa4abd409e7be97ad0cf1eb0195725e1b0ab

8 years agoMerge "Fix bugs around restoring nested retained instance fragments" into nyc-dev
Adam Powell [Wed, 23 Mar 2016 22:27:30 +0000 (22:27 +0000)]
Merge "Fix bugs around restoring nested retained instance fragments" into nyc-dev

8 years agoMerge "Use canonical name for SHA1withECDSA" into nyc-dev
Kenny Root [Wed, 23 Mar 2016 22:17:04 +0000 (22:17 +0000)]
Merge "Use canonical name for SHA1withECDSA" into nyc-dev

8 years agoAdd guard to access drawer toolbar when setting accessibility, because this toolbar...
Aga Wronska [Wed, 23 Mar 2016 22:11:25 +0000 (15:11 -0700)]
Add guard to access drawer toolbar when setting accessibility, because this toolbar does not exist in
fixed_layout mode.

Change-Id: Iaccbdf848b7d1e9ccb7c4cca3afd153a2246e68d
Fixed: 27812831

8 years agoMerge "Don't save secure surfaces." into nyc-dev
Wale Ogunwale [Wed, 23 Mar 2016 22:14:04 +0000 (22:14 +0000)]
Merge "Don't save secure surfaces." into nyc-dev

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 22:08:31 +0000 (22:08 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69 am: 1d508de am: 3b2ed11
am: 070b76e  -s ours

* commit '070b76e52100f0b9d2ce45f2884c639507c4c7d2':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 22:05:50 +0000 (22:05 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69 am: 1d508de
am: 3b2ed11

* commit '3b2ed11851f342f01bef3832e8603122698a3588':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:58:28 +0000 (21:58 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69
am: 1d508de

* commit '1d508decacf84e26db6164d30006166e0fc74f5f':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:53:57 +0000 (21:53 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours
am: 1450b69

* commit '1450b69182fd9b360d9dd4ec54d431560eb775e6':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb7...
Samuel Tan [Wed, 23 Mar 2016 21:51:40 +0000 (21:51 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73 am: fbfd7d0
am: 7dfe3d4  -s ours

* commit '7dfe3d4457cd3ff952c65c7fe0816e19b42e945f':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:49:16 +0000 (21:49 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022
am: f4fd201  -s ours

* commit 'f4fd20168fdf1ee19da63cc82c0893a288d8b759':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years agoMerge "Make sure to call back reportFinish() on the desired Handler." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 21:48:50 +0000 (21:48 +0000)]
Merge "Make sure to call back reportFinish() on the desired Handler." into nyc-dev

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:45:25 +0000 (21:45 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab
am: 3253022

* commit '325302206a0129bdf16a486232d5864d71e62a44':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73
Samuel Tan [Wed, 23 Mar 2016 21:45:23 +0000 (21:45 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73
am: fbfd7d0

* commit 'fbfd7d0c91ef84d12ca036462b54794076d06cdc':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours
Samuel Tan [Wed, 23 Mar 2016 21:40:45 +0000 (21:40 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours
am: c2712ab

* commit 'c2712ab7bd3bdeaf8945bc80154f402e1cf727bc':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4
Samuel Tan [Wed, 23 Mar 2016 21:40:23 +0000 (21:40 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4
am: 542bb73

* commit '542bb7307b2bf3dab337b56e392b778896f88ec6':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings
Samuel Tan [Wed, 23 Mar 2016 21:35:32 +0000 (21:35 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings
am: d385a6d  -s ours

* commit 'd385a6d95fc830ecc8d55937e9f46b14165d4b34':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings
Samuel Tan [Wed, 23 Mar 2016 21:35:30 +0000 (21:35 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings
am: d8c3ca4

* commit 'd8c3ca43163427a75c8b70114096238177f97af0':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years agoUse canonical name for SHA1withECDSA
Kenny Root [Wed, 23 Mar 2016 15:52:25 +0000 (08:52 -0700)]
Use canonical name for SHA1withECDSA

The Standard Names documentation says that "ECDSA" should not be used
due to its ambiguity. Bouncycastle has switched from "ECDSA" to
"SHA1withECDSA" so therefore we should switch this "workaround" Provider
to use the same name to keep it functioning correctly.

(cherry picked from commit 8a6c191094b3d1f74dbb71a7f262496377596ba8)

Bug: 27753949
Change-Id: I5acfca9d89c85bf005902a2f06cb5d7b1ef9dff2

8 years agoLocalize owner's name to current locale until changed
Amith Yamasani [Wed, 23 Mar 2016 21:28:25 +0000 (14:28 -0700)]
Localize owner's name to current locale until changed

Don't set a name for the system user and always return a localized
name until the user explicitly sets a name.

Bug: 27814125
Change-Id: I7972a45d77c07d9efbd67d5b360bacee46247a66

8 years agoMerge "sysui: refactor for extensibility" into nyc-dev
Xiaohui Chen [Wed, 23 Mar 2016 21:24:10 +0000 (21:24 +0000)]
Merge "sysui: refactor for extensibility" into nyc-dev

8 years ago fix Memory Leak caused by PhoneStateListener
fionaxu [Tue, 22 Mar 2016 22:09:55 +0000 (15:09 -0700)]
 fix Memory Leak caused by PhoneStateListener

 Bug: 22962661

Change-Id: Ibece746afc19dd6b71845a257b7bfb88a0f8e13f

8 years agoMerge "Exclude java namespace classes from layoutlib" into nyc-dev
Deepanshu Gupta [Wed, 23 Mar 2016 20:48:13 +0000 (20:48 +0000)]
Merge "Exclude java namespace classes from layoutlib" into nyc-dev

8 years agoMerge "Remove unnecessary strings and labels." into nyc-dev
Philip P. Moltmann [Wed, 23 Mar 2016 20:45:33 +0000 (20:45 +0000)]
Merge "Remove unnecessary strings and labels." into nyc-dev

8 years agoMerge "handle wifi interface changes with interfaceRemoved" into nyc-dev
Rebecca Silberstein [Wed, 23 Mar 2016 20:41:05 +0000 (20:41 +0000)]
Merge "handle wifi interface changes with interfaceRemoved" into nyc-dev

8 years agoRemove unnecessary strings and labels.
Philip P. Moltmann [Wed, 23 Mar 2016 20:30:58 +0000 (13:30 -0700)]
Remove unnecessary strings and labels.

Bug: 27815807
Change-Id: I6388055938afbbadc954c913ce0554f9a4a313e8

8 years agoMerge "Precache/early kick off of op work for non-shadow ops." into nyc-dev
Chris Craik [Wed, 23 Mar 2016 20:24:24 +0000 (20:24 +0000)]
Merge "Precache/early kick off of op work for non-shadow ops." into nyc-dev

8 years agoDon't save secure surfaces.
Wale Ogunwale [Wed, 23 Mar 2016 20:16:41 +0000 (13:16 -0700)]
Don't save secure surfaces.

We don't want to save secure surfaces since their content shouldn't
be shown while the app isn't on screen and content might leak
through during the transition animation with saved surface.

Bug: 19940527
Bug: 27747315
Change-Id: Ie664e1015845e05ec01572a9d9c3574173ac2f91

8 years agoFix bugs around restoring nested retained instance fragments
Adam Powell [Wed, 23 Mar 2016 20:07:27 +0000 (13:07 -0700)]
Fix bugs around restoring nested retained instance fragments

Framework edition

In a few configurations the child fragment state of a
retained-instance fragment would not be preserved correctly, leading
to child fragments not being restored. Clean this up along with live
state management issues that were leading to logged warnings during
normal fragment operation.

Bug 27371492
Bug 27477824

Change-Id: I847ac05b1757392580e008dc20c50c3ef365ca68

8 years agoPrecache/early kick off of op work for non-shadow ops.
Chris Craik [Tue, 22 Mar 2016 22:03:08 +0000 (15:03 -0700)]
Precache/early kick off of op work for non-shadow ops.

bug:26562703
bug:27052145

Change-Id: Ic452bfe75da849ffdd47fecdd6eb1472fd0c806e

8 years agoExclude java namespace classes from layoutlib
Deepanshu Gupta [Wed, 23 Mar 2016 19:39:27 +0000 (12:39 -0700)]
Exclude java namespace classes from layoutlib

Such classes can't be loaded anyway. No point including them

Change-Id: I26934014de96aa59f0d4aef59f61d1e4f71b86ea

8 years agosysui: refactor for extensibility
Xiaohui Chen [Tue, 22 Mar 2016 21:58:03 +0000 (14:58 -0700)]
sysui: refactor for extensibility

Bug: 27357836
Change-Id: I793fc1a6c17a7b5f66e4803e7f51a373b47e5733

8 years agoMerge "FloatingToolbar: Make it more obvious that there are more items in the overflo...
Abodunrinwa Toki [Wed, 23 Mar 2016 19:03:50 +0000 (19:03 +0000)]
Merge "FloatingToolbar: Make it more obvious that there are more items in the overflow." into nyc-dev

8 years agoFloatingToolbar: Make it more obvious that there are more items in the overflow.
Abodunrinwa Toki [Wed, 23 Mar 2016 15:56:43 +0000 (15:56 +0000)]
FloatingToolbar: Make it more obvious that there are more items in the overflow.

1. Make the overflow show part of the items hidden behind the scroll view
2. Increase the time the scrollbar is on screen so users are less likely to miss it

Bug: 27427333
Change-Id: Ia0bff5fa29cba3103263bc7d063176b0ba7ff7b9

8 years agoMerge "Add fill type support to vector drawable" into nyc-dev
Diego Perez [Wed, 23 Mar 2016 18:45:28 +0000 (18:45 +0000)]
Merge "Add fill type support to vector drawable" into nyc-dev

8 years agoMerge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:27:09 +0000 (18:27 +0000)]
Merge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev

8 years agoFollow-up to "Close notification panel when user button is tapped"
Adrian Roos [Wed, 23 Mar 2016 18:23:51 +0000 (11:23 -0700)]
Follow-up to "Close notification panel when user button is tapped"

The original CL just collapsed the panel. Instead, we're using the
dedicated startActivityDismissingKeyguard to make sure the Keyguard
gets properly dismissed first.

Follow-Up-To: I66ebcb66c898dfebe1d09b798f750f696c360da8
Bug: 27790403
Change-Id: I41c02221de951df885ecfb4f2869820b38410f18

8 years agoMerge "Fix generate layout params to preserve margins" into nyc-dev
Yigit Boyar [Wed, 23 Mar 2016 18:22:56 +0000 (18:22 +0000)]
Merge "Fix generate layout params to preserve margins" into nyc-dev

8 years agoMerge "Fix missing first frame" into nyc-dev
John Reck [Wed, 23 Mar 2016 18:22:35 +0000 (18:22 +0000)]
Merge "Fix missing first frame" into nyc-dev

8 years agoMerge "Ensure notification color contrast" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:14:53 +0000 (18:14 +0000)]
Merge "Ensure notification color contrast" into nyc-dev

8 years agoMerge "Allow Scoped Directory Access on whole volume." into nyc-dev
Felipe Leme [Wed, 23 Mar 2016 17:58:46 +0000 (17:58 +0000)]
Merge "Allow Scoped Directory Access on whole volume." into nyc-dev

8 years ago[Sensor] Add a constant to match native header
Peng Xu [Fri, 4 Mar 2016 19:09:24 +0000 (11:09 -0800)]
[Sensor] Add a constant to match native header

This CL add private sensor type base constant to java file to match
C header file.

It is defined that all vendor sensor types have to be >= 0x10000.
There is a constant in sensor.h for reference. However, there is
no such constant defined in Sensor.java before. This CL adds it.

Change-Id: Ia8f8c06583c62879e51779815051c346f1a9cd14
(cherry picked from commit 1795e14dab0367fdd77f2c1eee6b4fd39d1c5902)

8 years agoEnsure notification color contrast
Adrian Roos [Mon, 1 Feb 2016 20:26:13 +0000 (12:26 -0800)]
Ensure notification color contrast

Ensure we have at least 3:1 contrast for the
action buttons. Also ensures that the inline
reply box background has 4.5:1 contrast to white.

Further modifies the color of the inline reply
background to satisfy a 4.5:1 contrast ratio for
the entered text.

Bug: 26831312
Change-Id: If42b1c99d1adee547d0a583c1a69c48ef7287c23

8 years agoMerge "Move device idle logic into a job StateController" into nyc-dev
Amith Yamasani [Wed, 23 Mar 2016 17:32:05 +0000 (17:32 +0000)]
Merge "Move device idle logic into a job StateController" into nyc-dev

8 years agoMerge "Document that re-inserting the same blocked number is permitted." into nyc-dev
Abhijith Shastry [Wed, 23 Mar 2016 17:29:07 +0000 (17:29 +0000)]
Merge "Document that re-inserting the same blocked number is permitted." into nyc-dev

8 years agoExifInterface: fix creating pointer tags which indicate 0 offset
Jaesung Chung [Wed, 23 Mar 2016 16:41:46 +0000 (09:41 -0700)]
ExifInterface: fix creating pointer tags which indicate 0 offset

When saving attributes(that it writes JPEG again.), now ExifInterface
generates some uncessary pointer tags which refer to an empty EXIF IFD
group, that makes a warning message by ExifInterface when reading again,
which warns that the value of the pointer tag pointing to is invalid.

Bug: 27583378
Change-Id: Id0170c5644541565c98fe4978284098e6664c395

8 years agoMerge "Deal with print-preview renderings that do not match the correct number of...
Philip P. Moltmann [Wed, 23 Mar 2016 17:17:39 +0000 (17:17 +0000)]
Merge "Deal with print-preview renderings that do not match the correct number of pages." into nyc-dev

8 years agoMerge "Remove legacy DeviceLogging methods from DPM" into nyc-dev
Michal Karpinski [Wed, 23 Mar 2016 16:51:54 +0000 (16:51 +0000)]
Merge "Remove legacy DeviceLogging methods from DPM" into nyc-dev

8 years agoMerge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev
Pablo Ceballos [Wed, 23 Mar 2016 16:30:52 +0000 (16:30 +0000)]
Merge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev

8 years agoMerge "Allow AlertDialog to be used in a DialogFragment" into nyc-dev
Chris Banes [Wed, 23 Mar 2016 16:25:52 +0000 (16:25 +0000)]
Merge "Allow AlertDialog to be used in a DialogFragment" into nyc-dev

8 years agoAllow AlertDialog to be used in a DialogFragment
Chris Banes [Wed, 23 Mar 2016 16:20:00 +0000 (16:20 +0000)]
Allow AlertDialog to be used in a DialogFragment

AlertController calls requestWindowFeature() too
later for DialogFragment. Fixed by moving it to the
constructor.

BUG: 27809055
Change-Id: Icef01316b4e857b41ccc29cc56bbcecd7f629342

8 years agoMerge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEY...
Abodunrinwa Toki [Wed, 23 Mar 2016 16:02:35 +0000 (16:02 +0000)]
Merge "Replace Settings.ACTION_KEYBOARD_LAYOUT_SETTINGS with Settings.ACTION_HARD_KEYBOARD_SETTINGS" into nyc-dev

8 years agoFix missing first frame
John Reck [Tue, 22 Mar 2016 23:01:08 +0000 (16:01 -0700)]
Fix missing first frame

Bug: 26776366
Change-Id: I46258c0ff35fdefe5c9f2ee610c904b2dbe8c5d9

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:39:30 +0000 (14:39 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:36:44 +0000 (07:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib474fe3cbe01716c7c62e7d1775cd1c4926e6288
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:57 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:39 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 23 Mar 2016 14:25:24 +0000 (14:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:23:38 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: I78231875388818087268e1386bdf02165c745f18
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:23:18 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idaa94a612de604c1e7178359a12ccab87ff154ce
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 14:17:21 +0000 (07:17 -0700)]
Import translations. DO NOT MERGE

Change-Id: I98b04d1538e8c5d6e797f23b2ef195c166cd0a16
Auto-generated-cl: translation import

8 years agoAdd cursor positioning tests for emoji.
Seigo Nonaka [Tue, 15 Mar 2016 06:50:06 +0000 (15:50 +0900)]
Add cursor positioning tests for emoji.

Bug: 25375561
Change-Id: Id8e467bc13fc69560ea3d238765760e006c8ced5

8 years agoRemove legacy DeviceLogging methods from DPM
Michal Karpinski [Wed, 23 Mar 2016 13:14:33 +0000 (13:14 +0000)]
Remove legacy DeviceLogging methods from DPM

Those methods were replaced with SecurityLogging ones.

Bug: 27532425
Change-Id: I6952251d9c15f932517e7cb39a7056f35c3a194f

8 years agoMerge "Clarify docs around weak references to animator targets" into nyc-dev
Chet Haase [Wed, 23 Mar 2016 12:46:28 +0000 (12:46 +0000)]
Merge "Clarify docs around weak references to animator targets" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 23 Mar 2016 12:30:50 +0000 (08:30 -0400)]
Import translations. DO NOT MERGE

Change-Id: Ic3ee2457fd2bd3c2f8eba0ff06cf34440420d32f
Auto-generated-cl: translation import

8 years agoMerge "Revert "Make the accent color darker in DocumentsUI for better accessibility...
Tomasz Mikolajewski [Wed, 23 Mar 2016 09:46:19 +0000 (09:46 +0000)]
Merge "Revert "Make the accent color darker in DocumentsUI for better accessibility."" into nyc-dev

8 years agoAdd fill type support to vector drawable
Diego Perez [Tue, 22 Mar 2016 11:29:47 +0000 (11:29 +0000)]
Add fill type support to vector drawable

The platform has added fill type to vector drawables. This CL implements
the native replacement.
Also remove a couple of delegates for classes that have been removed
from the platform.

Change-Id: Ie6ba344db9c9c2c45cd0ef4b99f11f9d8bcfd7de

8 years agoMerge "Revert "Make status bar translucent. Make drawer appera below status bar....
Daichi Hirono [Wed, 23 Mar 2016 08:32:00 +0000 (08:32 +0000)]
Merge "Revert "Make status bar translucent. Make drawer appera below status bar."" into nyc-dev

8 years agoRevert "Make status bar translucent. Make drawer appera below status bar."
Daichi Hirono [Wed, 23 Mar 2016 08:19:30 +0000 (17:19 +0900)]
Revert "Make status bar translucent. Make drawer appera below status bar."

This reverts commit 4639136c3b4bc22064323a193f06d6585e1a171a.
The commit breaks the following CTS tests.

 * android.appsecurity.cts.DocumentsTest#testCreateExisting FAIL
 * android.appsecurity.cts.DocumentsTest#testCreateNew FAIL

BUG=27805363,27570567

Change-Id: Ic9f1d98714a78afe548eb5ae9afa118ddc83cccc

8 years agoFix testModelIdIsUnique test in DocumentsUI.
Tomasz Mikolajewski [Wed, 23 Mar 2016 07:41:48 +0000 (16:41 +0900)]
Fix testModelIdIsUnique test in DocumentsUI.

The logic changed, so the test had to be updated. Basically we support
multiple authorities only for cursors wrapped with MergeCursor.

Bug: 27742039
Change-Id: If07e1bf52279072e408a90efbe838a1d76adfcfd

8 years agoFix the directory item height in grid view.
Daichi Hirono [Wed, 23 Mar 2016 07:35:32 +0000 (16:35 +0900)]
Fix the directory item height in grid view.

BUG=27565668

Change-Id: I3d5615b46542dcd0f22f5e9968d3ee5bfe1af19a

8 years agoMerge "Remove redundant IMM#mServedInputConnection." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 05:41:07 +0000 (05:41 +0000)]
Merge "Remove redundant IMM#mServedInputConnection." into nyc-dev

8 years agoUse mipmap instead of drawable for app icon of DocumentsUI.
Daichi Hirono [Wed, 23 Mar 2016 05:40:05 +0000 (14:40 +0900)]
Use mipmap instead of drawable for app icon of DocumentsUI.

App icon can be redered in various size and mipmap automatically
switches to high-resolution resources regardless of screen size when the
icon is rendered in large size.

BUG=27804140

Change-Id: Ib14a4d8ec8ac601f46510ad50ab18f28408b8fc1

8 years agoFix NinePatch insets scaling
Sergey Vasilinets [Tue, 22 Mar 2016 23:26:32 +0000 (16:26 -0700)]
Fix NinePatch insets scaling

bug:27323867
Change-Id: I33c0007eb9259703c73d2e3672ae1427a2155037