OSDN Git Service

android-x86/frameworks-base.git
10 years agoTIF: Revisit availability changes
Wonsik Kim [Tue, 24 Jun 2014 07:33:17 +0000 (16:33 +0900)]
TIF: Revisit availability changes

Bug: 15838097, Bug: 15973274
Change-Id: Ida060696cb6222c8ced576d86c100c25d94dc5c0

10 years agoMediaExtractor: set buffer offset/limit in readSampleData
Lajos Molnar [Mon, 14 Jul 2014 19:24:56 +0000 (12:24 -0700)]
MediaExtractor: set buffer offset/limit in readSampleData

also fix setting offset/limit in MediaCodec's getBuffer.

Bug: 13008204
Change-Id: Iadf0f006cfccc2546971cc5384058e1a2721780b

10 years agoMerge "Apply hdmi control options to operation" into lmp-dev
Jinsuk Kim [Tue, 15 Jul 2014 02:03:24 +0000 (02:03 +0000)]
Merge "Apply hdmi control options to operation" into lmp-dev

10 years agoMerge "Introduce a public intent for launching Home settings" into lmp-dev
Amith Yamasani [Tue, 15 Jul 2014 01:56:31 +0000 (01:56 +0000)]
Merge "Introduce a public intent for launching Home settings" into lmp-dev

10 years agoIntroduce a public intent for launching Home settings
Amith Yamasani [Tue, 15 Jul 2014 01:02:08 +0000 (18:02 -0700)]
Introduce a public intent for launching Home settings

Bug: 16303152
Change-Id: I47e4461ae246aae7e31c8e06ca9370d6f04f61b4

10 years agoMerge "PowerManager: Adds a call to reduce refresh rate while device is in BatterySav...
Ruchi Kandoi [Tue, 15 Jul 2014 01:46:09 +0000 (01:46 +0000)]
Merge "PowerManager: Adds a call to reduce refresh rate while device is in BatterySaverMode." into lmp-dev

10 years agoPowerManager: Adds a call to reduce refresh rate while device is in
Ruchi Kandoi [Fri, 11 Jul 2014 17:55:05 +0000 (10:55 -0700)]
PowerManager: Adds a call to reduce refresh rate while device is in
BatterySaverMode.

Adds a binder call to the surface flinger to change the refresh rate
while the device is in BatterySaverMode.

Change-Id: I9b5fdcc279757ceb4b9917cb0445643b50133a04

10 years agoMerge "ITelephony.aidl: Minor spelling fix." into lmp-dev
Shishir Agrawal [Tue, 15 Jul 2014 00:00:10 +0000 (00:00 +0000)]
Merge "ITelephony.aidl: Minor spelling fix." into lmp-dev

10 years agoITelephony.aidl: Minor spelling fix.
Shishir Agrawal [Mon, 14 Jul 2014 23:58:12 +0000 (16:58 -0700)]
ITelephony.aidl: Minor spelling fix.

Change-Id: I88be72fce6184beb1ac7542af8ced7917900b593

10 years agoMerge "Revert shadow defaults to previous values" into lmp-dev
Chris Craik [Tue, 15 Jul 2014 01:17:29 +0000 (01:17 +0000)]
Merge "Revert shadow defaults to previous values" into lmp-dev

10 years agoRevert shadow defaults to previous values
Chris Craik [Tue, 15 Jul 2014 00:30:38 +0000 (17:30 -0700)]
Revert shadow defaults to previous values

Change-Id: Ic0c8a922a9e70f0adbc04e56779240887414b3b8

10 years agoMerge "Implement outline support for nine patches" into lmp-dev
Chris Craik [Tue, 15 Jul 2014 01:16:16 +0000 (01:16 +0000)]
Merge "Implement outline support for nine patches" into lmp-dev

10 years agoam c84e73d1: am 9d43fa84: Update the string for take bug report to say "Swipe left...
Wei Liu [Tue, 15 Jul 2014 00:49:30 +0000 (00:49 +0000)]
am c84e73d1: am 9d43fa84: Update the string for take bug report to say "Swipe left to share" instead of "Touch to share"

