OSDN Git Service

android-x86/frameworks-base.git
9 years agoSupport single-package backup rejection by the transport
Christopher Tate [Tue, 6 Jan 2015 23:48:33 +0000 (15:48 -0800)]
Support single-package backup rejection by the transport

We now cleanly handle the case of the transport blacklisting specific
packages from key/value backup.  Previously we would halt the entire
backup pass and reschedule if the transport returned any error from
performBackup(pkg).  Now, we recognize the TRANSPORT_PACKAGE_REJECTED
result from that invocation, and properly drop that package's work
but proceed with running the rest of the backup queue as expected.

Bug 18694053

Change-Id: Id0dd6d59492bdea9f970540d776f37db0cc5d99c

9 years agoMerge "Remove the "backup_data_changed" event log" into lmp-mr1-dev
Christopher Tate [Tue, 6 Jan 2015 18:09:40 +0000 (18:09 +0000)]
Merge "Remove the "backup_data_changed" event log" into lmp-mr1-dev

9 years agoMerge "Fix issue #18907544: Activity manager miscomputed high RAM for 64 bit" into...
Dianne Hackborn [Tue, 6 Jan 2015 17:59:58 +0000 (17:59 +0000)]
Merge "Fix issue #18907544: Activity manager miscomputed high RAM for 64 bit" into lmp-mr1-dev

9 years agoClear process DNS NetID binding when expiring or releaseing legacy requests.
Paul Jensen [Wed, 17 Dec 2014 15:39:34 +0000 (10:39 -0500)]
Clear process DNS NetID binding when expiring or releaseing legacy requests.

When requests made by ConnectivityManager.startUsingNetworkFeature() are
expired or are canceled via ConnectivityManager.stopUsingNetworkFeature(),
we must remember to clear the binding of DNS requests from the calling
process to the Network satisfying the request.

bug:18778725
Change-Id: I800c808ac6486000241b5d263aa79a1192a9fe9e

9 years agoMerge "CEC: Make deviceSelect work for MHL device" into lmp-mr1-dev
Jinsuk Kim [Tue, 6 Jan 2015 04:03:19 +0000 (04:03 +0000)]
Merge "CEC: Make deviceSelect work for MHL device" into lmp-mr1-dev

9 years agoCEC: Make deviceSelect work for MHL device
Jinsuk Kim [Tue, 6 Jan 2015 02:30:56 +0000 (11:30 +0900)]
CEC: Make deviceSelect work for MHL device

MHL device works on hotplug but not when API deviceSelect is invoked
to select it due to a bug not finding the right MHL device instance.
This CL rectifies it by searching for not only CEC but MHL devices
attached to TV.

Bug: 18909552
Change-Id: I4df1ead836090eb3a7476b7738be47a6970edb7d

9 years agoam 4c7390d3: am b663f2fc: am 713cd74e: docs: New "app compatibility with managed...
Andrew Solovay [Tue, 6 Jan 2015 02:02:02 +0000 (02:02 +0000)]
am 4c7390d3: am b663f2fc: am 713cd74e: docs: New "app compatibility with managed profiles" doc

* commit '4c7390d392dfe4a5df626ce28d415e01cab7d132':
  docs: New "app compatibility with managed profiles" doc

9 years agoam 546a0e8c: am 60925265: am afc3b9e7: Merge "docs: studio build output dir name...
Joe Fernandez [Tue, 6 Jan 2015 02:01:14 +0000 (02:01 +0000)]
am 546a0e8c: am 60925265: am afc3b9e7: Merge "docs: studio build output dir name update" into lmp-docs

* commit '546a0e8c695808c987be3fbac1b3e632b6c6aa8d':
  docs: studio build output dir name update

9 years agoam 21b92f34: am 43f4e8fa: am 27cb0a56: Merge "docs: gradle version update in plugin...
Joe Fernandez [Tue, 6 Jan 2015 02:01:09 +0000 (02:01 +0000)]
am 21b92f34: am 43f4e8fa: am 27cb0a56: Merge "docs: gradle version update in plugin file" into lmp-docs

* commit '21b92f34525e12ede8f842f6c426d33093df3b24':
  docs: gradle version update in plugin file

9 years agoam 447ea509: am f110d357: am 8eaf4042: Merge "docs: gradle wrapper security note...
Joe Fernandez [Tue, 6 Jan 2015 02:01:05 +0000 (02:01 +0000)]
am 447ea509: am f110d357: am 8eaf4042: Merge "docs: gradle wrapper security note" into lmp-docs

* commit '447ea5097ba99ca25ddd613e72e10b57f3405291':
  docs: gradle wrapper security note

