OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd a flag for creating an ephemeral user with
Lenka Trochtova [Tue, 26 Jan 2016 14:11:09 +0000 (15:11 +0100)]
Add a flag for creating an ephemeral user with
DevicePolicyManager#createAndManageUser.

BUG: 24883058

Change-Id: I225ee6f1f6692663349040676e7a6c742b3ede79

8 years agoMerge "Allow smart unlock right after boot."
Rakesh Iyer [Wed, 27 Jan 2016 06:03:01 +0000 (06:03 +0000)]
Merge "Allow smart unlock right after boot."

8 years agoEnabling fast switching for all users.
Winson [Wed, 27 Jan 2016 00:26:47 +0000 (16:26 -0800)]
Enabling fast switching for all users.

- Consolidating notion of fast toggling and indicator in the tuner - if
  it is enabled, the indicator will be enabled
- Upon entering recents, immediately enable the timer to jump to the
  previous task
- Allowing for multiple durations in the first and subsequent toggles
- Disabling fast-toggle on freeform devices and when touch exploration
  is enabled
- Simplifying UserInteractionEvent to a reusable event

Change-Id: Id1ca3cd035f4eded5141b2b333a2cab5434b79ee

8 years agoMerge "Voice Messaging Intent API."
Renat Aksitov [Wed, 27 Jan 2016 03:44:52 +0000 (03:44 +0000)]
Merge "Voice Messaging Intent API."

8 years agoVoice Messaging Intent API.
Renat Aksitov [Thu, 21 Jan 2016 22:58:58 +0000 (14:58 -0800)]
Voice Messaging Intent API.

  - New activity action for initiating a message to someone by voice.
The message could be text, audio, video or image(photo). The action
supports messaging with a specific contact regardless of the underlying
messaging protocol used.
  - Set of extras to support identification of such contact.

    Primary use case for this action is to be originated by the Voice
Assistant as a voice interaction. In such scenario receiving activity
could verify the source and send a message right away, without any
further input from the user. It allows for a smooth user experience when
sending a message by voice.

Bug: 22791113
Change-Id: I86d55af04d13acbc1390938fa6b914990716cb39

8 years agoVisibility changes to allow access by SetupWizard
Mihai Nita [Mon, 25 Jan 2016 19:31:15 +0000 (11:31 -0800)]
Visibility changes to allow access by SetupWizard

Also adding a method that is called when the SIM info changes,
to update sugestions.
This is a must for SetupWizard, where the language selection can
be displayed before the SIM is fully initialized.
Might also use it to update suggested locals when SIM status changes
(SIM card replaced, or the user crosses border to a different country)

Bug: 25797548
Change-Id: I1a68b4e71046caa3b2810b37c74be5eeb00a255c

8 years agoMerge "Send broadcasts as foreground, otherwise test might fail when running after...
Felipe Leme [Wed, 27 Jan 2016 02:19:20 +0000 (02:19 +0000)]
Merge "Send broadcasts as foreground, otherwise test might fail when running after reboot."

8 years agoSend broadcasts as foreground, otherwise test might fail when running
Felipe Leme [Wed, 27 Jan 2016 02:17:15 +0000 (18:17 -0800)]
Send broadcasts as foreground, otherwise test might fail when running
after reboot.

BUG: 26805230
Change-Id: I05dcf9871c9b4c4c9a465466d60ebe9a1ac63e51

8 years agoMerge "Change storage duration to static for native choreographer."
Michael Wright [Wed, 27 Jan 2016 02:06:24 +0000 (02:06 +0000)]
Merge "Change storage duration to static for native choreographer."

8 years agoMerge "TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods"
Jae Seo [Wed, 27 Jan 2016 01:58:37 +0000 (01:58 +0000)]
Merge "TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods"

8 years agoMerge "Fixing notification of the docked stack state for the current user."
Winson Chung [Wed, 27 Jan 2016 01:50:20 +0000 (01:50 +0000)]
Merge "Fixing notification of the docked stack state for the current user."