* commit 'c84e73d1035d99743da243a202c1499f70518620':
  Update the string for take bug report to say "Swipe left to share" instead of "Touch to share"

10 years agoresolved conflicts for merge of dca272b8 to lmp-dev
Alan Viverette [Tue, 15 Jul 2014 00:46:27 +0000 (17:46 -0700)]
resolved conflicts for merge of dca272b8 to lmp-dev

Change-Id: Ifbd10ace66f7488f225bfae6e26bab60ab56e651

10 years agoMerge "Fix build" into lmp-dev
Christopher Tate [Tue, 15 Jul 2014 00:13:29 +0000 (00:13 +0000)]
Merge "Fix build" into lmp-dev

10 years agoFix build
Christopher Tate [Tue, 15 Jul 2014 00:11:53 +0000 (17:11 -0700)]
Fix build

BridgeContext didn't show up in the working tree as a build participant.
Tsk tsk.

Change-Id: I2b52d99f319b43c2906a7fb9b25139a3df5b3676

10 years agoam 9d43fa84: Update the string for take bug report to say "Swipe left to share" inste...
Wei Liu [Mon, 14 Jul 2014 23:18:00 +0000 (23:18 +0000)]
am 9d43fa84: Update the string for take bug report to say "Swipe left to share" instead of "Touch to share"

* commit '9d43fa84054dc3c0229f5138495f6b6cdf0477db':
  Update the string for take bug report to say "Swipe left to share" instead of "Touch to share"

10 years agocamera2: Update shader scaling matrix for legacy mode.
Ruben Brunk [Tue, 17 Jun 2014 01:43:59 +0000 (18:43 -0700)]
camera2: Update shader scaling matrix for legacy mode.

Bug: 15116722
Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753

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 "Add PackageManager feature strings for relative humidity and temperature senso...
Aravind Akella [Mon, 14 Jul 2014 23:31:54 +0000 (23:31 +0000)]
Merge "Add PackageManager feature strings for relative humidity and temperature sensors." into lmp-dev

10 years agoMerge "Remove CallServiceProvider and CallServiceDescriptor do not merge" into lmp-dev
Sailesh Nepal [Mon, 14 Jul 2014 23:24:03 +0000 (23:24 +0000)]
Merge "Remove CallServiceProvider and CallServiceDescriptor do not merge" into lmp-dev

10 years agoRemove CallServiceProvider and CallServiceDescriptor do not merge
Sailesh Nepal [Mon, 14 Jul 2014 15:19:46 +0000 (08:19 -0700)]
Remove CallServiceProvider and CallServiceDescriptor do not merge

This CL removes CallServiceProvider. Instead of using a
provider we'll look up ConnectionServices using the package
manager instead.

This CL also removes CallServiceDescriptor. For incoming calls,
connection services will now pass a PhoneAccount instead
of a call descriptor. For outgoing calls we already use
PhoneAccounts for everything.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)

10 years agoMerge "Implement multi-SIM capabilities (1/6) [DO NOT MERGE]" into lmp-dev
Santos Cordon [Mon, 14 Jul 2014 23:20:15 +0000 (23:20 +0000)]
Merge "Implement multi-SIM capabilities (1/6) [DO NOT MERGE]" into lmp-dev

10 years agoAdd window elevation for dialogs, clean up surface insets API
Alan Viverette [Sun, 13 Jul 2014 03:01:27 +0000 (20:01 -0700)]
Add window elevation for dialogs, clean up surface insets API

BUG: 13211941
Change-Id: I9d605d0b2fb24f9bf8e73fbecd520b6b52ae5751

10 years agoMerge "Add Context.getNoBackupFilesDir()" into lmp-dev
Christopher Tate [Mon, 14 Jul 2014 22:56:21 +0000 (22:56 +0000)]
Merge "Add Context.getNoBackupFilesDir()" into lmp-dev

10 years agoAdd Context.getNoBackupFilesDir()
Christopher Tate [Sat, 12 Jul 2014 00:25:57 +0000 (17:25 -0700)]
Add Context.getNoBackupFilesDir()

This is an app-private filesystem space exactly like the one
reported by Context.getFilesDir(), with one exception:  files
placed here are never backed up by the full-backup infrastructure.
If an app attempts to back up any of its contents via the normal
API it's immediately ignored with a logged warning.

