230838 Commits

Author SHA1 Message Date
Daichi Hirono
2f310f6d5d Reuse buffer when reading bytes from files.
Previously AppFuse getObjectBytes returns byte array and the array's
length needs to equals to the exact number of bytes the method read.

The CL change the function signature so that it can return the number of
read bytes. And reuse a buffer array instead of slicing the array with
valid length.

BUG=None

Change-Id: I78b714554cac9ae71b895cb8929bc98969f5a8ca
2016-01-28 14:09:26 +09:00
Renat Aksitov
5012919bc3 Merge "Voice Messaging Intent API." 2016-01-27 03:44:52 +00:00
Renat Aksitov
799da391d6 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
2016-01-26 19:39:42 -08:00
Mihai Nita
137b96e3a4 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
2016-01-26 18:53:41 -08:00
Felipe Leme
888b432a27 Merge "Send broadcasts as foreground, otherwise test might fail when running after reboot." 2016-01-27 02:19:20 +00:00
Felipe Leme
ec17538d46 Send broadcasts as foreground, otherwise test might fail when running
after reboot.

BUG: 26805230
Change-Id: I05dcf9871c9b4c4c9a465466d60ebe9a1ac63e51
2016-01-26 18:17:15 -08:00
Michael Wright
24bbed26ab Merge "Change storage duration to static for native choreographer." 2016-01-27 02:06:24 +00:00
Jae Seo
fb85c6b60a Merge "TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods" 2016-01-27 01:58:37 +00:00
Winson Chung
80a5314ad3 Merge "Fixing notification of the docked stack state for the current user." 2016-01-27 01:50:20 +00:00
Roozbeh Pournader
486117bf5b Merge "Move locale negotiation to ResourcesManager" 2016-01-27 01:48:39 +00:00
Tomasz Mikolajewski
8012366ac4 Merge "Wire multi-parents support for moving to DocumentsUI." 2016-01-27 01:42:35 +00:00
Jae Seo
c03671fdf6 TIF: Add Builder to TvInputInfo and deprecate createTvInputInfo methods
Bug: 25726241
Change-Id: I8eae9c0c939e7ec4bdfbdbf40d0d1d70a5e0d45c
2016-01-26 17:40:04 -08:00
Tomasz Mikolajewski
b8436af1b8 Wire multi-parents support for moving to DocumentsUI.
Bug: 26481380

Change-Id: Ief7db8f8abeca94e47832995fd0e2a6f31bfbc93
2016-01-27 10:40:04 +09:00
Rubin Xu
acab7adb84 Merge "Fix build breakage" 2016-01-27 01:31:43 +00:00
Rubin Xu
c1dd4de11c Fix build breakage
Change-Id: I3f59cbe854384f292965752081b38a4aa9bcf16c
2016-01-27 01:21:52 +00:00
Jorim Jaggi
f3e87908cd Merge changes I10224452,I7af4149f
* changes:
  Grow recents when in multi-window on phones
  Add animation when docking top task with long press
2016-01-27 01:21:00 +00:00
Craig Donner
781c53a8e2 Merge "Setting consumer protected mode on from SurfaceTexture when in a protected context." 2016-01-27 01:17:27 +00:00
Winson
dcf4826c52 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
2016-01-27 01:11:13 +00:00
Rob Carr
aed01e49ff Merge "Fix reentrant deadlock in GLSurfaceView." 2016-01-27 00:47:52 +00:00
Rubin Xu
7705a0d6ad resolve merge conflicts of b84954cf92 to master.
Change-Id: I8a5a1a989968c46ea4807db9e7e06b298244876d
2016-01-27 00:43:38 +00:00
Vladislav Kaznacheev
a74e729fa9 Merge "Fix SecurityException in Editor.onDrop" 2016-01-27 00:38:38 +00:00
Shishir Agrawal
05a7dfc48d Merge "Unhiding MSIM APIs." 2016-01-27 00:32:26 +00:00
Wonsik Kim
2303361b40 Merge "media: add HEVC support to MediaRecorder" 2016-01-27 00:31:23 +00:00
Rubin Xu
b84954cf92 Merge "API to set multiple CA certificates for WifiEnterpriseConfig" into mm-wireless-dev 2016-01-27 00:26:58 +00:00
Carlos Valdivia
3cdbc806ff Merge "Permissions: Get rid of GET_ACCOUNTS" 2016-01-27 00:12:06 +00:00
Michael Wright
ff20b979e7 Change storage duration to static for native choreographer.
This ensures that the region is zero initialized, regardless of compiler.

