Commit Graph

266851 Commits

Author SHA1 Message Date
Sergio Giro
b07595d194 ZygoteInit: warm up JCA providers during preload
This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.

In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .

(cherry picked from commit 6cb7b1c476)

Bug: 28545496

Change-Id: Ic5aab3ece609d9fef06fee4ccb83d8371af075b2
2016-05-17 14:39:44 +01:00
Robin Lee
dbf0210f6f Return legacy VPN info regardless of lockdown mode
This stops Settings from telling the user detailed information, and
doesn't really protect anything secret -- privileged apps can already
tell that there's an active VPN by looking at network info.

Change-Id: I9c2a3cab6dff1b62e94a9e0735dccde226fd26a3
Fix: 28624328
2016-05-17 14:31:52 +01:00
Sergio Giro
49e76d9401 Merge "Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev am: 5a68af3840 am: a9f804bf41" into nyc-mr1-dev-plus-aosp
am: a2ca49860d

* commit 'a2ca49860d728eb1b9a88b7d3a73c164c0c6cfa0':

Change-Id: I49ab07533982678ba3bc02a234d4ca0d66c4c0da
2016-05-17 11:22:42 +00:00
Sergio Giro
ec045a8c12 Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev am: 5a68af3840 am: d423407254
am: 975bca09fe

* commit '975bca09fe713e29bd650db47e3e2b083ee2b3ab':
  ZygoteInit: warm up JCA providers during preload

Change-Id: I2e64cd4408c2d4afe885eb68502f09c96788579f
2016-05-17 11:21:09 +00:00
Android Build Merger (Role)
a2ca49860d Merge "Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev am: 5a68af3840 am: a9f804bf41" into nyc-mr1-dev-plus-aosp 2016-05-17 11:17:57 +00:00
Sergio Giro
09334b878d Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev am: 5a68af3840
am: a9f804bf41

* commit 'a9f804bf41647b6649200437da47aaa9d7bad91d':
  ZygoteInit: warm up JCA providers during preload

Change-Id: I9f958e0ab90d7edb3ec477b0503c5738d0c4c5fb
2016-05-17 11:16:18 +00:00
Sergio Giro
975bca09fe Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev am: 5a68af3840
am: d423407254

* commit 'd423407254bcdb33e6b19239096c1d5db7d6cdd5':
  ZygoteInit: warm up JCA providers during preload

Change-Id: I2295ea88e46868ded46e276cffb57c341da88d69
2016-05-17 11:15:59 +00:00
Sergio Giro
d423407254 Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev
am: 5a68af3840

* commit '5a68af384037f2980215dd45b91c5165c779d4e8':
  ZygoteInit: warm up JCA providers during preload

Change-Id: If7879885eaefbd8499769d688eefde28edd15c87
2016-05-17 11:11:11 +00:00
Sergio Giro
a9f804bf41 Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev
am: 5a68af3840

* commit '5a68af384037f2980215dd45b91c5165c779d4e8':
  ZygoteInit: warm up JCA providers during preload

Change-Id: I3cf53b5125331fc3c59183c09c79516a98a62347
2016-05-17 11:10:54 +00:00
Sergio Giro
5a68af3840 Merge "ZygoteInit: warm up JCA providers during preload" into nyc-dev 2016-05-17 11:02:20 +00:00
Sergio Giro
6cb7b1c476 ZygoteInit: warm up JCA providers during preload
This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.

In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .

Bug: 28545496

Change-Id: I650d4b0435e67e481a41e02b0b538ce5cc993fa3
2016-05-17 10:02:09 +00:00
Robin Lee
15e3f4c233 Merge "Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev am: bc73347152 am: 36eb3771c1" into nyc-mr1-dev-plus-aosp
am: eb0d7ae80c

* commit 'eb0d7ae80c6ccc228e7867d880d88f6d4c85641a':

Change-Id: I38b2a6c33ef35428deff5f0b4102d33d54d88fda
2016-05-17 09:33:50 +00:00
Robin Lee
5658916fdb Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev am: bc73347152 am: 557b68a5c2
am: bf5c3af451

