OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Tuner: Nav bar tuner"
Jason Monk [Thu, 26 Jan 2017 02:23:02 +0000 (02:23 +0000)]
Merge "Tuner: Nav bar tuner"

7 years agoMerge changes I818e8db9,Ie24468be
TreeHugger Robot [Thu, 26 Jan 2017 02:06:03 +0000 (02:06 +0000)]
Merge changes I818e8db9,Ie24468be

* changes:
  Added a new API to colorize notifications
  Modified the interpolators when opening an ambient notification

7 years agoMerge "Mark two test methods public so they can be mocked"
Hakan Seyalioglu [Thu, 26 Jan 2017 02:02:29 +0000 (02:02 +0000)]
Merge "Mark two test methods public so they can be mocked"

7 years agoMerge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972 am...
Brad Ebinger [Thu, 26 Jan 2017 01:56:25 +0000 (01:56 +0000)]
Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972 am: 2741442324
am: ded1df24e0

Change-Id: Ifd95efa076b7f5c8c8b02be7688aab1008bbc63c

7 years agoMerge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972
Brad Ebinger [Thu, 26 Jan 2017 01:49:53 +0000 (01:49 +0000)]
Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0 am: 64057ab972
am: 2741442324

Change-Id: Ibd5c988226e7994c332a7e7f8b40a9338cf84e0f

7 years agoMerge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0
Brad Ebinger [Thu, 26 Jan 2017 01:46:06 +0000 (01:46 +0000)]
Merge "Adding Dynamic ImsService Binding (1/3)" am: 8e6b13a1c0
am: 64057ab972

Change-Id: I901c72a38b522c190e849de55078036adc80d8b6

7 years agoMerge "Add APIs to hide voicemail settings."
TreeHugger Robot [Thu, 26 Jan 2017 01:44:08 +0000 (01:44 +0000)]
Merge "Add APIs to hide voicemail settings."

7 years agoMerge "DirectReply: Show historic messages"
TreeHugger Robot [Thu, 26 Jan 2017 01:43:35 +0000 (01:43 +0000)]
Merge "DirectReply: Show historic messages"

7 years agoMerge "Adding Dynamic ImsService Binding (1/3)"
Brad Ebinger [Thu, 26 Jan 2017 01:41:38 +0000 (01:41 +0000)]
Merge "Adding Dynamic ImsService Binding (1/3)"
am: 8e6b13a1c0

Change-Id: I8534273da5579b7662e66f80a60348a4665dd65b

7 years agoMerge "Added support to authentication."
TreeHugger Robot [Thu, 26 Jan 2017 01:35:34 +0000 (01:35 +0000)]
Merge "Added support to authentication."

7 years agoMerge "Adding Dynamic ImsService Binding (1/3)"
Treehugger Robot [Thu, 26 Jan 2017 01:34:04 +0000 (01:34 +0000)]
Merge "Adding Dynamic ImsService Binding (1/3)"

7 years agoMerge "Create public API for policy transparency outside of Settings"
Philipp Weiß [Thu, 26 Jan 2017 01:25:21 +0000 (01:25 +0000)]
Merge "Create public API for policy transparency outside of Settings"

7 years agoMerge "camera: Add enableZsl key"
TreeHugger Robot [Thu, 26 Jan 2017 01:23:22 +0000 (01:23 +0000)]
Merge "camera: Add enableZsl key"

7 years agoMerge "Create an API for retrieving a badged wifi icon."
TreeHugger Robot [Thu, 26 Jan 2017 00:59:17 +0000 (00:59 +0000)]
Merge "Create an API for retrieving a badged wifi icon."

7 years agoMerge changes from topic 'nmr-plugin'
Mady Mellor [Thu, 26 Jan 2017 00:49:11 +0000 (00:49 +0000)]
Merge changes from topic 'nmr-plugin'

* changes:
  Add snooze to notification menu row
  Add snooze listener so that a plugin can snooze a notification
  Change NotificationGuts to contain a view
  Rename notification settings icon row / gear to notification menu row
  Create + implement plugin for NotificationSettingsIconRow

7 years agoMerge "Add logging for badges shown in WifiSettings."
Sundeep Ghuman [Thu, 26 Jan 2017 00:31:30 +0000 (00:31 +0000)]
Merge "Add logging for badges shown in WifiSettings."