9 years agoam eed87a57: am 09b41c02: am e6395cd3: Merge "docs: project file and toc updates...
Joe Fernandez [Tue, 6 Jan 2015 02:01:01 +0000 (02:01 +0000)]
am eed87a57: am 09b41c02: am e6395cd3: Merge "docs: project file and toc updates" into lmp-docs

* commit 'eed87a573a2e67c85f5a8e79ad538cce278932d2':
  docs: project file and toc updates

9 years agoam c811b88a: am d3d09d87: am 66e851fa: Merge "docs: studio workflow links" into lmp...
Joe Fernandez [Tue, 6 Jan 2015 02:00:57 +0000 (02:00 +0000)]
am c811b88a: am d3d09d87: am 66e851fa: Merge "docs: studio workflow links" into lmp-docs

* commit 'c811b88ab1bc891fffdef461ead0f6dc7331d04e':
  docs: studio workflow links

9 years agoam 411c779b: am c919f7cf: am 1092bafa: Merge "docs: studio tips and ticks grammmar...
Joe Fernandez [Tue, 6 Jan 2015 02:00:53 +0000 (02:00 +0000)]
am 411c779b: am c919f7cf: am 1092bafa: Merge "docs: studio tips and ticks grammmar typo" into lmp-docs

* commit '411c779bb746d81278b7646ffd96fa6e4f8336b9':
  docs: studio tips and ticks grammmar typo

9 years agoam c5fae959: am 48a066db: am 60cfb01a: Merge "docs: Update wearable lists docs" into...
Ricardo Cervera [Tue, 6 Jan 2015 02:00:48 +0000 (02:00 +0000)]
am c5fae959: am 48a066db: am 60cfb01a: Merge "docs: Update wearable lists docs" into lmp-docs

* commit 'c5fae9593553a89db2ad49306b46b8f9a3631489':
  docs: Update wearable lists docs

9 years agoam c3fb32ab: am 4603c122: am 18a75595: Merge "docs: studio device emulator updates...
Joe Fernandez [Tue, 6 Jan 2015 02:00:42 +0000 (02:00 +0000)]
am c3fb32ab: am 4603c122: am 18a75595: Merge "docs: studio device emulator updates" into lmp-docs

* commit 'c3fb32ab3989806f49cdd21ca58a044daf74f060':
  docs: studio device emulator updates

9 years agoam 4811f9b8: am ecf0ac29: am ca23a587: Merge "docs: Updates the request-location...
Sarah Maddox [Tue, 6 Jan 2015 02:00:32 +0000 (02:00 +0000)]
am 4811f9b8: am ecf0ac29: am ca23a587: Merge "docs: Updates the request-location-updates lesson in the location APIs training course." into lmp-docs

* commit '4811f9b84766adc17efb730160e15785d74875a3':
  docs: Updates the request-location-updates lesson in the location APIs training course.

9 years agoam 9719336b: am 4ef7873d: am 8e631d2d: Merge "docs: Adding vector drawables video...
Ricardo Cervera [Tue, 6 Jan 2015 02:00:24 +0000 (02:00 +0000)]
am 9719336b: am 4ef7873d: am 8e631d2d: Merge "docs: Adding vector drawables video" into lmp-docs

* commit '9719336b3a9a059c31200137a93f74445d3c7185':
  docs: Adding vector drawables video

9 years agoam adaef486: am e78489b4: am e22b42b3: Merge "docs: plugin reference update" into...
Joe Fernandez [Tue, 6 Jan 2015 02:00:14 +0000 (02:00 +0000)]
am adaef486: am e78489b4: am e22b42b3: Merge "docs: plugin reference update" into lmp-docs

* commit 'adaef486464af836cd3408657634c972419e4c80':
  docs: plugin reference update

9 years agoRemove the "backup_data_changed" event log
Christopher Tate [Tue, 6 Jan 2015 01:07:57 +0000 (17:07 -0800)]
Remove the "backup_data_changed" event log

Nowadays it's just spammy and uninformative, so away it goes.

Bug 18833115

Change-Id: Ic373c596d7a892c4fedc0343e2c03dc1c295225e

9 years agoMerge "Scroll handle was half as opaque as it was supposed to be" into lmp-mr1-dev
Alan Viverette [Tue, 6 Jan 2015 00:49:07 +0000 (00:49 +0000)]
Merge "Scroll handle was half as opaque as it was supposed to be" into lmp-mr1-dev

9 years agoMerge "Data quick settings - Usage shown should take into account merged IDs." into...
Shishir Agrawal [Tue, 6 Jan 2015 00:37:05 +0000 (00:37 +0000)]
Merge "Data quick settings - Usage shown should take into account merged IDs." into lmp-mr1-dev