8 years agoMerge "Move locale negotiation to ResourcesManager"
Roozbeh Pournader [Wed, 27 Jan 2016 01:48:39 +0000 (01:48 +0000)]
Merge "Move locale negotiation to ResourcesManager"

8 years agoMerge "Wire multi-parents support for moving to DocumentsUI."
Tomasz Mikolajewski [Wed, 27 Jan 2016 01:42:35 +0000 (01:42 +0000)]
Merge "Wire multi-parents support for moving to DocumentsUI."

8 years agoTIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods
Jae Seo [Tue, 26 Jan 2016 23:15:22 +0000 (15:15 -0800)]
TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods

Bug: 25726241
Change-Id: I8eae9c0c939e7ec4bdfbdbf40d0d1d70a5e0d45c

8 years agoWire multi-parents support for moving to DocumentsUI.
Tomasz Mikolajewski [Mon, 25 Jan 2016 07:20:15 +0000 (16:20 +0900)]
Wire multi-parents support for moving to DocumentsUI.

Bug: 26481380

Change-Id: Ief7db8f8abeca94e47832995fd0e2a6f31bfbc93

8 years agoMerge "Fix build breakage"
Rubin Xu [Wed, 27 Jan 2016 01:31:43 +0000 (01:31 +0000)]
Merge "Fix build breakage"

8 years agoFix build breakage
Rubin Xu [Wed, 27 Jan 2016 01:21:52 +0000 (01:21 +0000)]
Fix build breakage

Change-Id: I3f59cbe854384f292965752081b38a4aa9bcf16c

8 years agoMerge changes I10224452,I7af4149f
Jorim Jaggi [Wed, 27 Jan 2016 01:21:00 +0000 (01:21 +0000)]
Merge changes I10224452,I7af4149f

* changes:
  Grow recents when in multi-window on phones
  Add animation when docking top task with long press

8 years agoMerge "Setting consumer protected mode on from SurfaceTexture when in a protected...
Craig Donner [Wed, 27 Jan 2016 01:17:27 +0000 (01:17 +0000)]
Merge "Setting consumer protected mode on from SurfaceTexture when in a protected context."

8 years agoFixing notification of the docked stack state for the current user.
Winson [Tue, 26 Jan 2016 01:16:58 +0000 (17:16 -0800)]
Fixing notification of the docked stack state for the current user.

- When there are multiple users, ensure that we check that there are
  tasks in the docked stack for each user (instead of just the presence
  of the docked stack) and re-notify listeners of the state of the
  docked stack when the user is switched.

Change-Id: I911c4a32db187f9cd29d462309bd0cf7febb1993

8 years agoMerge "Fix reentrant deadlock in GLSurfaceView."
Rob Carr [Wed, 27 Jan 2016 00:47:52 +0000 (00:47 +0000)]
Merge "Fix reentrant deadlock in GLSurfaceView."

8 years agoresolve merge conflicts of b84954cf92 to master.
Rubin Xu [Wed, 27 Jan 2016 00:43:38 +0000 (00:43 +0000)]
resolve merge conflicts of b84954cf92 to master.

Change-Id: I8a5a1a989968c46ea4807db9e7e06b298244876d

8 years agoMerge "Fix SecurityException in Editor.onDrop"
Vladislav Kaznacheev [Wed, 27 Jan 2016 00:38:38 +0000 (00:38 +0000)]
Merge "Fix SecurityException in Editor.onDrop"

8 years agoMerge "Unhiding MSIM APIs."
Shishir Agrawal [Wed, 27 Jan 2016 00:32:26 +0000 (00:32 +0000)]
Merge "Unhiding MSIM APIs."

8 years agoMerge "media: add HEVC support to MediaRecorder"
Wonsik Kim [Wed, 27 Jan 2016 00:31:23 +0000 (00:31 +0000)]
Merge "media: add HEVC support to MediaRecorder"

8 years agoMerge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev
Rubin Xu [Wed, 27 Jan 2016 00:26:58 +0000 (00:26 +0000)]
Merge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev

8 years agoMerge "Permissions: Get rid of GET_ACCOUNTS"
Carlos Valdivia [Wed, 27 Jan 2016 00:12:06 +0000 (00:12 +0000)]
Merge "Permissions: Get rid of GET_ACCOUNTS"

8 years agoChange storage duration to static for native choreographer.
Michael Wright [Wed, 27 Jan 2016 00:03:25 +0000 (16:03 -0800)]
Change storage duration to static for native choreographer.

This ensures that the region is zero initialized, regardless of compiler.

Change-Id: Ie0bfa5d2cd2486ba31a45aee4de6c370513bfc62

8 years agoMerge "Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI"
Youngsang Cho [Tue, 26 Jan 2016 23:58:05 +0000 (23:58 +0000)]
Merge "Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI"

8 years agoAllow smart unlock right after boot.
Rakesh Iyer [Wed, 20 Jan 2016 01:27:23 +0000 (17:27 -0800)]
Allow smart unlock right after boot.

This change enables relaxing the constraint by which
strong authentication is needed after device reboot.

There are very limited use cases where this might be
safe, one of which is in a car. Cars head units usually
are protected physically by the car and have hardware
anti-theft mechanisms so we can potentially allow for
Android to allow users to use smart unlock to avoid the
lockscreen just after boot.

This change adds in a config flag that sets the default
trust flags, which can be set to allow smart unlock after
boot for car head units.

Bug: 26559008
Change-Id: Id6338a97b617ddaf3d2fae5d51235429a42b81cc

8 years agoMerge "Support TrustedCertificateStore.findAllIssuers"
Chad Brubaker [Tue, 26 Jan 2016 23:49:00 +0000 (23:49 +0000)]
Merge "Support TrustedCertificateStore.findAllIssuers"

8 years agoMerge changes from topic 'fullbleed'
Selim Cinek [Tue, 26 Jan 2016 23:45:03 +0000 (23:45 +0000)]
Merge changes from topic 'fullbleed'

* changes:
  Added bigger notification paddings above and below groups
  Replacing alpha with shadowAlpha
  Fixed the divider height to be at least 1px high
  Added transparency to the notification backgrounds on the lockscreen
  Animating background of the notifications now
  Drawing the background of the notifications as a grey color now
  Refactored the interpolators to use only one single instance
  Removed the visual speedbump
  Remove the scale animation from the lockscreen
  Removed notification top padding
  Removed round rect clipping for notifications and qs
  Removed notification side paddings

8 years agoAdded bigger notification paddings above and below groups
Selim Cinek [Mon, 25 Jan 2016 23:54:10 +0000 (15:54 -0800)]
Added bigger notification paddings above and below groups

Bug: 24866646
Change-Id: I0bca7a1abcbc0fa816aeed5729e650de24f523f0

8 years agoReplacing alpha with shadowAlpha
Selim Cinek [Fri, 22 Jan 2016 20:12:37 +0000 (12:12 -0800)]
Replacing alpha with shadowAlpha

Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb

8 years agoFixed the divider height to be at least 1px high
Selim Cinek [Fri, 22 Jan 2016 00:16:41 +0000 (16:16 -0800)]
Fixed the divider height to be at least 1px high

Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5

8 years agoAdded transparency to the notification backgrounds on the lockscreen
Selim Cinek [Thu, 21 Jan 2016 21:20:57 +0000 (13:20 -0800)]
Added transparency to the notification backgrounds on the lockscreen

To achieve a decent lockscreen animation we also need to account for alpha.

Change-Id: Iba75f9c304962da309e0e2d32a58d757b6607b5b

8 years agoAnimating background of the notifications now
Selim Cinek [Wed, 20 Jan 2016 18:54:09 +0000 (10:54 -0800)]
Animating background of the notifications now

Change-Id: Ia94e1a0ca67922e6983697dfbc68d5681de02f7e

8 years agoDrawing the background of the notifications as a grey color now
Selim Cinek [Wed, 20 Jan 2016 01:53:12 +0000 (17:53 -0800)]
Drawing the background of the notifications as a grey color now

