OSDN Git Service

android-x86/frameworks-base.git
10 years agoRemove commented out dead code
Svetoslav [Fri, 11 Jul 2014 22:47:32 +0000 (15:47 -0700)]
Remove commented out dead code

Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb

10 years agoFix TimePicker behavior
Fabrice Di Meglio [Fri, 11 Jul 2014 02:33:33 +0000 (19:33 -0700)]
Fix TimePicker behavior

- use Alert Theme and make the TimePickerDialog show its done button
in the legacy mode
- if targetSdkVersion < L or if TV UI show the legacy TimePicker

Change-Id: I19ca6dbbcb50599c7e230262a23956c185f53a5c

10 years agoMediaCodec: update documentation on buffer metadata.
Lajos Molnar [Mon, 7 Jul 2014 18:32:08 +0000 (11:32 -0700)]
MediaCodec: update documentation on buffer metadata.

- Deprecated BUFFER_FLAG_SYNC_FRAME (as it actually marks key
  frames).
- Clarified that BUFFER_FLAG_KEY_FRAME is used for encoded output
  buffers.
- Clarified that presentationTimeUs is not an actual render
  timestamp (as opposed to releaseOutputBuffer's render timestamp).

Bug: 12006531
Change-Id: Ia27b9f606a9d7eef9c0c2900cd864a4421c7cf31

10 years agoMerge "Fix broken blend intrinsic."
Tim Murray [Fri, 11 Jul 2014 22:38:32 +0000 (22:38 +0000)]
Merge "Fix broken blend intrinsic."

10 years agoFix print preview rendered page preloading.
Svetoslav [Fri, 11 Jul 2014 22:19:22 +0000 (15:19 -0700)]
Fix print preview rendered page preloading.

After the preview list is scrolled we are preloading the
pages around the ones that are shown, so now if the user
does a slight adjustment (expected after a scroll) the
pages around are rendered. There was an off by one error
and one of the bitmaps of the shown pages was reused and
as a result the wrong content was shown.

Change-Id: If04aebf46bcc637491221c6218005ecc1a7253d2

10 years agoFix the print button appearance.
Svetoslav [Fri, 11 Jul 2014 21:39:43 +0000 (14:39 -0700)]
Fix the print button appearance.

Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b

10 years agoStyle improvements to LayoutLib create.
Deepanshu Gupta [Thu, 10 Jul 2014 23:16:29 +0000 (16:16 -0700)]
Style improvements to LayoutLib create.

This change doesn't change the functionality but removes dead code and
simplifies various places to remove warnings.

Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62

10 years agoUpdate delegates
Deepanshu Gupta [Thu, 10 Jul 2014 20:57:52 +0000 (13:57 -0700)]
Update delegates

Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a

10 years agoMerge "Unhide WifiAdapter APIs"
Vinit Deshpande [Fri, 11 Jul 2014 21:36:52 +0000 (21:36 +0000)]
Merge "Unhide WifiAdapter APIs"

10 years agoAdd task affiliation
Craig Mautner [Wed, 9 Jul 2014 12:44:55 +0000 (05:44 -0700)]
Add task affiliation

Introduces new flag Intent.FLAG_ACTIVITY_LAUNCH_BEHIND which
causes the newly launched task to affiliate with the launching task.
(Later this flag will also launch the task behind the current task).
This shows up in a new member of the RecentTaskInfo class. This also
causes the recents list returned by getRecentsInfo to be rearranged
so that affiliated tasks are together.

Fixes bug 16157517.

Change-Id: Ia1386af50da2f01809278b62d249f05c6a0de951

10 years agoUnhide WifiAdapter APIs
Vinit Deshpande [Fri, 11 Jul 2014 19:48:04 +0000 (12:48 -0700)]
Unhide WifiAdapter APIs

Change-Id: Ia19ab4cfddddd3285ae9e0c5804f2cceda4cf063

10 years agoMerge "camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS"
Igor Murashkin [Fri, 11 Jul 2014 21:09:53 +0000 (21:09 +0000)]
Merge "camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS"

10 years agocamera2: (LEGACY) Update flash modes to fix #testFlashControl CTS
Igor Murashkin [Fri, 11 Jul 2014 01:08:47 +0000 (18:08 -0700)]
camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS

Change-Id: I9b66a2b4393f4bc2272ecc94cd9a5c6273f3de59

10 years agocamera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock
Igor Murashkin [Thu, 10 Jul 2014 23:46:07 +0000 (16:46 -0700)]
camera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock

Change-Id: I5c1008cf34a9d98f67c36966e7cbf1c312979f97

10 years agocamera2: (Legacy) Implement ae compensation step ranges and ae/awb locks
Igor Murashkin [Thu, 10 Jul 2014 00:20:23 +0000 (17:20 -0700)]
camera2: (Legacy) Implement ae compensation step ranges and ae/awb locks

Characteristics:
* control.aeCompensationRange
* control.aeCompensationStep

Request/Result:
* control.aeExposureCompensation
* control.aeLock
* control.awbLock

Change-Id: I911616c9cf3e0e9a03a0cb383bcf232cab8ca772

10 years agocamera2: (legacy) Implement AF/AE regions for request and result
Igor Murashkin [Wed, 9 Jul 2014 21:21:29 +0000 (14:21 -0700)]
camera2: (legacy) Implement AF/AE regions for request and result

* Also stop lying about max AE regions (now reports the truth)

Change-Id: I567a1e6c58ed0bfb77cc09787393ea18eba5d613

10 years agoMerge "Add VoiceInteraction request type for successful actions."
Barnaby James [Fri, 11 Jul 2014 18:36:53 +0000 (18:36 +0000)]
Merge "Add VoiceInteraction request type for successful actions."

10 years agoAdd VoiceInteraction request type for successful actions.
Barnaby James [Mon, 7 Jul 2014 17:51:06 +0000 (10:51 -0700)]
Add VoiceInteraction request type for successful actions.

Add CompleteVoiceRequest to VoiceInteractor to allow apps to indicate when a voice interaction was successfully completed.

Change-Id: I1481cfe96e9e2495d88a7a4fb62263bdd1e03c54

10 years agoMerge "Fix SDK build breakage"
Yohei Yukawa [Fri, 11 Jul 2014 17:05:01 +0000 (17:05 +0000)]
Merge "Fix SDK build breakage"

10 years agofix build: hide AudioAttributes.usageToString() method
Jean-Michel Trivi [Fri, 11 Jul 2014 17:01:00 +0000 (10:01 -0700)]
fix build: hide AudioAttributes.usageToString() method

Change-Id: I1041d9bf530df45878dd61e30e32f5a2f4f9d1a1

10 years agoFix SDK build breakage
Yohei Yukawa [Fri, 11 Jul 2014 16:59:07 +0000 (01:59 +0900)]
Fix SDK build breakage

This should have been included in I3c6b69bd9d79b199afe68d838f25effa6

BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c

10 years agoAddressing comments for the print preview feature.
Svetoslav [Fri, 11 Jul 2014 16:45:07 +0000 (09:45 -0700)]
Addressing comments for the print preview feature.

Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5

10 years agoFix an abi <-> instructionSet mixup.
Narayan Kamath [Fri, 11 Jul 2014 15:14:00 +0000 (16:14 +0100)]
Fix an abi <-> instructionSet mixup.

We should be calling is64BitInstructionSet and
not is64BitAbi.

Change-Id: I5b099af19f1d7409f65f63493d3f13a830f4fb5d

10 years agoMerge "Zen: Be more defensive against old time conditions."
John Spurlock [Fri, 11 Jul 2014 18:36:20 +0000 (18:36 +0000)]
Merge "Zen: Be more defensive against old time conditions."

10 years agoZen: Be more defensive against old time conditions.
John Spurlock [Fri, 11 Jul 2014 18:33:18 +0000 (14:33 -0400)]
Zen: Be more defensive against old time conditions.

Bug:16192570
Change-Id: If5097174fac89c5d809271241645d1efca92476e

10 years agoMerge "Fix apparent delay in removing a managed profile"
Amith Yamasani [Fri, 11 Jul 2014 16:35:32 +0000 (16:35 +0000)]
Merge "Fix apparent delay in removing a managed profile"

10 years agoFix apparent delay in removing a managed profile
Amith Yamasani [Fri, 11 Jul 2014 15:40:19 +0000 (08:40 -0700)]
Fix apparent delay in removing a managed profile

Bug: 15268575

When returning the list of profiles, don't include dying users.

Change-Id: Ifeaed5c7c2b93922cddea22057dd890a1b3750fc

10 years agoAllow 3 letter language codes in InputMethodUtils.
Narayan Kamath [Fri, 11 Jul 2014 10:50:24 +0000 (11:50 +0100)]
Allow 3 letter language codes in InputMethodUtils.

Replace locale.substring(0, 2) with a function that always
returns the first component of the locale (assumed to be the
language).

bug: 10090157
Change-Id: Ibb9eb9f65323795d139b16d76b7e7e36a4e0568c

10 years agoFix weird state when tracking and pressing back
Jorim Jaggi [Fri, 11 Jul 2014 00:12:03 +0000 (02:12 +0200)]
Fix weird state when tracking and pressing back

Bug: 10934514
Change-Id: I60bbd6005e664033ed22c87b404ddc918e5f2c0e

10 years agoMerge "Volume: delay dismissing panel when starting settings."
John Spurlock [Fri, 11 Jul 2014 15:10:03 +0000 (15:10 +0000)]
Merge "Volume: delay dismissing panel when starting settings."

10 years agoVolume: delay dismissing panel when starting settings.
John Spurlock [Fri, 11 Jul 2014 15:07:53 +0000 (11:07 -0400)]
Volume: delay dismissing panel when starting settings.

Bug:16211952
Change-Id: I067721d932076dafb35c6afd99583301acff9bea

10 years agoHandle <Feature Abort> after <System Audio Mode Request>.
Yuncheol Heo [Fri, 11 Jul 2014 07:06:40 +0000 (16:06 +0900)]
Handle <Feature Abort> after <System Audio Mode Request>.

- Fix some wrong return values.

Bug: 15841647
Change-Id: Ia4596e87204196b48429d55da4945f84de51a07b

10 years agoMerge "Add simple InputMethodSubtypeTest"
Yohei Yukawa [Fri, 11 Jul 2014 10:59:07 +0000 (10:59 +0000)]
Merge "Add simple InputMethodSubtypeTest"

10 years agoAdd simple InputMethodSubtypeTest
Yohei Yukawa [Fri, 11 Jul 2014 10:41:07 +0000 (19:41 +0900)]
Add simple InputMethodSubtypeTest

Change-Id: I87105c4935adfca249378e667161d2998cf77840

10 years agoMerge "QS: Recenter feedback for non-dual tiles."
John Spurlock [Fri, 11 Jul 2014 02:51:18 +0000 (02:51 +0000)]
Merge "QS: Recenter feedback for non-dual tiles."

10 years agoQS: Recenter feedback for non-dual tiles.
John Spurlock [Fri, 11 Jul 2014 02:49:16 +0000 (22:49 -0400)]
QS: Recenter feedback for non-dual tiles.

And dial the radius down a bit.

Bug:15168179
Change-Id: I946c556b6c31a74a526368097c5c16a7ddbc9749

10 years agoMerge "Revamp HDMI-CEC system audio mode integration with audio service."
Jungshik Jang [Fri, 11 Jul 2014 02:15:31 +0000 (02:15 +0000)]
Merge "Revamp HDMI-CEC system audio mode integration with audio service."

10 years agoRevamp HDMI-CEC system audio mode integration with audio service.
Jungshik Jang [Tue, 8 Jul 2014 12:17:29 +0000 (21:17 +0900)]
Revamp HDMI-CEC system audio mode integration with audio service.

In previous change we use setForceUse(FORCE_MEDIA, XXX) method
in order to set specific audio output type, such as LINE, HDMI_ARC,
and SPDIF. But it turns out that it conflicts with bluetooth
a2dp which uses the same setForceUse(FORCE_MEDIA, yyy).

This change is based on several conditions.

1. When other non-speaker devices are on, prevent system audio
   from turing on.
2. In order to keep track of other devices' connectivity and to
   turn off system audio if other device like bluetooth or
   headphone preempts current output, register OnAudioPortChangeListner
   to audio manager.
3. All possible system audio outputs can be merged with other
   outputs without priority.

Change-Id: Id4e47d99db64b9f77a17c2c28c47787ab8980bf7

10 years agoFix BCP47 language tags in fallback_fonts.xml
Raph Levien [Thu, 10 Jul 2014 22:45:26 +0000 (15:45 -0700)]
Fix BCP47 language tags in fallback_fonts.xml

The BCP47 tag we use for selecting Simplified vs Traditional Chinese is
Hans and Hant. This patch uses those tags in fallback_fonts.xml rather
than country names, which weren't getting matched.

Change-Id: I97e1da7b86e8fe8f026365146393304a5ab74443

10 years agoMerge "Update HdmiControlService JNI to the change in HAL definition"
Jinsuk Kim [Fri, 11 Jul 2014 02:39:46 +0000 (02:39 +0000)]
Merge "Update HdmiControlService JNI to the change in HAL definition"

10 years agoQS: Enable wifi entering detail (if disabled).
John Spurlock [Fri, 11 Jul 2014 02:20:46 +0000 (22:20 -0400)]
QS: Enable wifi entering detail (if disabled).

Bug:16215297
Change-Id: I3cf2b7fadec0b10aeb894db5dc0b92d8b83511f7

10 years agoUpdate HdmiControlService JNI to the change in HAL definition
Jinsuk Kim [Thu, 10 Jul 2014 22:26:45 +0000 (07:26 +0900)]
Update HdmiControlService JNI to the change in HAL definition

Change-Id: Iab235785c4d0242ab5845d1f8ad62d78770ff9c4

10 years agoAdding call capabilities to indicate whether call supports VT.
Tyler Gunn [Thu, 10 Jul 2014 21:34:51 +0000 (14:34 -0700)]
Adding call capabilities to indicate whether call supports VT.

Bug: 16213105
Change-Id: Icb05d3f0f6bd90b2c45bdfb7b199f38aaecc16ca

10 years agoMerge "Define audio policy, mixes, and mixing rules"
Jean-Michel Trivi [Fri, 11 Jul 2014 16:33:09 +0000 (16:33 +0000)]
Merge "Define audio policy, mixes, and mixing rules"

10 years agoDefine audio policy, mixes, and mixing rules
Jean-Michel Trivi [Tue, 1 Jul 2014 16:48:46 +0000 (09:48 -0700)]
Define audio policy, mixes, and mixing rules

An AudioMixingRule is a collection of AudioAttributes and match/exclude
   rules.
An AudioMix is defined by its AudioMixingRule, AudioFormat and
   routing flag.
An AudioPolicyConfig is a collection of AudioMix and is
   parcellable.
An AudioPolicy has an AudioPolicyConfig, and
   can be registered/unregistered through AudioManager.

bug 16009464

Change-Id: I01bf95d014967f48ba823648ea897779da099e5d

10 years agoMerge "Use a bit more descriptive name for a parameter"
Yohei Yukawa [Fri, 11 Jul 2014 16:20:06 +0000 (16:20 +0000)]
Merge "Use a bit more descriptive name for a parameter"

10 years agoUse a bit more descriptive name for a parameter
Yohei Yukawa [Fri, 11 Jul 2014 16:11:45 +0000 (01:11 +0900)]
Use a bit more descriptive name for a parameter

The current parameter name "index" in
CursorAnchorInfo.Builder#setComposingText is a bit hard
to understand.

This CL names it with "composingTextStart" to clarify its usage.

Change-Id: I504939b8d2b48875d8baa9630b5a4f04a5d66dbe

10 years agoMerge "Define NETID_UNSET in ConnectivityManager."
Paul Jensen [Fri, 11 Jul 2014 16:15:08 +0000 (16:15 +0000)]
Merge "Define NETID_UNSET in ConnectivityManager."

10 years agoDefine NETID_UNSET in ConnectivityManager.
Paul Jensen [Fri, 11 Jul 2014 12:17:29 +0000 (08:17 -0400)]
Define NETID_UNSET in ConnectivityManager.

This allows some cleanup and removal of dead code.

bug:15489928
Change-Id: Iaf0507bc2e8ec6dcc253f01f61c5b221d46581f9

10 years agoMerge "Remove material progress drawable"
Alan Viverette [Thu, 10 Jul 2014 22:55:35 +0000 (22:55 +0000)]
Merge "Remove material progress drawable"

10 years agoRemove material progress drawable
Alan Viverette [Thu, 10 Jul 2014 22:48:37 +0000 (15:48 -0700)]
Remove material progress drawable

BUG: 16138805
Change-Id: If8a8981e6ce741d563e870e3c09cbb5f39d30ac9

10 years agoMerge "Allow a VPN to be declared bypassable."
Sreeram Ramachandran [Thu, 10 Jul 2014 21:44:56 +0000 (21:44 +0000)]
Merge "Allow a VPN to be declared bypassable."

10 years agoAllow a VPN to be declared bypassable.
Sreeram Ramachandran [Thu, 10 Jul 2014 04:43:03 +0000 (21:43 -0700)]
Allow a VPN to be declared bypassable.

A VPN declared bypassable allows apps to use the new multinetwork APIs to
send/receive traffic directly over the underlying network, whereas without it,
traffic from those apps would be forced to go via the VPN.

Apps still need the right permissions to access the underlying network. For
example, if the underlying network is "untrusted", only apps with
CHANGE_NETWORK_STATE (or such permission) can actually use it directly.

New API with stub implementation to be filled out later.

Bug: 15347374
Change-Id: I8794715e024e08380a43f7a090613c5897611c5b

10 years agoNotificationListenerService API: Avoid unnecessary allocations
Christoph Studer [Thu, 12 Jun 2014 13:25:59 +0000 (15:25 +0200)]
NotificationListenerService API: Avoid unnecessary allocations

Instead of producing Ranking objects, RankingMap just populates
them now, allowing developers to re-use objects and avoid
unnecessary allocations.

Also rename isInterceptedByDnd() to meetsInterruptionFilter(),
since DND is not a concept anymore.

Bug: 15415840
Bug: 16099064
Change-Id: If9861cbdf14593e641a4d4ffd1b967647eb8e2b8

10 years agoMerge "Mark FLP constants as public, so they can be consumed by geofencing."
destradaa [Thu, 10 Jul 2014 21:36:43 +0000 (21:36 +0000)]
Merge "Mark FLP constants as public, so they can be consumed by geofencing."

10 years agoLet VpnService specify a white/black list of apps that are allowed access.
Sreeram Ramachandran [Thu, 10 Jul 2014 04:11:12 +0000 (21:11 -0700)]
Let VpnService specify a white/black list of apps that are allowed access.

New API with stub implementation to be filled out later.

Bug: 13651397
Change-Id: Ibabd6c22495ce58dc88142bb958c1ef12adcf78e

10 years agoImplement two-finger pull down to QS.
Jorim Jaggi [Thu, 10 Jul 2014 21:07:00 +0000 (23:07 +0200)]
Implement two-finger pull down to QS.

Bug: 14590707
Change-Id: I7f88a5b26e88c79e19d4e6c7f4cc8277ffcb2d57

10 years agoMerge "Optimize gatherTransparentRegions to account for transparent bg"
Chet Haase [Fri, 11 Jul 2014 20:57:49 +0000 (20:57 +0000)]
Merge "Optimize gatherTransparentRegions to account for transparent bg"

10 years agoOptimize gatherTransparentRegions to account for transparent bg
Chet Haase [Fri, 11 Jul 2014 20:38:51 +0000 (13:38 -0700)]
Optimize gatherTransparentRegions to account for transparent bg

gatherTransparentRegions() incorrectly takes the background into account
even when that background drawable is a completely transparent ColorDrawable
(which you can get by calling View.setBackgroundColor(0)). Checking
the opacity of the drawable allows us to ignore drawables that are not
visible.

Issue #13465427 Performance suggestion: View.setBackgroundColor(0) should set background to null

Change-Id: Ic552bf6a07cc9229fd32febc3ada73a0701cad0c

10 years agoMerge changes I5c1008cf,I911616c9
Igor Murashkin [Fri, 11 Jul 2014 20:47:08 +0000 (20:47 +0000)]
Merge changes I5c1008cf,I911616c9

* changes:
  camera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock
  camera2: (Legacy) Implement ae compensation step ranges and ae/awb locks

10 years agoMerge "camera2: (legacy) Implement AF/AE regions for request and result"
Igor Murashkin [Fri, 11 Jul 2014 20:46:30 +0000 (20:46 +0000)]
Merge "camera2: (legacy) Implement AF/AE regions for request and result"

10 years agoSplit AM/PM from the rest of the time in expanded QS
Jorim Jaggi [Fri, 11 Jul 2014 19:42:00 +0000 (21:42 +0200)]
Split AM/PM from the rest of the time in expanded QS

This allows us to scale AM/PM independently of the rest of the time
string to allow for a different scale when QS is expanded.

Bug: 16177564
Change-Id: I472db549c875f6975583a6a426cb1ebc2fc37ac3

10 years agoMerge "Block focus with a touchscreen for ActionBars and Toolbars"
Adam Powell [Fri, 11 Jul 2014 20:40:06 +0000 (20:40 +0000)]
Merge "Block focus with a touchscreen for ActionBars and Toolbars"

10 years agoresolved conflicts for merge of d2b5f7da to master
Aaron Whyte [Fri, 11 Jul 2014 20:34:41 +0000 (13:34 -0700)]
resolved conflicts for merge of d2b5f7da to master

Change-Id: I8ec28728c12d7cc3ce2c4f3d09d9ce6162504618

10 years agoBlock focus with a touchscreen for ActionBars and Toolbars
Adam Powell [Fri, 11 Jul 2014 20:06:40 +0000 (13:06 -0700)]
Block focus with a touchscreen for ActionBars and Toolbars

Focus in the presence of a keyboard follows content, not navigational
elements.

Change-Id: I08d0f2fcfe0d4c58418466545b7b57d1345bd07f

10 years agoam 245c4f61: am 6462615c: Merge "docs: Changed screenshot to use layout name" into...
Andrew Solovay [Fri, 11 Jul 2014 20:23:06 +0000 (20:23 +0000)]
am 245c4f61: am 6462615c: Merge "docs: Changed screenshot to use layout name" into klp-modular-dev

* commit '245c4f6158b0f72f893cac7bbc1a18a9887be896':
  docs: Changed screenshot to use layout name

10 years agoMerge "Update location framework to accept raw data from GPS HAL."
destradaa [Fri, 11 Jul 2014 19:38:41 +0000 (19:38 +0000)]
Merge "Update location framework to accept raw data from GPS HAL."

10 years agoRemove old RippleDrawable constructor, fix new constructor
Alan Viverette [Fri, 11 Jul 2014 19:34:06 +0000 (12:34 -0700)]
Remove old RippleDrawable constructor, fix new constructor

BUG: 16221737
Change-Id: I3807d8d7ccccf66568b9d5421cb9456fe818e2bf

10 years agoUpdate location framework to accept raw data from GPS HAL.
destradaa [Tue, 24 Jun 2014 01:19:03 +0000 (18:19 -0700)]
Update location framework to accept raw data from GPS HAL.

Change-Id: Ib4feca004b53fa89dcece4299974ab08913455a0

10 years agoam f5e67474: Allow overlays to configure ConnectivityService\'s network sampling...
Aaron Whyte [Fri, 11 Jul 2014 01:46:08 +0000 (01:46 +0000)]
am f5e67474: Allow overlays to configure ConnectivityService\'s network sampling to not wake the device. This can increase clockwork device battery life. Bug:15455204

* commit 'f5e6747440cc0d29c663a792e32d9618f842ecf2':
  Allow overlays to configure ConnectivityService's network sampling to not wake the device. This can increase clockwork device battery life. Bug:15455204

10 years agoam 6462615c: Merge "docs: Changed screenshot to use layout name" into klp-modular-dev
Andrew Solovay [Fri, 11 Jul 2014 01:46:03 +0000 (01:46 +0000)]
am 6462615c: Merge "docs: Changed screenshot to use layout name" into klp-modular-dev

* commit '6462615c3913b74e14e356cf449115a012c39526':
  docs: Changed screenshot to use layout name

10 years agoUnhide RenderScript resize intrinsic
Jason Sams [Thu, 17 Apr 2014 20:52:26 +0000 (13:52 -0700)]
Unhide RenderScript resize intrinsic

Change-Id: I450c83ad00bcb7d999aaf7d4bd7ea88d63ab8fea

10 years agoMerge "Prevent users from mounting USB, if restricted."
Emily Bernier [Fri, 11 Jul 2014 18:48:11 +0000 (18:48 +0000)]
Merge "Prevent users from mounting USB, if restricted."

10 years agoMerge "MediaCodec async callbacks"
Chong Zhang [Fri, 11 Jul 2014 19:16:51 +0000 (19:16 +0000)]
Merge "MediaCodec async callbacks"

10 years agoMediaCodec async callbacks
Chong Zhang [Wed, 9 Jul 2014 01:49:21 +0000 (18:49 -0700)]
MediaCodec async callbacks

Bug: 11990118

Change-Id: I210d4302e1fd7e1a48d2228fd3f4f20c16b18a75

10 years agoAllow overlays to configure ConnectivityService's network sampling to not wake the...
Aaron Whyte [Thu, 10 Jul 2014 21:05:35 +0000 (14:05 -0700)]
Allow overlays to configure ConnectivityService's network sampling to not wake the device.
This can increase clockwork device battery life.
Bug:15455204

Change-Id: Ifc551e6a522627dc8e5cfdfb8f56d4e3cbeea936

10 years agoMerge "Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)"
Andre Eisenbach [Fri, 11 Jul 2014 18:27:05 +0000 (18:27 +0000)]
Merge "Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)"

10 years agoUnhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)
Wei Wang [Wed, 9 Jul 2014 21:03:42 +0000 (14:03 -0700)]
Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)

Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457

