OSDN Git Service

android-x86/frameworks-base.git
10 years agoImplement outline support for nine patches
Chris Craik [Wed, 9 Jul 2014 00:13:08 +0000 (17:13 -0700)]
Implement outline support for nine patches

b/15856895

Nine patches now have outline round rect metadata stored as optional
png tags. aapt generates these automatically by inspecting the bitmap
pixels to estimate outline bounds and round rect radius, based on
opacity.

Change-Id: I226e328a97873010d9e1adb797ac48f93a31183c

10 years agoMerge "Pass install result message; path selection." into lmp-dev
Jeff Sharkey [Mon, 14 Jul 2014 19:22:06 +0000 (19:22 +0000)]
Merge "Pass install result message; path selection." into lmp-dev

10 years agoMerge "Add Intent to configure ConnectionService" into lmp-dev
Evan Charlton [Mon, 14 Jul 2014 19:12:01 +0000 (19:12 +0000)]
Merge "Add Intent to configure ConnectionService" into lmp-dev

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

BUG: 14477472
Change-Id: I019c58dedb383e9e906831c8e44bab8b88e92604
(cherry picked from commit 66072fe0e1494a851e54bc7756734141dfbf4fe0)

10 years agoPass install result message; path selection.
Jeff Sharkey [Mon, 14 Jul 2014 00:33:07 +0000 (17:33 -0700)]
Pass install result message; path selection.

Oops, forgot to include message argument to invoke the new-style
callback.  Also use more robust way of generating cluster APK
directory names, and add more logging details on rename failure.

Change-Id: Ifa8abdd1db58b73e13b9a8077ec126cf20a0d90e

10 years agoCorrect printer extra constant value.
Svet Ganov [Mon, 14 Jul 2014 17:49:40 +0000 (10:49 -0700)]
Correct printer extra constant value.

We are passing the current printer to the custom print options activity.
Before we were using a constant specified in the java docs as it was
added past API change was possible. For this release a constant is
defined but its value was wrong and clients using the old (correct) value
could not look up the printer extra.

bug:16291822

Change-Id: Iaff6728865690caa8aaaa49a5911009d9f099148

10 years agoMerge "Add TRANSCRIPTION column to Calls table" into lmp-dev
Yorke Lee [Mon, 14 Jul 2014 17:41:38 +0000 (17:41 +0000)]
Merge "Add TRANSCRIPTION column to Calls table" into lmp-dev

10 years agoRename historical records if printer name changed.
Svet Ganov [Mon, 14 Jul 2014 17:18:13 +0000 (10:18 -0700)]
Rename historical records if printer name changed.

We keep track of previously used printers. It is possible that the name
of a previously used printer changed. In this case we want to change
this printer's name in the historical records to be able to show the
correct name in the UI when loading the history.

bug:13524346

Change-Id: I0a37bd52a564df5a84c816abfcf03db83de93b97

10 years agoMerge "DO NOT MERGE Fixing some regressions" into lmp-dev
Winson Chung [Mon, 14 Jul 2014 17:17:08 +0000 (17:17 +0000)]
Merge "DO NOT MERGE Fixing some regressions" into lmp-dev

10 years agoDO NOT MERGE Fixing some regressions
Winson Chung [Mon, 14 Jul 2014 00:43:31 +0000 (17:43 -0700)]
DO NOT MERGE 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
(cherry picked from commit e99e1009ce49caf220aa51c044ed53ac0a3b7cc6)

10 years agoAdd TRANSCRIPTION column to Calls table
Yorke Lee [Mon, 14 Jul 2014 17:05:31 +0000 (10:05 -0700)]
Add TRANSCRIPTION column to Calls table

Bug: 10928782
Change-Id: I9ca266247cea0f4ce71576a88801034a6e6ee77b

10 years agoVolume: Delay adjustments made when showing ringer UI.
John Spurlock [Fri, 11 Jul 2014 17:10:58 +0000 (13:10 -0400)]
Volume: Delay adjustments made when showing ringer UI.