Some cases are still not working perfectly as the background is
never animating

Change-Id: I4b357161d53d62f4cf5c0fbf76e70e5f3465bd68

8 years agoRefactored the interpolators to use only one single instance
Selim Cinek [Wed, 20 Jan 2016 21:41:30 +0000 (13:41 -0800)]
Refactored the interpolators to use only one single instance

Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672

8 years agoRemoved the visual speedbump
Selim Cinek [Tue, 19 Jan 2016 23:16:15 +0000 (15:16 -0800)]
Removed the visual speedbump

Change-Id: Iaacfc75ba691db07522e9d1d893aecd6b3be6338

8 years agoRemove the scale animation from the lockscreen
Selim Cinek [Tue, 19 Jan 2016 19:36:18 +0000 (11:36 -0800)]
Remove the scale animation from the lockscreen

With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd

8 years agoRemoved notification top padding
Selim Cinek [Sat, 16 Jan 2016 02:58:39 +0000 (18:58 -0800)]
Removed notification top padding

Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee

8 years agoRemoved round rect clipping for notifications and qs
Selim Cinek [Sat, 16 Jan 2016 02:47:52 +0000 (18:47 -0800)]
Removed round rect clipping for notifications and qs

Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66

8 years agoRemoved notification side paddings
Selim Cinek [Sat, 16 Jan 2016 02:24:05 +0000 (18:24 -0800)]
Removed notification side paddings

Removed all notification paddings on the side.
Bug: 24866646

Change-Id: I1a3e7b9ec5156cb953e06a83afa72c5ad36a2025

8 years agoMerge "Fix problem with zero-duration AnimatedVectorDrawables"
Chet Haase [Tue, 26 Jan 2016 23:29:36 +0000 (23:29 +0000)]
Merge "Fix problem with zero-duration AnimatedVectorDrawables"

8 years agoMerge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
Nathan Harold [Tue, 26 Jan 2016 23:25:16 +0000 (23:25 +0000)]
Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
am: 4269239f86

* commit '4269239f865c55266e8ef7ef01b569c7fbfc1444':
  Make DcRtInfo Power State Constants Final

8 years agoMerge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
Nathan Harold [Tue, 26 Jan 2016 23:19:38 +0000 (23:19 +0000)]
Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev

8 years agoMerge "Use vector drawables for icons on car navbar"
Victor Chan [Tue, 26 Jan 2016 23:16:20 +0000 (23:16 +0000)]
Merge "Use vector drawables for icons on car navbar"

8 years agoMerge "Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel"
Eino-Ville Talvala [Tue, 26 Jan 2016 23:01:09 +0000 (23:01 +0000)]
Merge "Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel"

8 years agoMerge "Check parameters for callers of IPrintManager"
Philip P. Moltmann [Tue, 26 Jan 2016 22:52:58 +0000 (22:52 +0000)]
Merge "Check parameters for callers of IPrintManager"

8 years agoMerge "Remove older passpoint code that we never made to work" into mm-wireless-dev
Vinit Deshpande [Tue, 26 Jan 2016 22:41:15 +0000 (22:41 +0000)]
Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev
am: 82c8b7edd0

* commit '82c8b7edd0656bcab79411c8dbfe3651a314a559':
  Remove older passpoint code that we never made to work

8 years agoMerge "Remove older passpoint code that we never made to work" into mm-wireless-dev
Vinit Deshpande [Tue, 26 Jan 2016 22:37:06 +0000 (22:37 +0000)]
Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev

8 years agoMade checkIfkeyguardNotificationFeaturesDisabled more generic.
Sudheer Shanka [Fri, 22 Jan 2016 20:48:04 +0000 (20:48 +0000)]
Made checkIfkeyguardNotificationFeaturesDisabled more generic.

Currently, it can be only used for checking the status of keyguard
notification features, made it generic so that it can be used for
other keyguard features like disable_fingerprint etc.

Change-Id: Ib2adfc12d7866cce248af78cc8b159cada9a6cad

