OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "IMS: Changes for MultiEndpoint" into nyc-dev
Tyler Gunn [Mon, 14 Mar 2016 17:48:09 +0000 (17:48 +0000)]
Merge "IMS: Changes for MultiEndpoint" into nyc-dev

8 years agoMerge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev
Polina Bondarenko [Mon, 14 Mar 2016 17:41:56 +0000 (17:41 +0000)]
Merge "Renamed HARDWARE_PROPERTIES_SERVICE to hardware_properties." into nyc-dev

8 years agoMerge "Dump full Glop in GlopBuilder::dump" into nyc-dev
Chris Craik [Mon, 14 Mar 2016 17:22:26 +0000 (17:22 +0000)]
Merge "Dump full Glop in GlopBuilder::dump" into nyc-dev

8 years agoMerge "Added internal test for AutoTransition." into nyc-dev
George Mount [Mon, 14 Mar 2016 16:49:23 +0000 (16:49 +0000)]
Merge "Added internal test for AutoTransition." into nyc-dev

8 years agoMerge "Do not deallocate on Bitmap.recycle" into nyc-dev
Diego Perez [Mon, 14 Mar 2016 16:39:53 +0000 (16:39 +0000)]
Merge "Do not deallocate on Bitmap.recycle" into nyc-dev

8 years agoMerge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev
Amith Yamasani [Mon, 14 Mar 2016 15:54:18 +0000 (15:54 +0000)]
Merge "Add ENCRYPTION_STATUS_ACTIVE_PER_USER to..." into nyc-dev

8 years agoMerge "frameworks/base: Make Thread::run threadName argument required" into nyc-dev
Brian Carlstrom [Mon, 14 Mar 2016 15:18:03 +0000 (15:18 +0000)]
Merge "frameworks/base: Make Thread::run threadName argument required" into nyc-dev

8 years agoMerge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev
Alan Viverette [Mon, 14 Mar 2016 15:01:50 +0000 (15:01 +0000)]
Merge "Ensure all Java-side usages of config flags are using Java flags" into nyc-dev

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

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

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

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

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

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

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

8 years agoMerge "WifiManager: Remove static objects" into mm-wireless-dev
Paul Stewart [Mon, 14 Mar 2016 14:21:29 +0000 (14:21 +0000)]
Merge "WifiManager: Remove static objects" into mm-wireless-dev
am: d292ed866c

* commit 'd292ed866c27bc7a23cfa292603d722a6b7f9d81':
  WifiManager: Remove static objects

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

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

8 years agoMerge "WifiManager: Remove static objects" into mm-wireless-dev
Paul Stewart [Mon, 14 Mar 2016 14:13:34 +0000 (14:13 +0000)]
Merge "WifiManager: Remove static objects" into mm-wireless-dev

8 years agoMerge "Skip lockdown setup if user is not up yet" into nyc-dev
Robin Lee [Mon, 14 Mar 2016 13:19:55 +0000 (13:19 +0000)]
Merge "Skip lockdown setup if user is not up yet" into nyc-dev

8 years agoSkip lockdown setup if user is not up yet
Robin Lee [Mon, 14 Mar 2016 13:08:48 +0000 (13:08 +0000)]
Skip lockdown setup if user is not up yet

Sometimes USER_UNLOCKED can be sent before USER_STARTED. This puts
lockdown in a bad state as it needs a fully-functioning user to tie
itself to and listen for connectivity events.

Bug: 27637943
Change-Id: I41a784a75a8c8674cb61dbba10693dd56c9396dd

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

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

8 years agoDo not deallocate on Bitmap.recycle
Diego Perez [Mon, 14 Mar 2016 09:31:07 +0000 (09:31 +0000)]
Do not deallocate on Bitmap.recycle

Layoutlib only disposes the bitmap and doesn't recycle them. This causes
a double deallocation that triggers an assertion.
This change makes Bitmaps to be only freed when the finalizer is called.

Bug: http://b.android.com/203129
Change-Id: Ieabc1443544cfd2b4bf8ba9c8f9a4df8dd6e8220

8 years agoMtpDocumentsProvider returns mime type from file extension.
Daichi Hirono [Mon, 14 Mar 2016 05:46:37 +0000 (14:46 +0900)]
MtpDocumentsProvider returns mime type from file extension.

