OSDN Git Service

android-x86/frameworks-base.git
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 "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 "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 "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 "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 "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

10 years agoMerge "Volume: Promote alarm warning to title."
John Spurlock [Thu, 10 Jul 2014 22:39:53 +0000 (22:39 +0000)]
Merge "Volume: Promote alarm warning to title."

10 years agoVolume: Promote alarm warning to title.
John Spurlock [Thu, 10 Jul 2014 22:37:45 +0000 (18:37 -0400)]
Volume: Promote alarm warning to title.

Bug:16211556
Change-Id: I839e08d1ba26ba825a9799f92c9b600feb91a81b

10 years agoMerge "Fix the render order to follow the XML file order."
ztenghui [Thu, 10 Jul 2014 22:22:47 +0000 (22:22 +0000)]
Merge "Fix the render order to follow the XML file order."

10 years agoFix the render order to follow the XML file order.
ztenghui [Wed, 9 Jul 2014 17:49:44 +0000 (10:49 -0700)]
Fix the render order to follow the XML file order.

So we put path and group into a big list, then use reflectiont to handle them
differently.

bug:16162141

Change-Id: I4c84dc952d5d9b49412301dcd6459395e21d3b31

10 years agoUpdating strings to make them more clear for TC
Andres Morales [Thu, 10 Jul 2014 22:00:13 +0000 (15:00 -0700)]
Updating strings to make them more clear for TC

Bug: 15893731
Change-Id: Ib6f5591322e76a35336a62a93863c13363e30dba

10 years agoMerge "Support HdmiControlService.sendKeyEvent for both TV/playback device"
Jinsuk Kim [Thu, 10 Jul 2014 22:00:19 +0000 (22:00 +0000)]
Merge "Support HdmiControlService.sendKeyEvent for both TV/playback device"

10 years agoSupport HdmiControlService.sendKeyEvent for both TV/playback device
Jinsuk Kim [Mon, 7 Jul 2014 07:59:20 +0000 (16:59 +0900)]
Support HdmiControlService.sendKeyEvent for both TV/playback device

Added another parameter deviceType for HdmiControlService to
run the specified local device for sendKeyEvent.

Bug: 15844076
Change-Id: I598ef320ae94bba0ace38701ae0ca12fd0625559

10 years agoMerge "Missed an entry in the copy constructor."
Robert Greenwalt [Thu, 10 Jul 2014 21:59:51 +0000 (21:59 +0000)]
Merge "Missed an entry in the copy constructor."

10 years agoMissed an entry in the copy constructor.
Robert Greenwalt [Thu, 10 Jul 2014 21:53:24 +0000 (14:53 -0700)]
Missed an entry in the copy constructor.

bug:15755597
Change-Id: Iee17ca88404a6a50258d204a12cd0c04cd15e34e

10 years agoMerge "Exposes more properties to assist in evaluating contrast ratios."
Jon Miranda [Thu, 10 Jul 2014 22:16:57 +0000 (22:16 +0000)]
Merge "Exposes more properties to assist in evaluating contrast ratios."

10 years agoExposes more properties to assist in evaluating contrast ratios.
Jon Miranda [Tue, 1 Jul 2014 21:35:07 +0000 (14:35 -0700)]
Exposes more properties to assist in evaluating contrast ratios.

Change-Id: I43468df4d842e03001ab33e139095afadaeacd20

10 years agoMerge "Always derive native library paths at runtime."
Jeff Sharkey [Fri, 11 Jul 2014 01:39:45 +0000 (01:39 +0000)]
Merge "Always derive native library paths at runtime."

10 years agoAlways derive native library paths at runtime.
Jeff Sharkey [Fri, 11 Jul 2014 00:48:11 +0000 (17:48 -0700)]
Always derive native library paths at runtime.

Over time, we've unpacked native libraries at various places with
respect to their source APK.  Persisting this path in PackageSettings
has caused more pain recently with the switch to supporting multiArch
and cluster installs.

This change switches us to always derive the native library paths at
runtime based on the type of install.  This also ensures that
transitioning between a bundled system app and an upgraded system
app will always build the right path.

We still persist the last generated path into PackageSettings to make
cleanup at uninstall time easier.

Bug: 162085051620674816212206
Change-Id: Ieb82a424ca4a92b5674983453c50ba4b695abfb0

10 years agoMerge "Change key-set/public-key manifest relationship."
dcashman [Fri, 11 Jul 2014 01:33:49 +0000 (01:33 +0000)]
Merge "Change key-set/public-key manifest relationship."

10 years agoChange key-set/public-key manifest relationship.
dcashman [Tue, 17 Jun 2014 19:56:12 +0000 (12:56 -0700)]
Change key-set/public-key manifest relationship.

Separate definition of public keys and keysets in the manifest to better
represent their relationship. The 'key-set' tags should have nested additional
'public-key' tags that indicate which of the defined 'public-key' tags are
associated with them.  The first use of a given 'public-key' name should define
its value; subsequent uses may refer to it only by name.  'key-set' and
'public-key' names may not intersect.