8 years agoMerge "Add MetricsLogger calls to DocumentsUI."
Ben Kwa [Tue, 26 Jan 2016 22:30:45 +0000 (22:30 +0000)]
Merge "Add MetricsLogger calls to DocumentsUI."

8 years agoMerge "Camera: codegen doc update: fix typos"
Yin-Chia Yeh [Tue, 26 Jan 2016 22:30:28 +0000 (22:30 +0000)]
Merge "Camera: codegen doc update: fix typos"

8 years agoMerge "Add util method to get the admin who set maximum time to lock."
Sudheer Shanka [Tue, 26 Jan 2016 22:29:41 +0000 (22:29 +0000)]
Merge "Add util method to get the admin who set maximum time to lock."

8 years agoMerge "Add capability to determine if downgrade to audio is denied."
Tyler Gunn [Tue, 26 Jan 2016 22:26:43 +0000 (22:26 +0000)]
Merge "Add capability to determine if downgrade to audio is denied."

8 years agoMerge "Fullscreen user switcher layout tweaks."
Rakesh Iyer [Tue, 26 Jan 2016 22:25:29 +0000 (22:25 +0000)]
Merge "Fullscreen user switcher layout tweaks."

8 years agoFix problem with zero-duration AnimatedVectorDrawables
Chet Haase [Tue, 26 Jan 2016 22:21:53 +0000 (14:21 -0800)]
Fix problem with zero-duration AnimatedVectorDrawables

There was an issue with some vector drawables, particularly those with more
than one underlying, sequential animators, where the final frame would not be
drawn when battery saver mode was enabled (or animators were set to have durations
of 0). This resulted in an incorrect fingerprint graphic on the lockscreen, because
the animation effectively didn't run at all.

The fix is to always invalidate whenever the AnimatedVectorDrawble draws itself. This
causes us to constantly invalidate() the view while the animation is running.

Issue #26591987 Fingerprint icon displayed as dots when batter saver mode is on

Change-Id: I13cbd71fd229db09418c6dcacfec5a13bbb44b2e

8 years agoUse vector drawables for icons on car navbar
Victor Chan [Mon, 25 Jan 2016 20:27:34 +0000 (12:27 -0800)]
Use vector drawables for icons on car navbar

Adjusting CarNavigationButton layout so that vector
drawables are properly scaled/rendered in the car navigation bar.

Change-Id: I71fdfd0d863049a63abf11c41f46c950ed7e309e

8 years agoAdd MetricsLogger calls to DocumentsUI.
Ben Kwa [Tue, 26 Jan 2016 19:50:03 +0000 (11:50 -0800)]
Add MetricsLogger calls to DocumentsUI.

- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.

BUG=26737132

Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a

8 years agoAdd Intent extras for package names and categories
Victor Chan [Fri, 22 Jan 2016 03:44:56 +0000 (19:44 -0800)]
Add Intent extras for package names and categories

CarNavigationBarController will now pass in package names and
categories when starting the Intent for a selected facet.

Change-Id: I9f0a520f28eea105f845881819146d01fddbae92

8 years agoMerge "Visual interruptions: stop more full screen intents."
Julia Reynolds [Tue, 26 Jan 2016 22:08:28 +0000 (22:08 +0000)]
Merge "Visual interruptions: stop more full screen intents."

8 years agoMerge "Make suggestions handle string or int"
Jason Monk [Tue, 26 Jan 2016 22:04:16 +0000 (22:04 +0000)]
Merge "Make suggestions handle string or int"

8 years agoMake suggestions handle string or int
Jason Monk [Tue, 26 Jan 2016 22:01:00 +0000 (17:01 -0500)]
Make suggestions handle string or int

Evidently metadata bundles turn a single int into an integer rather than a
string without telling you.

Change-Id: I5c6557bad51981f27a7e213052e2be5bcc3a0a93

8 years agoVisual interruptions: stop more full screen intents.
Julia Reynolds [Tue, 26 Jan 2016 22:00:22 +0000 (17:00 -0500)]
Visual interruptions: stop more full screen intents.

The user options for 'no screen interruptions' needs to stop
peeks and full screen intents when the screen is on.

