OSDN Git Service

android-x86/frameworks-base.git
10 years agoTIF: Add a way to enable/disable caption
Jae Seo [Thu, 10 Jul 2014 21:57:01 +0000 (14:57 -0700)]
TIF: Add a way to enable/disable caption

This is required to handle the case that an application wants to turn
on/off the caption explicitly (e.g. TvView in PIP). TV input service
implementation must respond to the request immediately to avoid any
legal implication since the captioning is imposed by the law in many
countries.

Bug: 14121898
Change-Id: I9600debae709fdc99065d7a0138ae69d1dffc9ba

10 years agoMerge "Surface detailed error messages from PMS."
Jeff Sharkey [Sat, 12 Jul 2014 23:30:30 +0000 (23:30 +0000)]
Merge "Surface detailed error messages from PMS."

10 years agoSurface detailed error messages from PMS.
Jeff Sharkey [Sat, 12 Jul 2014 22:37:47 +0000 (15:37 -0700)]
Surface detailed error messages from PMS.

We now both log detailed error messages and relay them back to any
observer.  Start refactoring PMS to throw when errors are encountered
internally to make it easier to reason about flow control; already
uncovered a few instances of errors being silently ignored!

Change-Id: Ia335c5e31bd10243d52fd735c513ca828e83dca0

10 years agoQS: Introduce bluetooth control panel.
John Spurlock [Mon, 7 Jul 2014 12:37:56 +0000 (08:37 -0400)]
QS: Introduce bluetooth control panel.

- Factor out common detail item panel view, share with Wifi.
- Add an empty state (large icon + text)
- Implement connect / disconnect for supported BT profiles.
- Wire up "scanning" state, but still waiting on asset.
- Add BT controller info to dump.

Bug:16235253
Change-Id: Icf854cafba962fe4b63767d7206e309d80b7b87b

10 years agoMerge "Fix build"
Lajos Molnar [Sat, 12 Jul 2014 22:37:25 +0000 (22:37 +0000)]
Merge "Fix build"

10 years agoFix build
Lajos Molnar [Sat, 12 Jul 2014 22:34:51 +0000 (15:34 -0700)]
Fix build

Change-Id: Ic06f633e5d57b28260fa94914e2a0daccdaa1a14

10 years agoAdded a test for HEVC playback memory usage
Naveen Kumar Ponnusamy [Wed, 11 Jun 2014 00:20:16 +0000 (17:20 -0700)]
Added a test for HEVC playback memory usage

Bug: 14571712
Change-Id: If5c4053dea23142b73aed77498c93e149b7ef9b2

10 years agoMerge "Allow 1st party app to set Line 1 number for display purpose."
Derek Tan [Sat, 12 Jul 2014 21:35:47 +0000 (21:35 +0000)]
Merge "Allow 1st party app to set Line 1 number for display purpose."

10 years agoadd utility methods to util.Range, Rational and Size
Lajos Molnar [Fri, 11 Jul 2014 07:54:50 +0000 (00:54 -0700)]
add utility methods to util.Range, Rational and Size

Bug: 12065651
Bug: 11990470
Change-Id: I0d0929ea0289ac5de5c17cca90f25abc4e9dfd7a

10 years agoAllow 1st party app to set Line 1 number for display purpose.
Derek Tan [Thu, 3 Jul 2014 00:26:02 +0000 (17:26 -0700)]
Allow 1st party app to set Line 1 number for display purpose.

After the number is set, TelephonyManager.getLine1Number will actually
return this one instead of the actual MSISDN/MDN.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf

10 years agoMerge "Revert "Initial KeySet API.""
dcashman [Sat, 12 Jul 2014 20:22:39 +0000 (20:22 +0000)]
Merge "Revert "Initial KeySet API.""

10 years agoRevert "Initial KeySet API."
dcashman [Sat, 12 Jul 2014 20:04:20 +0000 (13:04 -0700)]
Revert "Initial KeySet API."

This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.

10 years agoInitial KeySet API.
dcashman [Mon, 9 Jun 2014 16:27:54 +0000 (09:27 -0700)]
Initial KeySet API.

Bug: 6967056
Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae

10 years agoMerge "Revert "New SMS and MMS APIs and semantics (1/4)""
Colin Cross [Sat, 12 Jul 2014 01:09:04 +0000 (01:09 +0000)]
Merge "Revert "New SMS and MMS APIs and semantics (1/4)""

10 years agoRevert "New SMS and MMS APIs and semantics (1/4)"
Colin Cross [Sat, 12 Jul 2014 01:06:38 +0000 (01:06 +0000)]
Revert "New SMS and MMS APIs and semantics (1/4)"

This reverts commit f0dff59af4a1566d8d8bd997d059fcb9dddf2cb4.