Also, change 'keys' tag to 'key-sets' to avoid issues with previous keysets
implementation.

Bug: 6967056
Change-Id: I7534e4a42326e97b67b55509187c0d3c21a2bb32

10 years agoFix print document with zero pages backwards compatibility.
Svetoslav [Fri, 11 Jul 2014 00:36:27 +0000 (17:36 -0700)]
Fix print document with zero pages backwards compatibility.

Historically, we were allowing an app that prints to specify that
the printed document has zero pages. While this does not make any
sense we should keep the behavior as people may have apps that do
that. This change fixes this issue and now we treat zero the same
way as undefined page count and ask the app to write all pages to
check the written PDF for the page count.

bug:16199127

Change-Id: I4e7de66b669e9f783db0252244a6c1e5b24ffe28

10 years agoMerge "Volume: Elide collapsed condition title if no end."
John Spurlock [Fri, 11 Jul 2014 00:35:27 +0000 (00:35 +0000)]
Merge "Volume: Elide collapsed condition title if no end."

10 years agoVolume: Elide collapsed condition title if no end.
John Spurlock [Fri, 11 Jul 2014 00:22:54 +0000 (20:22 -0400)]
Volume: Elide collapsed condition title if no end.

And make expanded title non-clickable.

Bug:16211705
Change-Id: I675b8ad8d08dca9a3f38292c45b771dc6532de77

10 years agoAbort on shader link/compile failure
Chris Craik [Thu, 10 Jul 2014 23:24:14 +0000 (16:24 -0700)]
Abort on shader link/compile failure

b/16207378

Change-Id: I12debb0846214a08459ad25454653a003f034402

10 years agoMerge "Volume: Use accent color for selected radio button."
John Spurlock [Thu, 10 Jul 2014 23:06:10 +0000 (23:06 +0000)]
Merge "Volume: Use accent color for selected radio button."

10 years agoRevamp disabling device in local device.
Jungshik Jang [Wed, 9 Jul 2014 10:24:50 +0000 (19:24 +0900)]
Revamp disabling device in local device.

When a cec deivce turns into disabled mode such as power off, standby,
and cec feature disabled, cec service should execute cleanup tasks.
Including cleaning up all feature actions, each device should run
their own cleanup.
It should stop system audio mode and arc for tv, while it should
send inactive source for for playback device.
Along with this, to prevent stale feature action, added timeout
to local device so that if there is stale action, it enforce to
finish it.

Bug: 16118520

Change-Id: I5ce30ab0f4459b6e2834f8d31b6a7ff789b35d07

10 years agoVolume: Use accent color for selected radio button.
John Spurlock [Thu, 10 Jul 2014 23:03:00 +0000 (19:03 -0400)]
Volume: Use accent color for selected radio button.

Bug:16212456
Change-Id: Ic1badeaf6eec98cd2780592660a36d7087bb677b

10 years agoMerge "Always on hotword changes"
Sandeep [Fri, 11 Jul 2014 01:38:04 +0000 (01:38 +0000)]
Merge "Always on hotword changes"

10 years agoAlways on hotword changes
Sandeep [Thu, 10 Jul 2014 22:15:39 +0000 (15:15 -0700)]
Always on hotword changes

Add model management API skeleton to VoiceInteractionManagerService
Add an "interactor" for all always-on APIs

- The VoiceInteractionService will get an interactor for the given
  keyphrase and locale.
- It can then check the availability and call methods to start and
  stop recognition on this interactor.

- Add a common class to deal with SoundTrigger APIs

- Cleanup the keyphrase representation:
  We now have separate representations for the keyphrase metadata and
  a keyphrase being used for recognition.
  This'll also help us to handle custom keyphrases in the
  future easily.
  This also ensures that for use within the framework,
  we rely on the ID of the KeyphraseInfo rather than comparing the
  text everytime.

Add a callback for the AlwaysOnHotwordDetector

This callback should be passed in by the VoiceInteractionService and is used to notify it
of recognition events.

Change-Id: I26252298773024f53a10cdd2af4404a4e6d74aae

10 years agoMerge "Add accessibility action to open power long-press dialog"
Alan Viverette [Fri, 11 Jul 2014 00:23:54 +0000 (00:23 +0000)]
Merge "Add accessibility action to open power long-press dialog"

10 years agoAdd accessibility action to open power long-press dialog
Alan Viverette [Thu, 10 Jul 2014 21:50:06 +0000 (14:50 -0700)]
Add accessibility action to open power long-press dialog

Also fixes an infinite recursion bug in the WindowManagerService
implementation of WindowManagerInternal.

BUG: 16129909
Change-Id: I4f9d32f4e6c3ad460652c5e5271540fa5032a1f5

10 years agoMerge "Add job persistance as a setter in the API"
Matthew Williams [Fri, 11 Jul 2014 00:09:41 +0000 (00:09 +0000)]
Merge "Add job persistance as a setter in the API"

10 years agoAdd job persistance as a setter in the API
Matthew Williams [Wed, 9 Jul 2014 19:46:53 +0000 (12:46 -0700)]
Add job persistance as a setter in the API