Bug: 25423508
Change-Id: I49b1c40552c3506fae259364a4d5e49168c8de36

8 years agoMerge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0...
Nick Vaccaro [Tue, 26 Jan 2016 21:57:26 +0000 (21:57 +0000)]
Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f  -s ours am: 3e413dfcdd  -s ours am: f5958497d3  -s ours
am: cee0600bd9  -s ours

* commit 'cee0600bd9c9c9d7a7d777ca3621396c972783db':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission

8 years agoMerge "Mark mised call notification as protected"
Sailesh Nepal [Tue, 26 Jan 2016 21:48:58 +0000 (21:48 +0000)]
Merge "Mark mised call notification as protected"

8 years agoUnhiding MSIM APIs.
Shishir Agrawal [Mon, 25 Jan 2016 21:03:07 +0000 (13:03 -0800)]
Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2

8 years agoCamera: codegen doc update: fix typos
Yin-Chia Yeh [Tue, 26 Jan 2016 21:27:35 +0000 (13:27 -0800)]
Camera: codegen doc update: fix typos

Change-Id: Ied9e74cb8af839a1ce6d9e247413e4a05e6d894e

8 years agoMerge changes from topic 'xc_remove_shelf'
Xiaohui Chen [Tue, 26 Jan 2016 21:26:35 +0000 (21:26 +0000)]
Merge changes from topic 'xc_remove_shelf'

* changes:
  sysui: remove shelf
  DO NOT MERGE sysui: remove shelf

8 years agoMerge "Show app level settings when an app doesn't use topics."
Julia Reynolds [Tue, 26 Jan 2016 21:21:04 +0000 (21:21 +0000)]
Merge "Show app level settings when an app doesn't use topics."

8 years agoMerge "New string constants shown when new SMS arrives while phone is locked."
Ji Yang [Tue, 26 Jan 2016 21:18:44 +0000 (21:18 +0000)]
Merge "New string constants shown when new SMS arrives while phone is locked."

8 years agoMerge "Restore code to draw backdrop and content nodes"
Chong Zhang [Tue, 26 Jan 2016 20:52:11 +0000 (20:52 +0000)]
Merge "Restore code to draw backdrop and content nodes"

8 years agoRestore code to draw backdrop and content nodes
Chong Zhang [Mon, 25 Jan 2016 20:01:12 +0000 (12:01 -0800)]
Restore code to draw backdrop and content nodes

bug: 26626661
Change-Id: I9e4dd41708e8ed93d3cf64242ad81815a653d269

8 years agoShow app level settings when an app doesn't use topics.
Julia Reynolds [Mon, 25 Jan 2016 21:36:59 +0000 (16:36 -0500)]
Show app level settings when an app doesn't use topics.

Change-Id: I205062868ac3a44aa24a29bcb82a9374026287a7

8 years agoMerge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0...
Nick Vaccaro [Tue, 26 Jan 2016 20:34:20 +0000 (20:34 +0000)]
Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f  -s ours am: 3e413dfcdd  -s ours
am: f5958497d3  -s ours

* commit 'f5958497d36ac64ed1f2bbbd80cb0a3a24e94f13':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission

8 years agoCamera2: Add LEVEL_3 to android.info.supportedHardwareLevel
Eino-Ville Talvala [Thu, 21 Jan 2016 21:55:11 +0000 (13:55 -0800)]
Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel

LEVEL_3 is a new high-level label for camera devices that support more
than the existing FULL-level capabilities.

Bug: 25114814
Change-Id: Ibed66ed6b83e4f28598455255d86b13b78f1f13b

8 years agoMerge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0...
Nick Vaccaro [Tue, 26 Jan 2016 20:21:37 +0000 (20:21 +0000)]
Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f  -s ours
am: 3e413dfcdd  -s ours

* commit '3e413dfcddf27f1a44012e4c1d2b80bdcacd1e26':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission

8 years agoGrow recents when in multi-window on phones
Jorim Jaggi [Tue, 26 Jan 2016 03:15:12 +0000 (19:15 -0800)]
Grow recents when in multi-window on phones

