OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 776fc312: am 5fc6961e: Add support in the platform for Activity Recognition Hardware.
destradaa [Mon, 14 Jul 2014 20:18:23 +0000 (20:18 +0000)]
am 776fc312: am 5fc6961e: Add support in the platform for Activity Recognition Hardware.

* commit '776fc31230357a9ac090ef00e9b861cf5b2e56e3':

10 years agoam 3d8f39a0: am 177d3f98: Merge "Volume: Extend the volume dialog timeout for notific...
John Spurlock [Mon, 14 Jul 2014 20:18:20 +0000 (20:18 +0000)]
am 3d8f39a0: am 177d3f98: Merge "Volume: Extend the volume dialog timeout for notifications."

* commit '3d8f39a000ba562393aa08427796ced21acca647':

10 years agoam 38255d9b: am 40422e9a: Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."
Junda Liu [Mon, 14 Jul 2014 20:18:15 +0000 (20:18 +0000)]
am 38255d9b: am 40422e9a: Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."

* commit '38255d9b252c34317d4569388910186540fee1d7':

10 years agoam e69540f2: am 2ced83be: Adding back accidentally removed constants
Svetoslav [Mon, 14 Jul 2014 20:18:04 +0000 (20:18 +0000)]
am e69540f2: am 2ced83be: Adding back accidentally removed constants

* commit 'e69540f2b036bdd68c42435d59de4a141d62d9a3':

10 years agoam c253283b: am 1953eca2: Merge "Delete unused APIs in NetworkManagementService."
Sreeram Ramachandran [Mon, 14 Jul 2014 20:17:52 +0000 (20:17 +0000)]
am c253283b: am 1953eca2: Merge "Delete unused APIs in NetworkManagementService."

* commit 'c253283b378c88379adf791b20c1019cd4df1d18':

10 years agoam 1a3d9585: am c7beab5d: Remove commented out dead code
Svetoslav [Mon, 14 Jul 2014 20:17:47 +0000 (20:17 +0000)]
am 1a3d9585: am c7beab5d: Remove commented out dead code

* commit '1a3d9585ade3c0a89b5fd3c6e19a3d6252f04000':

10 years agoam 95f6e5d5: am c3b52889: Fix TimePicker behavior
Fabrice Di Meglio [Mon, 14 Jul 2014 20:17:42 +0000 (20:17 +0000)]
am 95f6e5d5: am c3b52889: Fix TimePicker behavior

* commit '95f6e5d5440d959b58e81f0f94661f19281c643e':

10 years agoam 826185e0: am e70111ca: MediaCodec: update documentation on buffer metadata.
Lajos Molnar [Mon, 14 Jul 2014 20:17:37 +0000 (20:17 +0000)]
am 826185e0: am e70111ca: MediaCodec: update documentation on buffer metadata.

* commit '826185e091065c1f0d2f7792e1f92be076f667aa':

10 years agoam fef4975a: am 5cb79417: Merge "Fix broken blend intrinsic."
Tim Murray [Mon, 14 Jul 2014 20:17:32 +0000 (20:17 +0000)]
am fef4975a: am 5cb79417: Merge "Fix broken blend intrinsic."

* commit 'fef4975a6756d18f3032d95a61b21e46c2391c30':

10 years agoam 5fc6961e: Add support in the platform for Activity Recognition Hardware.
destradaa [Mon, 14 Jul 2014 19:14:45 +0000 (19:14 +0000)]
am 5fc6961e: Add support in the platform for Activity Recognition Hardware.

* commit '5fc6961e3a23ffc044beeefb7a1b2976a81edea3':
  Add support in the platform for Activity Recognition Hardware.

10 years agoam 177d3f98: Merge "Volume: Extend the volume dialog timeout for notifications."
John Spurlock [Mon, 14 Jul 2014 19:14:39 +0000 (19:14 +0000)]
am 177d3f98: Merge "Volume: Extend the volume dialog timeout for notifications."

* commit '177d3f982973488190a6d8b54ded64c74455a77c':
  Volume: Extend the volume dialog timeout for notifications.