9 years agoMerge "DO NOT MERGE Fix typo" into lmp-mr1-dev
Sungsoo Lim [Tue, 6 Jan 2015 00:13:12 +0000 (00:13 +0000)]
Merge "DO NOT MERGE Fix typo" into lmp-mr1-dev

9 years agoScroll handle was half as opaque as it was supposed to be
Alan Viverette [Tue, 6 Jan 2015 00:06:26 +0000 (16:06 -0800)]
Scroll handle was half as opaque as it was supposed to be

BUG: 18903443
Change-Id: Ie6a220899685f654a40d57ae0408e9c91afe868a

9 years agoFix issue #18907544: Activity manager miscomputed high RAM for 64 bit
Dianne Hackborn [Tue, 6 Jan 2015 00:05:05 +0000 (16:05 -0800)]
Fix issue #18907544: Activity manager miscomputed high RAM for 64 bit

No longer modify the base constants when computing oom adj values.

Change-Id: I1fa1e0013d544ad026de6dffecc7598ef7399911

9 years agoMerge "resolved conflicts for a0bc2e7e to lmp-mr1-dev" into lmp-mr1-dev
Deepanshu Gupta [Mon, 5 Jan 2015 23:26:02 +0000 (23:26 +0000)]
Merge "resolved conflicts for a0bc2e7e to lmp-mr1-dev" into lmp-mr1-dev

9 years agoMerge "Fix issue #18901214: APR: Frequent crash in android" into lmp-mr1-dev
Dianne Hackborn [Mon, 5 Jan 2015 23:03:46 +0000 (23:03 +0000)]
Merge "Fix issue #18901214: APR: Frequent crash in android" into lmp-mr1-dev

9 years agoMerge "Add system api for disabling touch events in wallpaper behind the window....
Filip Gruszczynski [Mon, 5 Jan 2015 22:46:12 +0000 (22:46 +0000)]
Merge "Add system api for disabling touch events in wallpaper behind the window." into lmp-mr1-dev

9 years agoFix issue #18901214: APR: Frequent crash in android
Dianne Hackborn [Mon, 5 Jan 2015 22:40:24 +0000 (14:40 -0800)]
Fix issue #18901214: APR: Frequent crash in android

The ShutdownActivity was implemented in the system server
code, which is no longer part of the boot class path.  This would
work fine when requesting a shutdown from the primary user, since
in that case the activity would be loaded in to the main system
process which also has the system service code loaded.

However, when executed from a secondary user, we need to spin up
a new system process for it; that system process is just a regular
app process, without the system service code, so *boom*.

To fix this, move ShutdownActivity to the framework jar.

Change-Id: Icb831cd6ed619da5feede5605c45ef177a892fbc

9 years agoMerge "Avoid double-translating View background" into lmp-mr1-dev
Alan Viverette [Mon, 5 Jan 2015 22:26:52 +0000 (22:26 +0000)]
Merge "Avoid double-translating View background" into lmp-mr1-dev

9 years agoAvoid double-translating View background
Alan Viverette [Mon, 5 Jan 2015 22:20:42 +0000 (14:20 -0800)]
Avoid double-translating View background

Reverse-translate the canvas before passing to Drawable.draw() so that
we don't double-apply the drawable's translation.

BUG: 18904688
Change-Id: I8450de9b240ddeae887b4e1003c0608da814a001

9 years agoMerge "pm path needs to return 0 when it succeeds." into lmp-mr1-dev
Hui Shu [Mon, 5 Jan 2015 22:07:14 +0000 (22:07 +0000)]
Merge "pm path needs to return 0 when it succeeds." into lmp-mr1-dev

9 years agoMerge "Don't restore persistent task to a stack until needed." into lmp-mr1-dev
Wale Ogunwale [Mon, 5 Jan 2015 22:03:19 +0000 (22:03 +0000)]
Merge "Don't restore persistent task to a stack until needed." into lmp-mr1-dev

9 years agoMerge "Don't override dialog icon drawable unless valid resource ID was set" into...
Alan Viverette [Mon, 5 Jan 2015 21:39:12 +0000 (21:39 +0000)]
Merge "Don't override dialog icon drawable unless valid resource ID was set" into lmp-mr1-dev

9 years agoMerge "Don't unregister MobileSignalControllers still used" into lmp-mr1-dev
Jason Monk [Mon, 5 Jan 2015 21:09:21 +0000 (21:09 +0000)]
Merge "Don't unregister MobileSignalControllers still used" into lmp-mr1-dev

9 years agoMerge "QS WiFi panel trigger settings on correct user" into lmp-mr1-dev
Jason Monk [Mon, 5 Jan 2015 21:09:03 +0000 (21:09 +0000)]
Merge "QS WiFi panel trigger settings on correct user" into lmp-mr1-dev