10 years agoMerge "TvInputManagerService: Suppress warning in dump() and fix typo"
Jae Seo [Fri, 11 Jul 2014 18:26:17 +0000 (18:26 +0000)]
Merge "TvInputManagerService: Suppress warning in dump() and fix typo"

10 years agoTvInputManagerService: Suppress warning in dump() and fix typo
Jae Seo [Wed, 2 Jul 2014 17:47:08 +0000 (10:47 -0700)]
TvInputManagerService: Suppress warning in dump() and fix typo

Change-Id: I21eaa5592b5f355cc7227e9047ade0869ebe9e9b

10 years agoFix arc 360 degree sweep rendering
Chris Craik [Fri, 11 Jul 2014 17:58:10 +0000 (10:58 -0700)]
Fix arc 360 degree sweep rendering

bug:15947035
Change-Id: I83715968cb90f4fcf39b25fb283d241d1a1284b5

10 years agoMerge "Allow INTERACT_ACROSS_USERS for service access."
Dianne Hackborn [Fri, 11 Jul 2014 17:43:58 +0000 (17:43 +0000)]
Merge "Allow INTERACT_ACROSS_USERS for service access."

10 years agoam 2ab3040e: am 908d35e7: am f4d498f1: Merge "docs: Release notes for support lib...
Ricardo Cervera [Fri, 11 Jul 2014 17:38:20 +0000 (17:38 +0000)]
am 2ab3040e: am 908d35e7: am f4d498f1: Merge "docs: Release notes for support lib v20" into klp-modular-dev