Change-Id: I6b9206d80ae72fdb42d48b173927e63e5742f1b2

10 years agomedia: add crop rectangle to Image
Lajos Molnar [Fri, 11 Jul 2014 02:59:18 +0000 (19:59 -0700)]
media: add crop rectangle to Image

Bug: 10706245
Change-Id: I9c9150bdef418fd96228addaa7c35f16e5e1ccff

10 years agoStart system audio initialization mode on new device discovery.
Jungshik Jang [Fri, 11 Jul 2014 08:04:43 +0000 (17:04 +0900)]
Start system audio initialization mode on new device discovery.

If a new device is avr and current tv setting is system audio mode,
we should launch SystemAudioAutoInitiationAction.

Bug: 15843140

Change-Id: I8db89e9be21572e304e6eebb5948a7981df14e90

10 years agoStore active source/active port in HdmiControlService when disabled
Jinsuk Kim [Fri, 11 Jul 2014 08:04:32 +0000 (17:04 +0900)]
Store active source/active port in HdmiControlService when disabled

This lets the service keep track of the latest change made by TV app
or TIF regarding active source/port.

Bug: 16222083
Change-Id: I0f1a4520eb3e52ca5024567b0f1fbe4fd59e8cbf

10 years agoKeep preferred address for HdmiControlService
Jinsuk Kim [Fri, 11 Jul 2014 09:43:04 +0000 (18:43 +0900)]
Keep preferred address for HdmiControlService

Uses SystemProperties to store/retrieve preferred logical address

Bug: 15843075
Bug: 15844858
Change-Id: Ie1304805cbec4e11ef4b44a5cceb108121c60581

10 years agoNew SMS and MMS APIs and semantics (1/4)
Ye Wen [Wed, 9 Jul 2014 23:51:49 +0000 (16:51 -0700)]
New SMS and MMS APIs and semantics (1/4)

API changes for SMS and MMS AIDLs

b/14095333

Change-Id: I04f05c1952135cb4b5d422df060ca4054c14e5e5

10 years agoMerge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivil...
Jeff Sharkey [Fri, 11 Jul 2014 23:40:37 +0000 (23:40 +0000)]
Merge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage."

10 years agoITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesFor...
Shishir Agrawal [Fri, 11 Jul 2014 23:30:32 +0000 (16:30 -0700)]
ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage.

Fixes the build breakage due to overloading in the aidl.

Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052

10 years agoIMS: Add Config interface to get/set IMS service/capabilities
Etan Cohen [Fri, 11 Jul 2014 18:54:14 +0000 (11:54 -0700)]
IMS: Add Config interface to get/set IMS service/capabilities

Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573

10 years agoAdd ViewGroup#getClipToPadding()
Adam Powell [Fri, 11 Jul 2014 22:37:15 +0000 (15:37 -0700)]
Add ViewGroup#getClipToPadding()

It's kind of silly that we've gone this long without a good way to
query this since it makes writing custom views that properly handle
EdgeEffects, etc. a real pain.

Change-Id: I08e1cdf9ec7b8ec3c287c22a5aa19d07a166a4e0

10 years agoRemove old listener when rebinding SwitchPreference
Alan Viverette [Fri, 11 Jul 2014 22:28:38 +0000 (15:28 -0700)]
Remove old listener when rebinding SwitchPreference

Also fixes switch animation during scrolling, unnecessary call to
requestLayout() on drawable invalidate, and potential NPE.

BUG: 16225972
BUG: 4312303
Change-Id: I015d1f03206dd2c812592b0abfa4214a3de73d3f

10 years agoAdd support in the platform for Activity Recognition Hardware.
destradaa [Wed, 9 Jul 2014 17:46:39 +0000 (10:46 -0700)]
Add support in the platform for Activity Recognition Hardware.

Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead

10 years agoMerge "Handle TODO in SystemAudioActionFromTv."
Yuncheol Heo [Fri, 11 Jul 2014 23:10:56 +0000 (23:10 +0000)]
Merge "Handle TODO in SystemAudioActionFromTv."

10 years agoHandle TODO in SystemAudioActionFromTv.
Yuncheol Heo [Fri, 11 Jul 2014 09:23:24 +0000 (18:23 +0900)]
Handle TODO in SystemAudioActionFromTv.

- Added onFinishedCallback to handle the deferred starting of FeatureAction.

Bug: 15843078, Bug: 15841546
Change-Id: I6cb5fba91d6115e8bb02c38601a72ed315c22e2f

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 "Volume: Extend the volume dialog timeout for notifications."
John Spurlock [Fri, 11 Jul 2014 22:56:26 +0000 (22:56 +0000)]
Merge "Volume: Extend the volume dialog timeout for notifications."