7 years agoMerge "AudioTrack: Enable deep buffer mode from Java"
TreeHugger Robot [Thu, 26 Jan 2017 00:22:49 +0000 (00:22 +0000)]
Merge "AudioTrack: Enable deep buffer mode from Java"

7 years agoMerge "Create metrics for toggling Select to Speak service in SetupWizard."
Chao Chen [Thu, 26 Jan 2017 00:18:32 +0000 (00:18 +0000)]
Merge "Create metrics for toggling Select to Speak service in SetupWizard."

7 years agoAdded a new API to colorize notifications
Selim Cinek [Fri, 20 Jan 2017 01:36:00 +0000 (17:36 -0800)]
Added a new API to colorize notifications

Ongoing notifications can now be colorized.
This will use the color provided as the background
and invert most text colors

Test: runtest -x cts/tests/app/src/android/app/cts/NotificationTest.java
Bug: 34469375
Change-Id: I818e8db96c868d8bcde8f28c253efd581eeccaa2

7 years agoAdding Dynamic ImsService Binding (1/3)
Brad Ebinger [Mon, 23 Jan 2017 23:17:50 +0000 (15:17 -0800)]
Adding Dynamic ImsService Binding (1/3)

Adds support for dynamic ImsService Binding (change 1/3). Included
in this change:
- AIDLs for ImsServiceController
- ImsFeature/ImsServiceBase definitions
- KEY_CONFIG_IMS_PACKAGE_OVERRIDE CarrierConfig option

Test: Unit Tests in opt/telephony
Bug: 30290416
Change-Id: Ic4cb1d85a29681b08a6a525c588a72209862dcc3

7 years agoMerge "Overhaul RenderNode's DisplayList management"
John Reck [Wed, 25 Jan 2017 23:11:26 +0000 (23:11 +0000)]
Merge "Overhaul RenderNode's DisplayList management"

7 years agoModified the interpolators when opening an ambient notification
Selim Cinek [Thu, 19 Jan 2017 19:54:04 +0000 (11:54 -0800)]
Modified the interpolators when opening an ambient notification

Change-Id: Ie24468be028fd7c894840e3d1fbf42717ad387a4
Test: add low-priority notification and expand
Bug: 34469375

7 years agoAdd APIs to hide voicemail settings.
Ta-wei Yen [Wed, 25 Jan 2017 02:23:00 +0000 (18:23 -0800)]
Add APIs to hide voicemail settings.

With unbundle visual voicemail and dialer voicemail notification, the
dialer should be able to control the voicemail settings, and refer
telephony settings as "Advance settings" only showing the options
not in the public API.

This CL gives the default dialer the ability to hide duplicated
settings in telephony.

Bug: 34691905
Fixes 34691905
Test: CTS verifier test "hide public settings in voicemail"
      "hide voicemail in call settings"
Change-Id: I6589c3d77b5075265cf013ee56524a342904ecd1

7 years agoMerge "mediaplayer: add buffering settings API"
TreeHugger Robot [Wed, 25 Jan 2017 21:53:29 +0000 (21:53 +0000)]
Merge "mediaplayer: add buffering settings API"

7 years agoAdd snooze to notification menu row
Mady Mellor [Wed, 25 Jan 2017 21:16:03 +0000 (13:16 -0800)]
Add snooze to notification menu row

Moves the snooze plugin code into system UI.
Does not include assistant suggestions.

Test: manual
Change-Id: Ie2c51d65381530c9a72cd8a871efdbf0d63da490

7 years agoMerge "Merge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0" into...
Jerry Zhang [Wed, 25 Jan 2017 21:41:30 +0000 (21:41 +0000)]
Merge "Merge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0" into nyc-mr2-dev-plus-aosp
am: 7fef16ff24

Change-Id: I23ce12aab4bc75fb0899626da052bfec5f64a604

7 years agoMerge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0
Jerry Zhang [Wed, 25 Jan 2017 21:41:25 +0000 (21:41 +0000)]
Merge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0
am: 473e3953f5

Change-Id: I333ec4ca60afdd44d0d859eb654d121f6dee95da

7 years agoMerge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49 am...
Josh Gao [Wed, 25 Jan 2017 21:39:57 +0000 (21:39 +0000)]
Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49 am: e801810553 am: a07e5312cc
am: 0ebf87e3e7