* commit '2ab3040ed0a5d18e65e5db3c2b960fcc7541cddd':

10 years agoam 703b32d6: am 1656fb8c: am 9a3dd19d: docs: Fixed angle bracket typo for task lockin...
Quddus Chong [Fri, 11 Jul 2014 17:38:16 +0000 (17:38 +0000)]
am 703b32d6: am 1656fb8c: am 9a3dd19d: docs: Fixed angle bracket typo for task locking command line instructions. bug: 16153312

* commit '703b32d6e58b161b0e4df5f6570e130e4c2d3aff':

10 years agoam 231f2ac7: am ca19b7cb: am a7efe9b8: am 912700fc: Merge "Add Telefonica/Movistar...
Robert Greenwalt [Fri, 11 Jul 2014 17:38:12 +0000 (17:38 +0000)]
am 231f2ac7: am ca19b7cb: am a7efe9b8: am 912700fc: Merge "Add Telefonica/Movistar specific APN details for dun"

* commit '231f2ac7bfb4c0444f2cc12b3e85fb9d1e15caee':

10 years agoFixing a few potential crashes, preparing for Task affiliations framework changes.
Winson Chung [Fri, 11 Jul 2014 17:32:42 +0000 (10:32 -0700)]
Fixing a few potential crashes, preparing for Task affiliations framework changes.

