142561 Commits

Author SHA1 Message Date
Sailesh Nepal
8ca04289eb Merge "Add support for remote incoming calls" into lmp-dev 2014-07-15 00:22:01 +00:00
Sailesh Nepal
c5b01573a0 Add support for remote incoming calls
This CL allows a incoming call to be handled through the
remote connection API.

All calls, incoming and outgoing, are now routed through
ConnectionService.createConnection.

Change-Id: I5232d062ad3b559f4fe7c8224e7234b2c6bf8431
2014-07-14 20:49:03 -07:00
Jeff Sharkey
69ea974f17 Merge "Public API for PackageInstaller!" into lmp-dev 2014-07-15 00:41:06 +00:00
Jeff Sharkey
6c833e07a0 Public API for PackageInstaller!
Flesh out documentation and finalize first cut of API.  Also surface
installLocation and splitNames through PackageInfo.

Bug: 14975160, 15348430
Change-Id: Ic27696d20ed06e508aa3526218e9cb20835af6a0
2014-07-14 23:06:52 -07:00
Wonsik Kim
969167dc05 TIF: Revisit availability changes
Bug: 15838097, Bug: 15973274
Change-Id: Ida060696cb6222c8ced576d86c100c25d94dc5c0
2014-07-15 02:58:33 +00:00
Narayan Kamath
6bdede0aad Merge "Fix multiArch installs where only some archs are available." into lmp-dev 2014-07-14 20:58:22 +00:00
Narayan Kamath
f5f1828d96 Fix multiArch installs where only some archs are available.
In this case, NO_MATCHING_ABIS shouldn't result in a failure
when we're trying to match against one of SUPPORTED_32_BIT_ABIS
or SUPPORTED_64_BIT_ABIS.

There shouldn't be a general requirement that packages must
contain both 32 and 64 bit libs because it might legitimately
exclude one or the other for reasons such as compatibility
etc.

bug: 16299358

Change-Id: I5f66b0a54b63b93b36371b584e9cf6bed07c507a
2014-07-15 16:50:34 +01:00
Narayan Kamath
a8755a8407 Fix multiArch parsing for ApkLite.
Two separate issues :
- We were not parcelling the value at all.
- We were looking for it in the wrong manifest attribute.

Note that this change has no observable effect on installs (which
is probably why it wasn't caught so far). This code path is only
used in FileInstallArgs.copyApk (where multiArch was effectively
false before this change) but the package manager extracts shared
libs *again* inside scanPackageLI where this was being done
correctly since the value there came from a "full" package
parse, and not a "lite" package parse.

Change-Id: I54c3efcf8f57e6970f8fbde8cd1f57d487b13114
2014-07-15 16:47:27 +01:00
Narayan Kamath
537274103c Merge "Fix multiArch parsing for ApkLite." into lmp-dev 2014-07-14 21:05:13 +00:00
Adrian Roos
5f1652c285 Add strings for QS user switcher
Bug: 15545213
Change-Id: Iec98b704cd4b662d3cc5ff0b76671d44f93837d5
2014-07-14 22:39:54 +02:00
Aravind Akella
8b674abf4d Merge "Add PackageManager feature strings for relative humidity and temperature sensors." into lmp-dev 2014-07-14 18:38:08 +00:00
Sailesh Nepal
77ec2ceac6 Merge "Remove CallServiceProvider and CallServiceDescriptor do not merge" into lmp-dev 2014-07-14 18:38:02 +00:00
Sailesh Nepal
864a2b291b 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)
2014-07-14 23:23:17 +00:00
Santos Cordon
a5a2cf419d Merge "Implement multi-SIM capabilities (1/6) [DO NOT MERGE]" into lmp-dev 2014-07-14 18:38:02 +00:00
Alan Viverette
49a22e8202 Add window elevation for dialogs, clean up surface insets API
BUG: 13211941
Change-Id: I9d605d0b2fb24f9bf8e73fbecd520b6b52ae5751
2014-07-14 23:13:28 +00:00
Jeff Sharkey
5028fb0357 Merge "Pass install result message; path selection." into lmp-dev 2014-07-14 18:37:56 +00:00
Christopher Tate
d4d02282ae Merge "Add Context.getNoBackupFilesDir()" into lmp-dev 2014-07-14 18:37:56 +00:00
Christopher Tate
a7835b6b6b 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
2014-07-14 22:56:04 +00:00
Ihab Awad
4ad58a4738 Merge "Introduce new In-Call Service interface" into lmp-dev 2014-07-14 18:38:02 +00:00
Ihab Awad
e63fadb109 Introduce new In-Call Service interface
Change-Id: I2dd8494f6e397c49180b19d1347c62edcae9b4e7
(cherry picked from commit e225fecca486858e8195eaf09d172a70fe7d632b)
2014-07-14 21:49:25 +00:00
Colin Cross
d60804d5c0 Merge "Zygote: make libprocessgroup failures non-fatal" into lmp-dev 2014-07-14 18:37:56 +00:00
PauloftheWest
93a2600f55 Changed wording from "Mobile" to "Cellular" do not merge
Bug: 15720445
Change-Id: Ifdf2667fb01ebd621b89facc0c6b4dbbe0d8c4bb
(cherry picked from commit ca506b22fafb9134280b8a94fb9a3b2aaa38cf2e)
2014-07-14 22:37:29 +00:00
Colin Cross
3089bed197 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
2014-07-14 15:08:45 -07:00
Winson Chung
85cfec811e Fixing potential crash when attemping to read null thumbnail (Bug. 16289301)
- Refactoring to remove unnecessary updates of RecentsConfiguration
- Removing unused logs