Change-Id: Ic99476b698ccc056eb97f83d64e844c3fffa481f

7 years agoRefactored setCurrentFunction and setUsbDataUnlocked into single method. am: 48824962...
Jerry Zhang [Wed, 25 Jan 2017 21:32:16 +0000 (21:32 +0000)]
Refactored setCurrentFunction and setUsbDataUnlocked into single method. am: 4882496232  -s ours
am: 270c4bcd86

Change-Id: I935dfed207d96aba169c6da07fa26d57781f5f93

7 years agoClean up persistent usb state on boot. am: bfc5d563aa -s ours
Jerry Zhang [Wed, 25 Jan 2017 21:31:24 +0000 (21:31 +0000)]
Clean up persistent usb state on boot. am: bfc5d563aa  -s ours
am: 6cf9bfde00

Change-Id: If911ea57fe1259029c0825d4a697f0098692f07d

7 years agoMerge "Merge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0" into...
Android Build Merger (Role) [Wed, 25 Jan 2017 21:31:03 +0000 (21:31 +0000)]
Merge "Merge changes from topic 'usb_bugfix' into nyc-mr2-dev am: 55772c73c0" into nyc-mr2-dev-plus-aosp

7 years agoFixed handling of usb state during adb changes. am: 541295a9a5 -s ours
Jerry Zhang [Wed, 25 Jan 2017 21:30:08 +0000 (21:30 +0000)]
Fixed handling of usb state during adb changes. am: 541295a9a5  -s ours
am: e5a8b4f12c

Change-Id: Iabd888a924226e0a333fe0600daf4bec154eb832

7 years agoMerge changes from topic 'usb_bugfix' into nyc-mr2-dev
Jerry Zhang [Wed, 25 Jan 2017 21:30:07 +0000 (21:30 +0000)]
Merge changes from topic 'usb_bugfix' into nyc-mr2-dev
am: 55772c73c0

Change-Id: Ie41c7e8b7a687e9836354d429e66b5f214a6d0b2

7 years agoMerge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49 am...
Josh Gao [Wed, 25 Jan 2017 21:30:03 +0000 (21:30 +0000)]
Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49 am: e801810553
am: a07e5312cc

Change-Id: I9165a6dc33058ec4f7bd8a6c6f4426af405bda19

7 years agoMerge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49
Josh Gao [Wed, 25 Jan 2017 21:25:23 +0000 (21:25 +0000)]
Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 273b886c49
am: e801810553

Change-Id: I636c0f021c6ffae4518d889b1e7c4c3c29c6e864

7 years agoRefactored setCurrentFunction and setUsbDataUnlocked into single method.
Jerry Zhang [Wed, 25 Jan 2017 21:23:54 +0000 (21:23 +0000)]
Refactored setCurrentFunction and setUsbDataUnlocked into single method.
am: 4882496232  -s ours

Change-Id: Ia50fbb88cdaa9e3570b68798b82df609475b5fe6

7 years agoClean up persistent usb state on boot.
Jerry Zhang [Wed, 25 Jan 2017 21:22:54 +0000 (21:22 +0000)]
Clean up persistent usb state on boot.
am: bfc5d563aa  -s ours

Change-Id: Idd46b3f5a0c3a608a3178855b67afbce1cf21acb

7 years agoFixed handling of usb state during adb changes.
Jerry Zhang [Wed, 25 Jan 2017 21:22:07 +0000 (21:22 +0000)]
Fixed handling of usb state during adb changes.
am: 541295a9a5  -s ours

Change-Id: I608202f6c74d0209f5507f838f103f874ed47e3b

7 years agoMerge "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
Josh Gao [Wed, 25 Jan 2017 21:21:29 +0000 (21:21 +0000)]
Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
am: 273b886c49

Change-Id: I82c58cd03c8db78a1733ba5070d314607475cee7

7 years agoCreate public API for policy transparency outside of Settings
phweiss [Tue, 17 Jan 2017 18:06:38 +0000 (19:06 +0100)]
Create public API for policy transparency outside of Settings

The new DPM.createAdminSupportIntent() returns an intent that shows the
"This action was disabled by your admin"-dialog from settings.
This enables apps to inform the user about the cause of restricted
functionality.

A new extra for the intent allows to specialize the dialog for different
restricted features, instead of a generic message for all features.