File extensions contain more information to determine mime type than MTP
format codes. The CL lets MtpDocumentsProvider return mime type from
file extensions if it's not inconsitent with format code.

BUG=27004954

Change-Id: I08a4a91235b1d3f48e77b70b28c8c5aedf8d601d

8 years agoMerge "Remove duplicated test cases." into nyc-dev
Seigo Nonaka [Mon, 14 Mar 2016 04:10:59 +0000 (04:10 +0000)]
Merge "Remove duplicated test cases." into nyc-dev

8 years agoMerge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev
Pierre Imai [Mon, 14 Mar 2016 02:54:10 +0000 (02:54 +0000)]
Merge "Remove an unnecessary InputStream and prevent leaking memory." into nyc-dev

8 years agoMerge "Remove Basque hyphenation patterns" into nyc-dev
Roozbeh Pournader [Sun, 13 Mar 2016 09:19:24 +0000 (09:19 +0000)]
Merge "Remove Basque hyphenation patterns" into nyc-dev

8 years agoRemove Basque hyphenation patterns
Roozbeh Pournader [Sun, 13 Mar 2016 04:56:23 +0000 (20:56 -0800)]
Remove Basque hyphenation patterns

Change-Id: Ib59de7c96fe19da9534fe65c3d553dc7c5399a1f

8 years agoframeworks/base: Make Thread::run threadName argument required
Brian Carlstrom [Sun, 13 Mar 2016 00:07:48 +0000 (16:07 -0800)]
frameworks/base: Make Thread::run threadName argument required

Bug: 27557176
Change-Id: Icff15e51fb7c99387ac8317181d12749f343439a

8 years agofix spelling
Nick Kralevich [Sat, 12 Mar 2016 23:00:50 +0000 (15:00 -0800)]
fix spelling

Change-Id: I82e64fa8a64be0fbfda748e6b57b5d339fd6f903

8 years agoMerge "Revert "Revert "Improve interaction around showing / hiding the gear behind...
Mady Mellor [Sat, 12 Mar 2016 17:50:41 +0000 (17:50 +0000)]
Merge "Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""" into nyc-dev

8 years agoDump full Glop in GlopBuilder::dump
Chris Craik [Sat, 12 Mar 2016 02:39:01 +0000 (18:39 -0800)]
Dump full Glop in GlopBuilder::dump

Change-Id: I022b3c8c265998fd97d41f13964f4703025b338a

8 years agoAdded internal test for AutoTransition.
George Mount [Sat, 12 Mar 2016 02:23:17 +0000 (18:23 -0800)]
Added internal test for AutoTransition.

Change-Id: Ieee0f4ed8a418293043f19f6edfc1c8302fec7f2

8 years agoMerge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev
Dianne Hackborn [Sat, 12 Mar 2016 02:12:10 +0000 (02:12 +0000)]
Merge "Fix issue #27530395: API Review: JobInfo.Builder" into nyc-dev

8 years agoMerge "Logging to KEY_INTENT security failure" into nyc-dev
Carlos Valdivia [Sat, 12 Mar 2016 02:06:37 +0000 (02:06 +0000)]
Merge "Logging to KEY_INTENT security failure" into nyc-dev

8 years agoMerge "Once restored, the wallpaper needs to actually draw" into nyc-dev
Chris Tate [Sat, 12 Mar 2016 01:55:18 +0000 (01:55 +0000)]
Merge "Once restored, the wallpaper needs to actually draw" into nyc-dev

8 years agoOnce restored, the wallpaper needs to actually draw
Christopher Tate [Fri, 11 Mar 2016 00:46:15 +0000 (16:46 -0800)]
Once restored, the wallpaper needs to actually draw

We now wait until both the wallpaper imagery and the metadata have
been restored [if present], and then explicitly regenerate the crop
from the source based on that.

Bug 27423845

Change-Id: I986efd13b6b73d25b5ab1215af516ccea3a5c609

8 years agoMerge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev
Selim Cinek [Sat, 12 Mar 2016 01:43:48 +0000 (01:43 +0000)]
Merge "Fixed a bug where the expandhelper was expanding to quickly" into nyc-dev

