142486 Commits

Author SHA1 Message Date
Youngsang Cho
abebf6df87 TIF: Change the parameter of TvInputInfo.loadLabel/Icon
Labels and icons will be extracted from URI in the future.
To acheive it, we need Context rather than PackageManager.

Bug: 16166859
Change-Id: I20f0506fba5876a6cf21b70e44bb3a2265f723d7
2014-07-17 17:49:29 -07:00
Paul Jensen
2bb7e34168 Fix T-Mobile provisioning detection.
Add User-Agent to HTTP request for captive portal.

bug:16316314
Change-Id: I32d4f75f4eb114574dd2a39d241cb085383b4f94
2014-07-15 16:11:41 +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
Ed Heyl
a50cd8d426 reconcile aosp (f908b61abf0882ce97d6d5076ee1c84393ed1ecd) after branching. Please do not merge.
Change-Id: Icd3f2c31aca8c9888c81da27eaeaffed07ec9820
2014-07-14 23:42:04 -07:00
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
Lajos Molnar
7be24522ce MediaExtractor: set buffer offset/limit in readSampleData
also fix setting offset/limit in MediaCodec's getBuffer.

Bug: 13008204
Change-Id: Iadf0f006cfccc2546971cc5384058e1a2721780b
2014-07-15 02:30:32 +00:00
Jinsuk Kim
be1da5e5cc Merge "Apply hdmi control options to operation" into lmp-dev 2014-07-14 21:27:36 +00:00
Amith Yamasani
b99a90227a Merge "Introduce a public intent for launching Home settings" into lmp-dev 2014-07-15 00:22:01 +00:00
Amith Yamasani
eb7b94a388 Introduce a public intent for launching Home settings
Bug: 16303152
Change-Id: I47e4461ae246aae7e31c8e06ca9370d6f04f61b4
2014-07-14 18:02:08 -07:00
Ruchi Kandoi
6b879024fa Merge "PowerManager: Adds a call to reduce refresh rate while device is in BatterySaverMode." into lmp-dev 2014-07-14 23:57:14 +00:00
Ruchi Kandoi
0fe32ae50b 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
2014-07-15 00:09:38 +00:00
Shishir Agrawal
1c41116f03 Merge "ITelephony.aidl: Minor spelling fix." into lmp-dev 2014-07-14 23:51:50 +00:00
Shishir Agrawal
fc3646f58e ITelephony.aidl: Minor spelling fix.
Change-Id: I88be72fce6184beb1ac7542af8ced7917900b593
2014-07-14 16:58:12 -07:00
Chris Craik
a859523bdd Merge "Revert shadow defaults to previous values" into lmp-dev 2014-07-14 22:50:50 +00:00
Chris Craik
2f129e3765 Revert shadow defaults to previous values
Change-Id: Ic0c8a922a9e70f0adbc04e56779240887414b3b8
2014-07-14 17:30:54 -07:00
Chris Craik
757f0f36b9 Merge "Implement outline support for nine patches" into lmp-dev 2014-07-14 22:55:21 +00:00
Wei Liu
b7697c698b 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"
2014-07-15 00:49:30 +00:00
Alan Viverette
a2ff611fd6 resolved conflicts for merge of dca272b8 to lmp-dev
Change-Id: Ifbd10ace66f7488f225bfae6e26bab60ab56e651
2014-07-14 17:46:27 -07:00
Christopher Tate
583a9bd0da Merge "Fix build" into lmp-dev 2014-07-14 23:57:14 +00:00
Christopher Tate
65665aac63 Fix build
BridgeContext didn't show up in the working tree as a build participant.
Tsk tsk.

Change-Id: I2b52d99f319b43c2906a7fb9b25139a3df5b3676
2014-07-14 17:11:53 -07:00
Wei Liu
c84e73d103 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"
2014-07-14 23:18:00 +00:00
Ruben Brunk
28c49c9d20 camera2: Update shader scaling matrix for legacy mode.
Bug: 15116722
Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753
2014-07-14 22:57:07 +00:00
Chris Craik
47cd8e921d 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
2014-07-14 15:01:27 -07:00
Narayan Kamath
537274103c Merge "Fix multiArch parsing for ApkLite." into lmp-dev 2014-07-14 21:05:13 +00:00
John Spurlock
a7cf5597e3 QS: Fix bug in header toggle switch.
Bug:16314528
Change-Id: Ia6061c61bbbad73862d2e63331135b324f102feb
2014-07-15 10:56:46 -04:00
George Mount
01e9a97fe6 Don't lose ActivityOptions during orientation change.
Bug 16188506

Change-Id: I056153e6ddbaf328dd65b8b27a91ae773c33ea22
2014-07-15 14:38:28 +00:00
Adrian Roos
945654188e Merge "Make user switcher appear inside the QS panel" into lmp-dev 2014-07-14 21:09:14 +00:00
Adrian Roos
1ef80fe590 Make user switcher appear inside the QS panel
Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
2014-07-15 15:43:31 +02: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
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
Jeff Sharkey
5028fb0357 Merge "Pass install result message; path selection." into lmp-dev 2014-07-14 18:37:56 +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