- Deferring widget host listening to speed up startup
- Ensuring that we animate to the right task position in the stack and not just the front-most
- Removing assumption that we can only get screenshots for the most recent task

10 years agoEnterprise caller-id: framework/base/Telephony
Makoto Onuki [Thu, 10 Jul 2014 22:32:16 +0000 (15:32 -0700)]
Enterprise caller-id: framework/base/Telephony

It's basically equivalent to http://ag/500455 and http://ag/499160.

Now "Send to voicemail" and the missed call notification uses the enterprise
lookup; they now work with a corp contact too.

Bug 15779911

Change-Id: I8a87f45ba7299cfbc516eb44326e02258e38cf63

10 years agoAllow INTERACT_ACROSS_USERS for service access.
Dianne Hackborn [Fri, 11 Jul 2014 00:39:20 +0000 (17:39 -0700)]
Allow INTERACT_ACROSS_USERS for service access.

But only if the two users are in the same profile.  Also
apply the same rule for the recently allowed interaction
across content providers.

The activity manager now keeps track of which users are in
the same profile group, and the handleIncomingUser function has
an option to allow a non-full caller to do the interaction
if the two users are in the same profile group.

Spread this joy all over the place.

Also turn off multi-user on Svelte devices.

Change-Id: I231484ea2a6bfccbb3cd51357d7a387bd75039ea