8 years agoLogging to KEY_INTENT security failure
Carlos Valdivia [Fri, 11 Mar 2016 04:12:32 +0000 (20:12 -0800)]
Logging to KEY_INTENT security failure

To help debugging we would like to know the targetPackageName and uid of
the KEY_INTENT that is being rejected.

Bug: 27598664
Change-Id: Idcf1eea82a96913947975b6fe3aa1e9c6e5109a7

8 years agoFixed a bug where the expandhelper was expanding to quickly
Selim Cinek [Sat, 12 Mar 2016 01:24:19 +0000 (17:24 -0800)]
Fixed a bug where the expandhelper was expanding to quickly

It was expanding even when the xDifference was bigger than the
yDifference.

Bug: 27376558
Change-Id: Ie5faeb40a1b8391ace8822f9f210f519302ca133

8 years agoRevert "Revert "Improve interaction around showing / hiding the gear behind notificat...
Mady Mellor [Sat, 12 Mar 2016 00:13:23 +0000 (00:13 +0000)]
Revert "Revert "Improve interaction around showing / hiding the gear behind notifications""

This reverts commit 88eca2aa0e707c06731fc273af4e6181ad743c3c.

It additionally fixes an issue with notification scrolling after gear is displayed
by indicating that the user is no longer swiping by calling onDragCancelled

Change-Id: Ieba0cea35bba9c383d8b5fdca08cb5ff083666c3

8 years agoMerge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev
Jean-Michel Trivi [Sat, 12 Mar 2016 01:09:10 +0000 (01:09 +0000)]
Merge "Dynamic audio policies: allow device passing for RENDER mixes" into nyc-dev

8 years agoMerge "Fix some errors in errorCalculator.rs." into nyc-dev
Stephen Hines [Sat, 12 Mar 2016 00:56:42 +0000 (00:56 +0000)]
Merge "Fix some errors in errorCalculator.rs." into nyc-dev

8 years agoMerge "Fixed a bug where expanding in the bottom stack messed up the whole layout...
Selim Cinek [Sat, 12 Mar 2016 00:56:09 +0000 (00:56 +0000)]
Merge "Fixed a bug where expanding in the bottom stack messed up the whole layout" into nyc-dev

8 years agoFix some errors in errorCalculator.rs.
Stephen Hines [Thu, 10 Mar 2016 00:42:40 +0000 (16:42 -0800)]
Fix some errors in errorCalculator.rs.

Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

(cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8)

Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20

8 years agoFixed a bug where expanding in the bottom stack messed up the whole layout
Selim Cinek [Sat, 12 Mar 2016 00:45:52 +0000 (16:45 -0800)]
Fixed a bug where expanding in the bottom stack messed up the whole layout

Bug: 27596737
Change-Id: If6d5f693bbc953962eb2e746a6293d66be3c4373

8 years agoDynamic audio policies: allow device passing for RENDER mixes
Jean-Michel Trivi [Fri, 4 Mar 2016 00:53:16 +0000 (16:53 -0800)]
Dynamic audio policies: allow device passing for RENDER mixes

AudioMix: add system method for specifying an AudioDeviceInfo
 to be used by this mix. This only works for AudioMix
 instance with the RENDER route flag.
Previous dynamic policy implementation didn't enforce
 mix route flag check, but only supported LOOP_BACK,
 so make LOOP_BACK the default.
When a policy gets registered and the registration ID is
 set on each mix, for RENDER mixes use the device
 address for registration.

Bug 25448664

Change-Id: If5789d84ff4c4c25a6e81ba1513a39916220498a

8 years agoMerge "Run all downloads through trampoline." into nyc-dev
Steve McKay [Sat, 12 Mar 2016 00:43:44 +0000 (00:43 +0000)]
Merge "Run all downloads through trampoline." into nyc-dev

8 years agoRun all downloads through trampoline.
Steve McKay [Fri, 11 Mar 2016 18:11:52 +0000 (10:11 -0800)]
Run all downloads through trampoline.

This guarantees the retry/delete support in the downloads
    trampoline can do its thing.
Allow APKs not in downloads to go directly to pakcage
    manager via VIEW intent.
Add test coverage for retry dialog.

Bug: 27539337

Change-Id: I75c5db8915e24a7648c7990136d39ed86d407637