10 years agoam 40422e9a: Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."
Junda Liu [Mon, 14 Jul 2014 19:14:34 +0000 (19:14 +0000)]
am 40422e9a: Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."

* commit '40422e9a60a48738a64d2916c243f9e04ce98d67':
  Add hidden systemapi hasCarrierPrivileges(pkgname).

10 years agoam 2ced83be: Adding back accidentally removed constants
Svetoslav [Mon, 14 Jul 2014 19:14:28 +0000 (19:14 +0000)]
am 2ced83be: Adding back accidentally removed constants

* commit '2ced83be69527bbc91fa05c13a06709785c67219':
  Adding back accidentally removed constants

10 years agoam 1953eca2: Merge "Delete unused APIs in NetworkManagementService."
Sreeram Ramachandran [Mon, 14 Jul 2014 19:14:23 +0000 (19:14 +0000)]
am 1953eca2: Merge "Delete unused APIs in NetworkManagementService."

* commit '1953eca28076134648183744dc96ee9464ad2199':
  Delete unused APIs in NetworkManagementService.

10 years agoam c7beab5d: Remove commented out dead code
Svetoslav [Mon, 14 Jul 2014 19:14:17 +0000 (19:14 +0000)]
am c7beab5d: Remove commented out dead code

* commit 'c7beab5de196be124fe717962ca9844e88aa35e1':
  Remove commented out dead code

10 years agoam c3b52889: Fix TimePicker behavior
Fabrice Di Meglio [Mon, 14 Jul 2014 19:14:12 +0000 (19:14 +0000)]
am c3b52889: Fix TimePicker behavior

* commit 'c3b528898371119444c76929925c7f360914544c':
  Fix TimePicker behavior

10 years agoam e70111ca: MediaCodec: update documentation on buffer metadata.
Lajos Molnar [Mon, 14 Jul 2014 19:14:06 +0000 (19:14 +0000)]
am e70111ca: MediaCodec: update documentation on buffer metadata.

* commit 'e70111caeeb81706005352f3f2b4e63880165add':
  MediaCodec: update documentation on buffer metadata.

10 years agoam 5cb79417: Merge "Fix broken blend intrinsic."
Tim Murray [Mon, 14 Jul 2014 19:14:01 +0000 (19:14 +0000)]
am 5cb79417: Merge "Fix broken blend intrinsic."

* commit '5cb794175b76758d29848945fe9c2a33841b90fb':
  Fix broken blend intrinsic.

10 years agoMerge "Introduce new In-Call Service interface"
Ihab Awad [Mon, 14 Jul 2014 19:35:37 +0000 (19:35 +0000)]
Merge "Introduce new In-Call Service interface"

10 years agoIntroduce new In-Call Service interface
Ihab Awad [Thu, 10 Jul 2014 04:52:04 +0000 (21:52 -0700)]
Introduce new In-Call Service interface

Change-Id: I2dd8494f6e397c49180b19d1347c62edcae9b4e7

10 years agoMerge "Add support for AVD reverse() to ASLD, clean up transition handling"
Alan Viverette [Mon, 14 Jul 2014 19:05:57 +0000 (19:05 +0000)]
Merge "Add support for AVD reverse() to ASLD, clean up transition handling"

10 years agoam af35aaa5: am f7d6925e: am 7850f95d: Merge "Allow 3 letter language codes in InputM...
Narayan Kamath [Mon, 14 Jul 2014 18:52:47 +0000 (18:52 +0000)]
am af35aaa5: am f7d6925e: am 7850f95d: Merge "Allow 3 letter language codes in InputMethodUtils."

* commit 'af35aaa5ac93b25862ca91716aa5a6b0d5afe156':
  Allow 3 letter language codes in InputMethodUtils.

10 years agoam ac768e27: am f908b61a: am ef3b35b4: Merge "Logging in LocalTransport on as default"
Christopher Tate [Mon, 14 Jul 2014 18:52:42 +0000 (18:52 +0000)]
am ac768e27: am f908b61a: am ef3b35b4: Merge "Logging in LocalTransport on as default"