10 years agoam 908d35e7: am f4d498f1: Merge "docs: Release notes for support lib v20" into klp...
Ricardo Cervera [Fri, 11 Jul 2014 16:19:29 +0000 (16:19 +0000)]
am 908d35e7: am f4d498f1: Merge "docs: Release notes for support lib v20" into klp-modular-dev

* commit '908d35e79eb457f9fe5cecc33951ca68d2f80e30':
  docs: Release notes for support lib v20

10 years agoam 1656fb8c: am 9a3dd19d: docs: Fixed angle bracket typo for task locking command...
Quddus Chong [Fri, 11 Jul 2014 16:19:21 +0000 (16:19 +0000)]
am 1656fb8c: am 9a3dd19d: docs: Fixed angle bracket typo for task locking command line instructions. bug: 16153312

* commit '1656fb8cc74d56870c772c048fd479268fdfbb48':
  docs: Fixed angle bracket typo for task locking command line instructions. bug: 16153312

10 years agoam ca19b7cb: am a7efe9b8: am 912700fc: Merge "Add Telefonica/Movistar specific APN...
Robert Greenwalt [Fri, 11 Jul 2014 16:19:16 +0000 (16:19 +0000)]
am ca19b7cb: am a7efe9b8: am 912700fc: Merge "Add Telefonica/Movistar specific APN details for dun"