8 years agoMerge "Don't log metrics for initial screenshot." into nyc-dev
Felipe Leme [Sat, 12 Mar 2016 00:38:33 +0000 (00:38 +0000)]
Merge "Don't log metrics for initial screenshot." into nyc-dev

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

- Interface changes for MultiEndpoint

- Extra for CallPull in -
  - TelephonyProperties
  - ImsProfile
- Error codes in ImsReasonInfo

Change-Id: I9a497cf04a412dc9d2f80b489e3455d289c3dfb7

8 years agoMerge "Fix for drag start event being incorrectly cached" into nyc-dev
Yorke Lee [Sat, 12 Mar 2016 00:04:47 +0000 (00:04 +0000)]
Merge "Fix for drag start event being incorrectly cached" into nyc-dev

8 years agoMerge changes Ia6156d7c,I396ac936 into nyc-dev
Selim Cinek [Fri, 11 Mar 2016 23:52:44 +0000 (23:52 +0000)]
Merge changes Ia6156d7c,I396ac936 into nyc-dev

* changes:
  Fixed a bug with autoredacted custom views.
  Fixed a bug where notifications could become all white

8 years agoMerge "Update docs for DisplayMetrics pixel size fields" into nyc-dev
Andrii Kulian [Fri, 11 Mar 2016 23:50:45 +0000 (23:50 +0000)]
Merge "Update docs for DisplayMetrics pixel size fields" into nyc-dev

8 years agoAdd ENCRYPTION_STATUS_ACTIVE_PER_USER to...
Makoto Onuki [Fri, 26 Feb 2016 02:17:30 +0000 (18:17 -0800)]
Add ENCRYPTION_STATUS_ACTIVE_PER_USER to...

getStorageEncryptionStatus()
Use StorageManager APIs to get the encryption
state instead of from the system properties
directly.

Bug 26547262

Change-Id: Ic27baa9489d43a93873f8bb0428084f8886aed67

8 years agoMerge "Add GlopBuilder test for snapping" into nyc-dev
Sergei Vasilinetc [Fri, 11 Mar 2016 23:43:08 +0000 (23:43 +0000)]
Merge "Add GlopBuilder test for snapping" into nyc-dev

8 years agoMerge "Revert "Improve interaction around showing / hiding the gear behind notificati...
Mady Mellor [Fri, 11 Mar 2016 23:41:07 +0000 (23:41 +0000)]
Merge "Revert "Improve interaction around showing / hiding the gear behind notifications"" into nyc-dev

8 years agoMerge "Minor animation cleanup." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 23:40:13 +0000 (23:40 +0000)]
Merge "Minor animation cleanup." into nyc-dev

8 years agoRevert "Improve interaction around showing / hiding the gear behind notifications"
Mady Mellor [Fri, 11 Mar 2016 23:36:41 +0000 (23:36 +0000)]
Revert "Improve interaction around showing / hiding the gear behind notifications"

This reverts commit 273ed107f1d414571a01bf8ebd9c9ffa942d9e11.

Change-Id: I5f4d2c2dfa2bd965abd2ea2ec385639deb4511f9

8 years agoFixed a bug with autoredacted custom views.
Selim Cinek [Fri, 11 Mar 2016 23:36:06 +0000 (15:36 -0800)]
Fixed a bug with autoredacted custom views.

Bug: 27616717
Change-Id: Ia6156d7cadca0c1f9aadd49f76f62ac92991eced

8 years agoMerge "Fix issue with the component layout not having updated on config change" into...
Winson Chung [Fri, 11 Mar 2016 23:27:54 +0000 (23:27 +0000)]
Merge "Fix issue with the component layout not having updated on config change" into nyc-dev

8 years agoMerge "Added logoutCurrentUser method" into nyc-dev
Fyodor Kupolov [Fri, 11 Mar 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Added logoutCurrentUser method" into nyc-dev

8 years agoFix issue with the component layout not having updated on config change
Winson [Fri, 11 Mar 2016 22:56:00 +0000 (14:56 -0800)]
Fix issue with the component layout not having updated on config change

Bug: 27618066

Change-Id: I362c893222439c0dd1faa0000b29ead7ef621606

8 years agoMerge "Workaround for verifying large APKs." into nyc-dev
Alex Klyubin [Fri, 11 Mar 2016 23:03:57 +0000 (23:03 +0000)]
Merge "Workaround for verifying large APKs." into nyc-dev

8 years agoMerge "Add system wide long-press back button functionality" into nyc-dev
Anthony Hugh [Fri, 11 Mar 2016 22:52:57 +0000 (22:52 +0000)]
Merge "Add system wide long-press back button functionality" into nyc-dev

8 years agoMerge "Add a flag to log service side runtime exception" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 22:52:34 +0000 (22:52 +0000)]
Merge "Add a flag to log service side runtime exception" into nyc-dev

