OSDN Git Service

android-x86/frameworks-base.git
10 years agoCEC: Hide CEC devices behind non-CEC switch
Jinsuk Kim [Tue, 5 Aug 2014 22:23:32 +0000 (07:23 +0900)]
CEC: Hide CEC devices behind non-CEC switch

CEC devices connected to a non-CEC switch are not under full control
of TV. Will be filtered out from the list of devices provided to TIF.

Bug: 16797838
Change-Id: I8f8ff3a33ddeeb0a2877ca0e596a24096e648879

10 years agoMerge "Prevent hot plug detection action from multiple device polling" into lmp-dev
Jungshik Jang [Thu, 7 Aug 2014 00:13:50 +0000 (00:13 +0000)]
Merge "Prevent hot plug detection action from multiple device polling" into lmp-dev

10 years agoPrevent hot plug detection action from multiple device polling
Jungshik Jang [Wed, 6 Aug 2014 06:48:33 +0000 (15:48 +0900)]
Prevent hot plug detection action from multiple device polling

Along with this removed unused code and wrong references in
java doc.

Change-Id: I8b2fd8065f582f60cde5ada0e1669515b6a60f3f

10 years agoPolish of the app widgets cross-profiles feature.
Svetoslav [Wed, 6 Aug 2014 01:57:05 +0000 (18:57 -0700)]
Polish of the app widgets cross-profiles feature.

1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
   returning a badged drawable. The methods to load the icon and the
   preview are now just making it easier for a developer to get the
   drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
   is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
   package name and having code paths where the cached value was not
   populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd

10 years agoam 4e01c59e: (-s ours) am 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d62...
Deepanshu Gupta [Thu, 7 Aug 2014 00:04:55 +0000 (00:04 +0000)]
am 4e01c59e: (-s ours) am 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '4e01c59e6c0d953c40153afc080c01d844f76aef':
  Fix SystemProperties in LayoutLib.

10 years agoam 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:59:08 +0000 (22:59 +0000)]
am 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '6ebeefa04cb3c360d8028eb77e60bacf8a800cb1':
  Fix SystemProperties in LayoutLib.

10 years agoam 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:51:47 +0000 (22:51 +0000)]
am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '904d77118bab63139174470ef728ca9a53e75a15':
  Fix SystemProperties in LayoutLib.

10 years agoam 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:45:23 +0000 (22:45 +0000)]
am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '7b561be3a6fedebfce412cecd8c36d6686f6576c':
  Fix SystemProperties in LayoutLib.

10 years agoam 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:37:10 +0000 (22:37 +0000)]
am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '09c3c2edb2391d3ffed9a07ec360b9f75b9f7637':
  Fix SystemProperties in LayoutLib.

10 years agoam ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:30:06 +0000 (22:30 +0000)]
am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'ba31d628621f3d49195d141dabff30a7665f3b50':
  Fix SystemProperties in LayoutLib.

10 years agoam db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolve...
Deepanshu Gupta [Wed, 6 Aug 2014 22:25:50 +0000 (22:25 +0000)]
am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'db94ea9ed03dbaa0ca075a433a986d7e414e8f8d':
  Fix SystemProperties in LayoutLib.

10 years agoam f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts...
Deepanshu Gupta [Wed, 6 Aug 2014 22:21:54 +0000 (22:21 +0000)]
am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'f970d2c201649843b8d51d094b865f16b15bc0bc':
  Fix SystemProperties in LayoutLib.

10 years agoam 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge...
Deepanshu Gupta [Wed, 6 Aug 2014 22:18:04 +0000 (22:18 +0000)]
am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '79c3f678d21f6b3c058623217cbe5dd57a553fe8':
  Fix SystemProperties in LayoutLib.

10 years agoam 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to...
Deepanshu Gupta [Wed, 6 Aug 2014 22:13:18 +0000 (22:13 +0000)]
am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '206c691bfdb3a6b78d35c7481365980dd387b8c9':
  Fix SystemProperties in LayoutLib.

10 years agoam 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs
Deepanshu Gupta [Wed, 6 Aug 2014 22:09:13 +0000 (22:09 +0000)]
am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '72cf03a27a73e91d4a3eabf74e0384b310f4a5b2':
  Fix SystemProperties in LayoutLib.