The restriction is also enforced on the restore side, because
apps using support libraries might wind up creating full backup
archives containing no_backup subdirs on pre-L devices (via
adb backup, Helium, &c.).  We check for this before passing the
restore data to the app, and drop it if we detect the situation
so that the app never sees the bits.

Bug 16240573

Change-Id: I11216a391f1d32117ec7ce15aafc9cd93d0337de

10 years agoMerge "Introduce new In-Call Service interface" into lmp-dev
Ihab Awad [Mon, 14 Jul 2014 22:54:06 +0000 (22:54 +0000)]
Merge "Introduce new In-Call Service interface" into lmp-dev

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

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 "Zygote: make libprocessgroup failures non-fatal" into lmp-dev
Colin Cross [Mon, 14 Jul 2014 22:39:03 +0000 (22:39 +0000)]
Merge "Zygote: make libprocessgroup failures non-fatal" into lmp-dev

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

Bug: 15720445
Change-Id: Ifdf2667fb01ebd621b89facc0c6b4dbbe0d8c4bb
(cherry picked from commit ca506b22fafb9134280b8a94fb9a3b2aaa38cf2e)

10 years agoZygote: make libprocessgroup failures non-fatal
Colin Cross [Mon, 14 Jul 2014 22:07:04 +0000 (15:07 -0700)]
Zygote: make libprocessgroup failures non-fatal

createProcessGroup can fail if the kernel does not support the
cpuacct cgroup.  Print a more useful error message, and don't
runtime abort.

Bug: 16243791
Change-Id: Ibbf081bda58a99c83b8070f55d151905c706b378

10 years agoFixing potential crash when attemping to read null thumbnail (Bug. 16289301)
Winson Chung [Mon, 14 Jul 2014 21:16:04 +0000 (14:16 -0700)]
Fixing potential crash when attemping to read null thumbnail (Bug. 16289301)

- Refactoring to remove unnecessary updates of RecentsConfiguration
- Removing unused logs

Change-Id: If427e565ab7260009ffb9be8ca45ba833c8262af

10 years agoMerge changes I51f2e466,I5b67cb3e into lmp-dev
RoboErik [Mon, 14 Jul 2014 21:37:49 +0000 (21:37 +0000)]
Merge changes I51f2e466,I5b67cb3e into lmp-dev

* changes:
  Make PlaybackState immutable with a builder
  Add API to set a default session in Activity

10 years agoMake PlaybackState immutable with a builder
RoboErik [Mon, 14 Jul 2014 20:40:43 +0000 (13:40 -0700)]
Make PlaybackState immutable with a builder

bug:15862252
Change-Id: I51f2e466bd2c41bbe80d20aa9785126a7ac6ab3f

10 years agoMerge "ActivityTransition: restore callee activity shared element position" into...
Dake Gu [Mon, 14 Jul 2014 21:16:55 +0000 (21:16 +0000)]
Merge "ActivityTransition: restore callee activity shared element position" into lmp-dev

10 years agoActivityTransition: restore callee activity shared element position
Dake Gu [Sat, 12 Jul 2014 00:48:37 +0000 (17:48 -0700)]
ActivityTransition: restore callee activity shared element position

Move the shared element of callee activity to animation start position,
then restore the measured size and locations to original values before
call requestLayout(),  this fixes cases for RecyclerView optimized layout
which offsets siblings by delta of measure size.

Change-Id: I6e43c036e26986605ff008aba476e30ebd270fd1

10 years agoMerge "Add strings for QS user switcher" into lmp-dev
Adrian Roos [Mon, 14 Jul 2014 20:57:44 +0000 (20:57 +0000)]
Merge "Add strings for QS user switcher" into lmp-dev

10 years agoAdd strings for QS user switcher
Adrian Roos [Mon, 14 Jul 2014 20:39:54 +0000 (22:39 +0200)]
Add strings for QS user switcher

Bug: 15545213
Change-Id: Iec98b704cd4b662d3cc5ff0b76671d44f93837d5

10 years agoMerge "Page size not always adjusted" into lmp-dev
Svetoslav [Mon, 14 Jul 2014 20:34:33 +0000 (20:34 +0000)]
Merge "Page size not always adjusted" into lmp-dev