* commit 'ca19b7cbdfadb50f578fd688bec18a3fc34d98cd':
  Add Telefonica/Movistar specific APN details for dun

10 years agoMerge "LayoutLib: Fix System.arraycopy()"
Deepanshu Gupta [Fri, 11 Jul 2014 17:32:08 +0000 (17:32 +0000)]
Merge "LayoutLib: Fix System.arraycopy()"

10 years agoLayoutLib: Fix System.arraycopy()
Deepanshu Gupta [Thu, 10 Jul 2014 20:20:42 +0000 (13:20 -0700)]
LayoutLib: Fix System.arraycopy()

Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.

Note that this was already being done for char.

Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98

10 years agoMerge "Readjust location of NETID_UNSET definition."
Robert Greenwalt [Fri, 11 Jul 2014 17:27:39 +0000 (17:27 +0000)]
Merge "Readjust location of NETID_UNSET definition."

10 years agoReadjust location of NETID_UNSET definition.
Paul Jensen [Fri, 11 Jul 2014 16:28:19 +0000 (12:28 -0400)]
Readjust location of NETID_UNSET definition.

This is a tweak to my 8ec11bb change I a-little-too-hastily committed.

Change-Id: Ibeee9382109994c66227d1c42aac749e2a274ed7

10 years agoMerge "Revert "Make PlaybackState immutable with a builder""
Erik Pasternak [Thu, 10 Jul 2014 22:52:04 +0000 (22:52 +0000)]
Merge "Revert "Make PlaybackState immutable with a builder""