10 years agoam 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs
Deepanshu Gupta [Wed, 6 Aug 2014 22:05:38 +0000 (22:05 +0000)]
am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '3a544a81b3d2d529b2995f4b5db2077760d440b5':
  Fix SystemProperties in LayoutLib.

10 years agoresolved conflicts for merge of a232a68d to jb-mr1.1-docs
Deepanshu Gupta [Wed, 6 Aug 2014 22:00:14 +0000 (15:00 -0700)]
resolved conflicts for merge of a232a68d to jb-mr1.1-docs

Change-Id: I1ea220e3e0a81880db68abab87beab56dc4a336c

10 years agoresolved conflicts for merge of 5476cfee to jb-mr1-dev
Deepanshu Gupta [Wed, 6 Aug 2014 21:41:02 +0000 (14:41 -0700)]
resolved conflicts for merge of 5476cfee to jb-mr1-dev

Change-Id: I5197271e6fdd36fed9ca9f9b7221d9a99141a4b4

10 years agoam 505c675c: Fix SystemProperties in LayoutLib.
Deepanshu Gupta [Wed, 6 Aug 2014 21:28:24 +0000 (21:28 +0000)]
am 505c675c: Fix SystemProperties in LayoutLib.

* commit '505c675c3a536ac7c6ad264eb62542537532119c':
  Fix SystemProperties in LayoutLib.

10 years agoMerge "Separate tint and tintMode properties" into lmp-dev
Alan Viverette [Wed, 6 Aug 2014 23:48:20 +0000 (23:48 +0000)]
Merge "Separate tint and tintMode properties" into lmp-dev

10 years agoAllow PersistentDataBlockService to be used with all users
Andres Morales [Mon, 4 Aug 2014 23:35:15 +0000 (16:35 -0700)]
Allow PersistentDataBlockService to be used with all users

Bug: 16795591
Change-Id: Id5e5dc5c26408752fe85f6f6fc2c67d9408b6a2a

10 years agoUpdate radial gradient doc
Chris Craik [Wed, 6 Aug 2014 18:11:41 +0000 (11:11 -0700)]
Update radial gradient doc

bug:16838331

Clarify positions parameter, and naming of several others.

Change-Id: I6096d26deaada717b52d924cd53e852b3c31626f

10 years agoSeparate tint and tintMode properties
Alan Viverette [Mon, 28 Jul 2014 23:02:55 +0000 (16:02 -0700)]
Separate tint and tintMode properties

BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5

10 years agoAdd missing null check
John Reck [Wed, 6 Aug 2014 22:28:07 +0000 (15:28 -0700)]
Add missing null check

 Bug: 16352267

Change-Id: Ib60baa6d22ec02ba623a297660e2e3ecc7557d0f

10 years agoMerge "MiterLimit represent a ratio itself, no need to scale" into lmp-dev
ztenghui [Wed, 6 Aug 2014 22:03:34 +0000 (22:03 +0000)]
Merge "MiterLimit represent a ratio itself, no need to scale" into lmp-dev

10 years agoMiterLimit represent a ratio itself, no need to scale
ztenghui [Wed, 6 Aug 2014 20:03:18 +0000 (13:03 -0700)]
MiterLimit represent a ratio itself, no need to scale

Change-Id: I474d8c29fc28786c6b3ff88848c1c802ab76d77c

10 years agoMerge "Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras...
Yao Chen [Wed, 6 Aug 2014 21:52:10 +0000 (21:52 +0000)]
Merge "Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras() to MediaController" into lmp-dev

10 years agoAdds getServiceComponent() to MediaBrowser, getQueueTitle() and
Yao Chen [Wed, 6 Aug 2014 20:02:13 +0000 (13:02 -0700)]
Adds getServiceComponent() to MediaBrowser, getQueueTitle() and
getExtras() to MediaController

Change-Id: I6092ac1ae05ba55c14a042698bb88bd16e9b1fa7