9 years agoAdd system api for disabling touch events in wallpaper behind the window.
Filip Gruszczynski [Mon, 5 Jan 2015 18:41:29 +0000 (10:41 -0800)]
Add system api for disabling touch events in wallpaper behind the window.

Bug: 18721756
Change-Id: I40b749a9916536d52042e5dd49a23575bedad754

9 years agoDon't override dialog icon drawable unless valid resource ID was set
Alan Viverette [Mon, 5 Jan 2015 20:56:45 +0000 (12:56 -0800)]
Don't override dialog icon drawable unless valid resource ID was set

Fixes a regression where Builder.setIcon(Drawable) would get overridden
even when Builder.setIcon(int) had never been called and was still 0.
Fixes attribute id to respect all valid resource IDs (e.g. non-zero).
Updates documentation to reflect the long-standing override behavior.

BUG: 18904762
Change-Id: I905703993a59910555d5a858e0aaecab63221a02

9 years agoDon't unregister MobileSignalControllers still used
Jason Monk [Fri, 12 Dec 2014 16:49:55 +0000 (11:49 -0500)]
Don't unregister MobileSignalControllers still used

Also add some more testing for this section of code that manages
when MobileSignalControllers are added/removed to make sure we
are all good.

Bug: 18728593
Change-Id: I9902854c54d2e1deb58b38b7bd97dac1617831c0

9 years agoMerge "Fix selector bug" into lmp-mr1-dev
Alan Viverette [Mon, 5 Jan 2015 20:23:45 +0000 (20:23 +0000)]
Merge "Fix selector bug" into lmp-mr1-dev

9 years agoUse min when comparing AM and PM text lengths
Alan Viverette [Mon, 5 Jan 2015 19:28:12 +0000 (11:28 -0800)]
Use min when comparing AM and PM text lengths

Also cleans up code a little to prevent unnecessary re-computation
of lower-cased strings and use final where possible.

BUG: 18874813
Change-Id: I852eb7a281aed64ac36e95f32f5fa410f50abfa4

9 years agoQS WiFi panel trigger settings on correct user
Jason Monk [Mon, 5 Jan 2015 17:05:24 +0000 (12:05 -0500)]
QS WiFi panel trigger settings on correct user

Bug: 18900000
Change-Id: I67e234eb6300dd05f950f174107b6a28867af7a2

9 years agoPost broadcasts to bg and cache bt state info
Jason Monk [Wed, 17 Dec 2014 15:14:33 +0000 (10:14 -0500)]
Post broadcasts to bg and cache bt state info

Add a background thread to post bt broadcasts to for processing.

Try to cache all bluetooth connection state info possible and pull
from broadcasts because requesting it too often may be locking up
devices.

Bug: 18771211
Change-Id: I2cf4852c935b2f471e735d953370e5d9e996c6f7

9 years agoMerge "CEC: Let MHL device be of type 'source'" into lmp-mr1-dev
Jinsuk Kim [Mon, 5 Jan 2015 07:10:05 +0000 (07:10 +0000)]
Merge "CEC: Let MHL device be of type 'source'" into lmp-mr1-dev

9 years agoCEC: Let MHL device be of type 'source'
Jinsuk Kim [Mon, 5 Jan 2015 07:07:28 +0000 (16:07 +0900)]
CEC: Let MHL device be of type 'source'

MHL devices should be of type source that can stream AV contents
to the connected TV. This should be supported by the API
HdmiDeviceInfo.isSourceType().

Bug: 18897172
Change-Id: I7dcbd7773127bf26797c204504a12c3e2ebbd83b

9 years agoDO NOT MERGE Fix typo
Sungsoo Lim [Mon, 5 Jan 2015 00:08:34 +0000 (09:08 +0900)]
DO NOT MERGE Fix typo

Change-Id: I0c738602616fda510b765e03f8a25abfc8316b84
(cherry picked from commit 9dcba434e27ec4de87eac1448ded4126b3f97773)

9 years agoMerge "DO NOT MERGE Make mute/unmute work" into lmp-mr1-dev
Sungsoo Lim [Mon, 5 Jan 2015 04:25:09 +0000 (04:25 +0000)]
Merge "DO NOT MERGE Make mute/unmute work" into lmp-mr1-dev

9 years agoDO NOT MERGE Make mute/unmute work
Sungsoo Lim [Wed, 24 Dec 2014 08:30:00 +0000 (17:30 +0900)]
DO NOT MERGE Make mute/unmute work