Bug: 31215663
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Change-Id: I3de7aeec0f88b8f013a63957aec803cd123fbedc

7 years agoAdd logging for badges shown in WifiSettings.
Sundeep Ghuman [Mon, 23 Jan 2017 23:41:43 +0000 (15:41 -0800)]
Add logging for badges shown in WifiSettings.

Bug: 34394557
Test: GmsCore Debug logs (see tron howto).
Change-Id: I14f28278a9478e9ead891e25b1bec54ffa9d90ef

7 years agoMerge "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
Josh Gao [Wed, 25 Jan 2017 21:16:57 +0000 (21:16 +0000)]
Merge "zygote: don't drop CAP_SYS_PTRACE from the bounding set."

7 years agoMerge "Add some new experiment constants for activity and power manager."
Dianne Hackborn [Wed, 25 Jan 2017 21:12:09 +0000 (21:12 +0000)]
Merge "Add some new experiment constants for activity and power manager."

7 years agoMerge "Camera2: Handle (0, 0) size for deferred OutputConfiguration"
Shuzhen Wang [Wed, 25 Jan 2017 21:05:42 +0000 (21:05 +0000)]
Merge "Camera2: Handle (0, 0) size for deferred OutputConfiguration"

7 years agoMerge "Implement TextClassifierImpl.getLinks"
Abodunrinwa Toki [Wed, 25 Jan 2017 21:04:59 +0000 (21:04 +0000)]
Merge "Implement TextClassifierImpl.getLinks"

7 years agoSkip resizing the stack when there is no current bounds.
Winson Chung [Wed, 25 Jan 2017 19:00:21 +0000 (11:00 -0800)]
Skip resizing the stack when there is no current bounds.

- When initially calling loadConfigurationsAndApply(), the state is
  set to STATE_NO_PIP when there is no pinned stack.  As of change
  ag/1725150, resizeStack no longer fails silently when there is no
  such stack to resize.  This CL skips the call to resizeStack() when
  the PiP mode is set to STATE_NO_PIP.

Bug: 34692144
Test: Try and launch Fugu
Change-Id: Ic539f4431c2f94e7c10520c383fa49157d1d0631

7 years agoAdded support to authentication.
Felipe Leme [Thu, 15 Dec 2016 19:56:15 +0000 (11:56 -0800)]
Added support to authentication.

AutoFillService can now require user authentication, both at
FillResponse and Dataset levels;
- FillResponse authentication is typically used when the user data
  need to be unlocked before the first use.
- Dataset authentication is typically used to unlock sensitive data
  such as credit card info.

The authentication can be handled by the service itself (for example,
when it uses the credit card CVV to unlock it) or by the Android
system (when the service asks for fingerprint authentication).

Bug: 31001899

Test: manual verification
Test: CtsAutoFillServiceTestCases passes

Change-Id: If62f42f697ab5ef0d14d991ff1077d1c38808e61

7 years agoAudioTrack: Enable deep buffer mode from Java
Andy Hung [Fri, 13 Jan 2017 03:20:29 +0000 (19:20 -0800)]
AudioTrack: Enable deep buffer mode from Java

Test: AudioTrack CTS test, Play Movies
Bug: 30687201
Change-Id: Id3a8d675966671ed13c488936228bd76dfc6c1fe

7 years agoAdd snooze listener so that a plugin can snooze a notification
Mady Mellor [Wed, 11 Jan 2017 00:37:22 +0000 (16:37 -0800)]
Add snooze listener so that a plugin can snooze a notification

Test: manual
Change-Id: Ieb3c0fcae6d832c3e8f5d1b983c52cf4f2ff6239

7 years agoChange NotificationGuts to contain a view
Mady Mellor [Tue, 10 Jan 2017 19:52:52 +0000 (11:52 -0800)]
Change NotificationGuts to contain a view

NotificationGuts is now given a view to display, the notification
management controls have been moved into their own view.

NotificationGuts is provided a view to show via a MenuItem.

This allows configuration via the NotificationMenuRowProvider Plugin.

Test: manual
Change-Id: I68cb23ea2cada30cc6e930fa8c03e0aa4014dfe2

7 years agoMerge changes from topic 'usb_bugfix' into nyc-mr2-dev
Jerry Zhang [Wed, 25 Jan 2017 20:30:17 +0000 (20:30 +0000)]
Merge changes from topic 'usb_bugfix' into nyc-mr2-dev