10 years agoMerge "AudioSystem: add API to query audio HW sync source" into lmp-dev
Eric Laurent [Wed, 6 Aug 2014 19:40:17 +0000 (19:40 +0000)]
Merge "AudioSystem: add API to query audio HW sync source" into lmp-dev

10 years agoFix Scroller interpolation
Chet Haase [Tue, 5 Aug 2014 23:56:49 +0000 (16:56 -0700)]
Fix Scroller interpolation

The ViscousFluid interpolator simply returns the input value and not the
interpolation of that value.

Issue #16815073 Scroller.ViscousFluidInterpolator short circuited

Change-Id: Ifa189026c1396a42a2348260a2a54cf0c3caad08

10 years agoAdd event logs for full backup/restore milestones
Christopher Tate [Tue, 5 Aug 2014 23:12:42 +0000 (16:12 -0700)]
Add event logs for full backup/restore milestones

Bug 16689703

Change-Id: If870f1b7b9cb3929ac1edc38affc688a37c2acfd

10 years agoAdd setConferenceable() API from ConnectionService to incall. (1/4)
Santos Cordon [Tue, 29 Jul 2014 01:15:48 +0000 (18:15 -0700)]
Add setConferenceable() API from ConnectionService to incall. (1/4)

Change-Id: I64fdca08d35f893d755e3b154543a261b1418343

10 years agoMerge "Add BLUETOOTH_MAP permission to give Bluetooth app exclusive access to email...
Matthew Xie [Wed, 6 Aug 2014 18:37:20 +0000 (18:37 +0000)]
Merge "Add BLUETOOTH_MAP permission to give Bluetooth app exclusive access to email access" into lmp-dev

10 years agoAdd stroke related test to the VectorDrawableTest
ztenghui [Wed, 6 Aug 2014 17:42:21 +0000 (10:42 -0700)]
Add stroke related test to the VectorDrawableTest

Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6

10 years agoMove LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Dan Sandler [Wed, 23 Jul 2014 03:14:54 +0000 (23:14 -0400)]
Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.

Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5

10 years agoAdd BLUETOOTH_MAP permission to give Bluetooth app exclusive access to email access
Matthew Xie [Thu, 24 Jul 2014 12:54:04 +0000 (14:54 +0200)]
Add BLUETOOTH_MAP permission to give Bluetooth app exclusive access to email access

The permission is hidden. It's for Bluetooth app only. We may unhide it in the future.
Change-Id: Ibc6f7b71f0c79dc282a8e5fdc786e1c16be7a892

10 years agoFix SystemProperties in LayoutLib.
Deepanshu Gupta [Wed, 6 Aug 2014 00:33:35 +0000 (17:33 -0700)]
Fix SystemProperties in LayoutLib.

Not all System Properties were used via Build class. Also, properties
like SDK_INT which called SystemProperties directly were not initialized
properly.

This change is essentially cherry picking of the relevant parts from the
following commits:
984749bf75c9ce9d3401b8410ea7d6276544b6ee
167bc25bceea9280bbe4858db4cb8233f86ce325

Bug: http://b.android.com/73046
Change-Id: Ia0fb467ee6d5fdedda500d57d02be20006f115df

10 years agoAudioSystem: add API to query audio HW sync source
Eric Laurent [Fri, 1 Aug 2014 21:44:46 +0000 (14:44 -0700)]
AudioSystem: add API to query audio HW sync source

Add a method to query from the audio HAL the HW sync
source used for a given audio session.
Add an AudioAttributes flag to request an output with
HW sync source.

Bug: 16132368.
Change-Id: Ic31b2924b98f242c3aa0d58688879f05ea02d6f7

10 years agoFix more card on Keyguard overflow.
Jorim Jaggi [Tue, 5 Aug 2014 23:35:21 +0000 (01:35 +0200)]
Fix more card on Keyguard overflow.

Bug: 15719165
Change-Id: Ie1e99dd722d7fcd52c0ce2eda968885835004b2b

10 years agoFix pressed state when long pressing nav bar buttons
Jorim Jaggi [Tue, 5 Aug 2014 23:12:32 +0000 (01:12 +0200)]
Fix pressed state when long pressing nav bar buttons

Bug: 16018025