10 years agoRevert "Make PlaybackState immutable with a builder"
Erik Pasternak [Thu, 10 Jul 2014 22:51:34 +0000 (22:51 +0000)]
Revert "Make PlaybackState immutable with a builder"

Will resubmit tomorrow for Build Breakage Friday as this change needs new SDK prebuilts for unbundled app branches.

This reverts commit aa746b27610680a2c0fbdf7d81a6455c4597f05e.

Change-Id: I28ba7e1b09234a5eb1b725aed043b9de98e1bc16

10 years agoCorrectly attribute User Activity to the uid in checkin batterystats.
Ashish Sharma [Tue, 8 Jul 2014 00:14:52 +0000 (17:14 -0700)]
Correctly attribute User Activity to the uid in checkin batterystats.

Change-Id: Iacca5985c0b5a68026da6b2b5c9607f8cb71aad5

10 years agoMake PlaybackState immutable with a builder
RoboErik [Wed, 9 Jul 2014 20:34:32 +0000 (13:34 -0700)]
Make PlaybackState immutable with a builder

bug:15862252
Change-Id: I8944b7753cd6a36a74b0091f71a386f77040c4ab

10 years agoGlobal system settings for HdmidControlService
Jinsuk Kim [Thu, 10 Jul 2014 03:48:54 +0000 (12:48 +0900)]
Global system settings for HdmidControlService

HDMI CEC/MHL related settings. All the settings are hidden, to be used
by the service and settings UI.

Change-Id: I1113aa5f77189db73acfa5fe36670a3cd621b1c1