* changes:
  Refactored setCurrentFunction and setUsbDataUnlocked into single method.
  Clean up persistent usb state on boot.
  Fixed handling of usb state during adb changes.

7 years agoCreate metrics for toggling Select to Speak service in SetupWizard.
chchao [Wed, 25 Jan 2017 20:12:09 +0000 (12:12 -0800)]
Create metrics for toggling Select to Speak service in SetupWizard.

Bug: 29517229
Test: manual
Test: compile framework
Change-Id: I1306a16a88b6bac2b4c53f6e9b5883dfdb36cedb

7 years agoOverhaul RenderNode's DisplayList management
John Reck [Wed, 25 Jan 2017 18:58:30 +0000 (10:58 -0800)]
Overhaul RenderNode's DisplayList management

* Move mValid to native
* Have destroyHardwareResources destroy everything
* Remove flaky mParentCount checks in setStaging
* All tree updates have an internal observer to
  ensure onRemovedFromTree() is a reliable signal
* onRemovedFromTree() immediately releases resources
  to avoid displaylist "leaks"

Test: Unit tests for validity added & pass, manually
verified that b/34072929 doesn't repro

Bug: 34072929

Change-Id: I856534b4ed1b7f009fc4b7cd13209b97fa42a71c

7 years agoMerge "Fix a use-of-uninitialized-value warning." am: 500cf67206 am: f77f2cb3e7 am...
George Burgess IV [Wed, 25 Jan 2017 20:23:58 +0000 (20:23 +0000)]
Merge "Fix a use-of-uninitialized-value warning." am: 500cf67206 am: f77f2cb3e7 am: 0c6283e396
am: 858852a6dc

Change-Id: Ib874408eb77d265a9e939679bd2c5459217063e8

7 years agoRename notification settings icon row / gear to notification menu row
Mady Mellor [Tue, 10 Jan 2017 19:36:39 +0000 (11:36 -0800)]
Rename notification settings icon row / gear to notification menu row

Test: manual
Change-Id: I3a84c5ea180bd1e53495c5a44a93fa1982056174

7 years agoCreate + implement plugin for NotificationSettingsIconRow
Mady Mellor [Tue, 13 Dec 2016 05:05:13 +0000 (21:05 -0800)]
Create + implement plugin for NotificationSettingsIconRow

This will allow plugins to supply additional menu options to the
menu "behind" a notification.

This CL does not include behavior for when one of these new menu
items is tapped, this will be added in a separate CL.

Test: manual
Change-Id: I322f9f39d33b043bd23dcbede5dd15e6afa73fc1

7 years agoCamera2: Handle (0, 0) size for deferred OutputConfiguration
Shuzhen Wang [Wed, 25 Jan 2017 19:53:22 +0000 (11:53 -0800)]
Camera2: Handle (0, 0) size for deferred OutputConfiguration

We need to handle below sequence of events:
1. OutputConfiguration(Size(0, 0), klass)
2. addSurface(surface)
3. createCameraCaptureSession

In this case, allow the addSurface() to succeed.

Test: camera works in keep/hangouts/contacts
Bug: 34697112
Change-Id: I726c60cce9a11c69b050aad47f4ed4a0a7a0870e

7 years agoMerge "Resolve Android security comments for Android ID migration."
Mark Rathjen [Wed, 25 Jan 2017 20:20:26 +0000 (20:20 +0000)]
Merge "Resolve Android security comments for Android ID migration."

7 years agoMerge "Also parse "1" as true for ContentValues#getAsBoolean"
TreeHugger Robot [Wed, 25 Jan 2017 20:19:05 +0000 (20:19 +0000)]
Merge "Also parse "1" as true for ContentValues#getAsBoolean"

7 years agoMerge "Fix a use-of-uninitialized-value warning." am: 500cf67206 am: f77f2cb3e7
George Burgess IV [Wed, 25 Jan 2017 20:19:05 +0000 (20:19 +0000)]
Merge "Fix a use-of-uninitialized-value warning." am: 500cf67206 am: f77f2cb3e7
am: 0c6283e396

Change-Id: Ife5d9444f9036c16540bd7bf7a1c0e17cf296df5