Since the volume rocker is now the primary system UI for
entering ringer modes, we need to provide a way to display
the ui without making a sound.

Change the policy for the ringer stream to only display the
UI on the initial adjustment request, don't actually make
an adjustment.  However, don't break previous ability to
press and hold the vol keys down to vibrate, so allow this
after the standard framework long-press delay.

Audio service had no way of knowing whether or not the registered
volume controller was visible, so add a mechanism for the
controller (volume panel) to send that info back to the service.

Found and fixed a discrepancy between AudioManager.handleKeyDown
and MediaSessionLegacyHelper so that an adjustment over the
keyguard is allowed to vibrate as well as play sound during
adjustments.

Bug:16202639
Change-Id: Icd36c23e8d08c4ed57922c05724b281f32049be7

10 years agoAdd Intent to configure ConnectionService
Evan Charlton [Fri, 11 Jul 2014 22:30:56 +0000 (15:30 -0700)]
Add Intent to configure ConnectionService

Change-Id: I187cb48f5b763fadeb5346fca34b0dc4ae7e4d43

10 years agoFix broken actions in print notifications.
Svet Ganov [Mon, 14 Jul 2014 15:40:12 +0000 (08:40 -0700)]
Fix broken actions in print notifications.

The notification handling broadcast receiver was renamed but the
manifest was not updated, hence the receiver was not registered.

bug:16289408

Change-Id: I094e20e472abff1f926e1dbfbac32f422f498f74

10 years agoImprove print options click to open behavior.
Svet Ganov [Mon, 14 Jul 2014 15:21:25 +0000 (08:21 -0700)]
Improve print options click to open behavior.

When print options are closed we show a summary and a handle to open
the options panel. Often the user instinctively clicks on the summary
and also the expand handle is a somehow small target. To improve user
experience clicking on the summary also opens the print options.

Change-Id: Ia2f3b80f5acf11b40af864729f67fa29e82729fc

10 years agoMerge "Make sure to finish routing control action" into lmp-dev
Jinsuk Kim [Mon, 14 Jul 2014 01:31:07 +0000 (01:31 +0000)]
Merge "Make sure to finish routing control action" into lmp-dev

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
(cherry picked from commit 7d05469196721aaa888447149d3b93c8689ff72e)

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 agoMerge "do not merge. Implement onVideoAvailable/Unavailable in TIF." into lmp-dev
Dongwon Kang [Mon, 14 Jul 2014 01:30:29 +0000 (01:30 +0000)]
Merge "do not merge. Implement onVideoAvailable/Unavailable in TIF." into lmp-dev

10 years agodo not merge. Implement onVideoAvailable/Unavailable in TIF.
Dongwon Kang [Fri, 4 Jul 2014 00:32:40 +0000 (09:32 +0900)]
do not merge. 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
(cherry picked from commit 1edfd8eb985ee41095c60f4aaf7029f56abff614)

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 changes I3c19e008,I2c7c6013,I5cfd37d9 into lmp-dev
Jeff Brown [Mon, 14 Jul 2014 12:01:54 +0000 (12:01 +0000)]
Merge changes I3c19e008,I2c7c6013,I5cfd37d9 into lmp-dev

* changes:
  Update media session test application for new media router.
  Initial draft of new MediaRouter APIs.
  Delete first draft of media routing APIs.

10 years agoUpdate media session test application for new media router.
Jeff Brown [Mon, 14 Jul 2014 11:05:08 +0000 (04:05 -0700)]
Update media session test application for new media router.

Change-Id: I3c19e008d211099b4d7320e3f195850cfb4dd927

10 years agoInitial draft of new MediaRouter APIs.
Jeff Brown [Wed, 2 Jul 2014 05:13:04 +0000 (22:13 -0700)]
Initial draft of new MediaRouter APIs.

