142308 Commits

Author SHA1 Message Date
Svetoslav
000f88c9e8 Adding back accidentally removed constants
Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1
2014-07-11 22:54:28 +00:00
Sreeram Ramachandran
c344f9b800 Merge "Delete unused APIs in NetworkManagementService." 2014-07-11 21:38:19 +00:00
Svetoslav
39afc200f2 Remove commented out dead code
Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb
2014-07-11 22:49:59 +00:00
Fabrice Di Meglio
dfaa6c7439 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
2014-07-11 22:48:26 +00:00
Sreeram Ramachandran
31ab41726b Delete unused APIs in NetworkManagementService.
Change-Id: Idc6c0ac0d3a4149821fc7820b7f37d4209fc55d3
2014-07-11 15:47:51 -07:00
Lajos Molnar
82fa0e7f78 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
2014-07-11 15:43:36 -07:00
Svetoslav
1710e0318d 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
2014-07-11 22:23:58 +00:00
Svetoslav
53912d07d2 Fix the print button appearance.
Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b
2014-07-11 21:42:06 +00:00
Deepanshu Gupta
c5a58437e6 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
2014-07-11 21:40:46 +00:00
Deepanshu Gupta
26e32ea559 Update delegates
Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a
2014-07-11 21:40:27 +00:00
Vinit Deshpande
c078502633 Merge "Unhide WifiAdapter APIs" 2014-07-11 17:04:34 +00:00
Craig Mautner
a228ae95ea 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
2014-07-11 21:18:27 +00:00
Vinit Deshpande
81e32da98f Unhide WifiAdapter APIs
Change-Id: Ia19ab4cfddddd3285ae9e0c5804f2cceda4cf063
2014-07-11 21:12:36 +00:00
Igor Murashkin
30f01591c8 Merge "camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS" 2014-07-11 17:04:34 +00:00
Igor Murashkin
396532ffb8 camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS
Change-Id: I9b66a2b4393f4bc2272ecc94cd9a5c6273f3de59
2014-07-11 14:08:42 -07:00
Igor Murashkin
49a1d7b7de camera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock
Change-Id: I5c1008cf34a9d98f67c36966e7cbf1c312979f97
2014-07-11 12:59:50 -07:00
Igor Murashkin
3e280b4bb2 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
2014-07-11 12:59:50 -07:00
Igor Murashkin
7ee78d1ee3 camera2: (legacy) Implement AF/AE regions for request and result
* Also stop lying about max AE regions (now reports the truth)

Change-Id: I567a1e6c58ed0bfb77cc09787393ea18eba5d613
2014-07-11 12:59:49 -07:00
Tim Murray
0127784aaa Merge "Fix broken blend intrinsic." 2014-07-11 16:34:41 +00:00
Barnaby James
12b6bb44c1 Merge "Add VoiceInteraction request type for successful actions." 2014-07-10 21:09:47 +00:00
Barnaby James
d3fdb8bed8 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
2014-07-11 10:34:50 -07:00
Yohei Yukawa
ca249dc634 Merge "Fix SDK build breakage" 2014-07-10 21:52:20 +00:00
Jean-Michel Trivi
998ff75484 fix build: hide AudioAttributes.usageToString() method
Change-Id: I1041d9bf530df45878dd61e30e32f5a2f4f9d1a1
2014-07-11 10:01:00 -07:00
Yohei Yukawa
69684533cd Fix SDK build breakage
This should have been included in I3c6b69bd9d79b199afe68d838f25effa6

BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c
2014-07-12 01:59:07 +09:00
Svetoslav
15cbc8a032 Addressing comments for the print preview feature.
Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5
2014-07-11 16:46:46 +00:00
Narayan Kamath
398b6c26c3 Fix an abi <-> instructionSet mixup.
We should be calling is64BitInstructionSet and
not is64BitAbi.