- Make sure all methods in RecentsImpl are called from the main thread.
- On secondary users, call dockTopTask in correct process.
- When opening recents, split it differently when on phones.

Change-Id: I10224452b1a9c0ae691d64cceeae5bb93cc4f6d8

8 years agoMerge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev
Nick Vaccaro [Tue, 26 Jan 2016 20:16:15 +0000 (20:16 +0000)]
Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev
am: 907108ca0f  -s ours

* commit '907108ca0f4e69dd170a507c5830591712ec5967':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission

8 years agoMerge "IBluetooth: remove dump(), support arguments"
Marie Janssen [Tue, 26 Jan 2016 20:14:58 +0000 (20:14 +0000)]
Merge "IBluetooth: remove dump(), support arguments"

8 years agoMerge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev
Nick Vaccaro [Tue, 26 Jan 2016 20:13:26 +0000 (20:13 +0000)]
Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev

8 years agoMerge "Remove Data RealTime Info Listener Support"
Nathan Harold [Tue, 26 Jan 2016 20:13:26 +0000 (20:13 +0000)]
Merge "Remove Data RealTime Info Listener Support"

8 years ago[DO NOT MERGE ANYWHERE] Fix bodysensor permission
Peng Xu [Fri, 22 Jan 2016 08:44:28 +0000 (00:44 -0800)]
[DO NOT MERGE ANYWHERE] Fix bodysensor permission

Bug: 26481493
Bug: 26447970
Change-Id: Ibeaf5a5e39f0dc552cf115d2834a1ec28ecef5ab

8 years agoMerge "change the default notification rules"
Chris Wren [Tue, 26 Jan 2016 20:00:58 +0000 (20:00 +0000)]
Merge "change the default notification rules"

8 years agoIBluetooth: remove dump(), support arguments
Marie Janssen [Wed, 13 Jan 2016 00:05:15 +0000 (16:05 -0800)]
IBluetooth: remove dump(), support arguments

Because IBluetooth is a Binder service, we don't need dump() to
support dumpsys, just call the IBinder.dump().

Change-Id: Idcd48f758427b824e0b7eaafd091ba3fb2ff8993
(cherry picked from commit adbb3ff062e039b2552c6b5ded92e56346ac3934)

8 years agochange the default notification rules
Chris Wren [Mon, 25 Jan 2016 22:10:30 +0000 (17:10 -0500)]
change the default notification rules

should make devices less noisy by default
more metrics so we can tell exactly what we're doing.

Change-Id: I2504df91083074de8fe08c896e017335bc0bc1c7

8 years agoFix SecurityException in Editor.onDrop
Vladislav Kaznacheev [Fri, 22 Jan 2016 19:49:13 +0000 (11:49 -0800)]
Fix SecurityException in Editor.onDrop

When a content URI is dropped onto EditText, it tries making sense
of the contents, and in the process it accesses the content provider.
If this content provider requires a permission grant, SecurityException
occurs.

This fix does two things:
1. Editor.onDrop now requests DropPermissions and releases is
when it is done. This required the introduction of a new hidden method
DropPermissions.takeTransient, because the existing method required
access to an Activity instance.

2. If the drag originator neglected to allow the permission grant,
DropPermission request would not help, so a try/catch block
is added to Editor.onDrop to avoid breaking the recipient app.

Bug: 26694948
Change-Id: I714429a507e62c83a150d91fbcdee791bced3ad3

8 years agoMerge "Updates to SuggestionParser"
Jason Monk [Tue, 26 Jan 2016 19:52:54 +0000 (19:52 +0000)]
Merge "Updates to SuggestionParser"

8 years agoFullscreen user switcher layout tweaks.
Rakesh Iyer [Sat, 23 Jan 2016 03:58:35 +0000 (19:58 -0800)]
Fullscreen user switcher layout tweaks.

The hard coded padding between the disclaimer text and
the UserGridView was causing troubles with smaller screen
sizes so use layout weights instead to achieve the same
results.