This patch introduces basic infrastructure for the new MediaRouter
API.  The code is fully documented but incompletely implemented.
It is being submitted not to facilitate API reviews.

MediaRouter is a new class that applications used to discovery,
connect to, and control media devices as represented by media
destinations and their routes.  Routes may offer a variety of
capabilities.  This new class is a much more powerful replacement
for the existing MediaRouter.

MediaRouteService is a base class for creating media route services
which third-parties can implement to make routes available to
applications.  It is analoguous to the MediaRouteProvider
infrastructure of the old media router support library but it
is designed to be integrated into the framework and enable a
variety of new usages such as remote display projection.

Stay tuned for more...

Change-Id: I2c7c6013d9f751d71e83697e7fc9e49bf7751fef

10 years agoDelete first draft of media routing APIs.
Jeff Brown [Fri, 11 Jul 2014 05:50:50 +0000 (22:50 -0700)]
Delete first draft of media routing APIs.

The new APIs will not be as tightly integrated into MediaSession.

Change-Id: I5cfd37d9d8d0c5d46c55edb5cf0772a8f1ef13ab

10 years agoDimming deselected preview pages
Svet Ganov [Mon, 14 Jul 2014 07:28:19 +0000 (00:28 -0700)]
Dimming deselected preview pages

For print preview we show the pages the user selected in the range
affordance but the user can optionally further prune pages to be
printed by deselecting them in the preview. The deselected pages
change elevation and now also are dimmed.

bug:15912256

Change-Id: I53357b8e8b592387bbc26b937eda786bb4660d85

10 years agoTop printer not properly selected.
Svet Ganov [Mon, 14 Jul 2014 07:14:07 +0000 (00:14 -0700)]
Top printer not properly selected.

We keep track of historically used printers and when the print dialog
is opened we load them. We were selecting the first printer before the
historical ones are loaded which led to a case where the PDF printer
is selected and then a better printer appears but we have the PDF one
selected.

Also we were asking the printer spinner for the current printer but
if the data set of the adapter changes and we ask the spinner for the
selection we get a wrong answer because the adapter and the view are
off sync since the view is updated on the next message.

Change-Id: I0c12d2d3b19227a8f6af6e421b92013ec06cc021

10 years agoDeprecate android.hardware.Camera
Eino-Ville Talvala [Fri, 11 Jul 2014 00:45:03 +0000 (17:45 -0700)]
Deprecate android.hardware.Camera

             __
             ||
             ||
             ||
             ||---____-----+
             ||    \_/     |
             ||   /. .\    |
             ||  ||---||   |
             ||   |___|    |
             ||    | |     |
             ||---____-----+
             ||
             ||
             ||
_____________||_________________

Replaced by android.hardware.camera2

- Also deprecate MediaRecorder#setCamera
- Also deprecate all Camera inner classes
- Update reference documentation in various classes to point to camera2
- Add note to camera API guide that it uses the old API
  (until a new guide is available)
- Remove old hidden raw sensor format; superceded by RAW_SENSOR.

Change-Id: I3d839765fc9b9aae906751ee32d6956ef40451ce

10 years agoMerge "QS: Update rotation lock icons." into lmp-dev
John Spurlock [Mon, 14 Jul 2014 15:02:21 +0000 (15:02 +0000)]
Merge "QS: Update rotation lock icons." into lmp-dev

10 years agoQS: Update rotation lock icons.
John Spurlock [Mon, 14 Jul 2014 14:52:01 +0000 (10:52 -0400)]
QS: Update rotation lock icons.

Only three states: unlocked / portrait / landscape, no animation.

Bug:16161728
Change-Id: Id916b81c09925455f87cfccf1350ac4977bad42e

10 years agoRestore user switching logic.
Emily Bernier [Mon, 14 Jul 2014 14:07:24 +0000 (10:07 -0400)]
Restore user switching logic.

Change-Id: I859145efc8e7f426ca7f7ad915b082b7e8a2c516