* commit 'ac768e27146ffb09f2ab0f078fa339302e927bd1':
  Logging in LocalTransport on as default

10 years agoam 54746af2: resolve conflicts for merge of d01adef1 to lmp-dev-plus-aosp
Colin Cross [Mon, 14 Jul 2014 18:52:33 +0000 (18:52 +0000)]
am 54746af2: resolve conflicts for merge of d01adef1 to lmp-dev-plus-aosp

* commit '54746af25bb7842629ed0833dcd443466dcaa391':
  GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf

10 years agoam f7d6925e: am 7850f95d: Merge "Allow 3 letter language codes in InputMethodUtils."
Narayan Kamath [Mon, 14 Jul 2014 18:17:43 +0000 (18:17 +0000)]
am f7d6925e: am 7850f95d: Merge "Allow 3 letter language codes in InputMethodUtils."

* commit 'f7d6925ee762fdf64b7d3ddca897ebb4170f6df9':
  Allow 3 letter language codes in InputMethodUtils.

10 years agoam f908b61a: am ef3b35b4: Merge "Logging in LocalTransport on as default"
Christopher Tate [Mon, 14 Jul 2014 18:17:11 +0000 (18:17 +0000)]
am f908b61a: am ef3b35b4: Merge "Logging in LocalTransport on as default"

* commit 'f908b61abf0882ce97d6d5076ee1c84393ed1ecd':
  Logging in LocalTransport on as default

10 years agoresolve conflicts for merge of d01adef1 to lmp-dev-plus-aosp
Colin Cross [Mon, 14 Jul 2014 18:12:35 +0000 (11:12 -0700)]
resolve conflicts for merge of d01adef1 to lmp-dev-plus-aosp

10 years agoChanged wording from "Mobile" to "Cellular"
PauloftheWest [Mon, 14 Jul 2014 14:50:47 +0000 (07:50 -0700)]
Changed wording from "Mobile" to "Cellular"

Bug: 15720445
Change-Id: Ifdf2667fb01ebd621b89facc0c6b4dbbe0d8c4bb

10 years agoDo not assert that typeface is not NULL.
Leon Scroggins III [Mon, 30 Jun 2014 16:26:22 +0000 (12:26 -0400)]
Do not assert that typeface is not NULL.

There may not be a typeface.

Change-Id: Ia4a4b8adbd3c382da98afe1fc5d23ab6b1bb79bb

10 years agoam 7850f95d: Merge "Allow 3 letter language codes in InputMethodUtils."
Narayan Kamath [Mon, 14 Jul 2014 08:52:55 +0000 (08:52 +0000)]
am 7850f95d: Merge "Allow 3 letter language codes in InputMethodUtils."

* commit '7850f95dc55c4e4801cf145c42a1bc98b49a87d6':
  Allow 3 letter language codes in InputMethodUtils.

10 years agoImplement multi-SIM capabilities (1/6)
Ihab Awad [Wed, 9 Jul 2014 19:30:52 +0000 (12:30 -0700)]
Implement multi-SIM capabilities (1/6)

- Split PhoneAccount into PhoneAccount & PhoneAccountMetadata
- Move PhoneAccount methods from TelephonyManager to TelecommManager

Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9

10 years agoAdd support for AVD reverse() to ASLD, clean up transition handling
Alan Viverette [Sun, 13 Jul 2014 23:32:54 +0000 (16:32 -0700)]
Add support for AVD reverse() to ASLD, clean up transition handling

BUG: 16162242
Change-Id: I29336491d01d40e5369503ece858bcbe5aa99b19

10 years agoMerge "Remove sub-position scroller"
Alan Viverette [Mon, 14 Jul 2014 02:06:33 +0000 (02:06 +0000)]
Merge "Remove sub-position scroller"

10 years agoRemove sub-position scroller
Alan Viverette [Mon, 14 Jul 2014 02:00:01 +0000 (19:00 -0700)]
Remove sub-position scroller

BUG: 14477472
Change-Id: I019c58dedb383e9e906831c8e44bab8b88e92604

10 years agoFixing some regressions
Winson Chung [Mon, 14 Jul 2014 00:43:31 +0000 (17:43 -0700)]
Fixing some regressions

- Removing some legacy code with task loading
- Ensure that doze triggers are set correctly on configuration change
- Adding WCAGv2 contrast checking for deciding which foreground color to use for labels
- Bumping up the max thumbnail cache size slightly
- Fixing case where visibility state was not correct if you toggle recents too quickly

Change-Id: I5e954890d53948547842edce3c76c34d74e180a8

10 years agoMerge "Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast."
Chelsea Derrick [Sun, 13 Jul 2014 20:39:43 +0000 (20:39 +0000)]
Merge "Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast."

10 years agoChanges in framework for WIFI_CREDENTIAL_CHANGE broadcast.
Wenchao Tong [Wed, 18 Jun 2014 19:59:21 +0000 (12:59 -0700)]
Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast.

* Only allow system app to send/receive
  WIFI_CREDENTIAL_CHANGE.
* Define constants in WifiManager.

Bug: 15703353
Change-Id: I62f582ac8cbfd8748c35d73daa2f733665cc0fa8

10 years agoQS: Cellular usage warning marker + policy cycle.
John Spurlock [Sun, 13 Jul 2014 20:07:57 +0000 (16:07 -0400)]
QS: Cellular usage warning marker + policy cycle.

Add warning marker to graph from policy, and use the
cycle day from policy to determine the usage period.

Change-Id: I31711eea6a0bf54ad0eb5841d2aa9b8e5927ed58

10 years agoQS: Introduce cast control panel.
John Spurlock [Sun, 13 Jul 2014 15:59:50 +0000 (11:59 -0400)]
QS: Introduce cast control panel.

Make cast controller more granular, at the route level, and
bind a common detail item panel to the available routes.

Fix tile icon, add connecting label.

Remove dialog presentation, no longer needed.

Add the new empty state, and add controller state to dump.

Found a bug in keyguard when in presentation mode, added
a workaround - don't crash when no owner info in keyguard
status view.

Bug:15833210
Change-Id: I19afec390eac2260bccf4a7064065b666b7bceca

10 years agoImprovements to Restrictions API
Amith Yamasani [Thu, 10 Jul 2014 20:41:55 +0000 (13:41 -0700)]
Improvements to Restrictions API

Convert restrictions provider to a service instead of a receiver.
Add a way to get pending responses from restrictions provider.
Add AbstractRestrictionsProvider.
Add a callback API for responses.

Removed some constants in RestrictionsManager.
Added new constants for errors and error codes.
Much improved javadocs.

Bug: 16176009

Change-Id: I838a50fabc80b94b632294b3a55cd5d8092acf55

10 years agoTelephony: Introduce config item for Hot Swap support
Wink Saville [Fri, 11 Jul 2014 14:37:11 +0000 (07:37 -0700)]
Telephony: Introduce config item for Hot Swap support

When a Uicc Card is inserted or removed, Android pops up a prompt
to the user to reboot the device. This prompt is unnecessary if the
modem supports Hot Swapping of cards.

Introduce a new config item to indicate if the modem supports
hotswapping. Frameworks can then check this before propmting the
user.

Bug: 12161291
Change-Id: I0f2c3134525aa2301fd667d0a1819f4419eecae0
(cherry picked from commit 5cbf6098c0d4bb830acd6ef45e8a3c1cedfb165c)
(cherry picked from commit 067089c6a1a8acc638f563f817dafef9172083f0)
(cherry picked from commit fd5d8910922bb16095367d09077e5974422e57ce)

10 years agoUnhide isSmsCapable.
Wink Saville [Sat, 12 Jul 2014 13:53:01 +0000 (06:53 -0700)]
Unhide isSmsCapable.

Bug: 14113863
Change-Id: I57af2cf2482747e77c9bdf53559345b6b31f01a5

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

Change-Id: I7c4fff3526583475a5edf1f4ba8fede4e9419ead

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

Change-Id: Ib99000da8f31437e7d40eceb69779a0f4c2982e1

10 years agoRemove commented out dead code
Svetoslav [Fri, 11 Jul 2014 22:47:32 +0000 (15:47 -0700)]
Remove commented out dead code

Change-Id: I3e59d0ee55fd864ea0d8bc5f99cdb74d9b0e49bb

10 years agoFix TimePicker behavior
Fabrice Di Meglio [Fri, 11 Jul 2014 02:33:33 +0000 (19:33 -0700)]
Fix TimePicker behavior

- use Alert Theme and make the TimePickerDialog show its done button
in the legacy mode
- if targetSdkVersion < L or if TV UI show the legacy TimePicker

Change-Id: I19ca6dbbcb50599c7e230262a23956c185f53a5c

10 years agoMediaCodec: update documentation on buffer metadata.
Lajos Molnar [Mon, 7 Jul 2014 18:32:08 +0000 (11:32 -0700)]
MediaCodec: update documentation on buffer metadata.

- Deprecated BUFFER_FLAG_SYNC_FRAME (as it actually marks key
  frames).
- Clarified that BUFFER_FLAG_KEY_FRAME is used for encoded output
  buffers.
- Clarified that presentationTimeUs is not an actual render
  timestamp (as opposed to releaseOutputBuffer's render timestamp).

Bug: 12006531
Change-Id: Ia27b9f606a9d7eef9c0c2900cd864a4421c7cf31

10 years agoFix print preview rendered page preloading.
Svetoslav [Fri, 11 Jul 2014 22:19:22 +0000 (15:19 -0700)]
Fix print preview rendered page preloading.

After the preview list is scrolled we are preloading the
pages around the ones that are shown, so now if the user
does a slight adjustment (expected after a scroll) the
pages around are rendered. There was an off by one error
and one of the bitmaps of the shown pages was reused and
as a result the wrong content was shown.

Change-Id: If04aebf46bcc637491221c6218005ecc1a7253d2

10 years agoFix the print button appearance.
Svetoslav [Fri, 11 Jul 2014 21:39:43 +0000 (14:39 -0700)]
Fix the print button appearance.

Change-Id: Ie19a52eaf08e1e39bb488c5afa2344c72e646b0b

10 years agoStyle improvements to LayoutLib create.
Deepanshu Gupta [Thu, 10 Jul 2014 23:16:29 +0000 (16:16 -0700)]
Style improvements to LayoutLib create.

This change doesn't change the functionality but removes dead code and
simplifies various places to remove warnings.

Change-Id: I371e06bfbd587dbf0eeafc69787b9805f7008f62

10 years agoUpdate delegates
Deepanshu Gupta [Thu, 10 Jul 2014 20:57:52 +0000 (13:57 -0700)]
Update delegates

Change-Id: Icd93c31b4e8c8ee5ea242fb8295578937f48ff2a

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

10 years agoDelete unused APIs in NetworkManagementService.
Sreeram Ramachandran [Fri, 11 Jul 2014 22:47:13 +0000 (15:47 -0700)]
Delete unused APIs in NetworkManagementService.

Change-Id: Idc6c0ac0d3a4149821fc7820b7f37d4209fc55d3

10 years agoMerge "Unhide WifiAdapter APIs"
Vinit Deshpande [Fri, 11 Jul 2014 21:36:52 +0000 (21:36 +0000)]
Merge "Unhide WifiAdapter APIs"

10 years agoAdd task affiliation
Craig Mautner [Wed, 9 Jul 2014 12:44:55 +0000 (05:44 -0700)]
Add task affiliation

Introduces new flag Intent.FLAG_ACTIVITY_LAUNCH_BEHIND which
causes the newly launched task to affiliate with the launching task.
(Later this flag will also launch the task behind the current task).
This shows up in a new member of the RecentTaskInfo class. This also
causes the recents list returned by getRecentsInfo to be rearranged
so that affiliated tasks are together.

Fixes bug 16157517.

Change-Id: Ia1386af50da2f01809278b62d249f05c6a0de951

10 years agoUnhide WifiAdapter APIs
Vinit Deshpande [Fri, 11 Jul 2014 19:48:04 +0000 (12:48 -0700)]
Unhide WifiAdapter APIs

Change-Id: Ia19ab4cfddddd3285ae9e0c5804f2cceda4cf063

10 years agoMerge "camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS"
Igor Murashkin [Fri, 11 Jul 2014 21:09:53 +0000 (21:09 +0000)]
Merge "camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS"

10 years agocamera2: (LEGACY) Update flash modes to fix #testFlashControl CTS
Igor Murashkin [Fri, 11 Jul 2014 01:08:47 +0000 (18:08 -0700)]
camera2: (LEGACY) Update flash modes to fix #testFlashControl CTS

Change-Id: I9b66a2b4393f4bc2272ecc94cd9a5c6273f3de59

10 years agocamera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock
Igor Murashkin [Thu, 10 Jul 2014 23:46:07 +0000 (16:46 -0700)]
camera2: (legacy) Fixes for CaptureRequestTest#testAeModeAndLock

Change-Id: I5c1008cf34a9d98f67c36966e7cbf1c312979f97

10 years agocamera2: (Legacy) Implement ae compensation step ranges and ae/awb locks
Igor Murashkin [Thu, 10 Jul 2014 00:20:23 +0000 (17:20 -0700)]
camera2: (Legacy) Implement ae compensation step ranges and ae/awb locks

Characteristics:
* control.aeCompensationRange
* control.aeCompensationStep

Request/Result:
* control.aeExposureCompensation
* control.aeLock
* control.awbLock

Change-Id: I911616c9cf3e0e9a03a0cb383bcf232cab8ca772

10 years agocamera2: (legacy) Implement AF/AE regions for request and result
Igor Murashkin [Wed, 9 Jul 2014 21:21:29 +0000 (14:21 -0700)]
camera2: (legacy) Implement AF/AE regions for request and result

* Also stop lying about max AE regions (now reports the truth)

Change-Id: I567a1e6c58ed0bfb77cc09787393ea18eba5d613

10 years agoMerge "Fix broken blend intrinsic."
Tim Murray [Fri, 11 Jul 2014 22:38:32 +0000 (22:38 +0000)]
Merge "Fix broken blend intrinsic."

10 years agoam ef3b35b4: Merge "Logging in LocalTransport on as default"
Christopher Tate [Fri, 11 Jul 2014 01:44:36 +0000 (01:44 +0000)]
am ef3b35b4: Merge "Logging in LocalTransport on as default"

* commit 'ef3b35b48c31919a7d6977e41db7f9d37654dec3':
  Logging in LocalTransport on as default

10 years agoam 1f060a17: Merge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardwar...
Colin Cross [Fri, 11 Jul 2014 01:44:31 +0000 (01:44 +0000)]
am 1f060a17: Merge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf"

* commit '1f060a178d9e69f8c08ccad5d7e0ef8fb22ddf8e':
  GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf

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 "Implement onVideoAvailable/Unavailable in TIF."
Dongwon Kang [Mon, 14 Jul 2014 01:00:17 +0000 (01:00 +0000)]
Merge "Implement onVideoAvailable/Unavailable in TIF."

10 years agoImplement onVideoAvailable/Unavailable in TIF.
Dongwon Kang [Fri, 4 Jul 2014 00:32:40 +0000 (09:32 +0900)]
Implement onVideoAvailable/Unavailable in TIF.

Use cases:
  - VIDEO_UNAVAILABLE_REASON_TUNE: to show spinner on channel change.
  - VIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL: to show a message and spinner on weak TV signal.
  - VIDEO_UNAVAILABLE_REASON_BUFFERING: to show spinner on buffering.
  - VIDEO_UNAVAILABLE_REASON_UNKNOWN: to show spinner.

Bug: 14126559
Change-Id: Ide2b68c74bd96d4ea1b9d85ab099a277253d05c7

10 years agoShortens the key length in HdmiControlService
Jinsuk Kim [Sun, 13 Jul 2014 23:20:47 +0000 (08:20 +0900)]
Shortens the key length in HdmiControlService

The key length for SystemProperties should not be over 31

Bug: 16274152
Change-Id: I25ffaf2fc502819a7aea12372717cd00497fd3be

10 years agoMerge "Make sure to finish routing control action"
Jinsuk Kim [Mon, 14 Jul 2014 00:30:10 +0000 (00:30 +0000)]
Merge "Make sure to finish routing control action"

10 years agoMake sure to finish routing control action
Jinsuk Kim [Sun, 13 Jul 2014 22:39:32 +0000 (07:39 +0900)]
Make sure to finish routing control action

After HdmiControlService performs routing control action,
make sure it is finished all the time.

Change-Id: I38e130ee5d8712a18aac7a46cad0950a23713469

10 years agoMerge "Volume: Extend the volume dialog timeout for notifications."
John Spurlock [Fri, 11 Jul 2014 22:56:26 +0000 (22:56 +0000)]
Merge "Volume: Extend the volume dialog timeout for notifications."

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

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

Bug:16237299
Change-Id: I36d01300a94f17e02ee35b5a6f549ed180532ad8

10 years agoMerge "Fix SDK build breakage"
Yohei Yukawa [Fri, 11 Jul 2014 17:05:01 +0000 (17:05 +0000)]
Merge "Fix SDK build breakage"

10 years agofix build: hide AudioAttributes.usageToString() method
Jean-Michel Trivi [Fri, 11 Jul 2014 17:01:00 +0000 (10:01 -0700)]
fix build: hide AudioAttributes.usageToString() method

Change-Id: I1041d9bf530df45878dd61e30e32f5a2f4f9d1a1

10 years agoFix SDK build breakage
Yohei Yukawa [Fri, 11 Jul 2014 16:59:07 +0000 (01:59 +0900)]
Fix SDK build breakage

This should have been included in I3c6b69bd9d79b199afe68d838f25effa6

BUG: 15812658
BUG: 16118603
Change-Id: I298206008fc28faa4f6576a77d56251f873f233c

10 years agoAddressing comments for the print preview feature.
Svetoslav [Fri, 11 Jul 2014 16:45:07 +0000 (09:45 -0700)]
Addressing comments for the print preview feature.

Change-Id: Ib72140a912e22f859258d970e0d1c4ef06e807d5

10 years agoFix an abi <-> instructionSet mixup.
Narayan Kamath [Fri, 11 Jul 2014 15:14:00 +0000 (16:14 +0100)]
Fix an abi <-> instructionSet mixup.

We should be calling is64BitInstructionSet and
not is64BitAbi.

Change-Id: I5b099af19f1d7409f65f63493d3f13a830f4fb5d

10 years agoMerge "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 agoMerge "Add VoiceInteraction request type for successful actions."
Barnaby James [Fri, 11 Jul 2014 18:36:53 +0000 (18:36 +0000)]
Merge "Add VoiceInteraction request type for successful actions."

10 years agoAdd VoiceInteraction request type for successful actions.
Barnaby James [Mon, 7 Jul 2014 17:51:06 +0000 (10:51 -0700)]
Add VoiceInteraction request type for successful actions.

Add CompleteVoiceRequest to VoiceInteractor to allow apps to indicate when a voice interaction was successfully completed.

Change-Id: I1481cfe96e9e2495d88a7a4fb62263bdd1e03c54

10 years agoMerge "Zen: Be more defensive against old time conditions."
John Spurlock [Fri, 11 Jul 2014 18:36:20 +0000 (18:36 +0000)]
Merge "Zen: Be more defensive against old time conditions."

10 years agoZen: Be more defensive against old time conditions.
John Spurlock [Fri, 11 Jul 2014 18:33:18 +0000 (14:33 -0400)]
Zen: Be more defensive against old time conditions.

Bug:16192570
Change-Id: If5097174fac89c5d809271241645d1efca92476e

10 years agoMerge "Add hidden systemapi hasCarrierPrivileges(pkgname)."
Junda Liu [Fri, 11 Jul 2014 22:55:21 +0000 (22:55 +0000)]
Merge "Add hidden systemapi hasCarrierPrivileges(pkgname)."

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

Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654