* commit 'bf5c3af4512ac74068744c56a1c5a3c9c61d7778':
  Skip 'network may be monitored' if dying or locked

Change-Id: I9b8c100f13b1250978034e4839cc21bb7b8d2919
2016-05-17 09:33:39 +00:00
Android Build Merger (Role)
eb0d7ae80c Merge "Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev am: bc73347152 am: 36eb3771c1" into nyc-mr1-dev-plus-aosp 2016-05-17 09:28:38 +00:00
Robin Lee
bb20c3dd95 Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev am: bc73347152
am: 36eb3771c1

* commit '36eb3771c14685ce8e6e390ea73f08cf55275a6f':
  Skip 'network may be monitored' if dying or locked

Change-Id: Ie2f98d0592537439a2a16e0647bff34a3880998f
2016-05-17 09:28:13 +00:00
Clara Bayarri
0c7dbd0130 Merge "Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev am: bee2648027 am: ec200415f5" into nyc-mr1-dev-plus-aosp
am: 7c085e431e

* commit '7c085e431e8142f49de6f13f714e19be5c04317d':

Change-Id: Ifb638c42c47b9f81085718d50019f2d4e4cde341
2016-05-17 09:28:05 +00:00
Clara Bayarri
d1ad651149 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev am: bee2648027 am: 60d0910dc8
am: 4cfd27f9aa

* commit '4cfd27f9aa10bcbf272935e142d1171730e7c7b9':
  Remove "if it succeeds" wording from requestShowKeyboardShortcuts

Change-Id: Ia8c7ede8cf8ebd706cfdf51024c001a9538be49a
2016-05-17 09:27:59 +00:00
Robin Lee
bf5c3af451 Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev am: bc73347152
am: 557b68a5c2

* commit '557b68a5c2728c16bb36b344d86a4b89f976ab9d':
  Skip 'network may be monitored' if dying or locked

Change-Id: Id3b15eb4c67df5a2a2b37afef800467d3064b1ad
2016-05-17 09:27:48 +00:00
Android Build Merger (Role)
7c085e431e Merge "Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev am: bee2648027 am: ec200415f5" into nyc-mr1-dev-plus-aosp 2016-05-17 09:25:44 +00:00
Clara Bayarri
21a14dff74 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev am: bee2648027
am: ec200415f5

* commit 'ec200415f587f6739990056c8e2eb2c1e42eded9':
  Remove "if it succeeds" wording from requestShowKeyboardShortcuts

Change-Id: Idb6c80f2bd6d20d7960a0db7d2f1fb790defcc98
2016-05-17 09:25:20 +00:00
Robin Lee
557b68a5c2 Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev
am: bc73347152

* commit 'bc73347152a3562a7f957a07433d64912f4acd83':
  Skip 'network may be monitored' if dying or locked

Change-Id: I290dd15bf5ec66fb0ec54171809f20c4990fb998
2016-05-17 09:25:17 +00:00
Robin Lee
36eb3771c1 Merge "Skip \'network may be monitored\' if dying or locked" into nyc-dev
am: bc73347152

* commit 'bc73347152a3562a7f957a07433d64912f4acd83':
  Skip 'network may be monitored' if dying or locked

Change-Id: I8a0818074887fd20c0204098a6824ec9e9589dfa
2016-05-17 09:24:59 +00:00
Clara Bayarri
4cfd27f9aa Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev am: bee2648027
am: 60d0910dc8

* commit '60d0910dc8754a9e661ab9b68cdac0b316c35753':
  Remove "if it succeeds" wording from requestShowKeyboardShortcuts

Change-Id: Ia917dd039f7ecde4bc3d093fe7f4900c66dfc590
2016-05-17 09:24:52 +00:00
Clara Bayarri
60d0910dc8 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev
am: bee2648027

* commit 'bee26480277234cb599a7131cd24ce3c5108e474':
  Remove "if it succeeds" wording from requestShowKeyboardShortcuts