10 years agoMerge "Adds hidden startActivityForResultAsUser APIs" into lmp-dev
Alexandra Gherghina [Mon, 14 Jul 2014 11:49:27 +0000 (11:49 +0000)]
Merge "Adds hidden startActivityForResultAsUser APIs" into lmp-dev

10 years agoAdds hidden startActivityForResultAsUser APIs
Alexandra Gherghina [Fri, 4 Jul 2014 11:05:20 +0000 (12:05 +0100)]
Adds hidden startActivityForResultAsUser APIs

Bug: 16056552
Change-Id: Ib50f95782748a9dfdb2ee64225971128ac78e1c8

10 years agoMerge "QS: Cellular usage warning marker + policy cycle." into lmp-dev
John Spurlock [Mon, 14 Jul 2014 11:36:23 +0000 (11:36 +0000)]
Merge "QS: Cellular usage warning marker + policy cycle." into lmp-dev

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
(cherry picked from commit b5e88019cd69d9320639b6736fabf7f407444967)

10 years agoMerge "Unhide Build.SUPPORTED_ABIS and friends."
Narayan Kamath [Sun, 13 Jul 2014 08:35:07 +0000 (08:35 +0000)]
Merge "Unhide Build.SUPPORTED_ABIS and friends."

10 years agoUnhide Build.SUPPORTED_ABIS and friends.
Narayan Kamath [Sat, 12 Jul 2014 10:46:37 +0000 (11:46 +0100)]
Unhide Build.SUPPORTED_ABIS and friends.

Also deprecates Build.CPU_ABI and Build.CPU_ABI2.

bug: 15018047

Change-Id: If8bda8481b29442c0208ba8a72ec0037e813946c

10 years agoMerge "Package installation listener events."
Jeff Sharkey [Sun, 13 Jul 2014 04:21:36 +0000 (04:21 +0000)]
Merge "Package installation listener events."

10 years agoPackage installation listener events.
Jeff Sharkey [Sun, 13 Jul 2014 01:09:46 +0000 (18:09 -0700)]
Package installation listener events.

Flesh out implementation of install session observers.  Carve out 20%
of published install progress for final system operations such as
dexopt, etc.

Add dumpsys output for active install sessions.  Create explicit
fsync() instead of overriding meaning of flush().  Hack to throw
IOExceptions over Binder calls.

Bug: 1497516015348430
Change-Id: I874457e40c45d2661bc0a526df9285ffea4bb77c

10 years agoSurface detailed error messages from PMS.
Jeff Sharkey [Sat, 12 Jul 2014 22:37:47 +0000 (15:37 -0700)]
Surface detailed error messages from PMS.

We now both log detailed error messages and relay them back to any
observer.  Start refactoring PMS to throw when errors are encountered
internally to make it easier to reason about flow control; already
uncovered a few instances of errors being silently ignored!

Change-Id: Ia335c5e31bd10243d52fd735c513ca828e83dca0

10 years agoHandle <Feature Abort> after <System Audio Mode Request>.
Yuncheol Heo [Fri, 11 Jul 2014 07:06:40 +0000 (16:06 +0900)]
Handle <Feature Abort> after <System Audio Mode Request>.

- Fix some wrong return values.

Bug: 15841647
Change-Id: Ia4596e87204196b48429d55da4945f84de51a07b

10 years agoMerge "Add simple InputMethodSubtypeTest"
Yohei Yukawa [Fri, 11 Jul 2014 10:59:07 +0000 (10:59 +0000)]
Merge "Add simple InputMethodSubtypeTest"

10 years agoAdd simple InputMethodSubtypeTest
Yohei Yukawa [Fri, 11 Jul 2014 10:41:07 +0000 (19:41 +0900)]
Add simple InputMethodSubtypeTest

Change-Id: I87105c4935adfca249378e667161d2998cf77840

