147315 Commits

Author SHA1 Message Date
Jungshik Jang
2afd97698d 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
2014-08-05 14:46:05 +09:00
Jungshik Jang
363c4efa51 Merge "Fix invalid annotation, @throw" into lmp-dev 2014-08-05 00:07:36 +00:00
Jungshik Jang
f406cc3442 Fix invalid annotation, @throw
Change-Id: Id22635414567a8b525032df792f2309102d7ae62
2014-08-05 14:27:17 +09:00
Wonsik Kim
ee3166e0d5 Merge "TIF: implement setVolume for hardware inputs" into lmp-dev 2014-08-05 00:07:36 +00:00
Jinsuk Kim
6ffb03816f Plumbing for HdmiTvClient and HdmiControlService
Added a few more methods in HdmiTvClient to use the API provided
by HdmiControlService

Change-Id: Ib506699b9661b99cefc837b96ac64347a4e9420c
2014-08-05 13:05:49 +09:00
Yuncheol Heo
fc44e4e03c Let STB oneTouchPlay on SCREEN_ON event.
- Eleborate the reason code to initiate the initialization.

Bug: 16668375
Change-Id: I4ce657a9438e4f7baa7df2eaa102eb1ce1a7bccb
2014-08-05 11:15:59 +09:00
Wonsik Kim
8e45a33ca8 TIF: implement setVolume for hardware inputs
Bug: 16635576
Change-Id: Ibba9f32b22451d9792b5e74c2cf36cab356e4ab1
2014-08-05 10:33:08 +09:00
Jungshik Jang
14b7c54eea Merge "Rename FeatureAction into HdmiCecFeatureAction" into lmp-dev 2014-08-04 23:56:40 +00:00
Jungshik Jang
b509c2ecd9 Rename FeatureAction into HdmiCecFeatureAction
Change-Id: I92ca11e513f8cf520e84399fe688397f2d9f714a
2014-08-07 13:58:02 +09:00
Matthew Williams
be0c417539 JobScheduler idle mode not being properly triggered
Issue with how the pending intent was being created -
the component name being explicitly set on the intent somehow
caused the intent to not be delivered.
Fix: no longer set the component name on the intent.
BUG: 16798118

Change-Id: I86b08b2a47067dc9b8da8b85450bc338e0826aca
2014-08-07 04:50:47 +00:00
John Spurlock
3f14df5c9d Merge "Common shade width across devices." into lmp-dev 2014-08-05 00:35:13 +00:00
John Spurlock
7e6809ad64 Common shade width across devices.
Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
2014-08-06 23:33:53 -04:00
Jungshik Jang
0f43bf6020 Merge "Prevent hot plug detection action from multiple device polling" into lmp-dev 2014-08-04 23:56:40 +00:00
Jungshik Jang
8e93c84739 Prevent hot plug detection action from multiple device polling
Along with this removed unused code and wrong references in
java doc.

Change-Id: I8b2fd8065f582f60cde5ada0e1669515b6a60f3f
2014-08-07 09:13:04 +09:00
Svetoslav
c71c42fdb2 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
2014-08-07 00:12:27 +00:00
Deepanshu Gupta
bc2fef0b2a 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.
2014-08-07 00:04:55 +00:00
Alan Viverette
b1de5a59be Merge "Separate tint and tintMode properties" into lmp-dev 2014-08-06 17:19:40 +00:00
Andres Morales
6429f313b4 Allow PersistentDataBlockService to be used with all users
Bug: 16795591
Change-Id: Id5e5dc5c26408752fe85f6f6fc2c67d9408b6a2a
2014-08-06 23:41:20 +00:00
Chris Craik
af046ab637 Update radial gradient doc
bug:16838331

Clarify positions parameter, and naming of several others.

Change-Id: I6096d26deaada717b52d924cd53e852b3c31626f
2014-08-06 23:25:09 +00:00
Alan Viverette
a426445dfd Separate tint and tintMode properties
BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
2014-08-06 15:42:10 -07:00
John Reck
dc0349beba Add missing null check
Bug: 16352267

Change-Id: Ib60baa6d22ec02ba623a297660e2e3ecc7557d0f
2014-08-06 22:28:47 +00:00
ztenghui
33559c96ad Merge "MiterLimit represent a ratio itself, no need to scale" into lmp-dev 2014-08-06 17:19:40 +00:00
ztenghui
c4d651ec8a MiterLimit represent a ratio itself, no need to scale
Change-Id: I474d8c29fc28786c6b3ff88848c1c802ab76d77c
2014-08-06 20:07:04 +00:00
Yao Chen
dc33b6170b Merge "Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras() to MediaController" into lmp-dev 2014-08-06 17:19:40 +00:00
Yao Chen
51fdfa273e Adds getServiceComponent() to MediaBrowser, getQueueTitle() and
getExtras() to MediaController