10 years agoVolume: Extend the volume dialog timeout for notifications.
John Spurlock [Fri, 11 Jul 2014 22:51:32 +0000 (18:51 -0400)]
Volume: Extend the volume dialog timeout for notifications.

Even when the condition panel is collapsed, increase the timeout
a bit to aid readability.

Bug:16237299
Change-Id: I36d01300a94f17e02ee35b5a6f549ed180532ad8

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 "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 "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 agoMerge "Add hidden systemapi hasCarrierPrivileges(pkgname)."
Junda Liu [Fri, 11 Jul 2014 22:55:21 +0000 (22:55 +0000)]
Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."

10 years agoAdding back accidentally removed constants
Svetoslav [Fri, 11 Jul 2014 22:52:57 +0000 (15:52 -0700)]
Adding back accidentally removed constants

Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1

10 years agoAdd hidden systemapi hasCarrierPrivileges(pkgname).
Junda Liu [Thu, 10 Jul 2014 22:19:03 +0000 (15:19 -0700)]
Add hidden systemapi hasCarrierPrivileges(pkgname).

Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654

10 years agoMerge "Delete unused APIs in NetworkManagementService."
Sreeram Ramachandran [Fri, 11 Jul 2014 22:53:22 +0000 (22:53 +0000)]
Merge "Delete unused APIs in NetworkManagementService."

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 agoDelete unused APIs in NetworkManagementService.
Sreeram Ramachandran [Fri, 11 Jul 2014 22:47:13 +0000 (15:47 -0700)]
Delete unused APIs in NetworkManagementService.

Change-Id: Idc6c0ac0d3a4149821fc7820b7f37d4209fc55d3

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 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 "Fix broken blend intrinsic."
Tim Murray [Fri, 11 Jul 2014 22:38:32 +0000 (22:38 +0000)]
Merge "Fix broken blend intrinsic."

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 "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 "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 "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 "Different Mobile Network Settings screen for Nova multi-profile SIMs."
Derek Tan [Sat, 12 Jul 2014 19:49:01 +0000 (19:49 +0000)]
Merge "Different Mobile Network Settings screen for Nova multi-profile SIMs."

10 years agoDifferent Mobile Network Settings screen for Nova multi-profile SIMs.
Derek Tan [Tue, 8 Jul 2014 23:55:43 +0000 (16:55 -0700)]
Different Mobile Network Settings screen for Nova multi-profile SIMs.

Simplify the Mobile Network Settings screen regardless CDMA or GSM activeness
to provide a unified experience for Nova users.

For more details, please refer to b/15854628.

Bug: 15854628
Change-Id: Ieba04eff49824aa09a056cd4fb142cbd268207a3

10 years agoFix switch text position when thumb is null
Alan Viverette [Sat, 12 Jul 2014 07:26:36 +0000 (00:26 -0700)]
Fix switch text position when thumb is null

Change-Id: I05a107423fabf5a538258cf0562e0916c8be18b6

10 years agoMake InputMethodUtils.getLanguageFromLocaleString public
Tadashi G. Takaoka [Sat, 12 Jul 2014 07:08:20 +0000 (16:08 +0900)]
Make InputMethodUtils.getLanguageFromLocaleString public

Change-Id: I3e26eded21e59106a3b0edcf9ad05afbe9a30670

10 years agoMerge "MediaRecorder: use fd from RandomAccessFile"
Robert Shih [Sat, 12 Jul 2014 03:50:43 +0000 (03:50 +0000)]
Merge "MediaRecorder: use fd from RandomAccessFile"

10 years agoMediaRecorder: use fd from RandomAccessFile
Robert Shih [Thu, 10 Jul 2014 22:24:43 +0000 (15:24 -0700)]
MediaRecorder: use fd from RandomAccessFile

Use RandomAccessFile instead of FileOutputStream so the underlying fd
is opened O_RDWR; O_RDWR is needed for mmap calls in the native webm
writer.

Change-Id: I444cbf40add96bc05905369ae2fa2b5446b0f9cc

10 years agoMerge "Remove KeySetManagerService lock."
dcashman [Sat, 12 Jul 2014 00:22:11 +0000 (00:22 +0000)]
Merge "Remove KeySetManagerService lock."

10 years agoRemove KeySetManagerService lock.
dcashman [Fri, 20 Jun 2014 22:53:06 +0000 (15:53 -0700)]
Remove KeySetManagerService lock.

The KeySetManagerService is a part of the PackageManagerService, which is
responsible for maintaining the association between packages, keysets and
public keys.  This information is a critical component of the
PackageManagerService data, and should require the holding of the
PackageManagerService's lock.  Remove the existing KeySetManagerService lock
and require the mPackages lock to be held instead.

Bug: 6967056
Change-Id: I803f8388e42469d30562b40212cf497320851268