10 years agoMerge "QS: Recenter feedback for non-dual tiles."
John Spurlock [Fri, 11 Jul 2014 02:51:18 +0000 (02:51 +0000)]
Merge "QS: Recenter feedback for non-dual tiles."

10 years agoQS: Recenter feedback for non-dual tiles.
John Spurlock [Fri, 11 Jul 2014 02:49:16 +0000 (22:49 -0400)]
QS: Recenter feedback for non-dual tiles.

And dial the radius down a bit.

Bug:15168179
Change-Id: I946c556b6c31a74a526368097c5c16a7ddbc9749

10 years agoMerge "Revamp HDMI-CEC system audio mode integration with audio service."
Jungshik Jang [Fri, 11 Jul 2014 02:15:31 +0000 (02:15 +0000)]
Merge "Revamp HDMI-CEC system audio mode integration with audio service."

10 years agoRevamp HDMI-CEC system audio mode integration with audio service.
Jungshik Jang [Tue, 8 Jul 2014 12:17:29 +0000 (21:17 +0900)]
Revamp HDMI-CEC system audio mode integration with audio service.

In previous change we use setForceUse(FORCE_MEDIA, XXX) method
in order to set specific audio output type, such as LINE, HDMI_ARC,
and SPDIF. But it turns out that it conflicts with bluetooth
a2dp which uses the same setForceUse(FORCE_MEDIA, yyy).

This change is based on several conditions.

1. When other non-speaker devices are on, prevent system audio
   from turing on.
2. In order to keep track of other devices' connectivity and to
   turn off system audio if other device like bluetooth or
   headphone preempts current output, register OnAudioPortChangeListner
   to audio manager.
3. All possible system audio outputs can be merged with other
   outputs without priority.

Change-Id: Id4e47d99db64b9f77a17c2c28c47787ab8980bf7

10 years agoFix BCP47 language tags in fallback_fonts.xml
Raph Levien [Thu, 10 Jul 2014 22:45:26 +0000 (15:45 -0700)]
Fix BCP47 language tags in fallback_fonts.xml

The BCP47 tag we use for selecting Simplified vs Traditional Chinese is
Hans and Hant. This patch uses those tags in fallback_fonts.xml rather
than country names, which weren't getting matched.

Change-Id: I97e1da7b86e8fe8f026365146393304a5ab74443

10 years agoMerge "Update HdmiControlService JNI to the change in HAL definition"
Jinsuk Kim [Fri, 11 Jul 2014 02:39:46 +0000 (02:39 +0000)]
Merge "Update HdmiControlService JNI to the change in HAL definition"

10 years agoQS: Enable wifi entering detail (if disabled).
John Spurlock [Fri, 11 Jul 2014 02:20:46 +0000 (22:20 -0400)]
QS: Enable wifi entering detail (if disabled).

Bug:16215297
Change-Id: I3cf2b7fadec0b10aeb894db5dc0b92d8b83511f7

10 years agoUpdate HdmiControlService JNI to the change in HAL definition
Jinsuk Kim [Thu, 10 Jul 2014 22:26:45 +0000 (07:26 +0900)]
Update HdmiControlService JNI to the change in HAL definition

Change-Id: Iab235785c4d0242ab5845d1f8ad62d78770ff9c4

10 years agoAdding call capabilities to indicate whether call supports VT.
Tyler Gunn [Thu, 10 Jul 2014 21:34:51 +0000 (14:34 -0700)]
Adding call capabilities to indicate whether call supports VT.

Bug: 16213105
Change-Id: Icb05d3f0f6bd90b2c45bdfb7b199f38aaecc16ca

10 years agoMerge "Specify light and shadow properties in theme"
Alan Viverette [Sun, 13 Jul 2014 03:51:52 +0000 (03:51 +0000)]
Merge "Specify light and shadow properties in theme"

10 years agoSpecify light and shadow properties in theme
Alan Viverette [Sun, 13 Jul 2014 03:33:45 +0000 (20:33 -0700)]
Specify light and shadow properties in theme

BUG: 15859361
Change-Id: I65c9aa8c7ad7a709504c879d96158efba040d3ce

10 years agoUpdated "with-default" layout added for ResolverActivity
Adam Powell [Sun, 13 Jul 2014 01:33:22 +0000 (18:33 -0700)]
Updated "with-default" layout added for ResolverActivity

Add a layout that promotes the last chosen activity to the top for
ResolverActivity. Alter ResolverActivity behavior as appropriate: Only
the last selected activity can be set as default. Different activity
selections take effect immediately. You can only set a default if it
was the last-used target of the intent.

Also add some default strings for invoking common intents to make the
no-title invocations a bit more user-friendly than just, "complete
action using."

Bug 15694906

Change-Id: I8c75d2f812926805c949cc76bab48aa4094e002f

10 years agoMerge "TIF: Add a way to enable/disable caption"
Jae Seo [Sun, 13 Jul 2014 03:44:22 +0000 (03:44 +0000)]
Merge "TIF: Add a way to enable/disable caption"

10 years agoTIF: Add a way to enable/disable caption
Jae Seo [Thu, 10 Jul 2014 21:57:01 +0000 (14:57 -0700)]
TIF: Add a way to enable/disable caption

This is required to handle the case that an application wants to turn
on/off the caption explicitly (e.g. TvView in PIP). TV input service
implementation must respond to the request immediately to avoid any
legal implication since the captioning is imposed by the law in many
countries.

Bug: 14121898
Change-Id: I9600debae709fdc99065d7a0138ae69d1dffc9ba

10 years agoMerge "Remove material progress drawable"
Alan Viverette [Thu, 10 Jul 2014 22:55:35 +0000 (22:55 +0000)]
Merge "Remove material progress drawable"

10 years agoRemove material progress drawable
Alan Viverette [Thu, 10 Jul 2014 22:48:37 +0000 (15:48 -0700)]
Remove material progress drawable

BUG: 16138805
Change-Id: If8a8981e6ce741d563e870e3c09cbb5f39d30ac9

10 years agoMerge "Allow a VPN to be declared bypassable."
Sreeram Ramachandran [Thu, 10 Jul 2014 21:44:56 +0000 (21:44 +0000)]
Merge "Allow a VPN to be declared bypassable."

10 years agoAllow a VPN to be declared bypassable.
Sreeram Ramachandran [Thu, 10 Jul 2014 04:43:03 +0000 (21:43 -0700)]
Allow a VPN to be declared bypassable.

A VPN declared bypassable allows apps to use the new multinetwork APIs to
send/receive traffic directly over the underlying network, whereas without it,
traffic from those apps would be forced to go via the VPN.

Apps still need the right permissions to access the underlying network. For
example, if the underlying network is "untrusted", only apps with
CHANGE_NETWORK_STATE (or such permission) can actually use it directly.

New API with stub implementation to be filled out later.

Bug: 15347374
Change-Id: I8794715e024e08380a43f7a090613c5897611c5b

10 years agoNotificationListenerService API: Avoid unnecessary allocations
Christoph Studer [Thu, 12 Jun 2014 13:25:59 +0000 (15:25 +0200)]
NotificationListenerService API: Avoid unnecessary allocations

Instead of producing Ranking objects, RankingMap just populates
them now, allowing developers to re-use objects and avoid
unnecessary allocations.

Also rename isInterceptedByDnd() to meetsInterruptionFilter(),
since DND is not a concept anymore.

Bug: 15415840
Bug: 16099064
Change-Id: If9861cbdf14593e641a4d4ffd1b967647eb8e2b8

10 years agoMerge "Mark FLP constants as public, so they can be consumed by geofencing."
destradaa [Thu, 10 Jul 2014 21:36:43 +0000 (21:36 +0000)]
Merge "Mark FLP constants as public, so they can be consumed by geofencing."