Change-Id: I6092ac1ae05ba55c14a042698bb88bd16e9b1fa7
2014-08-06 14:10:41 -07:00
Eric Laurent
b287c9388e Merge "AudioSystem: add API to query audio HW sync source" into lmp-dev 2014-08-06 17:14:55 +00:00
Chet Haase
54b9e5baa3 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
2014-08-06 19:34:56 +00:00
Christopher Tate
4cf9f007e6 Add event logs for full backup/restore milestones
Bug 16689703

Change-Id: If870f1b7b9cb3929ac1edc38affc688a37c2acfd
2014-08-06 19:24:33 +00:00
Matthew Xie
4565ded1a2 Merge "Add BLUETOOTH_MAP permission to give Bluetooth app exclusive access to email access" into lmp-dev 2014-08-06 02:12:24 +00:00
ztenghui
d1c89b1dd6 Add stroke related test to the VectorDrawableTest
Change-Id: I7dceebd58d9365cf8e2a31dfeec418aa439bacb6
2014-08-06 18:07:16 +00:00
Dan Sandler
52e5701eea Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.
Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
2014-08-06 18:00:53 +00:00
Matthew Xie
6b93229a21 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
2014-08-06 00:11:05 -07:00
Eric Laurent
b634e1b6d6 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
2014-08-05 16:56:12 -07:00
Andrew Lee
6d0da249ab Merge ""Implement" formerly abstract methods VideoCallProvider." into lmp-dev 2014-08-05 00:29:22 +00:00
Andrew Lee
1f6bbd2920 "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
2014-08-06 14:37:06 -07:00
ztenghui
06eaf193bd End the animator when stop() is called
bug:16830053

Change-Id: If27ba904b0f78ee8c59df3522a97f5f86509ca0e
2014-08-06 21:23:08 +00:00
Chris Craik
796475006f 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
2014-08-06 21:11:31 +00:00
Mathieu Chartier
d1a7fca145 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
2014-08-06 14:01:09 -07:00
John Reck
cd3a22cfec Don't start RenderThread to do trimMemory
Bug: 16825138

Change-Id: I35f57898b14bc8526c3d93a3003bca6f5a3d7fbe
2014-08-06 20:39:47 +00:00
Igor Murashkin
5bd43d7145 Merge "camera2: (legacy) Support awb mode, test mode metadata keys" into lmp-dev 2014-08-06 17:19:40 +00:00
Geoff Mendal
ea844f92a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-05 00:29:22 +00:00
Geoff Mendal
1375bf9316 Import translations. DO NOT MERGE
Change-Id: Ifcaa00a5e222bebdd9d9d2608d0c4fdeed236c42
Auto-generated-cl: translation import
2014-08-06 10:37:51 -07:00
Alexandra Gherghina
ff40ed3f8c Merge "Fix resetAllModes call to act only on the calling user" into lmp-dev 2014-08-05 00:35:13 +00:00
Daniel Sandler
41da5ff98f Debugging bad notification sorts.
Bug: 16626175
Change-Id: I6cc7ee5f853c846e3aed6f9750e8fb6bc5aed699
2014-08-06 13:26:04 +00:00
Jason Monk
256a22663d 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
2014-08-06 13:04:06 +00:00
Sungsoo Lim
0831de10c8 Merge "TIF: Add a content rating system for Brazil" into lmp-dev 2014-08-05 00:07:36 +00:00
Sungsoo Lim
b4bbfbcef3 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
2014-08-06 21:33:56 +09:00
Jungshik Jang
4f9e21ee32 Merge "Implement clear timer." into lmp-dev 2014-08-04 23:56:40 +00:00
Jungshik Jang
e5a9337ebe Implement clear timer.
This change implements clear timer, which sends
<Clear xxx Timer> to recorder, and reponse of it,
<Timer Cleared Status>.
Along with it, add result parser for [Timer Status Data].

Bug: 16160962

Change-Id: I1f48ec055aa93dc836156525de8b7ef921aad8b5
2014-08-05 09:32:34 +09:00
Shriram Ganesh
af9a696b20 Add changes for LTE to IWLAN Handover Notifications for an IMS Call
Change-Id: I6847ba1660df81d8d2ba610e9b27638800f71f77
2014-08-04 23:57:51 +00:00