Change-Id: I1b5a1455199ba8e6ef6c877d7f4d4b13256eb1c6
2016-05-17 09:21:15 +00:00
Clara Bayarri
ec200415f5 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev
am: bee2648027

* commit 'bee26480277234cb599a7131cd24ce3c5108e474':
  Remove "if it succeeds" wording from requestShowKeyboardShortcuts

Change-Id: I2efdcb8828da9a455dc80911c3aa87ac7ec6eab5
2016-05-17 09:20:43 +00:00
Robin Lee
bc73347152 Merge "Skip 'network may be monitored' if dying or locked" into nyc-dev 2016-05-17 09:17:21 +00:00
Clara Bayarri
bee2648027 Merge "Remove "if it succeeds" wording from requestShowKeyboardShortcuts" into nyc-dev 2016-05-17 09:12:36 +00:00
Narayan Kamath
496f7b0df9 Merge "Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev am: a8b4f75978 am: 1f7f9bc780" into nyc-mr1-dev-plus-aosp
am: f94e2e4764

* commit 'f94e2e47648440c527410bd22bb867e1aa85b3ed':

Change-Id: Id003004d2a884f86cd6315768ae6a8d6ca4bf754
2016-05-17 08:50:36 +00:00
Narayan Kamath
3e140031db Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev am: a8b4f75978 am: 4803983717
am: 03c1e809ae

* commit '03c1e809ae943764188c8d877039b8464bf36800':
  PackageManager: Clear foreign-dex markers when the app is uninstalled.

Change-Id: I306e01cf88fa9b6e9108520d51d768595efdcde4
2016-05-17 08:50:30 +00:00
Android Build Merger (Role)
f94e2e4764 Merge "Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev am: a8b4f75978 am: 1f7f9bc780" into nyc-mr1-dev-plus-aosp 2016-05-17 08:46:18 +00:00
Narayan Kamath
03c1e809ae Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev am: a8b4f75978
am: 4803983717

* commit '4803983717442b1099b9679b3b0d822cb8511509':
  PackageManager: Clear foreign-dex markers when the app is uninstalled.

Change-Id: If68e3bc94332d0873602d51c4328d8dfc106821d
2016-05-17 08:45:34 +00:00
Narayan Kamath
45079ade1c Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev am: a8b4f75978
am: 1f7f9bc780

* commit '1f7f9bc78023b59ca31553b90566cd79aea7a9c1':
  PackageManager: Clear foreign-dex markers when the app is uninstalled.

Change-Id: I0d6307a9923a37adfa0ae01830382d026a1a99f4
2016-05-17 08:45:19 +00:00
Narayan Kamath
1f7f9bc780 Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev
am: a8b4f75978

* commit 'a8b4f7597842b17b44e1ea859f218d610789e277':
  PackageManager: Clear foreign-dex markers when the app is uninstalled.

Change-Id: I0c04c86d35999414b596baa92b98425aca2da00e
2016-05-17 08:40:39 +00:00
Narayan Kamath
4803983717 Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev
am: a8b4f75978

* commit 'a8b4f7597842b17b44e1ea859f218d610789e277':
  PackageManager: Clear foreign-dex markers when the app is uninstalled.

Change-Id: I840fb5710bddcbdc69f7899b7432afe1f660de4e
2016-05-17 08:40:22 +00:00
Narayan Kamath
a8b4f75978 Merge "PackageManager: Clear foreign-dex markers when the app is uninstalled." into nyc-dev 2016-05-17 08:31:44 +00:00
Martijn Coenen
6136730e3b Adddress NFC API review comments.
Bug: 28775492
Change-Id: I01befba3435f0d882787fecabd3c1041fe7260d7
2016-05-17 09:09:15 +02:00
Baligh Uddin
c5a5ad5a4e Import translations. DO NOT MERGE
Change-Id: Ic4eb18cee163d5cdb2d8751d56cd84de7164f6c5
Auto-generated-cl: translation import
2016-05-16 23:31:02 -07:00
Baligh Uddin
b07399fd73 Import translations. DO NOT MERGE
Change-Id: I6803d5388c5e4c7fa188d908f35962170c4da1dc
Auto-generated-cl: translation import
2016-05-16 23:23:56 -07:00
Baligh Uddin
eeae179afc Import translations. DO NOT MERGE
Change-Id: I1090498bc214a7df4ee30b08026733d027adcfb8
Auto-generated-cl: translation import
2016-05-16 22:08:21 -07:00
Seigo Nonaka
e9f54bfde2 Use original theme for SuggestsionsPopupWindow
Some application set textColorPrimary as white, as the result the
suggestion window draws white text on white background.
To avoid this UX, always uses original theme for suggestions popup
window.

Bug: 28371168
Change-Id: I2ef41d162b63a7e277decc2065609a7d43590afe
2016-05-17 13:53:21 +09:00
Ruben Brunk
96b20bb585 Update VrListener location permission.
- Grant coarse location permission to preinstalled system
  application that implements a VrListenerService when the
  VrListenerService has been enabled in Settings by a user.

Bug: 28768855
Change-Id: I7cb7f7b980a714f100f50e23dd9f503b9a3fa201
2016-05-16 20:53:52 -07:00
David Friedman
dd28c3fc30 Merge "Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636 am: c19cf44966 am: c682dfbb70" into nyc-mr1-dev-plus-aosp
am: 0c336f8cca

* commit '0c336f8ccafe381a10a6d91f65278bd345517a93':

Change-Id: I04ed36b5bfe7fa87c64ec0a3708e6c3bff713620
2016-05-17 03:46:58 +00:00
David Friedman
15804ba5e8 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636 am: c19cf44966 am: a41977d0d1
am: 803967c36f

* commit '803967c36f6828e5becfb8237ecb7db8cf02e15e':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I402a4c99acc31e198c50b96866ef01161692df0f
2016-05-17 03:43:12 +00:00
Android Build Merger (Role)
0c336f8cca Merge "Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636 am: c19cf44966 am: c682dfbb70" into nyc-mr1-dev-plus-aosp 2016-05-17 03:39:49 +00:00
David Friedman
88ab19a175 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636 am: c19cf44966
am: c682dfbb70

* commit 'c682dfbb706cd180edd92bb66135a48d48d77446':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: Ifb82213a2a580373d4c8b762568582f483e22d21
2016-05-17 03:39:29 +00:00
David Friedman
803967c36f Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636 am: c19cf44966
am: a41977d0d1

* commit 'a41977d0d1db0a8450bd13370e6ca022795d8257':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I6570064c80d9674c0bc62869865b33c03d282a20
2016-05-17 03:39:15 +00:00
David Friedman
a41977d0d1 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636
am: c19cf44966

* commit 'c19cf449664e985f0bb07833daadf533ec0dfa1c':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I378bed62f060bbbf99d103f206088dcd048525bd
2016-05-17 03:34:15 +00:00
David Friedman
c682dfbb70 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35 am: 86b5f72636
am: c19cf44966

* commit 'c19cf449664e985f0bb07833daadf533ec0dfa1c':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I63ce9bb629c733bc494e27868727a79f4471af9c
2016-05-17 03:33:55 +00:00
David Friedman
c19cf44966 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs am: bf56921d35
am: 86b5f72636

* commit '86b5f726368c873c8503ed7a8042cfa954f5e1a0':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I83923831a50a94f46d05e18cfc4d69c68b2e58ed
2016-05-17 03:29:11 +00:00
David Friedman
86b5f72636 Merge "Docs: CL for continuing work on tactically merged N-DP3 docs." into mnc-io-docs
am: bf56921d35

* commit 'bf56921d3527ad0652f4224b422dd611ec1a6fee':
  Docs: CL for continuing work on tactically merged N-DP3 docs.

Change-Id: I8150c709818232cf24e4d967de45aeb1bd4c2956
2016-05-17 03:23:46 +00:00