10 years agoLet VpnService specify a white/black list of apps that are allowed access.
Sreeram Ramachandran [Thu, 10 Jul 2014 04:11:12 +0000 (21:11 -0700)]
Let VpnService specify a white/black list of apps that are allowed access.

New API with stub implementation to be filled out later.

Bug: 13651397
Change-Id: Ibabd6c22495ce58dc88142bb958c1ef12adcf78e

10 years agoImplement two-finger pull down to QS.
Jorim Jaggi [Thu, 10 Jul 2014 21:07:00 +0000 (23:07 +0200)]
Implement two-finger pull down to QS.

Bug: 14590707
Change-Id: I7f88a5b26e88c79e19d4e6c7f4cc8277ffcb2d57

10 years agoMerge "Fix build"
Lajos Molnar [Sat, 12 Jul 2014 22:37:25 +0000 (22:37 +0000)]
Merge "Fix build"

10 years agoFix build
Lajos Molnar [Sat, 12 Jul 2014 22:34:51 +0000 (15:34 -0700)]
Fix build

Change-Id: Ic06f633e5d57b28260fa94914e2a0daccdaa1a14

10 years agoAdded a test for HEVC playback memory usage
Naveen Kumar Ponnusamy [Wed, 11 Jun 2014 00:20:16 +0000 (17:20 -0700)]
Added a test for HEVC playback memory usage

Bug: 14571712
Change-Id: If5c4053dea23142b73aed77498c93e149b7ef9b2

10 years agoMerge "Allow 1st party app to set Line 1 number for display purpose."
Derek Tan [Sat, 12 Jul 2014 21:35:47 +0000 (21:35 +0000)]
Merge "Allow 1st party app to set Line 1 number for display purpose."

10 years agoadd utility methods to util.Range, Rational and Size
Lajos Molnar [Fri, 11 Jul 2014 07:54:50 +0000 (00:54 -0700)]
add utility methods to util.Range, Rational and Size

Bug: 12065651
Bug: 11990470
Change-Id: I0d0929ea0289ac5de5c17cca90f25abc4e9dfd7a

10 years agoAllow 1st party app to set Line 1 number for display purpose.
Derek Tan [Thu, 3 Jul 2014 00:26:02 +0000 (17:26 -0700)]
Allow 1st party app to set Line 1 number for display purpose.

After the number is set, TelephonyManager.getLine1Number will actually
return this one instead of the actual MSISDN/MDN.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf

10 years agoMerge "Revert "Initial KeySet API.""
dcashman [Sat, 12 Jul 2014 20:22:39 +0000 (20:22 +0000)]
Merge "Revert "Initial KeySet API.""

10 years agoRevert "Initial KeySet API."
dcashman [Sat, 12 Jul 2014 20:04:20 +0000 (13:04 -0700)]
Revert "Initial KeySet API."

This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.

10 years agoInitial KeySet API.
dcashman [Mon, 9 Jun 2014 16:27:54 +0000 (09:27 -0700)]
Initial KeySet API.

Bug: 6967056
Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae

10 years agoMerge "Revert "New SMS and MMS APIs and semantics (1/4)""
Colin Cross [Sat, 12 Jul 2014 01:09:04 +0000 (01:09 +0000)]
Merge "Revert "New SMS and MMS APIs and semantics (1/4)""

10 years agoRevert "New SMS and MMS APIs and semantics (1/4)"
Colin Cross [Sat, 12 Jul 2014 01:06:38 +0000 (01:06 +0000)]
Revert "New SMS and MMS APIs and semantics (1/4)"

This reverts commit f0dff59af4a1566d8d8bd997d059fcb9dddf2cb4.

Change-Id: I6b9206d80ae72fdb42d48b173927e63e5742f1b2

10 years agomedia: add crop rectangle to Image
Lajos Molnar [Fri, 11 Jul 2014 02:59:18 +0000 (19:59 -0700)]
media: add crop rectangle to Image