10 years agoPage size not always adjusted
Svetoslav [Mon, 14 Jul 2014 20:31:19 +0000 (13:31 -0700)]
Page size not always adjusted

A user can select the pages to print by selecting a range from the
UI after which the selected pages appear in the preview list. Now
the user can further prune pages by clicking on them. If the number
of pages change to two or one the page position and size were not
adjusted. Now after the constraints of desected by clicking pages
are propafated the page size position is also computed.

bug:16297811

Change-Id: I62c0ae8ab5b1d91b120cbf9faa9653ef4ccbd97f

10 years agoMerge "Initial KeySet API." into lmp-dev
dcashman [Mon, 14 Jul 2014 20:02:28 +0000 (20:02 +0000)]
Merge "Initial KeySet API." into lmp-dev

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

Previously submitted but reverted due to doc-compilation bug.

Bug: 6967056
Change-Id: I9bd7ef299a4c92c4b327f5b5d7e951f0753b4c8a

10 years agoMerge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf...
Colin Cross [Mon, 14 Jul 2014 19:51:29 +0000 (19:51 +0000)]
Merge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf" into lmp-dev

10 years agoMerge "MediaRecorder: Fix crash when given a released Camera object" into lmp-dev
Eino-Ville Talvala [Mon, 14 Jul 2014 22:36:01 +0000 (22:36 +0000)]
Merge "MediaRecorder: Fix crash when given a released Camera object" into lmp-dev

10 years agoMediaRecorder: Fix crash when given a released Camera object
Eino-Ville Talvala [Mon, 14 Jul 2014 19:02:21 +0000 (12:02 -0700)]
MediaRecorder: Fix crash when given a released Camera object

Bug: 15617637
Change-Id: I420ecc3f7b946dcf705cf210a7d493290f838f09

10 years agoMerge "Add missing lock task API" into lmp-dev
Jason Monk [Mon, 14 Jul 2014 22:36:00 +0000 (22:36 +0000)]
Merge "Add missing lock task API" into lmp-dev

10 years agoAdd missing lock task API
Jason Monk [Mon, 14 Jul 2014 20:42:24 +0000 (16:42 -0400)]
Add missing lock task API

It seems that currently there is no un-hidden way to determine if
the device is in lock task.  This fixes that.

Change-Id: Ib5082b84de8073d261777b955fddff55367e5662

10 years agoMerge "Enable the bitmap cache for the VectorDrawable" into lmp-dev
ztenghui [Mon, 14 Jul 2014 22:56:12 +0000 (22:56 +0000)]
Merge "Enable the bitmap cache for the VectorDrawable" into lmp-dev

10 years agoEnable the bitmap cache for the VectorDrawable
ztenghui [Mon, 14 Jul 2014 21:53:48 +0000 (14:53 -0700)]
Enable the bitmap cache for the VectorDrawable

b/16299765

Change-Id: Ia2c0fd366abc097d1ce485936de74e4e898cc07a

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 agoImplement multi-SIM capabilities (1/6) [DO NOT MERGE]
Ihab Awad [Wed, 9 Jul 2014 19:30:52 +0000 (12:30 -0700)]
Implement multi-SIM capabilities (1/6) [DO NOT MERGE]

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

Bug:16292368
Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9
(cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)

10 years agoAdd API to set a default session in Activity
RoboErik [Wed, 9 Jul 2014 22:05:53 +0000 (15:05 -0700)]
Add API to set a default session in Activity

We may have multiple remote sessions at once so an app needs a way
to specify a default session to route media and volume commands to
when its activity is in the foreground. This adds an api that works
in parallel with the default stream api on Activity.

bug:15727927
Change-Id: I5b67cb3e20647f9437d90aa65be63efe8c7865cf

10 years agoGpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf
Colin Cross [Tue, 28 Jan 2014 17:33:53 +0000 (09:33 -0800)]
GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf

The property ro.hardware.gps can be specifid to allow a single system
image to work with differrent GPS chips.  The HAL layer will use it to load
/system/lib/hw/gps.<ro.hardware.gps>.so.  Add support to GpsLocationProvider
to use the same property to find /etc/gps.<ro.hardware.gps>.conf, falling
back to /etc/gps.conf if the property is not set or the file is not present.