7 years agoMerge "Fix a use-of-uninitialized-value warning." am: 500cf67206
George Burgess IV [Wed, 25 Jan 2017 20:14:00 +0000 (20:14 +0000)]
Merge "Fix a use-of-uninitialized-value warning." am: 500cf67206
am: f77f2cb3e7

Change-Id: I44e23c5689b51ae002a8db71a537ab97d3f31121

7 years agoMerge "Merge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614 am...
Android Build Merger (Role) [Wed, 25 Jan 2017 20:12:59 +0000 (20:12 +0000)]
Merge "Merge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614 am: 40c14a83d0 am: deac669a53"

7 years agoMerge "[clipboard] Clipboard sharing"
TreeHugger Robot [Wed, 25 Jan 2017 20:12:13 +0000 (20:12 +0000)]
Merge "[clipboard] Clipboard sharing"

7 years agoMerge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614 am: 40c14a83d0
Ruchi Kandoi [Wed, 25 Jan 2017 20:12:06 +0000 (20:12 +0000)]
Merge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614 am: 40c14a83d0
am: deac669a53

Change-Id: I208e9c5d6fbbfa9f3a6c0d43f38fcacc040ccb92

7 years agoMerge "Fix a use-of-uninitialized-value warning."
George Burgess IV [Wed, 25 Jan 2017 20:09:26 +0000 (20:09 +0000)]
Merge "Fix a use-of-uninitialized-value warning."
am: 500cf67206

Change-Id: I8b171a90696e09c42a1506255bc4c0056f69f35c

7 years agoMerge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614
Ruchi Kandoi [Wed, 25 Jan 2017 20:07:23 +0000 (20:07 +0000)]
Merge "nfc: Make NDEF validation stricter" am: f3a6269fed am: e6cb2aa614
am: 40c14a83d0

Change-Id: I7ef55eddac20d58e9184056e85c9b49e733fd38d

7 years agozygote: don't drop CAP_SYS_PTRACE from the bounding set.
Josh Gao [Wed, 25 Jan 2017 19:45:58 +0000 (11:45 -0800)]
zygote: don't drop CAP_SYS_PTRACE from the bounding set.

crash_dump needs to acquire CAP_SYS_PTRACE to be able to ptrace
processes with capabilities. selinux should hopefully be sufficient for
restricting ptrace to processes that should do it.

Bug: http://b/34694637
Test: debuggerd `pidof system_server`
Change-Id: If46f0b9baa54529780f7767f309f76b102a42ab4

7 years agoMerge "nfc: Make NDEF validation stricter" am: f3a6269fed
Ruchi Kandoi [Wed, 25 Jan 2017 20:03:00 +0000 (20:03 +0000)]
Merge "nfc: Make NDEF validation stricter" am: f3a6269fed
am: e6cb2aa614

Change-Id: Ib069a18f16850d419b6c10c3b80e80115d9d8fc8

7 years agoMerge "Fix a use-of-uninitialized-value warning."
Treehugger Robot [Wed, 25 Jan 2017 20:01:33 +0000 (20:01 +0000)]
Merge "Fix a use-of-uninitialized-value warning."

7 years agoMerge "nfc: Make NDEF validation stricter"
Ruchi Kandoi [Wed, 25 Jan 2017 19:59:16 +0000 (19:59 +0000)]
Merge "nfc: Make NDEF validation stricter"
am: f3a6269fed

Change-Id: If69e586c81e5926c0795af3689de67b260891eaa

7 years agoMerge "Fix build breakage"
Rubin Xu [Wed, 25 Jan 2017 19:56:37 +0000 (19:56 +0000)]
Merge "Fix build breakage"

7 years agoDirectReply: Show historic messages
Adrian Roos [Tue, 24 Jan 2017 23:55:18 +0000 (15:55 -0800)]
DirectReply: Show historic messages

Test: Post notification with MessagingStyle.addHistoricMessage(), verify they show up while direct replying.
Change-Id: I26b801d05305a5251fe0d6fae1fe1c24064105a9

7 years agoMerge "Fix up the tests (yet again)"
Jason Monk [Wed, 25 Jan 2017 19:55:33 +0000 (19:55 +0000)]
Merge "Fix up the tests (yet again)"

7 years agomediaplayer: add buffering settings API
Wei Jia [Mon, 16 Jan 2017 18:18:15 +0000 (10:18 -0800)]
mediaplayer: add buffering settings API

Test: compiles, ensured that params is passed all the way to source
Bug:32524218

Change-Id: I90d65e10012ecc1a78989eba80d025d513ceaadf

7 years agoMerge "nfc: Make NDEF validation stricter"
Treehugger Robot [Wed, 25 Jan 2017 19:53:59 +0000 (19:53 +0000)]
Merge "nfc: Make NDEF validation stricter"

7 years agoMerge "Started visual hierarchy for min priority notifications"
Selim Cinek [Wed, 25 Jan 2017 19:53:46 +0000 (19:53 +0000)]
Merge "Started visual hierarchy for min priority notifications"

7 years agoMerge "Initial IME integration."
TreeHugger Robot [Wed, 25 Jan 2017 19:44:29 +0000 (19:44 +0000)]
Merge "Initial IME integration."

7 years agoMerge "Fix issue with PiP hiding when dragging divider."
TreeHugger Robot [Wed, 25 Jan 2017 19:31:53 +0000 (19:31 +0000)]
Merge "Fix issue with PiP hiding when dragging divider."

7 years agoMerge "Fixing issue with wrong bounds being reported in StackInfo."
TreeHugger Robot [Wed, 25 Jan 2017 19:28:57 +0000 (19:28 +0000)]
Merge "Fixing issue with wrong bounds being reported in StackInfo."

7 years agoMerge "Expose intents for launching channel settings."
TreeHugger Robot [Wed, 25 Jan 2017 19:20:18 +0000 (19:20 +0000)]
Merge "Expose intents for launching channel settings."

7 years agoMerge "Move theme out of tuner and into display settings"
TreeHugger Robot [Wed, 25 Jan 2017 19:17:19 +0000 (19:17 +0000)]
Merge "Move theme out of tuner and into display settings"

7 years agoFix build breakage
Rubin Xu [Wed, 25 Jan 2017 19:13:27 +0000 (19:13 +0000)]
Fix build breakage

Implement new methods in MockStorageManager

Test: it builds
Change-Id: Icdd49a1b6709ab63a8b00328b9da8120482bbc8a

7 years agoMerge "Changed cluster kb navigation shortcut to meta+[shift]+tab"
Evan Rosky [Wed, 25 Jan 2017 19:04:16 +0000 (19:04 +0000)]
Merge "Changed cluster kb navigation shortcut to meta+[shift]+tab"

7 years agoMerge changes I100dac6b,Ibbecac7e
Robert Sesek [Wed, 25 Jan 2017 19:00:40 +0000 (19:00 +0000)]
Merge changes I100dac6b,Ibbecac7e

* changes:
  Enable multiprocess WebView by default.
  Prepare to enable multiprocess by default.

7 years agoMark two test methods public so they can be mocked
Hakan Seyalioglu [Wed, 25 Jan 2017 18:48:44 +0000 (10:48 -0800)]
Mark two test methods public so they can be mocked

Without this, the mocked version looks like it's calling
the default implementation (which immediately fails due to
a bunch of null fields) - with this it just returns null.

I would ultimately like to stop mocking out the controller
and instead use a mocked package manager (which there is
already some set up to do). But in the meanwhile, this at least
gets the test passing.

Test: Checked the test passes.

Change-Id: I92d1f2796cfce21bf55e927bd56690c582f41e91

7 years agoMerge "MessagingStyle: Add historic messages"
TreeHugger Robot [Wed, 25 Jan 2017 18:47:17 +0000 (18:47 +0000)]
Merge "MessagingStyle: Add historic messages"

7 years agoMerge "Add unit tests for LockSettingsService"
Rubin Xu [Wed, 25 Jan 2017 18:38:28 +0000 (18:38 +0000)]
Merge "Add unit tests for LockSettingsService"

7 years agoMerge "Merge "Require password to FR in carrier demo mode""
Christine Franks [Wed, 25 Jan 2017 18:38:00 +0000 (18:38 +0000)]
Merge "Merge "Require password to FR in carrier demo mode""

7 years agoMerge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f am: 36ce9b7e...
Andre Eisenbach [Wed, 25 Jan 2017 18:28:55 +0000 (18:28 +0000)]
Merge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f am: 36ce9b7ea0 am: 8b1d096e58
am: c39388d605