Bug: 10706245
Change-Id: I9c9150bdef418fd96228addaa7c35f16e5e1ccff

10 years agoStart system audio initialization mode on new device discovery.
Jungshik Jang [Fri, 11 Jul 2014 08:04:43 +0000 (17:04 +0900)]
Start system audio initialization mode on new device discovery.

If a new device is avr and current tv setting is system audio mode,
we should launch SystemAudioAutoInitiationAction.

Bug: 15843140

Change-Id: I8db89e9be21572e304e6eebb5948a7981df14e90

10 years agoStore active source/active port in HdmiControlService when disabled
Jinsuk Kim [Fri, 11 Jul 2014 08:04:32 +0000 (17:04 +0900)]
Store active source/active port in HdmiControlService when disabled

This lets the service keep track of the latest change made by TV app
or TIF regarding active source/port.

Bug: 16222083
Change-Id: I0f1a4520eb3e52ca5024567b0f1fbe4fd59e8cbf

10 years agoKeep preferred address for HdmiControlService
Jinsuk Kim [Fri, 11 Jul 2014 09:43:04 +0000 (18:43 +0900)]
Keep preferred address for HdmiControlService

Uses SystemProperties to store/retrieve preferred logical address

Bug: 15843075
Bug: 15844858
Change-Id: Ie1304805cbec4e11ef4b44a5cceb108121c60581

10 years agoNew SMS and MMS APIs and semantics (1/4)
Ye Wen [Wed, 9 Jul 2014 23:51:49 +0000 (16:51 -0700)]
New SMS and MMS APIs and semantics (1/4)

API changes for SMS and MMS AIDLs

b/14095333

Change-Id: I04f05c1952135cb4b5d422df060ca4054c14e5e5

10 years agoMerge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivil...
Jeff Sharkey [Fri, 11 Jul 2014 23:40:37 +0000 (23:40 +0000)]
Merge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage."

10 years agoITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesFor...
Shishir Agrawal [Fri, 11 Jul 2014 23:30:32 +0000 (16:30 -0700)]
ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage.

Fixes the build breakage due to overloading in the aidl.

Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052

10 years agoIMS: Add Config interface to get/set IMS service/capabilities
Etan Cohen [Fri, 11 Jul 2014 18:54:14 +0000 (11:54 -0700)]
IMS: Add Config interface to get/set IMS service/capabilities

Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573

10 years agoAdd ViewGroup#getClipToPadding()
Adam Powell [Fri, 11 Jul 2014 22:37:15 +0000 (15:37 -0700)]
Add ViewGroup#getClipToPadding()

It's kind of silly that we've gone this long without a good way to
query this since it makes writing custom views that properly handle
EdgeEffects, etc. a real pain.

Change-Id: I08e1cdf9ec7b8ec3c287c22a5aa19d07a166a4e0

10 years agoRemove old listener when rebinding SwitchPreference
Alan Viverette [Fri, 11 Jul 2014 22:28:38 +0000 (15:28 -0700)]
Remove old listener when rebinding SwitchPreference

Also fixes switch animation during scrolling, unnecessary call to
requestLayout() on drawable invalidate, and potential NPE.

BUG: 16225972
BUG: 4312303
Change-Id: I015d1f03206dd2c812592b0abfa4214a3de73d3f

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 agoMerge "Handle TODO in SystemAudioActionFromTv."
Yuncheol Heo [Fri, 11 Jul 2014 23:10:56 +0000 (23:10 +0000)]
Merge "Handle TODO in SystemAudioActionFromTv."

10 years agoHandle TODO in SystemAudioActionFromTv.
Yuncheol Heo [Fri, 11 Jul 2014 09:23:24 +0000 (18:23 +0900)]
Handle TODO in SystemAudioActionFromTv.

- Added onFinishedCallback to handle the deferred starting of FeatureAction.

Bug: 15843078, Bug: 15841546
Change-Id: I6cb5fba91d6115e8bb02c38601a72ed315c22e2f

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"