8 years agoWorkaround for verifying large APKs.
Alex Klyubin [Fri, 11 Mar 2016 22:45:19 +0000 (14:45 -0800)]
Workaround for verifying large APKs.

When an APK is verifier during installation, the recently added
APK Signature Scheme v2 code uncondionally memory-maps the whole file.
This fails for very large APKs, even those which are not signed with
APK Signature Scheme, thus preventing installation of such APKs.

This temporary workaround pretends that the APK is not signed with
APK Signature Scheme v2 if the APK cannot be memory-mapped because
there's insufficient memory.

This workaround will be removed soon, once APK Signature Scheme v2
APK verification logic can handle very large APKs.

Bug: 27613575
Change-Id: I27bad534855fe4bf3e09b1087398ffdd7f98f482

8 years agoMerge "Allow per-package exemptions for restricted AppOps" into nyc-dev
Ruben Brunk [Fri, 11 Mar 2016 22:48:37 +0000 (22:48 +0000)]
Merge "Allow per-package exemptions for restricted AppOps" into nyc-dev

8 years agoAdd system wide long-press back button functionality
Anthony Hugh [Fri, 4 Mar 2016 20:03:37 +0000 (12:03 -0800)]
Add system wide long-press back button functionality

This CL adds long-press back button functionality as a system
intercepted keypress.

Incorporated in this is an update to clockwork overlays so that
long-press on back will launch ACTION_VOICE_ASSIST.

BUG: 27313719
BUG: 27427088
Change-Id: Iaff337dc50e0022d2392c19d095cec98563b1c7d

8 years agoAdd GlopBuilder test for snapping
sergeyv [Fri, 11 Mar 2016 21:45:15 +0000 (13:45 -0800)]
Add GlopBuilder test for snapping

Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13

8 years agoMinor animation cleanup.
Steve McKay [Fri, 11 Mar 2016 22:08:07 +0000 (14:08 -0800)]
Minor animation cleanup.

Delete unused animators and add a cautionary warning.

Change-Id: I10c79ccef42147c01e4db256a082dc20b3f30de1

8 years agoAllow per-package exemptions for restricted AppOps
Ruben Brunk [Fri, 11 Mar 2016 08:24:26 +0000 (00:24 -0800)]
Allow per-package exemptions for restricted AppOps

- When setting blanket user restrictions, per-package
  exemptions may be granted.
- Exempt the current active VrListenerService from the
  blanket restriction on drawing overlays while in VR mode.

Bug: 26775563
Change-Id: I14b17a126502c7905a970ad42d25d6dd600b86b1

8 years agoMerge "ShortcutManager refactor: per-user information class" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 21:52:20 +0000 (21:52 +0000)]
Merge "ShortcutManager refactor: per-user information class" into nyc-dev

8 years agoMerge "Centralize animation related resources." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 21:50:58 +0000 (21:50 +0000)]
Merge "Centralize animation related resources." into nyc-dev

8 years agoCentralize animation related resources.
Steve McKay [Fri, 11 Mar 2016 18:49:32 +0000 (10:49 -0800)]
Centralize animation related resources.

Fix minor bug in animation (use height not width).

Change-Id: I357224086b2732fe9ad49a145db3e82259a87891

8 years agoShortcutManager refactor: per-user information class
Makoto Onuki [Fri, 11 Mar 2016 21:44:32 +0000 (13:44 -0800)]
ShortcutManager refactor: per-user information class

Bug 27548047

Change-Id: Id6de8bfbad6281daec5e89be85ba8b140b599268

8 years agoMerge "AAPT2: statically link protobuf library" into nyc-dev
Adam Lesinski [Fri, 11 Mar 2016 21:33:33 +0000 (21:33 +0000)]
Merge "AAPT2: statically link protobuf library" into nyc-dev

8 years agoMerge "Add test script for sanity of font fallback chain" into nyc-dev
Roozbeh Pournader [Fri, 11 Mar 2016 20:36:00 +0000 (20:36 +0000)]
Merge "Add test script for sanity of font fallback chain" into nyc-dev

8 years agoFixed a bug where notifications could become all white
Selim Cinek [Fri, 11 Mar 2016 20:34:13 +0000 (12:34 -0800)]
Fixed a bug where notifications could become all white

Bug: 27588152
Change-Id: I396ac9369b24f69de3c1d9034ebac91cc07feaeb

8 years agoMerge "Testing initial value for 0-duration animations" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:38 +0000 (20:25 +0000)]
Merge "Testing initial value for 0-duration animations" into nyc-dev

8 years agoMerge "Set end value immediately when start a 0-duration animation" into nyc-dev
Doris Liu [Fri, 11 Mar 2016 20:25:19 +0000 (20:25 +0000)]
Merge "Set end value immediately when start a 0-duration animation" into nyc-dev

8 years agoMerge "Invalidate DrawableContainer's cached canConstantState on child add" into...
Alan Viverette [Fri, 11 Mar 2016 20:19:09 +0000 (20:19 +0000)]
Merge "Invalidate DrawableContainer's cached canConstantState on child add" into nyc-dev

8 years agoMerge "Display home activity behind pinned activity that should return home" into...
Wale Ogunwale [Fri, 11 Mar 2016 20:18:55 +0000 (20:18 +0000)]
Merge "Display home activity behind pinned activity that should return home" into nyc-dev

8 years agoEnsure all Java-side usages of config flags are using Java flags
Alan Viverette [Fri, 11 Mar 2016 20:15:51 +0000 (15:15 -0500)]
Ensure all Java-side usages of config flags are using Java flags

Previously we were using native config flags in some places that expected
Java flags, and vice-versa. All usages of config flags are now annotated
to ensure we're using the right type.

Cleans up annotations on most methods that were touched.

Bug: 21161798
Change-Id: Ifd87dfb12199fc8258915d8a510e03ddb681ca89

8 years agoMerge "fix build" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 20:04:18 +0000 (20:04 +0000)]
Merge "fix build" into nyc-dev

8 years agoMerge "Notify task changed listeners when a pinned activity is removed" into nyc-dev
Wale Ogunwale [Fri, 11 Mar 2016 20:03:46 +0000 (20:03 +0000)]
Merge "Notify task changed listeners when a pinned activity is removed" into nyc-dev

8 years agofix build
Todd Kennedy [Fri, 11 Mar 2016 20:03:44 +0000 (12:03 -0800)]
fix build

Change-Id: Icd05c30eabaa526d85ef328d781380781b44d371

8 years agoMerge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev
Yohei Yukawa [Fri, 11 Mar 2016 19:56:01 +0000 (19:56 +0000)]
Merge "Use LocaleUtils#filterByLanguage for non-keyboard subtypes." into nyc-dev

8 years agoDon't log metrics for initial screenshot.
Felipe Leme [Fri, 11 Mar 2016 19:45:36 +0000 (11:45 -0800)]
Don't log metrics for initial screenshot.

BUG: 26759986
Change-Id: Ie1ff6626bb3174efa12c7cefe14782f4c18fb6d2

8 years agoMerge "Allow app downgrades" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 19:38:34 +0000 (19:38 +0000)]
Merge "Allow app downgrades" into nyc-dev

8 years agoAllow app downgrades
Todd Kennedy [Fri, 11 Mar 2016 19:37:17 +0000 (11:37 -0800)]
Allow app downgrades

only system apps can do this

Change-Id: If0947f13f5c447f9396690bfda3ad40b07fbbb6b

8 years agoMerge "Ensure Outline consistently sets the radius to be undefined" into nyc-dev
Alan Viverette [Fri, 11 Mar 2016 19:34:03 +0000 (19:34 +0000)]
Merge "Ensure Outline consistently sets the radius to be undefined" into nyc-dev

8 years agoMerge "Add minSdk to dumpsys" into nyc-dev
Todd Kennedy [Fri, 11 Mar 2016 19:26:36 +0000 (19:26 +0000)]
Merge "Add minSdk to dumpsys" into nyc-dev