Bug: 18844550
Change-Id: I431a223d55430aa8e1bb28f0275e11876ed0e0bb
(cherry picked from commit d1851e6e4e49b6a45d9e013de2e1384711975328)

9 years agoDO NOT MERGE TIF: Add a null checking in TvInputHardwareManager.
Dongwon Kang [Fri, 26 Dec 2014 05:53:14 +0000 (14:53 +0900)]
DO NOT MERGE TIF: Add a null checking in TvInputHardwareManager.

Bug: 18688119
Change-Id: I17fd89bfbb34666ad5e14bb6e946aa5347975d4c
(cherry picked from commit b61077357eb6d8b95b303ef107b15db243a9621b)

9 years agoCEC: Buffer <Set System Audio Mode>
Jinsuk Kim [Fri, 2 Jan 2015 04:27:15 +0000 (13:27 +0900)]
CEC: Buffer <Set System Audio Mode>

<Set System Audio Mode> is another command that needs to be buffered
in case the command arrives before the system is ready to process it.
When processed, system audio mode will be enabled based on the
global setting.

Bug: 18809965

Change-Id: Ia6ebc4e2919e1b94498ca28f652c6db95f907f9c

9 years agoresolved conflicts for a0bc2e7e to lmp-mr1-dev
Deepanshu Gupta [Tue, 18 Nov 2014 21:53:47 +0000 (21:53 +0000)]
resolved conflicts for a0bc2e7e to lmp-mr1-dev

The original change wasn't properly merged into lmp-mr1-dev because of
merge conflicts. This change manually resolves the conflicts. The main
reason for the conflict was that TimePickerSpinnerDelegate was swapped
with TimePickerClockDelegate.

This change also fixes the typo in the original change which was fixed
in a subsequent change.

Original commit: 12b6d29b7b5592dcfb6e6fd6f0c21a40f37d014a
fix for typo: cb09bc45c58740af953874f9915306d351fc3d9d

Change-Id: I50bf8c2d86318f632465a38adfad16d1382a9319

9 years agoMerge "Add MEDIA_PROJECTION_SERVICE to the ServiceName list." into lmp-mr1-dev
Michael Wright [Tue, 30 Dec 2014 19:40:50 +0000 (19:40 +0000)]
Merge "Add MEDIA_PROJECTION_SERVICE to the ServiceName list." into lmp-mr1-dev

9 years agoMerge "Don't backup ringtone on non-telephony devices." into lmp-mr1-dev
Marvin Paul [Mon, 29 Dec 2014 23:18:15 +0000 (23:18 +0000)]
Merge "Don't backup ringtone on non-telephony devices." into lmp-mr1-dev

9 years agoMerge "Exclude unnecessary intents in SystemUI" into lmp-mr1-dev
Andre Eisenbach [Mon, 29 Dec 2014 18:32:20 +0000 (18:32 +0000)]
Merge "Exclude unnecessary intents in SystemUI" into lmp-mr1-dev

9 years agoFix a race in accessibility manager.
Svetoslav [Mon, 29 Dec 2014 17:40:42 +0000 (09:40 -0800)]
Fix a race in accessibility manager.

The accessibility manager has APIs for clients to observe changes
in accessibility, touch exploration, and high contrast states. The
notification of the listeners has to be done with no lock held but
in an attempt to do that the code was incorrectly iterating over
the copy on write collection.

bug:18840784

Change-Id: I6803ff1657fbf6b0cc7936671d5bbdebb5cbf6bb

9 years agoMerge "Audio Policy: Clear calling identity for all paths setting ringer mode." into...
John Spurlock [Wed, 24 Dec 2014 01:16:12 +0000 (01:16 +0000)]
Merge "Audio Policy: Clear calling identity for all paths setting ringer mode." into lmp-mr1-dev

9 years agoAdd MEDIA_PROJECTION_SERVICE to the ServiceName list.
Michael Wright [Mon, 22 Dec 2014 17:38:43 +0000 (09:38 -0800)]
Add MEDIA_PROJECTION_SERVICE to the ServiceName list.

This prevents our lint tooling from complaining that we're passing
invalid values when trying to get the MediaProjectionManager.

Bug: 18830590
Change-Id: I34633248e895b0ac7f5083e18a7d2385ca6f8adb

9 years agoDon't backup ringtone on non-telephony devices.
Marvin Paul [Tue, 23 Dec 2014 19:46:33 +0000 (11:46 -0800)]
Don't backup ringtone on non-telephony devices.

Restoring a device that supports telephony using the backup set of
a non-telephony device would cause the ringtone to be set to "None"
instead of the default value. This was due to the fact that on
non-telephony devices, the ringtone value was being backed up as
"_silent" instead of null.

Bug: 18777629