Bug: 26749378
Change-Id: I8a3b0784696ad14ec8f9f99a2af649f43d187307

8 years agoUpdates to SuggestionParser
Jason Monk [Tue, 26 Jan 2016 18:57:37 +0000 (13:57 -0500)]
Updates to SuggestionParser

Added support for feature requirements and return after dismiss delays.

Change-Id: I80e80a55817cd4d9717876e34fc591b3dd3228f1

8 years agoMerge "Prevent (and repair) poisoned full-data backup queue"
Chris Tate [Tue, 26 Jan 2016 19:39:08 +0000 (19:39 +0000)]
Merge "Prevent (and repair) poisoned full-data backup queue"

8 years agosysui: remove shelf
Xiaohui Chen [Tue, 26 Jan 2016 19:20:39 +0000 (11:20 -0800)]
sysui: remove shelf

Bug: 26742568
Change-Id: I10bbf55b4b93fb5d360a56dcc59c943d8806a27e

8 years agoDO NOT MERGE sysui: remove shelf
Xiaohui Chen [Tue, 26 Jan 2016 19:21:35 +0000 (11:21 -0800)]
DO NOT MERGE sysui: remove shelf

Bug: 26742568
Change-Id: I36bd013c4adb62b76b6f2789aa490c1484a535d7

8 years agoNew string constants shown when new SMS arrives while phone is locked.
Ji Yang [Fri, 22 Jan 2016 01:29:50 +0000 (17:29 -0800)]
New string constants shown when new SMS arrives while phone is locked.

Bug: 26232405
Change-Id: I979daab3d416b16ac4e1e488134f25ff75bad873

8 years agoMerge "Fix tests"
John Reck [Tue, 26 Jan 2016 18:59:27 +0000 (18:59 +0000)]
Merge "Fix tests"

8 years agoPrevent (and repair) poisoned full-data backup queue
Christopher Tate [Fri, 22 Jan 2016 23:05:32 +0000 (15:05 -0800)]
Prevent (and repair) poisoned full-data backup queue

An app that transitioned from full-data to key/value backup regimes
was being left in the full-data backup queue until next reboot.  In
edge cases this would result in the app being inappropriately shut
down for backup; furthermore, it would potentially cause there to
exist a full-data payload for the app that was considered "newest"
and therefore be the one delivered at restore time on a new device
or app (re)installation.

Defense in depth: full-backup candidates are just-in-time reevaluated
for validity when they come up again in the queue; app update
notifications cause a reevaluation and removal from the queue if
full-data is no longer the right modality; and the common engine for
all cloud-facing full-data backups does an additional last-ditch
validation that each stated target is actually supposed to get
full-data backups rather than key/value, to backstop the checks on
queue-presence validity.

Bug 26744511

Change-Id: I55bea3e19a2cab0150dbe5a08dd9fc550f0068c4

8 years agoFix tests
John Reck [Tue, 26 Jan 2016 18:50:10 +0000 (10:50 -0800)]
Fix tests

Disable FrameBuilder.clippedMerging as it relies on
merged bitmap ops which was disabled in b/26793764

Fix Buffer to correctly initialize mRefs count

Change-Id: I87d2fcc690a2ae14eaf751f650f522be5b622edf

8 years agoFix reentrant deadlock in GLSurfaceView.
Robert Carr [Tue, 26 Jan 2016 08:18:42 +0000 (00:18 -0800)]
Fix reentrant deadlock in GLSurfaceView.

It is possible for clients to call SurfaceView
methods e.g. setFormat from the GLSurfaceView#Renderer
drawFrame callback. In this case, SurfaceView#updatewindow
will understand that a redraw is required, and will request
it back to GLSurfaceView. Remember, we are still on the GLThread
though (from the drawFrame callback). So these methods
(requestRenderAndWait, windowSizeChanged), need to be reentrant.
Also fix a data race around mWantRenderNotification, which was
accessed out of lock.

Bug: 26770615
Change-Id: Ic66a36c886ae0b085dd456a4220f0d4f270fb016