8 years agoAdd minSdk to dumpsys
Todd Kennedy [Fri, 11 Mar 2016 19:18:32 +0000 (11:18 -0800)]
Add minSdk to dumpsys

Bug: 27526333
Change-Id: I0148275013ebab899bcb63c07d71a840539c1863

8 years agoMerge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev
Alan Viverette [Fri, 11 Mar 2016 18:42:41 +0000 (18:42 +0000)]
Merge "Add consistent @NonNull annotations for drawable callbacks" into nyc-dev

8 years agoUse LocaleUtils#filterByLanguage for non-keyboard subtypes.
Yohei Yukawa [Fri, 11 Mar 2016 18:39:51 +0000 (10:39 -0800)]
Use LocaleUtils#filterByLanguage for non-keyboard subtypes.

With this CL, we expand the target of Bug 27129703 and Bug 27348943 to
non-keyboard subtypes.

Suppose there is a handwriting IME (mode == "handwriting") that supports
the following 5 subtypes.
  - en-US
  - en-GB
  - fr
  - sr-Cyrl
  - sr-Latn

Also suppose the system languages are configured as follows.
  1. sr-Latn-RS
  2. ja-JP
  3. fr-FR
  4. en-GB
  5. en-US

In this case we want to enable [sr-Latn, fr, en-GB] by default when
"use system language" is checked in the subtype enabler.

See previous commits [1][2] about how we addressed those issues for
keyboard subtypes.

  [1]: Iaf179d60c12b9a98b4f097e2449471c4184e049b
       e985c240e3feb62ea38d5b4e386be083ca0f215b
  [2]: I8fc774154f5175abff2f16e8f12a4847bf5f5b7c
       072a95a3094af2ced4f009ad62c4553c28e3f830

Bug: 27560993
Change-Id: I416b5671602c550805ed6267dd210968aa1de83c

8 years agoFixing issue where screenshot notification remains non-dismissible.
Winson [Thu, 10 Mar 2016 22:00:14 +0000 (14:00 -0800)]
Fixing issue where screenshot notification remains non-dismissible.

- Ensure that we start the screenshot as a foreground service to reduce
  likelihood that it is killed while taking a screenshot.
- If the screenshot process times out or gets killed for any reason,
  ensure that we update the notification with an appropriate error
  message.

Bug: 27389179
Change-Id: I5007bda95538044bc753e4ceffd2f59a069c857b

8 years agoPrevent crash with invalid cancelled params.
Winson [Thu, 10 Mar 2016 20:52:27 +0000 (12:52 -0800)]
Prevent crash with invalid cancelled params.

Bug: 27368990
Change-Id: I3eaa9e0391a4149da29bb5dc638ef152f5125bc6

8 years agoNotify task changed listeners when a pinned activity is removed
Wale Ogunwale [Fri, 11 Mar 2016 18:38:36 +0000 (10:38 -0800)]
Notify task changed listeners when a pinned activity is removed

Bug: 27558494
Change-Id: I68573e5654f476e0b3027ad80d0e86496867f128

8 years agoFix for drag start event being incorrectly cached
Yorke Lee [Fri, 11 Mar 2016 02:20:04 +0000 (18:20 -0800)]
Fix for drag start event being incorrectly cached

Since DRAG_END is now being delivered only to views that
returned true from DRAG_STARTED, make sure to clear
mCurrentDragStartEvent when returning false from DRAG_STARTED,
to avoid incorrectly sending DRAG_STARTED events to children
views on visibility changes.

Bug: 27595763

Change-Id: Ic18628b48b474351e2433e871bf545657a6ebf52

8 years agoMerge "Camera2: Add buffer drop error callback" into nyc-dev
Eino-Ville Talvala [Fri, 11 Mar 2016 18:13:00 +0000 (18:13 +0000)]
Merge "Camera2: Add buffer drop error callback" into nyc-dev

8 years agoMerge "Fix caller validation on secondary user." into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 18:00:38 +0000 (18:00 +0000)]
Merge "Fix caller validation on secondary user." into nyc-dev

8 years agoMerge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev
Makoto Onuki [Fri, 11 Mar 2016 18:00:16 +0000 (18:00 +0000)]
Merge "Test for ShortcutManager.updateShortcuts(), also" into nyc-dev