Change-Id: Ie0bfa5d2cd2486ba31a45aee4de6c370513bfc62
2016-01-26 16:03:25 -08:00
Youngsang Cho
d475e1a27c Merge "Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI" 2016-01-26 23:58:05 +00:00
Chad Brubaker
05dd853526 Merge "Support TrustedCertificateStore.findAllIssuers" 2016-01-26 23:49:00 +00:00
Selim Cinek
2759d77123 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
2016-01-26 23:45:03 +00:00
Selim Cinek
61633a8db8 Added bigger notification paddings above and below groups
Bug: 24866646
Change-Id: I0bca7a1abcbc0fa816aeed5729e650de24f523f0
2016-01-26 15:30:28 -08:00
Selim Cinek
277a8aa409 Replacing alpha with shadowAlpha
Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb
2016-01-26 15:30:28 -08:00
Selim Cinek
cacc604115 Fixed the divider height to be at least 1px high
Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5
2016-01-26 15:30:28 -08:00
Selim Cinek
d35c2793a3 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
2016-01-26 15:30:28 -08:00
Selim Cinek
614576e37b Animating background of the notifications now
Change-Id: Ia94e1a0ca67922e6983697dfbc68d5681de02f7e
2016-01-26 15:30:28 -08:00
Selim Cinek
6811d728fb 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
2016-01-26 15:30:28 -08:00
Selim Cinek
c18010f672 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
2016-01-26 15:30:28 -08:00
Selim Cinek
4fd5dfc1c3 Removed the visual speedbump
Change-Id: Iaacfc75ba691db07522e9d1d893aecd6b3be6338
2016-01-26 15:30:28 -08:00
Selim Cinek
587cbf30a7 Remove the scale animation from the lockscreen
With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd
2016-01-26 15:30:28 -08:00
Selim Cinek
33d4614dfe Removed notification top padding
Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee
2016-01-26 15:30:28 -08:00
Selim Cinek
ca85ef8537 Removed round rect clipping for notifications and qs
Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
2016-01-26 15:30:28 -08:00
Selim Cinek
924c612b87 Removed notification side paddings
Removed all notification paddings on the side.
Bug: 24866646

Change-Id: I1a3e7b9ec5156cb953e06a83afa72c5ad36a2025
2016-01-26 15:30:28 -08:00
Chet Haase
af8859fcae Merge "Fix problem with zero-duration AnimatedVectorDrawables" 2016-01-26 23:29:36 +00:00
Nathan Harold
67269fe0e5 Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
am: 4269239f86

* commit '4269239f865c55266e8ef7ef01b569c7fbfc1444':
  Make DcRtInfo Power State Constants Final
2016-01-26 23:25:16 +00:00
Nathan Harold
4269239f86 Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev 2016-01-26 23:19:38 +00:00
Victor Chan
a88abe084e Merge "Use vector drawables for icons on car navbar" 2016-01-26 23:16:20 +00:00
Eino-Ville Talvala
9068fd387c Merge "Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel" 2016-01-26 23:01:09 +00:00
Philip P. Moltmann
e33b954165 Merge "Check parameters for callers of IPrintManager" 2016-01-26 22:52:58 +00:00
Vinit Deshpande
9465a03831 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
2016-01-26 22:41:15 +00:00
Vinit Deshpande
82c8b7edd0 Merge "Remove older passpoint code that we never made to work" into mm-wireless-dev 2016-01-26 22:37:06 +00:00
Sudheer Shanka
39cef94f1a 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
2016-01-26 22:34:41 +00:00