Change-Id: Idece1f874438a895169dbba7df1d716adea6660e

9 years agoAudio Policy: Clear calling identity for all paths setting ringer mode.
John Spurlock [Tue, 23 Dec 2014 21:14:44 +0000 (16:14 -0500)]
Audio Policy: Clear calling identity for all paths setting ringer mode.

For proper appops bookkeeping and zen setting changes.

Bug: 18832923
Change-Id: Ic029d3226458ca1a9229a0bc5726bedd5e117ad7

9 years agoData quick settings - Usage shown should take into account merged IDs.
Shishir Agrawal [Tue, 23 Dec 2014 17:54:48 +0000 (09:54 -0800)]
Data quick settings - Usage shown should take into account merged IDs.

The System Settings data usage graph takes into account merged Ids
(b/18012787), but the quick settings usage graph does not.

Bug: 18805245
Change-Id: I3146052606e691129a3aa5cc509cf632fda9d6b2

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 15:53:34 +0000 (15:53 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 15:52:52 +0000 (15:52 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Revert "DevicePolicy: Don't warn about managed profile CAs"" into lmp-mr1-dev
Robin Lee [Tue, 23 Dec 2014 12:30:26 +0000 (12:30 +0000)]
Merge "Revert "DevicePolicy: Don't warn about managed profile CAs"" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 08:28:11 +0000 (00:28 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 04:56:36 +0000 (20:56 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Baligh Uddin [Tue, 23 Dec 2014 04:44:56 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 23 Dec 2014 04:23:07 +0000 (20:23 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Add configuration indicating whether TTY over VoLTE is supported." into lmp...
Pavel Zhamaitsiak [Tue, 23 Dec 2014 03:39:04 +0000 (03:39 +0000)]
Merge "Add configuration indicating whether TTY over VoLTE is supported." into lmp-mr1-dev

9 years agoMerge "IMS: add the api to get IMS registration information." into lmp-mr1-dev
Amit Mahajan [Tue, 23 Dec 2014 01:19:19 +0000 (01:19 +0000)]
Merge "IMS: add the api to get IMS registration information." into lmp-mr1-dev

9 years agoAdd configuration indicating whether TTY over VoLTE is supported.
Etan Cohen [Thu, 11 Dec 2014 18:41:25 +0000 (10:41 -0800)]
Add configuration indicating whether TTY over VoLTE is supported.

Bug: 18593974
Change-Id: I8b45bfe91a7222d96f22a93e5bc887b96c231afe

9 years agoMerge "CEC: Let the caller check CEC device type" into lmp-mr1-dev
Jinsuk Kim [Mon, 22 Dec 2014 22:48:44 +0000 (22:48 +0000)]
Merge "CEC: Let the caller check CEC device type" into lmp-mr1-dev

9 years agoCEC: Let the caller check CEC device type
Jinsuk Kim [Mon, 22 Dec 2014 22:01:51 +0000 (07:01 +0900)]
CEC: Let the caller check CEC device type

Device event listener mechanism invoke the callback on all kinds
of devices in order to deal with a caller who wants to get notified
for all types. TIF was changed to check the device type to make
sure it handles source type only.

Bug: 18832462
Change-Id: I5123fe79c09f623849b93b64d0c28e6a930dd437

9 years agoMerge "Fix timing between bcast and net setup." into lmp-mr1-dev
Robert Greenwalt [Mon, 22 Dec 2014 22:32:39 +0000 (22:32 +0000)]
Merge "Fix timing between bcast and net setup." into lmp-mr1-dev

9 years agoMerge "Zen: Fix selection logic for "Indefinitely"." into lmp-mr1-dev
John Spurlock [Mon, 22 Dec 2014 21:56:35 +0000 (21:56 +0000)]
Merge "Zen: Fix selection logic for "Indefinitely"." into lmp-mr1-dev

9 years agoZen: Fix selection logic for "Indefinitely".
John Spurlock [Mon, 22 Dec 2014 20:13:30 +0000 (15:13 -0500)]
Zen: Fix selection logic for "Indefinitely".

Use a signal condition value for the forever condition in the panel
to ease the distinction between no selection + selecting indef.

Bug: 18810529
Change-Id: I2590899ab43734708c72aad066653ef27f89d760

9 years agoIMS: add the api to get IMS registration information.
Libin.Tang@motorola.com [Thu, 18 Dec 2014 04:47:45 +0000 (22:47 -0600)]
IMS: add the api to get IMS registration information.

Bug: 18668325
Change-Id: Ie694c7f1cc12a573cbef2815199ae6c91cf8088e

9 years agoMerge "AudioRecord: filter attributes" into lmp-mr1-dev
Jean-Michel Trivi [Mon, 22 Dec 2014 18:55:39 +0000 (18:55 +0000)]
Merge "AudioRecord: filter attributes" into lmp-mr1-dev

9 years agoAudioRecord: filter attributes
Jean-Michel Trivi [Fri, 19 Dec 2014 17:34:07 +0000 (09:34 -0800)]
AudioRecord: filter attributes

When creating an AudioRecord instance, filter the tags in the
  AudioAttributes to remove tags that are handled at the Java
  layer.

Bug: 18733215
Bug: 18736417

Change-Id: I16a3497742086deced4e8677bd6231290396c5f6

9 years agoRevert "DevicePolicy: Don't warn about managed profile CAs"
Robin Lee [Mon, 22 Dec 2014 11:48:10 +0000 (11:48 +0000)]
Revert "DevicePolicy: Don't warn about managed profile CAs"

This reverts commit 80559f4aadb3419eecdf6bf61945af584cd2aa8a.

Bug: 18224038
Change-Id: I108a4e8cf185401fef4806e1ad8c2cc78992e843

9 years agoFix selector bug
Chet Haase [Sat, 20 Dec 2014 00:37:18 +0000 (16:37 -0800)]
Fix selector bug

Issue #18784539 Row stays highlighted if I begin scrolling after the rows been highlighted in "About phone"

Change-Id: Ia91467d8fe64eec077f20af70eae0d5bb070c255

9 years agoMerge "CEC: Allow no vendor-specific data for <Vendor Command With ID>" into lmp...
Jinsuk Kim [Fri, 19 Dec 2014 23:58:09 +0000 (23:58 +0000)]
Merge "CEC: Allow no vendor-specific data for <Vendor Command With ID>" into lmp-mr1-dev

9 years agoCEC: Allow no vendor-specific data for <Vendor Command With ID>
Jinsuk Kim [Fri, 19 Dec 2014 23:43:27 +0000 (08:43 +0900)]
CEC: Allow no vendor-specific data for <Vendor Command With ID>

Changed not to return <Feature Abort> if the command comes
with any vendor-specific data, which is still valid.

Bug: 18816046

Change-Id: I22204d167c7783a841f7bb560e900b525f9f036b

9 years agoMerge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev
Eric Laurent [Fri, 19 Dec 2014 23:17:05 +0000 (23:17 +0000)]
Merge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev

9 years agoMerge "Tweak RT-animator scheduling" into lmp-mr1-dev
John Reck [Fri, 19 Dec 2014 23:09:47 +0000 (23:09 +0000)]
Merge "Tweak RT-animator scheduling" into lmp-mr1-dev

9 years agoMerge "Remove a bad heuristic when determining click location for accessibility....
Svet Ganov [Fri, 19 Dec 2014 22:33:49 +0000 (22:33 +0000)]
Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev

9 years agoam b663f2fc: am 713cd74e: docs: New "app compatibility with managed profiles" doc
Andrew Solovay [Fri, 19 Dec 2014 21:54:20 +0000 (21:54 +0000)]
am b663f2fc: am 713cd74e: docs: New "app compatibility with managed profiles" doc

* commit 'b663f2fc1809555798c897249542249d00956538':
  docs: New "app compatibility with managed profiles" doc

9 years agoMerge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev
Bart Sears [Fri, 19 Dec 2014 21:45:47 +0000 (21:45 +0000)]
Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev

9 years agoam 713cd74e: docs: New "app compatibility with managed profiles" doc
Andrew Solovay [Fri, 19 Dec 2014 21:45:20 +0000 (21:45 +0000)]
am 713cd74e: docs: New "app compatibility with managed profiles" doc

* commit '713cd74e333ab9bb35cb7538611194d891e4eb53':
  docs: New "app compatibility with managed profiles" doc

9 years agodocs: New "app compatibility with managed profiles" doc
Andrew Solovay [Mon, 8 Dec 2014 19:19:09 +0000 (11:19 -0800)]
docs: New "app compatibility with managed profiles" doc

Doc on steps app developers can take to make sure their apps will
behave properly in a managed-profile environment. Doesn't talk about
unreleased features, this is intended to go live on DAC in December.

See first comment for doc stage location.

Change-Id: I82e17e6085f732096e2aff40fea52d3ddafcf3ee

9 years agoRemove a bad heuristic when determining click location for accessibility.
Svet Ganov [Fri, 19 Dec 2014 19:59:18 +0000 (11:59 -0800)]
Remove a bad heuristic when determining click location for accessibility.

As a bride-gap solution to click on partially covered views in accessibility
mode we compute a point on the screen where to send a down/up event pair.
A heuristic we used was that if the action target is covered by a view that
that has a touch listener we consider the target obscured by the one with
the listener. However, this generates false positives, for example the target
is covered by a view that observers touches for scrolling but not clicking.

bug:18782023

Change-Id: I31ff34011d45667f1eddda47373ec00e4a23dbf6

9 years agoFix timing between bcast and net setup.
Robert Greenwalt [Thu, 18 Dec 2014 01:19:53 +0000 (17:19 -0800)]
Fix timing between bcast and net setup.

A legacy network type request would generate a bcast before the network
notification was sent - the legacy startUsingNetworkFeature API requires
the notification so it can bind your dns queries to the new network.
Fast-moving clients could try to use the network before it was ready.

bug:18792871
Change-Id: I24c46ef15c249c50bfc321f62756d1f66dc3a6a9

9 years agoTweak RT-animator scheduling
John Reck [Fri, 19 Dec 2014 19:37:21 +0000 (11:37 -0800)]
Tweak RT-animator scheduling

Bug: 18226391

The issue occurs as a result of a dispatchFrame itself
taking longer than 12ms, the alloted budget. The result
is that a vsync request (which occured at the end) would
miss the vsync that occured 1ms prior to the end of the frame.
As a result it would end up waiting for the following vsync,
essentially dropping to 30fps even though 60 could have been
sustained.

Fix this with a few tweaks.
First, adjust the UI thread's delay bias from (now + 4ms) to
(vsync + 4ms), this prevents RT animators from slowly drifting
if the vsync occurs mid-task.
Second, request a vsync preemptively prior to running callbacks.
This way if any callbacks needs the next vsync and it takes
"too long", we will catch that vsync.
Finally, fix an issue where the display event queue was always
drained & rejected at the end of a task loop. Instead, drain
and reject all stale vsyncs. This still prevents the issue of
both UI thread & RT thread trying to drive 2 frames in a single
pulse, but also allows RT to notice that it missed a vsync
pulse it needed and that it should speed-up a bit in response

Change-Id: I9d6be037737e9283297898cac2e3563453e797cd

9 years agoAllow OEM to specify <unavailable-feature>.
Jeff Sharkey [Fri, 19 Dec 2014 19:08:55 +0000 (11:08 -0800)]
Allow OEM to specify <unavailable-feature>.

Some single-system-image builds may run on devices that lack
certain hardware features.  This change allows the OEM partition to
mark a feature as "unavailable" which overrides the system image.

Bug: 18801291
Change-Id: I0d81144ec92ee9a78c13b223bbba20a4aed23fa0

9 years agoFix build breakage.
Wink Saville [Fri, 19 Dec 2014 19:02:01 +0000 (11:02 -0800)]
Fix build breakage.

I rebased a change and didn't compile, my mistake.

Change-Id: Iad7fc609b08d53aa7b8b96af609e3ff9a4f0e889

9 years agoExclude unnecessary intents in SystemUI
Andre Eisenbach [Fri, 19 Dec 2014 18:10:19 +0000 (10:10 -0800)]
Exclude unnecessary intents in SystemUI

Bug: 18771211
Change-Id: Ie1288938b51aa85ba36aabbc1c34aee5fdbf4e28

9 years agoUpdate mapping between RAF and Network Type.
Wink Saville [Wed, 17 Dec 2014 22:38:49 +0000 (14:38 -0800)]
Update mapping between RAF and Network Type.

bug:18754476
Change-Id: I5bdb8df192610b831a418ae810fe4f3b96c30f77

9 years agoMediaSession: unmute stream when adjusting volume
Eric Laurent [Fri, 19 Dec 2014 18:07:03 +0000 (10:07 -0800)]
MediaSession: unmute stream when adjusting volume

Bug: 18482488.

Change-Id: I3411f78551cba31aa7f91b5223e015f0b8c1bbb2

9 years agoMerge "Update mapping between RAF and Network Type." into lmp-mr1-dev
Wink Saville [Fri, 19 Dec 2014 17:58:50 +0000 (17:58 +0000)]
Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev

9 years agoMerge "AudioService: fix permission check." into lmp-mr1-dev
Eric Laurent [Fri, 19 Dec 2014 17:11:27 +0000 (17:11 +0000)]
Merge "AudioService: fix permission check." into lmp-mr1-dev

9 years agoMerge "Fix missing subscription list changes" into lmp-mr1-dev
Jason Monk [Fri, 19 Dec 2014 14:55:47 +0000 (14:55 +0000)]
Merge "Fix missing subscription list changes" into lmp-mr1-dev

9 years agoMerge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
Oliver Woodman [Fri, 19 Dec 2014 11:37:01 +0000 (11:37 +0000)]
Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev