253870 Commits

Author SHA1 Message Date
Fyodor Kupolov
b87a491de6 [DO NOT MERGE] Only setSize if -s arg is specified
Calculate size of installed APKs only when INSTALL_EXTERNAL flag is set.
calculateInstalledSize is expensive and may take up to 20% of total
installation time.

Bug: 32180551
Bug: 29932779
Change-Id: I173d2b38820cc86cbfacecd1bacef57369d10af7
2016-10-27 15:29:41 -07:00
TreeHugger Robot
e9db00e39f Merge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev 2016-10-26 20:22:53 +00:00
Svetoslav Ganov
e2c85890ac [DO NOT MERGE] Don't accidentally delete renamed packages
Apps on the system image can change their package by declaring
their old one in the manifest. If a package is renamed it is
internally referred by its old name.

The reconciliation code was using the new package name for
renamed packages and was concluding the apk is orphaned thus
deleting it. This puts the package in a bad state where the app
is gone and the version on the system partition is disabled.

Also Play was showing an update for a renamed system app as
an install while it is an update because of the same reason,
it was using the new package name while the app is internally
referred by the old one.

The fix for both above is to internally normalize the package
name by using the old one if the package was renamed or the
package name as is.

Test: With the fix put the old calculator on the system image
and booted, then put the renamed calculator and booted, updated
calculator from play and rebooted - calculator keeps working.
Also did the above steps without the patch to put calculator
in a bad state and flashed the system with the patch which
fixed the broken calculator app.

bug:32321269

Change-Id: I98bfc05c399edfc9854ebcce44182fefa55ceeff
2016-10-26 18:14:06 +00:00
Jorim Jaggi
7e8fc05295 Merge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev 2016-10-25 23:32:57 +00:00
Adrian Roos
db1fd054d2 Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev 2016-10-25 21:55:52 +00:00
Adrian Roos
21984eeaf7 Ambient: If user turned off ambient, keep it off after split
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: Id80d62727952f63b363f87c19b5befbde8ab5c31
Merged-In: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Merged-In: I346a53b0dc9cdf578c238113f4f33056ba0f3aea
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
2016-10-25 19:40:34 +00:00
Cheryl Potter
2e7c67f3cd docs: change gpu debugger redirect b/31781348 am: afbf16f908
am: fb4f5497b7

Change-Id: I1c550fa22586145ec949fe54ef727be814624340
2016-10-25 15:10:22 +00:00
Cheryl Potter
fb4f5497b7 docs: change gpu debugger redirect b/31781348
am: afbf16f908

Change-Id: I6fa42074ba2fe6019f0bf817a7b21650d2a0dd43
2016-10-25 15:03:23 +00:00
TreeHugger Robot
bf2eaa1029 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-25 06:20:01 +00:00
TreeHugger Robot
9421be2011 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-25 06:19:10 +00:00
Cheryl Potter
afbf16f908 docs: change gpu debugger redirect
b/31781348

Change-Id: I7e374dcec975ba45b03f1cde656a438f986c5093
2016-10-24 21:29:23 -07:00
Bill Yi
8bea919d37 Import translations. DO NOT MERGE
Change-Id: I9b8b5245f61dbab513ee5de6ff9c71b2bd41f3ab
Auto-generated-cl: translation import
2016-10-24 21:24:44 -07:00
Lifu Tang
14bd8017fa Merge "Fix GNSS status delivery to the callbacks" into nyc-mr1-dev 2016-10-25 04:10:47 +00:00
Bill Yi
9ac3087a90 Import translations. DO NOT MERGE
Change-Id: I8fe6b5f09b7c3daf9c630b5c36d02199248c11b3
Auto-generated-cl: translation import
2016-10-24 21:06:04 -07:00
George French
d544dc785b docs: Update startService() & bindService() documentation (Proj13) am: 9748d76be9
am: e8e196d007

Change-Id: I3d804611d1290eb6cf0fa525e492864220fb85fa
2016-10-25 00:26:05 +00:00
George French
e8e196d007 docs: Update startService() & bindService() documentation (Proj13)
am: 9748d76be9

Change-Id: I976128eb4c14ee2587c9cfa9c34f4b3dc006aa38
2016-10-25 00:19:33 +00:00
Jorim Jaggi
ec50931d88 Make sure to call dismissKeyguard after setOccluded
If we call it before, SystemUI will not dismiss the Keyguard as
it is still occluded in that state.

Change-Id: I15cf9cc43b9a2b747bfd224a6dfbd769eee19d69
Fixes: 32202560
2016-10-24 15:40:06 -07:00
Lifu Tang
4e82fe5120 Fix GNSS status delivery to the callbacks
Bug: 32357457
Change-Id: I8f2b8dae5472cb81313417e85c092dca0aae5bd9
2016-10-24 13:33:47 -07:00
George French
9748d76be9 docs: Update startService() & bindService() documentation (Proj13)
Updated Update startService() and bindService() docs to mention that they
no longer support implicit intent. And mentioned that the  Intellegent
job scheduling is now the preferred method for launching services.
We also performed a copy edit, implementing Google styles.

Bug:  18333456
Change-Id: I2b2ec666be870aea15045d30fbc822256d1b9a81
2016-10-24 11:49:41 -07:00
Pankaj Kanwar
9cac4568e5 Merge "CaptivePortalLogin: set mixed content policy to compatibility." into nyc-mr1-dev 2016-10-24 02:02:51 +00:00
TreeHugger Robot
496d17f748 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-22 11:33:16 +00:00
TreeHugger Robot
d849122bbb Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-22 11:32:52 +00:00
Bill Yi
39eb3b4ac2 Import translations. DO NOT MERGE
Change-Id: Ia238fb87c9c8be76cbadfbec1956b629414a3c48
Auto-generated-cl: translation import
2016-10-22 01:11:45 -07:00
Bill Yi
300ad2e4b0 Import translations. DO NOT MERGE
Change-Id: I3d5eae9008ead575fda0db5acbd233b4a9cf7273
Auto-generated-cl: translation import
2016-10-22 00:52:51 -07:00
TreeHugger Robot
9db47b0f49 Merge "Fix vpn branded string usage" into nyc-mr1-dev 2016-10-22 02:23:07 +00:00
Jason Monk
59474a40af Fix vpn branded string usage
Change-Id: I42fdca60536425c757759414ac812b20e0b42823
Fixes: 32071681
2016-10-21 19:27:34 -04:00
Lorenzo Colitti
625166377b CaptivePortalLogin: set mixed content policy to compatibility.
This makes the policy for mixed HTTP/HTTPS content match Chrome.
This allows us to display login pages where unimportant
subresources are HTTP.

Bug: 32171569
Change-Id: Ic8bc1440f1f26898ddbc0984fd1ddd2155c9588b
2016-10-21 18:47:57 +09:00
Jeremy Joslin
3f0d75afe8 VPN network stat accounting changes.
Properly account for VPN apps that make heavy use of the tun
interface. Prior to this change a VPN app could be incorrectly charged
for more data than it actually used if it sent more traffic through
the tun interface than the underlying interface.

This change excludes VPN app traffic on the tun interface from the
adjustment pool and doesn't redistribute traffic to the VPN app.
Instead all of the redistributed traffic is deducted from the VPN app
which effectively represents any overhead incurred by the VPN app.

BUG: 30557871
Change-Id: I62a75a0c0c0111e052b7903baa9f5d6d94ef57fd
2016-10-21 18:47:57 +09:00
Matthew Fritze
71ae440ac2 Merge "Default for sending package name to support should be false" into nyc-mr1-dev 2016-10-20 21:05:09 +00:00
Matthew Fritze
b68a83a8eb Default for sending package name to support should be false
Change-Id: I2cc90cac2c2c72f9febb015487f8854ebf006aac
Fixes: 32303343
Test: manual
2016-10-20 11:24:54 -07:00
TreeHugger Robot
3623134476 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-20 15:53:29 +00:00
TreeHugger Robot
f7a7712d50 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-20 15:52:53 +00:00
Bill Yi
7f5b5eee99 Import translations. DO NOT MERGE
Change-Id: I6fffe370549a3c2904043151dee4bc06f6799f81
Auto-generated-cl: translation import
2016-10-20 07:17:55 -07:00
Bill Yi
5ad7d6e328 Import translations. DO NOT MERGE
Change-Id: Ie1d22964ed960d5388377f461a26836d2d24749c
Auto-generated-cl: translation import
2016-10-20 03:57:17 -07:00
Bill Yi
66dc59064a Import translations. DO NOT MERGE
Change-Id: Idd3482da6612d83091fbc13a3733a19a2008f0c1
Auto-generated-cl: translation import
2016-10-20 03:49:00 -07:00
TreeHugger Robot
d9a569ae58 Merge "Fixed a grey flash when swiping away the last notification" into nyc-mr1-dev 2016-10-20 02:21:37 +00:00
Tyler Gunn
049980c284 Merge "Framework fixes to support VoLTE conf calls via RemoteConnectionServices." into nyc-mr1-dev 2016-10-20 00:56:20 +00:00
Selim Cinek
54680901ed Fixed a grey flash when swiping away the last notification
Change-Id: I12edf673f29abad66fa6704004886124eee9978b
Fixes: 32289359
Test: have 1 notification, swipe it a way, observe no flashing in statusbar
2016-10-20 00:07:26 +00:00
Kevin Hufnagle
fee89015c5 Merge "docs: Updated ShortcutManager and ShortcutInfo class references." into nyc-mr1-dev 2016-10-19 23:43:52 +00:00
TreeHugger Robot
5f4169b5ea Merge "Skip getting transforms for ignored tasks." into nyc-mr1-dev 2016-10-19 18:45:26 +00:00
Andrii Kulian
6e4f6ecbab Merge "DO NOT MERGE -- Use focused activity value when moving task back" into nyc-mr1-dev 2016-10-19 18:31:37 +00:00
Dan Yu
0346fee93c Merge "docs: Updating TIF docs for new TIF Companion library." into nyc-docs am: dc69de5ac6 am: 3aa0ff2de7
am: 8233c03d1e

Change-Id: If0291ee0b6df1c0fb81785b490cdf716ba9cc8b7
2016-10-19 18:05:37 +00:00
Daniel Yu
f45beedf6c docs: Updating TIF docs for new TIF Companion library. am: e0810402fb am: f8a8260c0d
am: 9ce21dc769

Change-Id: I1066a9122bab7f3fe620bd23f17adc36559133a4
2016-10-19 17:57:11 +00:00
Yang Ni
02addb0b41 Merge "Updated API reference doc for Single-Source RS" into nyc-dev am: 6aee6e9ca8
am: 4a9883cdf8

Change-Id: I1a4378d4ec4c5b2e720d81d90d72c5b7fedce261
2016-10-19 17:52:39 +00:00
Dan Yu
8233c03d1e Merge "docs: Updating TIF docs for new TIF Companion library." into nyc-docs am: dc69de5ac6
am: 3aa0ff2de7

Change-Id: If9e2b5d23f40a5d48906b81f818a2e9b5e8bb24a
2016-10-19 17:52:35 +00:00
Daniel Yu
9ce21dc769 docs: Updating TIF docs for new TIF Companion library. am: e0810402fb
am: f8a8260c0d

Change-Id: Ida18c6b46ccff01cb6299b1774fbcc724f54712a
2016-10-19 17:51:36 +00:00
Yang Ni
93f0442cbd Updated API reference doc for Single-Source RS am: 51f1e93be7
am: 246b0bcc9a

Change-Id: I572709a23a33f0a17ad754221c27a042f9c44f2e
2016-10-19 17:51:32 +00:00
Dan Yu
3aa0ff2de7 Merge "docs: Updating TIF docs for new TIF Companion library." into nyc-docs
am: dc69de5ac6

Change-Id: I3f49c5fbd2dc9f298cdf0cdd8acc5f49188319d4
2016-10-19 17:44:48 +00:00
Daniel Yu
f8a8260c0d docs: Updating TIF docs for new TIF Companion library.
am: e0810402fb

Change-Id: Ic44c96963d1dd172f07f6564a084ca731bf49762
2016-10-19 17:44:46 +00:00
Yang Ni
4a9883cdf8 Merge "Updated API reference doc for Single-Source RS" into nyc-dev
am: 6aee6e9ca8

Change-Id: I86ae7b92e3c6bb2202375a990f0203630afa5744
2016-10-19 17:37:43 +00:00