Change-Id: If427e565ab7260009ffb9be8ca45ba833c8262af
2014-07-14 21:52:34 +00:00
RoboErik
44583d351e Merge changes I51f2e466,I5b67cb3e into lmp-dev
* changes:
  Make PlaybackState immutable with a builder
  Add API to set a default session in Activity
2014-07-14 18:37:56 +00:00
RoboErik
c785a78fb4 Make PlaybackState immutable with a builder
bug:15862252
Change-Id: I51f2e466bd2c41bbe80d20aa9785126a7ac6ab3f
2014-07-14 13:40:43 -07:00
Dake Gu
2178cee064 Merge "ActivityTransition: restore callee activity shared element position" into lmp-dev 2014-07-14 18:38:08 +00:00
Dake Gu
c18f4cc0f2 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
2014-07-14 13:59:43 -07:00
Adrian Roos
915fcd1075 Merge "Add strings for QS user switcher" into lmp-dev 2014-07-14 18:40:56 +00:00
Svetoslav
37e16a03a0 Merge "Page size not always adjusted" into lmp-dev 2014-07-14 18:38:08 +00:00
Svetoslav
17d734fee4 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
2014-07-14 13:31:23 -07:00
dcashman
9f92ffa927 Merge "Initial KeySet API." into lmp-dev 2014-07-14 18:38:08 +00:00
dcashman
9d2f441f9b Initial KeySet API.
Previously submitted but reverted due to doc-compilation bug.

Bug: 6967056
Change-Id: I9bd7ef299a4c92c4b327f5b5d7e951f0753b4c8a
2014-07-14 12:50:51 -07:00
Colin Cross
1e6fede85e Merge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf" into lmp-dev 2014-07-14 18:38:02 +00:00
Eino-Ville Talvala
6dc599b995 Merge "MediaRecorder: Fix crash when given a released Camera object" into lmp-dev 2014-07-14 18:37:56 +00:00
Eino-Ville Talvala
6a5b1db177 MediaRecorder: Fix crash when given a released Camera object
Bug: 15617637
Change-Id: I420ecc3f7b946dcf705cf210a7d493290f838f09
2014-07-14 12:02:21 -07:00
Jason Monk
8fd3800e78 Merge "Add missing lock task API" into lmp-dev 2014-07-14 18:37:56 +00:00
Jason Monk
386c94fdf9 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
2014-07-14 16:42:24 -04:00
Evan Charlton
d4ce7e52f1 Merge "Add Intent to configure ConnectionService" into lmp-dev 2014-07-14 18:37:52 +00:00
Alan Viverette
1dada3da99 DO NOT MERGE Remove sub-position scroller
BUG: 14477472
Change-Id: I019c58dedb383e9e906831c8e44bab8b88e92604
(cherry picked from commit 66072fe0e1494a851e54bc7756734141dfbf4fe0)
2014-07-14 19:03:43 +00:00
ztenghui
dc4335408b Merge "Enable the bitmap cache for the VectorDrawable" into lmp-dev 2014-07-14 18:37:52 +00:00
ztenghui
482eb53c8a Enable the bitmap cache for the VectorDrawable
b/16299765

Change-Id: Ia2c0fd366abc097d1ce485936de74e4e898cc07a
2014-07-14 15:49:04 -07:00
Ihab Awad
807fe0a19a 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)
2014-07-14 18:19:27 +00:00
RoboErik
550116576c 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
2014-07-14 11:17:06 -07:00
Colin Cross
7c030eddbc 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
2014-07-14 11:16:20 -07:00
Aravind Akella
8b8e74bd74 Add PackageManager feature strings for relative humidity and temperature sensors.
Change-Id: I56351f37f1c51517a3384b6040df0ed2be0c95b0
2014-07-14 18:01:55 +00:00
Jeff Sharkey
ad11eb52fe 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
2014-07-14 10:57:04 -07:00
Svet Ganov
8fbd0dc303 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
2014-07-14 17:54:07 +00:00
Yorke Lee
ea16dec62b Merge "Add TRANSCRIPTION column to Calls table" into lmp-dev 2014-07-14 17:14:37 +00:00
Svet Ganov
25885ecbe4 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
2014-07-14 17:28:01 +00:00