Change-Id: Ic2bc96feae8a68e471fe902ae05611719ecf8dad

10 years agoUpdate keyguard icon paddings to spec.
Jorim Jaggi [Tue, 5 Aug 2014 17:17:42 +0000 (19:17 +0200)]
Update keyguard icon paddings to spec.

Bug: 15381387
Change-Id: Ia75394fd68f66233ebabe9ec4f62b42d40d19eb9

10 years agoDocumentsUI is only dialog when really large.
Jeff Sharkey [Tue, 5 Aug 2014 17:14:45 +0000 (10:14 -0700)]
DocumentsUI is only dialog when really large.

Bug: 16780860
Change-Id: Ib20ef9771855beba5b31d19887c1c9c1b8e8e5ed

10 years agoMerge ""Implement" formerly abstract methods VideoCallProvider." into lmp-dev
Andrew Lee [Wed, 6 Aug 2014 21:38:24 +0000 (21:38 +0000)]
Merge ""Implement" formerly abstract methods VideoCallProvider." into lmp-dev

10 years ago"Implement" formerly abstract methods VideoCallProvider.
Andrew Lee [Wed, 6 Aug 2014 19:14:21 +0000 (12:14 -0700)]
"Implement" formerly abstract methods VideoCallProvider.

Provide null-op methods so there is greater flexibility for classes
which extend this base class, but might not support all its methods.
In the future, if we add more methods to the *.aidl interface, this
class can work with binaries which extend this class but don't
implement all the methods since the superclass now implements those
methods.

Left onSetPreviewSurface and onSetDisplaySurface as abstract.

Bug: 16842159
Change-Id: Ie7fea6ef5d473e3924ef370392f380603a568800

10 years agoEnd the animator when stop() is called
ztenghui [Wed, 6 Aug 2014 20:47:28 +0000 (13:47 -0700)]
End the animator when stop() is called

bug:16830053

Change-Id: If27ba904b0f78ee8c59df3522a97f5f86509ca0e

10 years agoMove bitmap transforms out of bitmap ops
Chris Craik [Wed, 6 Aug 2014 20:42:24 +0000 (13:42 -0700)]
Move bitmap transforms out of bitmap ops

bug:11359533

This allows us to deduplicate a lot between the two ops, and fixes the
shader coordinate space for the left,top argument drawBitmap to match
software.

Change-Id: I53da05af9ee74c74e9e70b4ab8053190ca220b16

10 years agoFix JNI error in exception reporting.
Mathieu Chartier [Wed, 6 Aug 2014 20:39:17 +0000 (13:39 -0700)]
Fix JNI error in exception reporting.

There was a JNI error where when you got an OOM and called
report_exception, it would call two NewStringUTF in a row without
checking the return values. This could mean that the first one
threw a new OOME and the second one would cause a JNI error when
it also attempted to throw an OOME with a pending OOME.

Bug: 16843627

(cherry picked from commit cf6775eece8628ac069a6d4803e7f20a017e7e62)

Change-Id: Ibdc7d0e55a48b2a61a1db0868a5d77c2ae53f6f3

10 years agoDon't start RenderThread to do trimMemory
John Reck [Wed, 6 Aug 2014 20:33:59 +0000 (13:33 -0700)]
Don't start RenderThread to do trimMemory

 Bug: 16825138

Change-Id: I35f57898b14bc8526c3d93a3003bca6f5a3d7fbe

10 years agoMerge "camera2: (legacy) Support awb mode, test mode metadata keys" into lmp-dev
Igor Murashkin [Wed, 6 Aug 2014 21:36:53 +0000 (21:36 +0000)]
Merge "camera2: (legacy) Support awb mode, test mode metadata keys" into lmp-dev

10 years agocamera2: (legacy) Support awb mode, test mode metadata keys
Igor Murashkin [Wed, 30 Jul 2014 01:38:04 +0000 (18:38 -0700)]
camera2: (legacy) Support awb mode, test mode metadata keys

Change-Id: Ic013aa820bbea02a662d546eb9f70baa20c0136e