(cherry picked from commit 0246363b223f539ad01898b8ad0093fc6a58c5a3)

Change-Id: I3a3f7ae94b818b81550137c375adc9bf7ce3da99

10 years agoAdd PackageManager feature strings for relative humidity and temperature sensors.
Aravind Akella [Wed, 9 Jul 2014 18:52:39 +0000 (11:52 -0700)]
Add PackageManager feature strings for relative humidity and temperature sensors.

Change-Id: I56351f37f1c51517a3384b6040df0ed2be0c95b0

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 agoApply hdmi control options to operation
Jinsuk Kim [Mon, 14 Jul 2014 05:01:23 +0000 (14:01 +0900)]
Apply hdmi control options to operation

Use the flag mAudioDeviceOff/mAutoWakeup to conditionally perform
the operation

Change-Id: I1595d8a64170d5047e621491a09279e04e3b4302

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 agoUpdate the string for take bug report to say "Swipe left to share" instead of "Touch...
Wei Liu [Fri, 11 Jul 2014 18:56:21 +0000 (11:56 -0700)]
Update the string for take bug report to say "Swipe left to share" instead of "Touch to share"

BUG: 15589908

Change-Id: I69e176343906c8f87b8f50ba844b15e3e89f0c48

10 years agoam 0cb38d2e: Merge "Add configuration for activity thumbnails" into klp-modular-dev
Michael Kolb [Fri, 11 Jul 2014 01:46:12 +0000 (01:46 +0000)]
am 0cb38d2e: Merge "Add configuration for activity thumbnails" into klp-modular-dev

* commit '0cb38d2e5ab32fd34c8129f3c2d1c158bad9abc3':
  Add configuration for activity thumbnails

10 years agoam f5e67474: Allow overlays to configure ConnectivityService\'s network sampling...
Aaron Whyte [Fri, 11 Jul 2014 01:46:08 +0000 (01:46 +0000)]
am f5e67474: Allow overlays to configure ConnectivityService\'s network sampling to not wake the device. This can increase clockwork device battery life. Bug:15455204

* commit 'f5e6747440cc0d29c663a792e32d9618f842ecf2':
  Allow overlays to configure ConnectivityService's network sampling to not wake the device. This can increase clockwork device battery life. Bug:15455204

10 years agoam 6462615c: Merge "docs: Changed screenshot to use layout name" into klp-modular-dev
Andrew Solovay [Fri, 11 Jul 2014 01:46:03 +0000 (01:46 +0000)]
am 6462615c: Merge "docs: Changed screenshot to use layout name" into klp-modular-dev

* commit '6462615c3913b74e14e356cf449115a012c39526':
  docs: Changed screenshot to use layout name

10 years agoUnhide RenderScript resize intrinsic
Jason Sams [Thu, 17 Apr 2014 20:52:26 +0000 (13:52 -0700)]
Unhide RenderScript resize intrinsic

Change-Id: I450c83ad00bcb7d999aaf7d4bd7ea88d63ab8fea

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 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 agoAllow overlays to configure ConnectivityService's network sampling to not wake the...
Aaron Whyte [Thu, 10 Jul 2014 21:05:35 +0000 (14:05 -0700)]
Allow overlays to configure ConnectivityService's network sampling to not wake the device.
This can increase clockwork device battery life.
Bug:15455204

Change-Id: Ifc551e6a522627dc8e5cfdfb8f56d4e3cbeea936

10 years agoMerge "Add configuration for activity thumbnails" into klp-modular-dev
Michael Kolb [Thu, 10 Jul 2014 23:16:34 +0000 (23:16 +0000)]
Merge "Add configuration for activity thumbnails" into klp-modular-dev

10 years agoAdd configuration for activity thumbnails
Michael Kolb [Wed, 9 Jul 2014 23:02:49 +0000 (16:02 -0700)]
Add configuration for activity thumbnails

  Bug: 15750584

Change-Id: I0b2bfb46022b46d7649f6d9ba9ba74cdfc70a6ea

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."