Bug: 15936795
Change-Id: I11e5a722bab5838dc151670256ed09dfaa7fdaa7

10 years agoMerge "API for inflating action bar menus against a different theme"
Alan Viverette [Thu, 10 Jul 2014 23:43:02 +0000 (23:43 +0000)]
Merge "API for inflating action bar menus against a different theme"

10 years agoSend USER_FOREGROUND and USER_BACKGROUND to all related profiles
Amith Yamasani [Thu, 10 Jul 2014 22:26:00 +0000 (15:26 -0700)]
Send USER_FOREGROUND and USER_BACKGROUND to all related profiles

Also do a check for null applicationInfo object during user creation.

Bug: 16211029
Change-Id: Ib49c241cf3698735e273edf5704bef277f1142a5

10 years agoDNG: Implement remaining interface methods.
Ruben Brunk [Thu, 29 May 2014 01:38:42 +0000 (18:38 -0700)]
DNG: Implement remaining interface methods.

Bug: 15112503
Bug: 16206973
Bug: 15748139

- Adds remaining write methods.
- Adds GPS and description convenience methods.
- Unhides convenience methods.

Change-Id: I9535b21261027f6c06a041c1621de8f865a0ad32

10 years agoAPI for inflating action bar menus against a different theme
Alan Viverette [Thu, 10 Jul 2014 23:15:01 +0000 (16:15 -0700)]
API for inflating action bar menus against a different theme

BUG: 16162344
Change-Id: I5bf9f133de56a1830028bca6326cc2c50888a052

10 years agoMerge "Fix bogus current.txt merge"
Adam Powell [Fri, 11 Jul 2014 00:02:40 +0000 (00:02 +0000)]
Merge "Fix bogus current.txt merge"

10 years agoFix bogus current.txt merge
Adam Powell [Fri, 11 Jul 2014 00:02:00 +0000 (17:02 -0700)]
Fix bogus current.txt merge

Change-Id: Id60b61f16a47c11626829c4b50fe712acc5723b7

10 years agoam b374a845: Unhide RenderScript resize intrinsic
Jason Sams [Thu, 10 Jul 2014 23:55:24 +0000 (23:55 +0000)]
am b374a845: Unhide RenderScript resize intrinsic

* commit 'b374a845f041df0e8b00dca512db9b46b5ddd232':
  Unhide RenderScript resize intrinsic

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 "Elevation for action bars"
Adam Powell [Thu, 10 Jul 2014 23:50:59 +0000 (23:50 +0000)]
Merge "Elevation for action bars"

10 years agoCamera2: Add CPU/GPU overhead measurement to legacy mode
Eino-Ville Talvala [Fri, 30 May 2014 00:17:07 +0000 (17:17 -0700)]
Camera2: Add CPU/GPU overhead measurement to legacy mode

Dumps GL and CPU processing duration and frame timestamps to a file,
whenever the device is closed or the stream configuration is changed.

- Add PerfMeasurement class to legacy mode
- Wire up minimal usage to SurfaceTextureRenderer

Change-Id: Ic9d74ca26f706780b746175aa615c7aae4ae52e7

10 years agoElevation for action bars
Adam Powell [Thu, 10 Jul 2014 23:23:39 +0000 (16:23 -0700)]
Elevation for action bars

Expose theme attributes and API for ActionBar to adjust elevation of
the bar.

Remove the windowContentOverlay fake shadow from material themes and
use elevation instead.

Mmm, realtime shadows.

Bug 16207490

Change-Id: I254567a13422b6d2f657b9991608398885f45204

10 years agoMerge "Add API for device owner to switch users"
Jason Monk [Thu, 10 Jul 2014 23:47:50 +0000 (23:47 +0000)]
Merge "Add API for device owner to switch users"

10 years agoMerge "Fix broken dexopt logic."
Narayan Kamath [Fri, 11 Jul 2014 16:36:56 +0000 (16:36 +0000)]
Merge "Fix broken dexopt logic."

10 years agoFix broken dexopt logic.
Narayan Kamath [Fri, 11 Jul 2014 13:40:39 +0000 (14:40 +0100)]
Fix broken dexopt logic.

The logic was incorrect in the presence of multiple paths
(cluster installs) or multiple instruction sets (multi arch)
because of an early return in the case of sucessful dexopt.

- Rewrite this logic to make it (hopefully) clearer.
- Fix a related bug in getAppDexInstructionSets.
- Add instruction set to the dexopt logs.

bug: 16013931
Change-Id: I18c9755583f0a6f8be70469ec2062269564f0f41

10 years agoMerge "Add a test multiarch app."
Narayan Kamath [Fri, 11 Jul 2014 14:38:20 +0000 (14:38 +0000)]
Merge "Add a test multiarch app."

10 years agoRemove modified APIs
George Mount [Wed, 9 Jul 2014 17:47:23 +0000 (10:47 -0700)]
Remove modified APIs

viewName was changed to transitionName and
MoveImage was replaced with ChangeImageTransform + ChangeBounds.

Change-Id: I5e0b0250ef3c926d1c3de212de3a5e1503e89b86