10 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Geoff Mendal [Wed, 6 Aug 2014 17:54:56 +0000 (17:54 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 6 Aug 2014 17:37:51 +0000 (10:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifcaa00a5e222bebdd9d9d2608d0c4fdeed236c42
Auto-generated-cl: translation import

10 years agoMerge "Fix resetAllModes call to act only on the calling user" into lmp-dev
Alexandra Gherghina [Wed, 6 Aug 2014 13:43:22 +0000 (13:43 +0000)]
Merge "Fix resetAllModes call to act only on the calling user" into lmp-dev

10 years agoDebugging bad notification sorts.
Daniel Sandler [Tue, 5 Aug 2014 19:57:38 +0000 (15:57 -0400)]
Debugging bad notification sorts.

Bug: 16626175
Change-Id: I6cc7ee5f853c846e3aed6f9750e8fb6bc5aed699

10 years agoTurn off/on wifi to correspond with hotspot
Jason Monk [Tue, 5 Aug 2014 20:24:22 +0000 (16:24 -0400)]
Turn off/on wifi to correspond with hotspot

Add logic to act the same way Settings does.  Without this sometimes
wifi is in the wrong state (on) and the hotspot wont turn on.

Bug: 16818232
Change-Id: Iaa7950a1c2097cfd798eddb604b49b3a152f1260

10 years agoMerge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev
Jorim Jaggi [Tue, 5 Aug 2014 17:10:59 +0000 (17:10 +0000)]
Merge "Revert "Clean up hiden notifications on Keyguard handling"" into lmp-dev

10 years agoRevert "Clean up hiden notifications on Keyguard handling"
Jorim Jaggi [Tue, 5 Aug 2014 17:10:43 +0000 (17:10 +0000)]
Revert "Clean up hiden notifications on Keyguard handling"

This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e

10 years agoClean up hiden notifications on Keyguard handling
Jorim Jaggi [Tue, 5 Aug 2014 14:22:30 +0000 (16:22 +0200)]
Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3

10 years agoMerge "Allow listeners to see children" into lmp-dev
Justin Koh [Tue, 5 Aug 2014 16:56:02 +0000 (16:56 +0000)]
Merge "Allow listeners to see children" into lmp-dev

10 years agoAllow listeners to see children
Justin Koh [Tue, 5 Aug 2014 01:29:49 +0000 (18:29 -0700)]
Allow listeners to see children

Allow listeners to see notification children. Since L is not baked yet, keeping
this version check makes it difficult to test apps.

Bug: 16733244
Change-Id: I70afd6b99fc18c1f0b9188279c04fab80c37d414

10 years agoIMS Framework & AIDL Changes for Call Barring & String Error Codes.
Shriram Ganesh [Wed, 9 Jul 2014 01:48:35 +0000 (18:48 -0700)]
IMS Framework & AIDL Changes for Call Barring & String Error Codes.

Change-Id: I66fdbbd175c13261c283627999f37071259f7a6a

10 years agoMerge "AudioAttributes: implement hashcode and equals methods" into lmp-dev
Jean-Michel Trivi [Tue, 5 Aug 2014 16:39:21 +0000 (16:39 +0000)]
Merge "AudioAttributes: implement hashcode and equals methods" into lmp-dev

10 years agoMerge "Security fixes related to cross-user content." into lmp-dev
Nicolas Prevot [Tue, 5 Aug 2014 17:10:50 +0000 (17:10 +0000)]
Merge "Security fixes related to cross-user content." into lmp-dev

10 years agoFix cross-user permission checks in print manager service.
Svet Ganov [Tue, 5 Aug 2014 16:52:18 +0000 (09:52 -0700)]
Fix cross-user permission checks in print manager service.

The cross-user check was requesting both interact across users and
interact across users all permissions which is too restrictive. Each
one is sufficient. Further, if the app has one of these premissions
but specifies a given user not current or current-self, the code
was throwing while the correct actions is to return the requested
user id as we alreay vetted the caller's permissions.

bug:16398152

Change-Id: I1a4863eb7b05dababb66bac6e143b78dfad42b81

10 years agoSecurity fixes related to cross-user content.
Nicolas Prevot [Thu, 26 Jun 2014 09:07:33 +0000 (10:07 +0100)]
Security fixes related to cross-user content.

Enforcing that only uri grants work across users (not permissions).
Fixing a security hole where malicious Apps could access a uri if they had uri grants to the same uri on another user.
Enforcing that userIds in uris, if they exist, are the one of the ContentProvider.

BUG: 16779492

Change-Id: Iaa5264bd6c3aa0e15be3a4a64f9dc88238e0cb2e

10 years agoAdd transport parameter to createBond() function (4/4)
Andre Eisenbach [Tue, 5 Aug 2014 00:51:43 +0000 (17:51 -0700)]
Add transport parameter to createBond() function (4/4)

Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2

10 years agoMerge "Log the version of the WebView package used." into lmp-dev
Torne (Richard Coles) [Tue, 5 Aug 2014 16:05:14 +0000 (16:05 +0000)]
Merge "Log the version of the WebView package used." into lmp-dev

10 years agoProperly update accessibility manager state.
Svet Ganov [Tue, 5 Aug 2014 15:41:08 +0000 (08:41 -0700)]
Properly update accessibility manager state.

Applciations that fire accessibility events have to first check
it accessibility is on and then fire the event. If the app fires
an event when the feature is off an exception is thrown. However,
due to the way accessibility state is pushed to the local
accessibility manager it was possible that the app checks that
aaccessibility is off, fires an event, then the state of the
local manager changes by the time the event is propagated up
the view tree and an exception is thrown. This is a regression.

We really want this exception to prevent apps sending events
across processes if accessibility is off, so now the state
we get from the system manager service is applied via a
message so if the app checks that accessibility is off, then
it will remain off (locally) until the event is propagated.

bug:16672964

Change-Id: Icf5d1b1bdff87b58f285f0d9e1a098552513bbe8

10 years agoLog the version of the WebView package used.
Torne (Richard Coles) [Tue, 5 Aug 2014 15:12:09 +0000 (16:12 +0100)]
Log the version of the WebView package used.

To aid in debugging app behaviour when WebView updates may be present,
log the package name, version name, and version code of the WebView
package when we are about to load it into an application. Do this before
we actually load any part of the package in case of an issue loading it
in the first place.

Change-Id: Id653bad431760b7ead8e3f8eb29f9d6a8bb68d07

10 years agoRefactor <Feature Abort> logic to concentrate it in one place.
Yuncheol Heo [Tue, 5 Aug 2014 05:48:37 +0000 (14:48 +0900)]
Refactor <Feature Abort> logic to concentrate it in one place.

- Don't reply from the unregistered address.
- Use "unrecognized opcode" as the default reason.

Bug: 16799466, Bug: 16798785
Change-Id: I7c2ece6436f7ebd59986d2baf4f45cd86e6622d9

10 years agoMerge "Fix CookieSyncManager package summary" into lmp-dev
Hector Dearman [Tue, 5 Aug 2014 16:00:48 +0000 (16:00 +0000)]
Merge "Fix CookieSyncManager package summary" into lmp-dev

10 years agoFix CookieSyncManager package summary
Hector Dearman [Tue, 5 Aug 2014 09:55:30 +0000 (10:55 +0100)]
Fix CookieSyncManager package summary

Putting the deprecated at the beginning of a class comment seems
to cause problems with JavaDoc so I've moved it to the end.

Bug: 16799480
Change-Id: Ia23dab2ad8ceb8e107e047480b5cb324d11a1457

10 years agoMerge "TIF: Add a content rating system for Brazil" into lmp-dev
Sungsoo Lim [Wed, 6 Aug 2014 12:35:32 +0000 (12:35 +0000)]
Merge "TIF: Add a content rating system for Brazil" into lmp-dev

10 years agoTIF: Add a content rating system for Brazil
Sungsoo Lim [Wed, 6 Aug 2014 10:49:42 +0000 (19:49 +0900)]
TIF: Add a content rating system for Brazil

- Add Brazil TV content ratings
- Remove Italy TV content rating since it doesn't have the official one.

References:
http://en.wikipedia.org/wiki/Brazilian_Advisory_Rating_System
http://portal.mj.gov.br/services/DocumentManagement/FileDownload.EZTSvc.asp?DocumentID=%7B25A80220-B0E3-47FD-923F-246B6184C3C6%7D&ServiceInstUID=%7B59D015FA-30D3-48EE-B124-02A314CB7999%7D

Change-Id: Ibed9b4be0871b50b9dcd95be3a015f5a1e58676d

10 years agoMerge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev
Sungsoo Lim [Tue, 5 Aug 2014 08:36:33 +0000 (08:36 +0000)]
Merge "TIF: A preliminary CL to add multiple rating systems" into lmp-dev

10 years agoTIF: A preliminary CL to add multiple rating systems
Sungsoo Lim [Tue, 5 Aug 2014 05:55:05 +0000 (14:55 +0900)]
TIF: A preliminary CL to add multiple rating systems

TODO: Add rating systems for the countries defined in this CL.

Change-Id: I128284fd8779723b5ffb5968e2a11ce4b4eae6b5

10 years agoMerge "Refine recode apis." into lmp-dev
Jungshik Jang [Tue, 5 Aug 2014 08:35:31 +0000 (08:35 +0000)]
Merge "Refine recode apis." into lmp-dev

10 years agoFix bugs on timer recording action.
Jungshik Jang [Tue, 5 Aug 2014 07:10:21 +0000 (16:10 +0900)]
Fix bugs on timer recording action.

1. Apply masking to feature abort of SetXXXTimer
2. Announce error when failed to send SetXXXTimer.
3. Remove TimerRecordingAction when deivce is disabled.
4. Report clear timer record error thru onClearTimerRecordingResult.

Change-Id: Id243aa25481dad57509b4229ca214fa9b6b00fdc

10 years agoRefine recode apis.
Jungshik Jang [Tue, 5 Aug 2014 05:43:24 +0000 (14:43 +0900)]
Refine recode apis.

1. add return type, int, to toByteArray method so
that caller can know how many of bytes it consumes.

2. put final keyword

Change-Id: Ia942016fa35ecb04b49be51170739101644c3e31

10 years agoMerge "Fix invalid annotation, @throw" into lmp-dev
Jungshik Jang [Tue, 5 Aug 2014 05:28:39 +0000 (05:28 +0000)]
Merge "Fix invalid annotation, @throw" into lmp-dev

10 years agoFix invalid annotation, @throw
Jungshik Jang [Tue, 5 Aug 2014 05:27:17 +0000 (14:27 +0900)]
Fix invalid annotation, @throw

Change-Id: Id22635414567a8b525032df792f2309102d7ae62

10 years agoMerge "TIF: implement setVolume for hardware inputs" into lmp-dev
Wonsik Kim [Tue, 5 Aug 2014 04:47:48 +0000 (04:47 +0000)]
Merge "TIF: implement setVolume for hardware inputs" into lmp-dev

10 years agoPlumbing for HdmiTvClient and HdmiControlService
Jinsuk Kim [Fri, 1 Aug 2014 10:13:53 +0000 (19:13 +0900)]
Plumbing for HdmiTvClient and HdmiControlService

Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService

Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c

10 years agoLet STB oneTouchPlay on SCREEN_ON event.
Yuncheol Heo [Mon, 4 Aug 2014 10:41:09 +0000 (19:41 +0900)]
Let STB oneTouchPlay on SCREEN_ON event.

- Eleborate the reason code to initiate the initialization.

Bug: 16668375
Change-Id: I4ce657a9438e4f7baa7df2eaa102eb1ce1a7bccb

10 years agoTIF: implement setVolume for hardware inputs
Wonsik Kim [Mon, 4 Aug 2014 01:17:18 +0000 (10:17 +0900)]
TIF: implement setVolume for hardware inputs

Bug: 16635576
Change-Id: Ibba9f32b22451d9792b5e74c2cf36cab356e4ab1

10 years agoMerge "TIF: Add content ratings for Australia" into lmp-dev
Sungsoo Lim [Wed, 6 Aug 2014 06:49:26 +0000 (06:49 +0000)]
Merge "TIF: Add content ratings for Australia" into lmp-dev

10 years agoTIF: Add content ratings for Australia
Sungsoo Lim [Tue, 5 Aug 2014 08:32:20 +0000 (17:32 +0900)]
TIF: Add content ratings for Australia

Reference: http://www.classification.gov.au/

Change-Id: I79a85124df7e06418ff95ca39ef1db98a83c5af1

10 years agoMerge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev
Youngsang Cho [Wed, 6 Aug 2014 06:47:30 +0000 (06:47 +0000)]
Merge "Remove a Handler constructor parameter Looper in TIS" into lmp-dev

10 years agoRemove a Handler constructor parameter Looper in TIS
Youngsang Cho [Wed, 6 Aug 2014 06:35:48 +0000 (15:35 +0900)]
Remove a Handler constructor parameter Looper in TIS

getMainLooper() returns null in the variable initialization phase.

Change-Id: Iebe52eac8955c0a8394501575f90ff6f2825451c

10 years agoAdd a method in TIS to relayout SurfaceView
Youngsang Cho [Wed, 2 Jul 2014 08:08:23 +0000 (17:08 +0900)]
Add a method in TIS to relayout SurfaceView

Bug: 15389458
Change-Id: I7f740141e7cf59fea5d321099652e65bc9e5f7d1

10 years agoMerge "More tweaks for recording" into lmp-dev
Jungshik Jang [Wed, 6 Aug 2014 04:54:20 +0000 (04:54 +0000)]
Merge "More tweaks for recording" into lmp-dev

10 years agoRemove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e...
Brian Carlstrom [Wed, 6 Aug 2014 04:09:29 +0000 (21:09 -0700)]
Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663

Change-Id: Ib01118d950e7cfe91c87a34489c51777262125bf

10 years agoMore tweaks for recording
Jungshik Jang [Tue, 5 Aug 2014 08:48:59 +0000 (17:48 +0900)]
More tweaks for recording

1. Mask TimerClearedStatus message result.
2. Use proper mask for media info.

Change-Id: I7ed6f6839c333460a7bef5e5a84af2a9a34c6d97

10 years agoMerge "Add a method in TIS to relayout SurfaceView" into lmp-dev
Youngsang Cho [Wed, 6 Aug 2014 06:42:31 +0000 (06:42 +0000)]
Merge "Add a method in TIS to relayout SurfaceView" into lmp-dev

10 years agoTIF: Add explanation for TvView
Jae Seo [Wed, 6 Aug 2014 02:06:47 +0000 (19:06 -0700)]
TIF: Add explanation for TvView

Bug: 16801733
Change-Id: I8fa81a850d1e29f32fdb6caa4bd3dc4b2668e18a

10 years agoMerge "TIF: Add content rating system for Spain" into lmp-dev
Dongwon Kang [Wed, 6 Aug 2014 02:55:23 +0000 (02:55 +0000)]
Merge "TIF: Add content rating system for Spain" into lmp-dev

10 years agoTIF: Add content rating system for Spain
Dongwon Kang [Tue, 5 Aug 2014 09:04:54 +0000 (18:04 +0900)]
TIF: Add content rating system for Spain

References:
 - http://codigodeautorregulacion.rtve.es/senalizacion-de-los-programas/advertencias-opticas/
 - http://en.wikipedia.org/wiki/RTVE

Change-Id: Icdde8a7f8cfb07cc4f768f95ba764ae6a519e347

10 years agoSensor related changes for NDK.
Aravind Akella [Tue, 5 Aug 2014 22:02:11 +0000 (15:02 -0700)]
Sensor related changes for NDK.

     i) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx
        methods.

Bug: 16399898
Change-Id: Icc252aad068fa337bef8b22f20584f98cd5a155d

10 years agoTIF: make TvInputService.Session class static
Dongwon Kang [Tue, 5 Aug 2014 05:28:02 +0000 (14:28 +0900)]
TIF: make TvInputService.Session class static

This change would make the developers freely extend the Session class
out of the TvInputService class.

Change-Id: I7dc9501c771a6e4dcfcceeb1b294b95e612596eb

10 years agoAdd supported refresh rate to displays
Michael Wright [Wed, 23 Jul 2014 02:46:03 +0000 (19:46 -0700)]
Add supported refresh rate to displays

Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5