Change-Id: I5b099af19f1d7409f65f63493d3f13a830f4fb5d
2014-07-11 16:38:20 +00:00
John Spurlock
e217145b69 Merge "Zen: Be more defensive against old time conditions." 2014-07-10 21:21:20 +00:00
John Spurlock
bc5858f489 Zen: Be more defensive against old time conditions.
Bug:16192570
Change-Id: If5097174fac89c5d809271241645d1efca92476e
2014-07-11 14:33:18 -04:00
Amith Yamasani
6b58d328b7 Merge "Fix apparent delay in removing a managed profile" 2014-07-10 21:14:09 +00:00
Amith Yamasani
70fcf0c75f Fix apparent delay in removing a managed profile
Bug: 15268575

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

Change-Id: Ifeaed5c7c2b93922cddea22057dd890a1b3750fc
2014-07-11 08:41:52 -07:00
Narayan Kamath
4d8c132609 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
2014-07-11 15:37:08 +00:00
Jorim Jaggi
fb98a5023e Fix weird state when tracking and pressing back
Bug: 10934514
Change-Id: I60bbd6005e664033ed22c87b404ddc918e5f2c0e
2014-07-11 15:28:58 +00:00
John Spurlock
be8df5aea8 Merge "Volume: delay dismissing panel when starting settings." 2014-07-10 21:35:02 +00:00
John Spurlock
1dad272337 Volume: delay dismissing panel when starting settings.
Bug:16211952
Change-Id: I067721d932076dafb35c6afd99583301acff9bea
2014-07-11 11:07:53 -04:00
Yuncheol Heo
d05f67f972 Handle <Feature Abort> after <System Audio Mode Request>.
- Fix some wrong return values.

Bug: 15841647
Change-Id: Ia4596e87204196b48429d55da4945f84de51a07b
2014-07-11 20:07:50 +09:00
Yohei Yukawa
04dc9953b4 Merge "Add simple InputMethodSubtypeTest" 2014-07-10 21:52:20 +00:00
Yohei Yukawa
638e4787ba Add simple InputMethodSubtypeTest
Change-Id: I87105c4935adfca249378e667161d2998cf77840
2014-07-11 19:51:19 +09:00
John Spurlock
caebf6ff00 Merge "QS: Recenter feedback for non-dual tiles." 2014-07-10 21:35:02 +00:00
John Spurlock
529aa73af2 QS: Recenter feedback for non-dual tiles.
And dial the radius down a bit.

Bug:15168179
Change-Id: I946c556b6c31a74a526368097c5c16a7ddbc9749
2014-07-10 22:49:16 -04:00
Jungshik Jang
7468f1db0a Merge "Revamp HDMI-CEC system audio mode integration with audio service." 2014-07-10 21:52:20 +00:00
Jungshik Jang
6f34f5ab8a 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
2014-07-11 08:07:12 +09:00
Raph Levien
b249225456 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
2014-07-10 22:57:51 +00:00
Jinsuk Kim
f9e44ea716 Merge "Update HdmiControlService JNI to the change in HAL definition" 2014-07-10 21:46:42 +00:00
John Spurlock
f84a1b87c7 QS: Enable wifi entering detail (if disabled).
Bug:16215297
Change-Id: I3cf2b7fadec0b10aeb894db5dc0b92d8b83511f7
2014-07-10 22:23:38 -04:00
Jinsuk Kim
284c31b92e Update HdmiControlService JNI to the change in HAL definition
Change-Id: Iab235785c4d0242ab5845d1f8ad62d78770ff9c4
2014-07-11 07:26:45 +09:00
Tyler Gunn
2db72ad45b Adding call capabilities to indicate whether call supports VT.
Bug: 16213105
Change-Id: Icb05d3f0f6bd90b2c45bdfb7b199f38aaecc16ca
2014-07-10 21:52:20 +00:00
Jean-Michel Trivi
e3dfa2821f Merge "Define audio policy, mixes, and mixing rules" 2014-07-10 20:54:59 +00:00
Jean-Michel Trivi
a8b6bd88cf 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
2014-07-11 09:10:46 -07:00
Yohei Yukawa
4267dbea26 Merge "Use a bit more descriptive name for a parameter" 2014-07-10 21:43:01 +00:00
Yohei Yukawa
bb9f624252 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
2014-07-12 01:11:45 +09:00