Change-Id: I51a9cec90c232b6f16e50f9a962bf2795bbf725b

7 years agoMerge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f am: 36ce9b7ea0
Andre Eisenbach [Wed, 25 Jan 2017 18:23:50 +0000 (18:23 +0000)]
Merge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f am: 36ce9b7ea0
am: 8b1d096e58

Change-Id: I4fd28828d5ed8ec2a3e93b6f8ab074dccdcb30e2

7 years agonfc: Make NDEF validation stricter
Ruchi Kandoi [Wed, 25 Jan 2017 02:32:01 +0000 (18:32 -0800)]
nfc: Make NDEF validation stricter

- Check if the MB is not set for any record apart from the first one.
- If the record is chunked, first record must contain the type

Bug: 20722275
Test: Manual; write raw NDEF messages to a tag
Change-Id: I3e73fc5163bbcd8a1f23417e98f57b665f4f1fad
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoMerge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f
Andre Eisenbach [Wed, 25 Jan 2017 18:19:51 +0000 (18:19 +0000)]
Merge "Bluetooth: fix indentation, formatting in dumpsys" am: 35c715332f
am: 36ce9b7ea0

Change-Id: I3381764156fadf755d679b9a3c9356fc90e50fd2

7 years agoMerge "Bluetooth: fix indentation, formatting in dumpsys"
Andre Eisenbach [Wed, 25 Jan 2017 18:16:27 +0000 (18:16 +0000)]
Merge "Bluetooth: fix indentation, formatting in dumpsys"
am: 35c715332f

Change-Id: I7c603ab9f50921afb45e3d7181541260d8939089

7 years ago[clipboard] Clipboard sharing
Grigory Dzhavadyan [Thu, 3 Nov 2016 21:39:26 +0000 (21:39 +0000)]
[clipboard] Clipboard sharing

The fix has been submitted to the emulator: https://android-review.googlesource.com/#/c/298922/

Resolved merge conflict with 1611052.

Change-Id: Ic1e9a3d2dfc3c933d83482d92bfb4da1fee4ebbe

7 years agoMerge "media: Relax the filedescriptor check to allow write-only mode."
Hangyu Kuang [Wed, 25 Jan 2017 18:07:22 +0000 (18:07 +0000)]
Merge "media: Relax the filedescriptor check to allow write-only mode."

7 years agoMerge "Test: AccountManagerService APCT test."
Hongming Jin [Wed, 25 Jan 2017 18:06:28 +0000 (18:06 +0000)]
Merge "Test: AccountManagerService APCT test."

7 years agoMerge "Bluetooth: fix indentation, formatting in dumpsys"
Andre Eisenbach [Wed, 25 Jan 2017 18:05:10 +0000 (18:05 +0000)]
Merge "Bluetooth: fix indentation, formatting in dumpsys"

7 years agoBluetooth: fix indentation, formatting in dumpsys
Marie Janssen [Wed, 18 Jan 2017 17:37:52 +0000 (09:37 -0800)]
Bluetooth: fix indentation, formatting in dumpsys

Before
======
Enable log:
01-17 09:43:18   Enabled  by com.android.systemui
01-18 07:13:10  Disabled  by com.andorid.systemui

1 BLE Apps registered:
com.google.android.gms

After
=====
Enable log:
  02-06 07:49:07   Enabled  by system boot
  02-06 07:49:35  Disabled  by com.andorid.systemui

1 BLE App registered:
  com.google.android.gms

Test: run bugreport, see differences in dumpsys
Change-Id: I6086f7f97c1fcbdb860d70d9516fd5bf630a9f5e

7 years agoMerge changes I50d2903e,Ieb347ce3
Edman Anjos [Wed, 25 Jan 2017 17:59:59 +0000 (17:59 +0000)]
Merge changes I50d2903e,Ieb347ce3

* changes:
  Add DPMS delegation scopes.
  Add block uninstall delegation in DPMS.

7 years agomedia: Relax the filedescriptor check to allow write-only mode.
Hangyu Kuang [Mon, 23 Jan 2017 21:23:17 +0000 (13:23 -0800)]
media: Relax the filedescriptor check to allow write-only mode.

Test: Use the MMS app to record video.
Bug: 34594319
Change-Id: I0680c48f5f240e2b18264dbf952622ad0497130b